- 在editStorageForm中初始化oss_storage_quota_value和oss_quota_unit - 删除重复的旧配额说明块,保留新的当前配额设置显示 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
19 lines
641 B
JavaScript
19 lines
641 B
JavaScript
import { serializerMiddlewareOption } from "@smithy/middleware-serde";
|
|
import { endpointMiddleware } from "./endpointMiddleware";
|
|
export const endpointMiddlewareOptions = {
|
|
step: "serialize",
|
|
tags: ["ENDPOINT_PARAMETERS", "ENDPOINT_V2", "ENDPOINT"],
|
|
name: "endpointV2Middleware",
|
|
override: true,
|
|
relation: "before",
|
|
toMiddleware: serializerMiddlewareOption.name,
|
|
};
|
|
export const getEndpointPlugin = (config, instructions) => ({
|
|
applyToStack: (clientStack) => {
|
|
clientStack.addRelativeTo(endpointMiddleware({
|
|
config,
|
|
instructions,
|
|
}), endpointMiddlewareOptions);
|
|
},
|
|
});
|