@aws-sdk/client-ecs 3.1064.0 → 3.1066.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +10 -0
- package/dist-cjs/schemas/schemas_0.js +4 -4
- package/dist-es/models/enums.js +8 -0
- package/dist-es/schemas/schemas_0.js +4 -4
- package/dist-types/commands/DescribeDaemonTaskDefinitionCommand.d.ts +2 -0
- package/dist-types/commands/RegisterDaemonTaskDefinitionCommand.d.ts +2 -0
- package/dist-types/models/enums.d.ts +36 -0
- package/dist-types/models/models_0.d.ts +21 -1
- package/dist-types/ts3.4/models/enums.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +6 -0
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -1919,6 +1919,14 @@ const UlimitName = {
|
|
|
1919
1919
|
SIGPENDING: "sigpending",
|
|
1920
1920
|
STACK: "stack",
|
|
1921
1921
|
};
|
|
1922
|
+
const DaemonIpcMode = {
|
|
1923
|
+
NONE: "none",
|
|
1924
|
+
SHARED: "shared",
|
|
1925
|
+
};
|
|
1926
|
+
const DaemonPidMode = {
|
|
1927
|
+
NONE: "none",
|
|
1928
|
+
SHARED: "shared",
|
|
1929
|
+
};
|
|
1922
1930
|
const DaemonTaskDefinitionStatus = {
|
|
1923
1931
|
ACTIVE: "ACTIVE",
|
|
1924
1932
|
DELETED: "DELETED",
|
|
@@ -2244,6 +2252,8 @@ exports.CreateServiceCommand = CreateServiceCommand;
|
|
|
2244
2252
|
exports.CreateTaskSetCommand = CreateTaskSetCommand;
|
|
2245
2253
|
exports.DaemonDeploymentRollbackMonitorsStatus = DaemonDeploymentRollbackMonitorsStatus;
|
|
2246
2254
|
exports.DaemonDeploymentStatus = DaemonDeploymentStatus;
|
|
2255
|
+
exports.DaemonIpcMode = DaemonIpcMode;
|
|
2256
|
+
exports.DaemonPidMode = DaemonPidMode;
|
|
2247
2257
|
exports.DaemonPropagateTags = DaemonPropagateTags;
|
|
2248
2258
|
exports.DaemonStatus = DaemonStatus;
|
|
2249
2259
|
exports.DaemonTaskDefinitionRevisionFilter = DaemonTaskDefinitionRevisionFilter;
|
|
@@ -1635,8 +1635,8 @@ exports.DaemonSummary$ = [3, n0, _DS,
|
|
|
1635
1635
|
];
|
|
1636
1636
|
exports.DaemonTaskDefinition$ = [3, n0, _DTD,
|
|
1637
1637
|
0,
|
|
1638
|
-
[_dTDA, _f, _re, _tRA, _eRA, _cD, _vo, _cp, _me, _st, _rAe, _dRAe, _rB],
|
|
1639
|
-
[0, 0, 1, 0, 0, [() => DaemonContainerDefinitionList, 0], () => DaemonVolumeList, 0, 0, 0, 4, 4, 0]
|
|
1638
|
+
[_dTDA, _f, _re, _tRA, _eRA, _cD, _vo, _cp, _me, _st, _rAe, _dRAe, _rB, _pMi, _iM],
|
|
1639
|
+
[0, 0, 1, 0, 0, [() => DaemonContainerDefinitionList, 0], () => DaemonVolumeList, 0, 0, 0, 4, 4, 0, 0, 0]
|
|
1640
1640
|
];
|
|
1641
1641
|
exports.DaemonTaskDefinitionSummary$ = [3, n0, _DTDS,
|
|
1642
1642
|
0,
|
|
@@ -2540,8 +2540,8 @@ exports.RegisterContainerInstanceResponse$ = [3, n0, _RCIRe,
|
|
|
2540
2540
|
];
|
|
2541
2541
|
exports.RegisterDaemonTaskDefinitionRequest$ = [3, n0, _RDTDR,
|
|
2542
2542
|
0,
|
|
2543
|
-
[_f, _cD, _tRA, _eRA, _cp, _me, _vo, _ta],
|
|
2544
|
-
[0, [() => DaemonContainerDefinitionList, 0], 0, 0, 0, 0, () => DaemonVolumeList, () => Tags], 2
|
|
2543
|
+
[_f, _cD, _tRA, _eRA, _cp, _me, _vo, _ta, _pMi, _iM],
|
|
2544
|
+
[0, [() => DaemonContainerDefinitionList, 0], 0, 0, 0, 0, () => DaemonVolumeList, () => Tags, 0, 0], 2
|
|
2545
2545
|
];
|
|
2546
2546
|
exports.RegisterDaemonTaskDefinitionResponse$ = [3, n0, _RDTDRe,
|
|
2547
2547
|
0,
|
package/dist-es/models/enums.js
CHANGED
|
@@ -259,6 +259,14 @@ export const UlimitName = {
|
|
|
259
259
|
SIGPENDING: "sigpending",
|
|
260
260
|
STACK: "stack",
|
|
261
261
|
};
|
|
262
|
+
export const DaemonIpcMode = {
|
|
263
|
+
NONE: "none",
|
|
264
|
+
SHARED: "shared",
|
|
265
|
+
};
|
|
266
|
+
export const DaemonPidMode = {
|
|
267
|
+
NONE: "none",
|
|
268
|
+
SHARED: "shared",
|
|
269
|
+
};
|
|
262
270
|
export const DaemonTaskDefinitionStatus = {
|
|
263
271
|
ACTIVE: "ACTIVE",
|
|
264
272
|
DELETED: "DELETED",
|
|
@@ -1623,8 +1623,8 @@ export var DaemonSummary$ = [3, n0, _DS,
|
|
|
1623
1623
|
];
|
|
1624
1624
|
export var DaemonTaskDefinition$ = [3, n0, _DTD,
|
|
1625
1625
|
0,
|
|
1626
|
-
[_dTDA, _f, _re, _tRA, _eRA, _cD, _vo, _cp, _me, _st, _rAe, _dRAe, _rB],
|
|
1627
|
-
[0, 0, 1, 0, 0, [() => DaemonContainerDefinitionList, 0], () => DaemonVolumeList, 0, 0, 0, 4, 4, 0]
|
|
1626
|
+
[_dTDA, _f, _re, _tRA, _eRA, _cD, _vo, _cp, _me, _st, _rAe, _dRAe, _rB, _pMi, _iM],
|
|
1627
|
+
[0, 0, 1, 0, 0, [() => DaemonContainerDefinitionList, 0], () => DaemonVolumeList, 0, 0, 0, 4, 4, 0, 0, 0]
|
|
1628
1628
|
];
|
|
1629
1629
|
export var DaemonTaskDefinitionSummary$ = [3, n0, _DTDS,
|
|
1630
1630
|
0,
|
|
@@ -2528,8 +2528,8 @@ export var RegisterContainerInstanceResponse$ = [3, n0, _RCIRe,
|
|
|
2528
2528
|
];
|
|
2529
2529
|
export var RegisterDaemonTaskDefinitionRequest$ = [3, n0, _RDTDR,
|
|
2530
2530
|
0,
|
|
2531
|
-
[_f, _cD, _tRA, _eRA, _cp, _me, _vo, _ta],
|
|
2532
|
-
[0, [() => DaemonContainerDefinitionList, 0], 0, 0, 0, 0, () => DaemonVolumeList, () => Tags], 2
|
|
2531
|
+
[_f, _cD, _tRA, _eRA, _cp, _me, _vo, _ta, _pMi, _iM],
|
|
2532
|
+
[0, [() => DaemonContainerDefinitionList, 0], 0, 0, 0, 0, () => DaemonVolumeList, () => Tags, 0, 0], 2
|
|
2533
2533
|
];
|
|
2534
2534
|
export var RegisterDaemonTaskDefinitionResponse$ = [3, n0, _RDTDRe,
|
|
2535
2535
|
0,
|
|
@@ -192,6 +192,8 @@ declare const DescribeDaemonTaskDefinitionCommand_base: {
|
|
|
192
192
|
* // registeredAt: new Date("TIMESTAMP"),
|
|
193
193
|
* // deleteRequestedAt: new Date("TIMESTAMP"),
|
|
194
194
|
* // registeredBy: "STRING_VALUE",
|
|
195
|
+
* // pidMode: "none" || "shared",
|
|
196
|
+
* // ipcMode: "none" || "shared",
|
|
195
197
|
* // },
|
|
196
198
|
* // };
|
|
197
199
|
*
|
|
@@ -186,6 +186,8 @@ declare const RegisterDaemonTaskDefinitionCommand_base: {
|
|
|
186
186
|
* value: "STRING_VALUE",
|
|
187
187
|
* },
|
|
188
188
|
* ],
|
|
189
|
+
* pidMode: "none" || "shared",
|
|
190
|
+
* ipcMode: "none" || "shared",
|
|
189
191
|
* };
|
|
190
192
|
* const command = new RegisterDaemonTaskDefinitionCommand(input);
|
|
191
193
|
* const response = await client.send(command);
|
|
@@ -635,6 +635,42 @@ export declare const UlimitName: {
|
|
|
635
635
|
* @public
|
|
636
636
|
*/
|
|
637
637
|
export type UlimitName = (typeof UlimitName)[keyof typeof UlimitName];
|
|
638
|
+
/**
|
|
639
|
+
* @public
|
|
640
|
+
* @enum
|
|
641
|
+
*/
|
|
642
|
+
export declare const DaemonIpcMode: {
|
|
643
|
+
/**
|
|
644
|
+
* <p>The daemon gets its own isolated IPC namespace.</p>
|
|
645
|
+
*/
|
|
646
|
+
readonly NONE: "none";
|
|
647
|
+
/**
|
|
648
|
+
* <p>The daemon shares the IPC namespace with co-located tasks on the same container instance.</p>
|
|
649
|
+
*/
|
|
650
|
+
readonly SHARED: "shared";
|
|
651
|
+
};
|
|
652
|
+
/**
|
|
653
|
+
* @public
|
|
654
|
+
*/
|
|
655
|
+
export type DaemonIpcMode = (typeof DaemonIpcMode)[keyof typeof DaemonIpcMode];
|
|
656
|
+
/**
|
|
657
|
+
* @public
|
|
658
|
+
* @enum
|
|
659
|
+
*/
|
|
660
|
+
export declare const DaemonPidMode: {
|
|
661
|
+
/**
|
|
662
|
+
* <p>The daemon gets its own isolated PID namespace.</p>
|
|
663
|
+
*/
|
|
664
|
+
readonly NONE: "none";
|
|
665
|
+
/**
|
|
666
|
+
* <p>The daemon shares the PID namespace with co-located tasks on the same container instance.</p>
|
|
667
|
+
*/
|
|
668
|
+
readonly SHARED: "shared";
|
|
669
|
+
};
|
|
670
|
+
/**
|
|
671
|
+
* @public
|
|
672
|
+
*/
|
|
673
|
+
export type DaemonPidMode = (typeof DaemonPidMode)[keyof typeof DaemonPidMode];
|
|
638
674
|
/**
|
|
639
675
|
* @public
|
|
640
676
|
* @enum
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import type { AcceleratorManufacturer, AcceleratorName, AcceleratorType, AccessType, AgentUpdateStatus, ApplicationProtocol, AssignPublicIp, AutoRepairActionsStatus, AvailabilityZoneRebalancing, BareMetal, BurstablePerformance, CapacityOptionType, CapacityProviderField, CapacityProviderStatus, CapacityProviderType, CapacityProviderUpdateStatus, CapacityReservationPreference, ClusterField, ClusterSettingName, Compatibility, ContainerCondition, ContainerInstanceField, ContainerInstanceStatus, CPUArchitecture, CpuManufacturer, DaemonDeploymentRollbackMonitorsStatus, DaemonDeploymentStatus, DaemonPropagateTags, DaemonStatus, DaemonTaskDefinitionRevisionFilter, DaemonTaskDefinitionStatus, DaemonTaskDefinitionStatusFilter, DeploymentControllerType, DeploymentLifecycleHookAction, DeploymentLifecycleHookStage, DeploymentLifecycleHookStatus, DeploymentLifecycleHookTargetType, DeploymentRolloutState, DeploymentStrategy, DesiredStatus, DeviceCgroupPermission, EBSResourceType, EFSAuthorizationConfigIAM, EFSTransitEncryption, EnvironmentFileType, ExecuteCommandLogging, ExpressGatewayServiceInclude, ExpressGatewayServiceScalingMetric, ExpressGatewayServiceStatusCode, FirelensConfigurationType, InstanceGeneration, InstanceHealthCheckState, InstanceHealthCheckType, IpcMode, LaunchType, LocalStorage, LocalStorageType, LogDriver, ManagedAgentName, ManagedDraining, ManagedInstancesMonitoringOptions, ManagedResourceStatus, ManagedScalingStatus, ManagedTerminationProtection, NetworkMode, OSFamily, PidMode, PlacementConstraintType, PlacementStrategyType, PlatformDeviceType, PropagateMITags, PropagateTags, ProxyConfigurationType, ResourceManagementType, ResourceType, ScaleUnit, SchedulingStrategy, Scope, ServiceConnectAccessLoggingFormat, ServiceConnectIncludeQueryParameters, ServiceDeploymentLifecycleStage, ServiceDeploymentRollbackMonitorsStatus, ServiceDeploymentStatus, ServiceField, SettingName, SettingType, SortOrder, StabilityStatus, StopServiceDeploymentStopType, TargetType, TaskDefinitionFamilyStatus, TaskDefinitionField, TaskDefinitionPlacementConstraintType, TaskDefinitionStatus, TaskFilesystemType, TransportProtocol, UlimitName, VersionConsistency } from "./enums";
|
|
2
|
+
import type { AcceleratorManufacturer, AcceleratorName, AcceleratorType, AccessType, AgentUpdateStatus, ApplicationProtocol, AssignPublicIp, AutoRepairActionsStatus, AvailabilityZoneRebalancing, BareMetal, BurstablePerformance, CapacityOptionType, CapacityProviderField, CapacityProviderStatus, CapacityProviderType, CapacityProviderUpdateStatus, CapacityReservationPreference, ClusterField, ClusterSettingName, Compatibility, ContainerCondition, ContainerInstanceField, ContainerInstanceStatus, CPUArchitecture, CpuManufacturer, DaemonDeploymentRollbackMonitorsStatus, DaemonDeploymentStatus, DaemonIpcMode, DaemonPidMode, DaemonPropagateTags, DaemonStatus, DaemonTaskDefinitionRevisionFilter, DaemonTaskDefinitionStatus, DaemonTaskDefinitionStatusFilter, DeploymentControllerType, DeploymentLifecycleHookAction, DeploymentLifecycleHookStage, DeploymentLifecycleHookStatus, DeploymentLifecycleHookTargetType, DeploymentRolloutState, DeploymentStrategy, DesiredStatus, DeviceCgroupPermission, EBSResourceType, EFSAuthorizationConfigIAM, EFSTransitEncryption, EnvironmentFileType, ExecuteCommandLogging, ExpressGatewayServiceInclude, ExpressGatewayServiceScalingMetric, ExpressGatewayServiceStatusCode, FirelensConfigurationType, InstanceGeneration, InstanceHealthCheckState, InstanceHealthCheckType, IpcMode, LaunchType, LocalStorage, LocalStorageType, LogDriver, ManagedAgentName, ManagedDraining, ManagedInstancesMonitoringOptions, ManagedResourceStatus, ManagedScalingStatus, ManagedTerminationProtection, NetworkMode, OSFamily, PidMode, PlacementConstraintType, PlacementStrategyType, PlatformDeviceType, PropagateMITags, PropagateTags, ProxyConfigurationType, ResourceManagementType, ResourceType, ScaleUnit, SchedulingStrategy, Scope, ServiceConnectAccessLoggingFormat, ServiceConnectIncludeQueryParameters, ServiceDeploymentLifecycleStage, ServiceDeploymentRollbackMonitorsStatus, ServiceDeploymentStatus, ServiceField, SettingName, SettingType, SortOrder, StabilityStatus, StopServiceDeploymentStopType, TargetType, TaskDefinitionFamilyStatus, TaskDefinitionField, TaskDefinitionPlacementConstraintType, TaskDefinitionStatus, TaskFilesystemType, TransportProtocol, UlimitName, VersionConsistency } from "./enums";
|
|
3
3
|
/**
|
|
4
4
|
* <p>The minimum and maximum number of accelerators (such as GPUs) for instance type selection. This is used for workloads that require specific numbers of accelerators.</p>
|
|
5
5
|
* @public
|
|
@@ -3821,6 +3821,16 @@ export interface DaemonTaskDefinition {
|
|
|
3821
3821
|
* @public
|
|
3822
3822
|
*/
|
|
3823
3823
|
registeredBy?: string | undefined;
|
|
3824
|
+
/**
|
|
3825
|
+
* <p>The process namespace mode for the daemon. A value of <code>shared</code> means the daemon shares the PID namespace with co-located tasks, giving it visibility into application processes. A value of <code>none</code> means the daemon has its own isolated PID namespace.</p>
|
|
3826
|
+
* @public
|
|
3827
|
+
*/
|
|
3828
|
+
pidMode?: DaemonPidMode | undefined;
|
|
3829
|
+
/**
|
|
3830
|
+
* <p>The IPC namespace mode for the daemon. A value of <code>shared</code> means the daemon shares the IPC namespace with co-located tasks, allowing communication through POSIX shared memory, semaphores, and message queues. A value of <code>none</code> means the daemon has its own isolated IPC namespace.</p>
|
|
3831
|
+
* @public
|
|
3832
|
+
*/
|
|
3833
|
+
ipcMode?: DaemonIpcMode | undefined;
|
|
3824
3834
|
}
|
|
3825
3835
|
/**
|
|
3826
3836
|
* @public
|
|
@@ -3962,6 +3972,16 @@ export interface RegisterDaemonTaskDefinitionRequest {
|
|
|
3962
3972
|
* @public
|
|
3963
3973
|
*/
|
|
3964
3974
|
tags?: Tag[] | undefined;
|
|
3975
|
+
/**
|
|
3976
|
+
* <p>The process namespace mode for the daemon. When set to <code>shared</code>, the daemon shares the PID namespace with co-located tasks on the same container instance, giving the daemon visibility into application processes. When set to <code>none</code>, the daemon gets its own isolated PID namespace. The default is <code>none</code>.</p>
|
|
3977
|
+
* @public
|
|
3978
|
+
*/
|
|
3979
|
+
pidMode?: DaemonPidMode | undefined;
|
|
3980
|
+
/**
|
|
3981
|
+
* <p>The IPC namespace mode for the daemon. When set to <code>shared</code>, the daemon shares the IPC namespace with co-located tasks on the same container instance, allowing communication through POSIX shared memory, semaphores, and message queues. When set to <code>none</code>, the daemon gets its own isolated IPC namespace. The default is <code>none</code>.</p>
|
|
3982
|
+
* @public
|
|
3983
|
+
*/
|
|
3984
|
+
ipcMode?: DaemonIpcMode | undefined;
|
|
3965
3985
|
}
|
|
3966
3986
|
/**
|
|
3967
3987
|
* @public
|
|
@@ -343,6 +343,16 @@ export declare const UlimitName: {
|
|
|
343
343
|
readonly STACK: "stack";
|
|
344
344
|
};
|
|
345
345
|
export type UlimitName = (typeof UlimitName)[keyof typeof UlimitName];
|
|
346
|
+
export declare const DaemonIpcMode: {
|
|
347
|
+
readonly NONE: "none";
|
|
348
|
+
readonly SHARED: "shared";
|
|
349
|
+
};
|
|
350
|
+
export type DaemonIpcMode = (typeof DaemonIpcMode)[keyof typeof DaemonIpcMode];
|
|
351
|
+
export declare const DaemonPidMode: {
|
|
352
|
+
readonly NONE: "none";
|
|
353
|
+
readonly SHARED: "shared";
|
|
354
|
+
};
|
|
355
|
+
export type DaemonPidMode = (typeof DaemonPidMode)[keyof typeof DaemonPidMode];
|
|
346
356
|
export declare const DaemonTaskDefinitionStatus: {
|
|
347
357
|
readonly ACTIVE: "ACTIVE";
|
|
348
358
|
readonly DELETED: "DELETED";
|
|
@@ -27,6 +27,8 @@ import {
|
|
|
27
27
|
CpuManufacturer,
|
|
28
28
|
DaemonDeploymentRollbackMonitorsStatus,
|
|
29
29
|
DaemonDeploymentStatus,
|
|
30
|
+
DaemonIpcMode,
|
|
31
|
+
DaemonPidMode,
|
|
30
32
|
DaemonPropagateTags,
|
|
31
33
|
DaemonStatus,
|
|
32
34
|
DaemonTaskDefinitionRevisionFilter,
|
|
@@ -1004,6 +1006,8 @@ export interface DaemonTaskDefinition {
|
|
|
1004
1006
|
registeredAt?: Date | undefined;
|
|
1005
1007
|
deleteRequestedAt?: Date | undefined;
|
|
1006
1008
|
registeredBy?: string | undefined;
|
|
1009
|
+
pidMode?: DaemonPidMode | undefined;
|
|
1010
|
+
ipcMode?: DaemonIpcMode | undefined;
|
|
1007
1011
|
}
|
|
1008
1012
|
export interface DescribeDaemonTaskDefinitionResponse {
|
|
1009
1013
|
daemonTaskDefinition?: DaemonTaskDefinition | undefined;
|
|
@@ -1037,6 +1041,8 @@ export interface RegisterDaemonTaskDefinitionRequest {
|
|
|
1037
1041
|
memory?: string | undefined;
|
|
1038
1042
|
volumes?: DaemonVolume[] | undefined;
|
|
1039
1043
|
tags?: Tag[] | undefined;
|
|
1044
|
+
pidMode?: DaemonPidMode | undefined;
|
|
1045
|
+
ipcMode?: DaemonIpcMode | undefined;
|
|
1040
1046
|
}
|
|
1041
1047
|
export interface RegisterDaemonTaskDefinitionResponse {
|
|
1042
1048
|
daemonTaskDefinitionArn?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ecs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ecs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1066.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
26
|
-
"@aws-sdk/core": "^3.974.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
+
"@aws-sdk/core": "^3.974.20",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "^3.972.55",
|
|
28
28
|
"@aws-sdk/types": "^3.973.12",
|
|
29
29
|
"@smithy/core": "^3.24.6",
|
|
30
30
|
"@smithy/fetch-http-handler": "^5.4.6",
|