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 1b5cb0f commit 827c7b8Copy full SHA for 827c7b8
packages/middleware-bucket-endpoint/src/bucketHostnameUtils.ts
@@ -87,10 +87,8 @@ export const validateArnEndpointOptions = (options: {
87
};
88
89
export const validateService = (service: string) => {
90
- if (service !== "s3"
91
- && service !== "s3-outposts"
92
- && service !== "s3-object-lambda") {
93
- throw new Error("Expect 's3' or 's3-outposts' or 's3-object-lambda' in ARN service component");
+ if (service !== "s3" && service !== "s3-outposts") {
+ throw new Error("Expect 's3' or 's3-outposts' in ARN service component");
94
}
95
96
0 commit comments