-
Notifications
You must be signed in to change notification settings - Fork 648
Open
Labels
bugThis issue is a bug.This issue is a bug.p1This is a high priority issueThis is a high priority issuepotential-regressionMarking this issue as a potential regression to be checked by team memberMarking this issue as a potential regression to be checked by team memberresponse-requestedWaiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.Waiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.
Description
Checkboxes for prior research
- I've gone through Developer Guide and API reference
- I've checked AWS Forums and StackOverflow.
- I've searched for previous similar issues and didn't find any solution.
Describe the bug
I used to use the "FlexibleTimeWindowMode" enum to determine whether my schedules have flexible time window mode OFF or FLEXIBLE
Example:
const { FlexibleTimeWindowMode, CreateScheduleCommand } = require("@aws-sdk/client-scheduler");
const params = {
Name: "some_name",
Description: "some_description",
Target: "some_target",
FlexibleTimeWindow: {
Mode: FlexibleTimeWindowMode.OFF
}
};
const command = new CreateScheduleCommand(params);
I can no longer access "FlexibleTimeWindowMode" in the "3.930.0" version of the aws sdk.
Regression Issue
- Select this option if this issue appears to be a regression.
SDK version number
@aws-sdk/client-scheduler@v3.930.0
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
Node - 22.18.0
Reproduction Steps
- Import "FlexibleTimeWindowMode" from @aws-sdk/client-scheduler
- Try accessing the enum -> results in undefined
Observed Behavior
Got a type error when accessing the enum:
TypeError: Cannot read properties of undefined (reading 'OFF')
Expected Behavior
Its expected to be able to access the enum
FlexibleTimeWindowMode.OFF
Possible Solution
No response
Additional Information/Context
No response
phoenix-ru
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.p1This is a high priority issueThis is a high priority issuepotential-regressionMarking this issue as a potential regression to be checked by team memberMarking this issue as a potential regression to be checked by team memberresponse-requestedWaiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.Waiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.