Skip to content

Commit

Permalink
Merge main into auth scheme branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sichan Yoo committed Oct 9, 2023
2 parents ba0b869 + 2bbf506 commit 9c5994b
Show file tree
Hide file tree
Showing 446 changed files with 49,176 additions and 29,076 deletions.
4 changes: 3 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ func addProtocolTests() {
// MARK: - Generated

addDependencies(
clientRuntimeVersion: "0.30.0",
clientRuntimeVersion: "0.31.0",
crtVersion: "0.13.0"
)

Expand Down Expand Up @@ -223,6 +223,8 @@ let serviceTargets: [String] = [
"AWSBackupGateway",
"AWSBackupStorage",
"AWSBatch",
"AWSBedrock",
"AWSBedrockRuntime",
"AWSBillingconductor",
"AWSBraket",
"AWSBudgets",
Expand Down
2 changes: 1 addition & 1 deletion Package.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.26.0
0.27.0
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
//

import ClientRuntime
import Foundation
import struct Foundation.Date
import struct Foundation.TimeInterval

extension HttpContext {
func getCredentialsProvider() -> (any CredentialsProviding)? {
Expand Down
2 changes: 1 addition & 1 deletion Sources/Core/AWSClientRuntime/Signing/AWSSigV4Signer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class AWSSigV4Signer: ClientRuntime.Signer {
"Identity passed to the AWSSigV4Signer must be of type Credentials."
)
}

let signingConfig = try constructSigningConfig(identity: identity, signingProperties: signingProperties)

let unsignedRequest = requestBuilder.build()
Expand Down
60 changes: 30 additions & 30 deletions Sources/Services/AWSACM/models/Models.swift
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ extension AddTagsToCertificateInputBody: Swift.Decodable {
}
}

public enum AddTagsToCertificateOutputError: ClientRuntime.HttpResponseErrorBinding {
public static func makeError(httpResponse: ClientRuntime.HttpResponse, decoder: ClientRuntime.ResponseDecoder? = nil) async throws -> Swift.Error {
enum AddTagsToCertificateOutputError: ClientRuntime.HttpResponseErrorBinding {
static func makeError(httpResponse: ClientRuntime.HttpResponse, decoder: ClientRuntime.ResponseDecoder? = nil) async throws -> Swift.Error {
let restJSONError = try await AWSClientRuntime.RestJSONError(httpResponse: httpResponse)
let requestID = httpResponse.requestId
switch restJSONError.errorType {
Expand Down Expand Up @@ -995,8 +995,8 @@ extension DeleteCertificateInputBody: Swift.Decodable {
}
}

public enum DeleteCertificateOutputError: ClientRuntime.HttpResponseErrorBinding {
public static func makeError(httpResponse: ClientRuntime.HttpResponse, decoder: ClientRuntime.ResponseDecoder? = nil) async throws -> Swift.Error {
enum DeleteCertificateOutputError: ClientRuntime.HttpResponseErrorBinding {
static func makeError(httpResponse: ClientRuntime.HttpResponse, decoder: ClientRuntime.ResponseDecoder? = nil) async throws -> Swift.Error {
let restJSONError = try await AWSClientRuntime.RestJSONError(httpResponse: httpResponse)
let requestID = httpResponse.requestId
switch restJSONError.errorType {
Expand Down Expand Up @@ -1069,8 +1069,8 @@ extension DescribeCertificateInputBody: Swift.Decodable {
}
}

public enum DescribeCertificateOutputError: ClientRuntime.HttpResponseErrorBinding {
public static func makeError(httpResponse: ClientRuntime.HttpResponse, decoder: ClientRuntime.ResponseDecoder? = nil) async throws -> Swift.Error {
enum DescribeCertificateOutputError: ClientRuntime.HttpResponseErrorBinding {
static func makeError(httpResponse: ClientRuntime.HttpResponse, decoder: ClientRuntime.ResponseDecoder? = nil) async throws -> Swift.Error {
let restJSONError = try await AWSClientRuntime.RestJSONError(httpResponse: httpResponse)
let requestID = httpResponse.requestId
switch restJSONError.errorType {
Expand Down Expand Up @@ -1418,8 +1418,8 @@ extension ExportCertificateInputBody: Swift.Decodable {
}
}

public enum ExportCertificateOutputError: ClientRuntime.HttpResponseErrorBinding {
public static func makeError(httpResponse: ClientRuntime.HttpResponse, decoder: ClientRuntime.ResponseDecoder? = nil) async throws -> Swift.Error {
enum ExportCertificateOutputError: ClientRuntime.HttpResponseErrorBinding {
static func makeError(httpResponse: ClientRuntime.HttpResponse, decoder: ClientRuntime.ResponseDecoder? = nil) async throws -> Swift.Error {
let restJSONError = try await AWSClientRuntime.RestJSONError(httpResponse: httpResponse)
let requestID = httpResponse.requestId
switch restJSONError.errorType {
Expand Down Expand Up @@ -1817,8 +1817,8 @@ extension GetAccountConfigurationInputBody: Swift.Decodable {
}
}

public enum GetAccountConfigurationOutputError: ClientRuntime.HttpResponseErrorBinding {
public static func makeError(httpResponse: ClientRuntime.HttpResponse, decoder: ClientRuntime.ResponseDecoder? = nil) async throws -> Swift.Error {
enum GetAccountConfigurationOutputError: ClientRuntime.HttpResponseErrorBinding {
static func makeError(httpResponse: ClientRuntime.HttpResponse, decoder: ClientRuntime.ResponseDecoder? = nil) async throws -> Swift.Error {
let restJSONError = try await AWSClientRuntime.RestJSONError(httpResponse: httpResponse)
let requestID = httpResponse.requestId
switch restJSONError.errorType {
Expand Down Expand Up @@ -1917,8 +1917,8 @@ extension GetCertificateInputBody: Swift.Decodable {
}
}

public enum GetCertificateOutputError: ClientRuntime.HttpResponseErrorBinding {
public static func makeError(httpResponse: ClientRuntime.HttpResponse, decoder: ClientRuntime.ResponseDecoder? = nil) async throws -> Swift.Error {
enum GetCertificateOutputError: ClientRuntime.HttpResponseErrorBinding {
static func makeError(httpResponse: ClientRuntime.HttpResponse, decoder: ClientRuntime.ResponseDecoder? = nil) async throws -> Swift.Error {
let restJSONError = try await AWSClientRuntime.RestJSONError(httpResponse: httpResponse)
let requestID = httpResponse.requestId
switch restJSONError.errorType {
Expand Down Expand Up @@ -2094,8 +2094,8 @@ extension ImportCertificateInputBody: Swift.Decodable {
}
}

public enum ImportCertificateOutputError: ClientRuntime.HttpResponseErrorBinding {
public static func makeError(httpResponse: ClientRuntime.HttpResponse, decoder: ClientRuntime.ResponseDecoder? = nil) async throws -> Swift.Error {
enum ImportCertificateOutputError: ClientRuntime.HttpResponseErrorBinding {
static func makeError(httpResponse: ClientRuntime.HttpResponse, decoder: ClientRuntime.ResponseDecoder? = nil) async throws -> Swift.Error {
let restJSONError = try await AWSClientRuntime.RestJSONError(httpResponse: httpResponse)
let requestID = httpResponse.requestId
switch restJSONError.errorType {
Expand Down Expand Up @@ -2796,8 +2796,8 @@ extension ListCertificatesInputBody: Swift.Decodable {
}
}

public enum ListCertificatesOutputError: ClientRuntime.HttpResponseErrorBinding {
public static func makeError(httpResponse: ClientRuntime.HttpResponse, decoder: ClientRuntime.ResponseDecoder? = nil) async throws -> Swift.Error {
enum ListCertificatesOutputError: ClientRuntime.HttpResponseErrorBinding {
static func makeError(httpResponse: ClientRuntime.HttpResponse, decoder: ClientRuntime.ResponseDecoder? = nil) async throws -> Swift.Error {
let restJSONError = try await AWSClientRuntime.RestJSONError(httpResponse: httpResponse)
let requestID = httpResponse.requestId
switch restJSONError.errorType {
Expand Down Expand Up @@ -2915,8 +2915,8 @@ extension ListTagsForCertificateInputBody: Swift.Decodable {
}
}

public enum ListTagsForCertificateOutputError: ClientRuntime.HttpResponseErrorBinding {
public static func makeError(httpResponse: ClientRuntime.HttpResponse, decoder: ClientRuntime.ResponseDecoder? = nil) async throws -> Swift.Error {
enum ListTagsForCertificateOutputError: ClientRuntime.HttpResponseErrorBinding {
static func makeError(httpResponse: ClientRuntime.HttpResponse, decoder: ClientRuntime.ResponseDecoder? = nil) async throws -> Swift.Error {
let restJSONError = try await AWSClientRuntime.RestJSONError(httpResponse: httpResponse)
let requestID = httpResponse.requestId
switch restJSONError.errorType {
Expand Down Expand Up @@ -3036,8 +3036,8 @@ extension PutAccountConfigurationInputBody: Swift.Decodable {
}
}

public enum PutAccountConfigurationOutputError: ClientRuntime.HttpResponseErrorBinding {
public static func makeError(httpResponse: ClientRuntime.HttpResponse, decoder: ClientRuntime.ResponseDecoder? = nil) async throws -> Swift.Error {
enum PutAccountConfigurationOutputError: ClientRuntime.HttpResponseErrorBinding {
static func makeError(httpResponse: ClientRuntime.HttpResponse, decoder: ClientRuntime.ResponseDecoder? = nil) async throws -> Swift.Error {
let restJSONError = try await AWSClientRuntime.RestJSONError(httpResponse: httpResponse)
let requestID = httpResponse.requestId
switch restJSONError.errorType {
Expand Down Expand Up @@ -3162,8 +3162,8 @@ extension RemoveTagsFromCertificateInputBody: Swift.Decodable {
}
}

public enum RemoveTagsFromCertificateOutputError: ClientRuntime.HttpResponseErrorBinding {
public static func makeError(httpResponse: ClientRuntime.HttpResponse, decoder: ClientRuntime.ResponseDecoder? = nil) async throws -> Swift.Error {
enum RemoveTagsFromCertificateOutputError: ClientRuntime.HttpResponseErrorBinding {
static func makeError(httpResponse: ClientRuntime.HttpResponse, decoder: ClientRuntime.ResponseDecoder? = nil) async throws -> Swift.Error {
let restJSONError = try await AWSClientRuntime.RestJSONError(httpResponse: httpResponse)
let requestID = httpResponse.requestId
switch restJSONError.errorType {
Expand Down Expand Up @@ -3236,8 +3236,8 @@ extension RenewCertificateInputBody: Swift.Decodable {
}
}

public enum RenewCertificateOutputError: ClientRuntime.HttpResponseErrorBinding {
public static func makeError(httpResponse: ClientRuntime.HttpResponse, decoder: ClientRuntime.ResponseDecoder? = nil) async throws -> Swift.Error {
enum RenewCertificateOutputError: ClientRuntime.HttpResponseErrorBinding {
static func makeError(httpResponse: ClientRuntime.HttpResponse, decoder: ClientRuntime.ResponseDecoder? = nil) async throws -> Swift.Error {
let restJSONError = try await AWSClientRuntime.RestJSONError(httpResponse: httpResponse)
let requestID = httpResponse.requestId
switch restJSONError.errorType {
Expand Down Expand Up @@ -3594,8 +3594,8 @@ extension RequestCertificateInputBody: Swift.Decodable {
}
}

public enum RequestCertificateOutputError: ClientRuntime.HttpResponseErrorBinding {
public static func makeError(httpResponse: ClientRuntime.HttpResponse, decoder: ClientRuntime.ResponseDecoder? = nil) async throws -> Swift.Error {
enum RequestCertificateOutputError: ClientRuntime.HttpResponseErrorBinding {
static func makeError(httpResponse: ClientRuntime.HttpResponse, decoder: ClientRuntime.ResponseDecoder? = nil) async throws -> Swift.Error {
let restJSONError = try await AWSClientRuntime.RestJSONError(httpResponse: httpResponse)
let requestID = httpResponse.requestId
switch restJSONError.errorType {
Expand Down Expand Up @@ -3790,8 +3790,8 @@ extension ResendValidationEmailInputBody: Swift.Decodable {
}
}

public enum ResendValidationEmailOutputError: ClientRuntime.HttpResponseErrorBinding {
public static func makeError(httpResponse: ClientRuntime.HttpResponse, decoder: ClientRuntime.ResponseDecoder? = nil) async throws -> Swift.Error {
enum ResendValidationEmailOutputError: ClientRuntime.HttpResponseErrorBinding {
static func makeError(httpResponse: ClientRuntime.HttpResponse, decoder: ClientRuntime.ResponseDecoder? = nil) async throws -> Swift.Error {
let restJSONError = try await AWSClientRuntime.RestJSONError(httpResponse: httpResponse)
let requestID = httpResponse.requestId
switch restJSONError.errorType {
Expand Down Expand Up @@ -4371,8 +4371,8 @@ extension UpdateCertificateOptionsInputBody: Swift.Decodable {
}
}

public enum UpdateCertificateOptionsOutputError: ClientRuntime.HttpResponseErrorBinding {
public static func makeError(httpResponse: ClientRuntime.HttpResponse, decoder: ClientRuntime.ResponseDecoder? = nil) async throws -> Swift.Error {
enum UpdateCertificateOptionsOutputError: ClientRuntime.HttpResponseErrorBinding {
static func makeError(httpResponse: ClientRuntime.HttpResponse, decoder: ClientRuntime.ResponseDecoder? = nil) async throws -> Swift.Error {
let restJSONError = try await AWSClientRuntime.RestJSONError(httpResponse: httpResponse)
let requestID = httpResponse.requestId
switch restJSONError.errorType {
Expand Down
Loading

0 comments on commit 9c5994b

Please sign in to comment.