Skip to content

Commit

Permalink
chore: Updated codegen (#1491)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbelkins authored May 9, 2024
1 parent 433b2e5 commit 72fe4c0
Show file tree
Hide file tree
Showing 18 changed files with 328 additions and 346 deletions.
48 changes: 24 additions & 24 deletions Sources/Services/AWSBedrock/BedrockClient.swift

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions Sources/Services/AWSCodePipeline/CodePipelineClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1947,16 +1947,16 @@ extension CodePipelineClient {
operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware<RollbackStageInput, RollbackStageOutput>())
let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false)
operation.buildStep.intercept(position: .before, middleware: EndpointResolverMiddleware<RollbackStageOutput>(endpointResolver: config.endpointResolver, endpointParams: endpointParams))
operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config)))
operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware<RollbackStageInput, RollbackStageOutput>(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config)))
operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware<RollbackStageOutput>())
operation.serializeStep.intercept(position: .before, middleware: AWSClientRuntime.XAmzTargetMiddleware<RollbackStageInput, RollbackStageOutput>(xAmzTarget: "CodePipeline_20150709.RollbackStage"))
operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware<RollbackStageInput, RollbackStageOutput, ClientRuntime.JSONWriter>(documentWritingClosure: ClientRuntime.JSONReadWrite.documentWritingClosure(encoder: encoder), inputWritingClosure: JSONReadWrite.writingClosure()))
operation.serializeStep.intercept(position: .after, middleware: ContentTypeMiddleware<RollbackStageInput, RollbackStageOutput>(contentType: "application/x-amz-json-1.1"))
operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware())
operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware<RollbackStageInput, RollbackStageOutput>())
operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware<ClientRuntime.DefaultRetryStrategy, AWSClientRuntime.AWSRetryErrorInfoProvider, RollbackStageOutput>(options: config.retryStrategyOptions))
operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware<RollbackStageOutput>())
operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware<RollbackStageOutput>(responseClosure(decoder: decoder), responseErrorClosure(RollbackStageOutputError.self, decoder: decoder)))
operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware<RollbackStageOutput>(clientLogMode: config.clientLogMode))
operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware<RollbackStageInput, RollbackStageOutput>(clientLogMode: config.clientLogMode))
let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler())
return result
}
Expand Down
24 changes: 12 additions & 12 deletions Sources/Services/AWSConnect/ConnectClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1113,16 +1113,16 @@ extension ConnectClient {
operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware<BatchGetAttachedFileMetadataInput, BatchGetAttachedFileMetadataOutput>())
let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false)
operation.buildStep.intercept(position: .before, middleware: EndpointResolverMiddleware<BatchGetAttachedFileMetadataOutput>(endpointResolver: config.endpointResolver, endpointParams: endpointParams))
operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config)))
operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware<BatchGetAttachedFileMetadataInput, BatchGetAttachedFileMetadataOutput>(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config)))
operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware<BatchGetAttachedFileMetadataOutput>())
operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.QueryItemMiddleware<BatchGetAttachedFileMetadataInput, BatchGetAttachedFileMetadataOutput>(BatchGetAttachedFileMetadataInput.queryItemProvider(_:)))
operation.serializeStep.intercept(position: .after, middleware: ContentTypeMiddleware<BatchGetAttachedFileMetadataInput, BatchGetAttachedFileMetadataOutput>(contentType: "application/json"))
operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware<BatchGetAttachedFileMetadataInput, BatchGetAttachedFileMetadataOutput, ClientRuntime.JSONWriter>(documentWritingClosure: ClientRuntime.JSONReadWrite.documentWritingClosure(encoder: encoder), inputWritingClosure: JSONReadWrite.writingClosure()))
operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware())
operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware<BatchGetAttachedFileMetadataInput, BatchGetAttachedFileMetadataOutput>())
operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware<ClientRuntime.DefaultRetryStrategy, AWSClientRuntime.AWSRetryErrorInfoProvider, BatchGetAttachedFileMetadataOutput>(options: config.retryStrategyOptions))
operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware<BatchGetAttachedFileMetadataOutput>())
operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware<BatchGetAttachedFileMetadataOutput>(responseClosure(decoder: decoder), responseErrorClosure(BatchGetAttachedFileMetadataOutputError.self, decoder: decoder)))
operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware<BatchGetAttachedFileMetadataOutput>(clientLogMode: config.clientLogMode))
operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware<BatchGetAttachedFileMetadataInput, BatchGetAttachedFileMetadataOutput>(clientLogMode: config.clientLogMode))
let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler())
return result
}
Expand Down Expand Up @@ -1335,13 +1335,13 @@ extension ConnectClient {
operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware<CompleteAttachedFileUploadInput, CompleteAttachedFileUploadOutput>())
let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false)
operation.buildStep.intercept(position: .before, middleware: EndpointResolverMiddleware<CompleteAttachedFileUploadOutput>(endpointResolver: config.endpointResolver, endpointParams: endpointParams))
operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config)))
operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware<CompleteAttachedFileUploadInput, CompleteAttachedFileUploadOutput>(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config)))
operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware<CompleteAttachedFileUploadOutput>())
operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.QueryItemMiddleware<CompleteAttachedFileUploadInput, CompleteAttachedFileUploadOutput>(CompleteAttachedFileUploadInput.queryItemProvider(_:)))
operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware<ClientRuntime.DefaultRetryStrategy, AWSClientRuntime.AWSRetryErrorInfoProvider, CompleteAttachedFileUploadOutput>(options: config.retryStrategyOptions))
operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware<CompleteAttachedFileUploadOutput>())
operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware<CompleteAttachedFileUploadOutput>(responseClosure(decoder: decoder), responseErrorClosure(CompleteAttachedFileUploadOutputError.self, decoder: decoder)))
operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware<CompleteAttachedFileUploadOutput>(clientLogMode: config.clientLogMode))
operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware<CompleteAttachedFileUploadInput, CompleteAttachedFileUploadOutput>(clientLogMode: config.clientLogMode))
let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler())
return result
}
Expand Down Expand Up @@ -2794,13 +2794,13 @@ extension ConnectClient {
operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware<DeleteAttachedFileInput, DeleteAttachedFileOutput>())
let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false)
operation.buildStep.intercept(position: .before, middleware: EndpointResolverMiddleware<DeleteAttachedFileOutput>(endpointResolver: config.endpointResolver, endpointParams: endpointParams))
operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config)))
operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware<DeleteAttachedFileInput, DeleteAttachedFileOutput>(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config)))
operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware<DeleteAttachedFileOutput>())
operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.QueryItemMiddleware<DeleteAttachedFileInput, DeleteAttachedFileOutput>(DeleteAttachedFileInput.queryItemProvider(_:)))
operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware<ClientRuntime.DefaultRetryStrategy, AWSClientRuntime.AWSRetryErrorInfoProvider, DeleteAttachedFileOutput>(options: config.retryStrategyOptions))
operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware<DeleteAttachedFileOutput>())
operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware<DeleteAttachedFileOutput>(responseClosure(decoder: decoder), responseErrorClosure(DeleteAttachedFileOutputError.self, decoder: decoder)))
operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware<DeleteAttachedFileOutput>(clientLogMode: config.clientLogMode))
operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware<DeleteAttachedFileInput, DeleteAttachedFileOutput>(clientLogMode: config.clientLogMode))
let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler())
return result
}
Expand Down Expand Up @@ -5959,13 +5959,13 @@ extension ConnectClient {
operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware<GetAttachedFileInput, GetAttachedFileOutput>())
let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false)
operation.buildStep.intercept(position: .before, middleware: EndpointResolverMiddleware<GetAttachedFileOutput>(endpointResolver: config.endpointResolver, endpointParams: endpointParams))
operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config)))
operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware<GetAttachedFileInput, GetAttachedFileOutput>(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config)))
operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware<GetAttachedFileOutput>())
operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.QueryItemMiddleware<GetAttachedFileInput, GetAttachedFileOutput>(GetAttachedFileInput.queryItemProvider(_:)))
operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware<ClientRuntime.DefaultRetryStrategy, AWSClientRuntime.AWSRetryErrorInfoProvider, GetAttachedFileOutput>(options: config.retryStrategyOptions))
operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware<GetAttachedFileOutput>())
operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware<GetAttachedFileOutput>(responseClosure(decoder: decoder), responseErrorClosure(GetAttachedFileOutputError.self, decoder: decoder)))
operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware<GetAttachedFileOutput>(clientLogMode: config.clientLogMode))
operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware<GetAttachedFileInput, GetAttachedFileOutput>(clientLogMode: config.clientLogMode))
let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler())
return result
}
Expand Down Expand Up @@ -9985,16 +9985,16 @@ extension ConnectClient {
operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware<StartAttachedFileUploadInput, StartAttachedFileUploadOutput>())
let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false)
operation.buildStep.intercept(position: .before, middleware: EndpointResolverMiddleware<StartAttachedFileUploadOutput>(endpointResolver: config.endpointResolver, endpointParams: endpointParams))
operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config)))
operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware<StartAttachedFileUploadInput, StartAttachedFileUploadOutput>(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config)))
operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware<StartAttachedFileUploadOutput>())
operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.QueryItemMiddleware<StartAttachedFileUploadInput, StartAttachedFileUploadOutput>(StartAttachedFileUploadInput.queryItemProvider(_:)))
operation.serializeStep.intercept(position: .after, middleware: ContentTypeMiddleware<StartAttachedFileUploadInput, StartAttachedFileUploadOutput>(contentType: "application/json"))
operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware<StartAttachedFileUploadInput, StartAttachedFileUploadOutput, ClientRuntime.JSONWriter>(documentWritingClosure: ClientRuntime.JSONReadWrite.documentWritingClosure(encoder: encoder), inputWritingClosure: JSONReadWrite.writingClosure()))
operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware())
operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware<StartAttachedFileUploadInput, StartAttachedFileUploadOutput>())
operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware<ClientRuntime.DefaultRetryStrategy, AWSClientRuntime.AWSRetryErrorInfoProvider, StartAttachedFileUploadOutput>(options: config.retryStrategyOptions))
operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware<StartAttachedFileUploadOutput>())
operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware<StartAttachedFileUploadOutput>(responseClosure(decoder: decoder), responseErrorClosure(StartAttachedFileUploadOutputError.self, decoder: decoder)))
operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware<StartAttachedFileUploadOutput>(clientLogMode: config.clientLogMode))
operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware<StartAttachedFileUploadInput, StartAttachedFileUploadOutput>(clientLogMode: config.clientLogMode))
let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler())
return result
}
Expand Down
Loading

0 comments on commit 72fe4c0

Please sign in to comment.