Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for decoding event streams #686

Merged
merged 7 commits into from
Jul 20, 2023
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ let package = Package(
.library(name: "SotoXRay", targets: ["SotoXRay"])
],
dependencies: [
.package(url: "https://github.com/soto-project/soto-core.git", branch: "7.x.x")
.package(url: "https://github.com/soto-project/soto-core.git", branch: "event-stream")
],
targets: [
.target(name: "SotoACM", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/ACM"),
Expand Down
192 changes: 0 additions & 192 deletions Sources/Soto/Extensions/S3/S3+SelectObjectContent.swift

This file was deleted.

4 changes: 0 additions & 4 deletions Sources/Soto/Services/APIGateway/APIGateway_shapes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2922,7 +2922,6 @@ extension APIGateway {
public struct ImportApiKeysRequest: AWSEncodableShape & AWSShapeWithPayload {
/// The key for the payload
public static let _payloadPath: String = "body"
public static let _options: AWSShapeOptions = [.rawPayload]
public static var _encoding = [
AWSMemberEncoding(label: "failOnWarnings", location: .querystring("failonwarnings")),
AWSMemberEncoding(label: "format", location: .querystring("format"))
Expand All @@ -2947,7 +2946,6 @@ extension APIGateway {
public struct ImportDocumentationPartsRequest: AWSEncodableShape & AWSShapeWithPayload {
/// The key for the payload
public static let _payloadPath: String = "body"
public static let _options: AWSShapeOptions = [.rawPayload]
public static var _encoding = [
AWSMemberEncoding(label: "failOnWarnings", location: .querystring("failonwarnings")),
AWSMemberEncoding(label: "mode", location: .querystring("mode")),
Expand Down Expand Up @@ -2976,7 +2974,6 @@ extension APIGateway {
public struct ImportRestApiRequest: AWSEncodableShape & AWSShapeWithPayload {
/// The key for the payload
public static let _payloadPath: String = "body"
public static let _options: AWSShapeOptions = [.rawPayload]
public static var _encoding = [
AWSMemberEncoding(label: "failOnWarnings", location: .querystring("failonwarnings"))
]
Expand Down Expand Up @@ -3608,7 +3605,6 @@ extension APIGateway {
public struct PutRestApiRequest: AWSEncodableShape & AWSShapeWithPayload {
/// The key for the payload
public static let _payloadPath: String = "body"
public static let _options: AWSShapeOptions = [.rawPayload]
public static var _encoding = [
AWSMemberEncoding(label: "failOnWarnings", location: .querystring("failonwarnings")),
AWSMemberEncoding(label: "mode", location: .querystring("mode")),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ extension ApiGatewayManagementApi {
public struct PostToConnectionRequest: AWSEncodableShape & AWSShapeWithPayload {
/// The key for the payload
public static let _payloadPath: String = "data"
public static let _options: AWSShapeOptions = [.rawPayload]
public static var _encoding = [
AWSMemberEncoding(label: "connectionId", location: .uri("ConnectionId"))
]
Expand Down
1 change: 0 additions & 1 deletion Sources/Soto/Services/AppConfig/AppConfig_shapes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,6 @@ extension AppConfig {
public struct CreateHostedConfigurationVersionRequest: AWSEncodableShape & AWSShapeWithPayload {
/// The key for the payload
public static let _payloadPath: String = "content"
public static let _options: AWSShapeOptions = [.rawPayload]
public static var _encoding = [
AWSMemberEncoding(label: "applicationId", location: .uri("ApplicationId")),
AWSMemberEncoding(label: "configurationProfileId", location: .uri("ConfigurationProfileId")),
Expand Down
10 changes: 5 additions & 5 deletions Sources/Soto/Services/BackupStorage/BackupStorage_shapes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ extension BackupStorage {
}

public struct GetChunkOutput: AWSDecodableShape {
public static let _options: AWSShapeOptions = [.rawPayload, .allowStreaming]
public static let _options: AWSShapeOptions = [.rawPayload]
/// Data checksum
public let checksum: String
/// Checksum algorithm
Expand Down Expand Up @@ -188,7 +188,7 @@ extension BackupStorage {
}

public struct GetObjectMetadataOutput: AWSDecodableShape {
public static let _options: AWSShapeOptions = [.rawPayload, .allowStreaming]
public static let _options: AWSShapeOptions = [.rawPayload]
/// Metadata blob.
public let metadataBlob: AWSHTTPBody
/// MetadataBlob checksum.
Expand Down Expand Up @@ -334,7 +334,7 @@ extension BackupStorage {
public struct NotifyObjectCompleteInput: AWSEncodableShape & AWSShapeWithPayload {
/// The key for the payload
public static let _payloadPath: String = "metadataBlob"
public static let _options: AWSShapeOptions = [.rawPayload, .allowStreaming, .allowChunkedStreaming]
public static let _options: AWSShapeOptions = [.allowStreaming, .allowChunkedStreaming]
public static var _encoding = [
AWSMemberEncoding(label: "backupJobId", location: .uri("BackupJobId")),
AWSMemberEncoding(label: "metadataBlobChecksum", location: .querystring("metadata-checksum")),
Expand Down Expand Up @@ -404,7 +404,7 @@ extension BackupStorage {
public struct PutChunkInput: AWSEncodableShape & AWSShapeWithPayload {
/// The key for the payload
public static let _payloadPath: String = "data"
public static let _options: AWSShapeOptions = [.rawPayload, .allowStreaming, .allowChunkedStreaming]
public static let _options: AWSShapeOptions = [.allowStreaming, .allowChunkedStreaming]
public static var _encoding = [
AWSMemberEncoding(label: "backupJobId", location: .uri("BackupJobId")),
AWSMemberEncoding(label: "checksum", location: .querystring("checksum")),
Expand Down Expand Up @@ -462,7 +462,7 @@ extension BackupStorage {
public struct PutObjectInput: AWSEncodableShape & AWSShapeWithPayload {
/// The key for the payload
public static let _payloadPath: String = "inlineChunk"
public static let _options: AWSShapeOptions = [.rawPayload, .allowStreaming, .allowChunkedStreaming]
public static let _options: AWSShapeOptions = [.allowStreaming, .allowChunkedStreaming]
public static var _encoding = [
AWSMemberEncoding(label: "backupJobId", location: .uri("BackupJobId")),
AWSMemberEncoding(label: "inlineChunkChecksum", location: .querystring("checksum")),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ extension CloudSearchDomain {
public struct UploadDocumentsRequest: AWSEncodableShape & AWSShapeWithPayload {
/// The key for the payload
public static let _payloadPath: String = "documents"
public static let _options: AWSShapeOptions = [.rawPayload, .allowStreaming]
public static let _options: AWSShapeOptions = [.allowStreaming]
public static var _encoding = [
AWSMemberEncoding(label: "contentType", location: .header("Content-Type"))
]
Expand Down
Loading