-
Notifications
You must be signed in to change notification settings - Fork 647
Closed
Labels
bugThis issue is a bug.This issue is a bug.p2This is a standard priority issueThis is a standard priority issueservice-apiThis issue is due to a problem in a service API, not the SDK implementation.This issue is due to a problem in a service API, not the SDK implementation.
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
The ECS Client SettingName enum is missing an option for the dualStackIPv6 option (as indicated here)
SDK version number
@aws-sdk/client-ecs@3.529.1
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
v20.10.0
Reproduction Steps
import { SettingName } from '@aws-sdk/client-ecs'
console.log(SettingName)Observed Behavior
The following output is generated:
{
AWSVPC_TRUNKING: 'awsvpcTrunking',
CONTAINER_INSIGHTS: 'containerInsights',
CONTAINER_INSTANCE_LONG_ARN_FORMAT: 'containerInstanceLongArnFormat',
FARGATE_FIPS_MODE: 'fargateFIPSMode',
FARGATE_TASK_RETIREMENT_WAIT_PERIOD: 'fargateTaskRetirementWaitPeriod',
GUARD_DUTY_ACTIVATE: 'guardDutyActivate',
SERVICE_LONG_ARN_FORMAT: 'serviceLongArnFormat',
TAG_RESOURCE_AUTHORIZATION: 'tagResourceAuthorization',
TASK_LONG_ARN_FORMAT: 'taskLongArnFormat'
}
Expected Behavior
There should be a key/value pair for the value dualStackIPv6
e.g.
{
DUAL_STACK_IPV6: 'dualStackIPv6'
}
Possible Solution
Update the SettingName object to the following:
export const SettingName = {
AWSVPC_TRUNKING: "awsvpcTrunking",
CONTAINER_INSIGHTS: "containerInsights",
CONTAINER_INSTANCE_LONG_ARN_FORMAT: "containerInstanceLongArnFormat",
DUAL_STACK_IPV6: 'dualStackIPv6'
FARGATE_FIPS_MODE: "fargateFIPSMode",
FARGATE_TASK_RETIREMENT_WAIT_PERIOD: "fargateTaskRetirementWaitPeriod",
GUARD_DUTY_ACTIVATE: "guardDutyActivate",
SERVICE_LONG_ARN_FORMAT: "serviceLongArnFormat",
TAG_RESOURCE_AUTHORIZATION: "tagResourceAuthorization",
TASK_LONG_ARN_FORMAT: "taskLongArnFormat",
} as const;
Additional Information/Context
No response
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.p2This is a standard priority issueThis is a standard priority issueservice-apiThis issue is due to a problem in a service API, not the SDK implementation.This issue is due to a problem in a service API, not the SDK implementation.