aws / aws-sdk-js-v3

Modularized AWS SDK for JavaScript.
Apache License 2.0
2.97k stars 556 forks source link

AWS SDK DescribeStorageVirtualMachinesCommand problem #4737

Open guypar opened 1 year ago

guypar commented 1 year ago

Describe the bug

members : StorageVirtualMachine.rootVolumeSecurityStyle, StorageVirtualMachine.Tags are not populated.

Expected Behavior

StorageVirtualMachine.rootVolumeSecurityStyle, StorageVirtualMachine.Tags should be not empty and populated with the actual values of the SVM

Current Behavior

these members are just empty

Reproduction Steps

const resp = await this.getFsxClient(awsCredsAndRegion).send(new DescribeStorageVirtualMachinesCommand({ StorageVirtualMachineIds: [svmId] }));
 resp.StorageVirtualMachines[0].rootVolumeSecurityStyle
 resp.StorageVirtualMachines[0].Tags

Possible Solution

No response

Additional Information/Context

No response

SDK version used

3.112.0

Environment details (OS name and version, etc.)

mac 13.3.

yenfryherrerafeliz commented 1 year ago

Since this is an issue with the AWS SDK for JavaScript v3, I will transfer it to the correct repo.

Thanks!

RanVaknin commented 1 year ago

Hi @guypar

Are you getting a 200 status or an error? Your reproduction steps do not include a catch block so we don't know if you are error handling, and if an error is returned resulting in those members being empty.

A full reproduction setup will be very helpful for us in order to correctly emulate your situation. Preferably information about how you set up your resources and a complete code snippet that can consistently reproduce the issue.

Thanks! Ran~

github-actions[bot] commented 1 year ago

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.

guypar commented 1 year ago

hi, thx for the quick response. i am not getting an error. how to reproduce:

  1. create fsx for netapp
  2. an default SVM will be created.
  3. go to the default SVM page in aws console and add tags to the SVM image

image image

  1. copy the svmId from aws console execute: const resp = await this.getFsxClient(awsCredsAndRegion).send(new DescribeStorageVirtualMachinesCommand({ StorageVirtualMachineIds: [] })); console.log(resp)

you will see that : resp.StorageVirtualMachines[0].rootVolumeSecurityStyle resp.StorageVirtualMachines[0].Tags are undefined although these values are present in aws console

github-actions[bot] commented 4 days ago

Greetings! We’re closing this issue because it has been open a long time and hasn’t been updated in a while and may not be getting the attention it deserves. We encourage you to check if this is still an issue in the latest release and if you find that this is still a problem, please feel free to comment or open a new issue.