Skip to content

Commit 105ab24

Browse files
committed
Mark deprecated FunctionURLResponse init as @_disfavoredOverload
1 parent 89f1172 commit 105ab24

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/AWSLambdaEvents/FunctionURL.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ public struct FunctionURLResponse: Codable, Sendable {
9595
public var isBase64Encoded: Bool?
9696

9797
@available(*, deprecated, message: "Use init(statusCode:headers:body:isBase64Encoded:cookies:) instead")
98+
@_disfavoredOverload
9899
public init(
99100
statusCode: HTTPResponse.Status,
100101
headers: HTTPHeaders? = nil,

0 commit comments

Comments
 (0)