Skip to content

The type of Status in the DescribeEnvironmentHealthResult interfac is incorrect. #6567

@jhpung

Description

@jhpung

Checkboxes for prior research

Describe the bug

Currently, the type is set to EnvironmentHealth, but it should be specified as EnvironmentStatus to match the response.

Regression Issue

  • Select this option if this issue appears to be a regression.

SDK version number

@aws-sdk/[email protected]

Which JavaScript Runtime is this issue in?

Node.js

Details of the browser/Node.js/ReactNative version

20.18.0

Reproduction Steps

  1. Send a DescribeEnvironmentHealthCommand
  2. The received output and the typeof output's status do not match with EnvironmentHealth type.

Observed Behavior

DescribeEnvironmentHealthCommandOutput.Status is Ready but it's type is EnvironmentHealth that doesn't matched

Expected Behavior

DescribeEnvironmentHealthCommandOutput.Status's type should be EnvironmentStatus

Possible Solution

No response

Additional Information/Context

No response

Metadata

Metadata

Assignees

Labels

bugThis issue is a bug.p2This is a standard priority issueservice-apiThis issue is due to a problem in a service API, not the SDK implementation.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions