We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1be84c commit 54cd6b1Copy full SHA for 54cd6b1
packages/middleware-bucket-endpoint/src/bucketHostnameUtils.ts
@@ -87,8 +87,8 @@ export const validateArnEndpointOptions = (options: {
87
};
88
89
export const validateService = (service: string) => {
90
- if (service !== "s3" && service !== "s3-outposts") {
91
- throw new Error("Expect 's3' or 's3-outposts' in ARN service component");
+ if (service !== "s3" && service !== "s3-outposts" && service !== "s3-object-lambda") {
+ throw new Error("Expect 's3' or 's3-outposts' or 's3-object-lambda' in ARN service component");
92
}
93
94
0 commit comments