-
Notifications
You must be signed in to change notification settings - Fork 588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Amazon Connect Client break between version 3.696.0 and 3.699.0 #6695
Comments
Hi @zyrorl , I'm not sure why you are seeing a breaking change. I dont see a change in interface: import {ListRoutingProfilesCommandOutput, ListRoutingProfilesCommand, ConnectClient} from '@aws-sdk/client-connect'
const client = new ConnectClient({
region: "us-east-1"
})
async function run(){
try {
const command = new ListRoutingProfilesCommand({
InstanceId: "REDACTED",
});
const response: ListRoutingProfilesCommandOutput = await client.send(command);
console.log(response.RoutingProfileSummaryList);
if (response.RoutingProfileSummaryList) {
response.RoutingProfileSummaryList.forEach(profile => {
console.log(profile.Name);
console.log(profile.Arn);
});
}
} catch (error) {
console.error(error);
}
}
run()
results in: $ npm ls
[email protected] /Users/rvaknin/test_folder/connect-try
└── @aws-sdk/[email protected]
$ tsc sample.ts
$ node sample.js
[
{
Arn: 'arn:aws:connect:us-east-1:REDACTED:instance/REDACTED/routing-profile/REDACTED',
Id: 'REDACTED',
LastModifiedRegion: 'us-east-1',
LastModifiedTime: 2024-05-17T04:48:07.110Z,
Name: 'Basic Routing Profile'
}
]
Basic Routing Profile
arn:aws:connect:us-east-1:REDACTED:instance/REDACTED/routing-profile/REDACTED The only change I see is this a83926c#diff-164fa22f7a2439af11297a84706a2efd3c0be36a3d5f92ab06e16c9436646e00L3 Which changed the imports to new model file which has the If I had to guess what happened is that your project has multiple versions of the same $ npm ls -a @aws-sdk/client-connect and then see the dependency tree to make sure all of them point to the latest 3.699.0 by using Let me know if this helped. |
This issue has not received a response in 1 week. If you still think there is a problem, please leave a comment to avoid the issue from automatically closing. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread. |
Checkboxes for prior research
Describe the bug
The interface for ListRoutingProfilesCommandOutput has broken, and is now missing the RoutingProfileSummaryList attribute in the api.
Regression Issue
SDK version number
@aws-sdk/[email protected]
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
v22.10.0
Reproduction Steps
Observed Behavior
Expected Behavior
Possible Solution
downgrade to version 3.696.0
Additional Information/Context
No response
The text was updated successfully, but these errors were encountered: