@aws-sdk/client-ecs 3.489.0 → 3.490.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.
@@ -338,6 +338,39 @@ export interface ServiceRegistry {
338
338
  containerName?: string;
339
339
  containerPort?: number;
340
340
  }
341
+ export declare const TaskFilesystemType: {
342
+ readonly EXT3: "ext3";
343
+ readonly EXT4: "ext4";
344
+ readonly XFS: "xfs";
345
+ };
346
+ export type TaskFilesystemType =
347
+ (typeof TaskFilesystemType)[keyof typeof TaskFilesystemType];
348
+ export declare const EBSResourceType: {
349
+ readonly VOLUME: "volume";
350
+ };
351
+ export type EBSResourceType =
352
+ (typeof EBSResourceType)[keyof typeof EBSResourceType];
353
+ export interface EBSTagSpecification {
354
+ resourceType: EBSResourceType | undefined;
355
+ tags?: Tag[];
356
+ propagateTags?: PropagateTags;
357
+ }
358
+ export interface ServiceManagedEBSVolumeConfiguration {
359
+ encrypted?: boolean;
360
+ kmsKeyId?: string;
361
+ volumeType?: string;
362
+ sizeInGiB?: number;
363
+ snapshotId?: string;
364
+ iops?: number;
365
+ throughput?: number;
366
+ tagSpecifications?: EBSTagSpecification[];
367
+ roleArn: string | undefined;
368
+ filesystemType?: TaskFilesystemType;
369
+ }
370
+ export interface ServiceVolumeConfiguration {
371
+ name: string | undefined;
372
+ managedEBSVolume?: ServiceManagedEBSVolumeConfiguration;
373
+ }
341
374
  export interface CreateServiceRequest {
342
375
  cluster?: string;
343
376
  serviceName: string | undefined;
@@ -362,6 +395,7 @@ export interface CreateServiceRequest {
362
395
  propagateTags?: PropagateTags;
363
396
  enableExecuteCommand?: boolean;
364
397
  serviceConnectConfiguration?: ServiceConnectConfiguration;
398
+ volumeConfigurations?: ServiceVolumeConfiguration[];
365
399
  }
366
400
  export declare const DeploymentRolloutState: {
367
401
  readonly COMPLETED: "COMPLETED";
@@ -393,6 +427,7 @@ export interface Deployment {
393
427
  rolloutStateReason?: string;
394
428
  serviceConnectConfiguration?: ServiceConnectConfiguration;
395
429
  serviceConnectResources?: ServiceConnectServiceResource[];
430
+ volumeConfigurations?: ServiceVolumeConfiguration[];
396
431
  }
397
432
  export interface ServiceEvent {
398
433
  id?: string;
@@ -954,6 +989,7 @@ export interface Volume {
954
989
  dockerVolumeConfiguration?: DockerVolumeConfiguration;
955
990
  efsVolumeConfiguration?: EFSVolumeConfiguration;
956
991
  fsxWindowsFileServerVolumeConfiguration?: FSxWindowsFileServerVolumeConfiguration;
992
+ configuredAtLaunch?: boolean;
957
993
  }
958
994
  export interface TaskDefinition {
959
995
  taskDefinitionArn?: string;
@@ -1587,6 +1623,26 @@ export declare class ConflictException extends __BaseException {
1587
1623
  resourceIds?: string[];
1588
1624
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
1589
1625
  }
1626
+ export interface TaskManagedEBSVolumeTerminationPolicy {
1627
+ deleteOnTermination: boolean | undefined;
1628
+ }
1629
+ export interface TaskManagedEBSVolumeConfiguration {
1630
+ encrypted?: boolean;
1631
+ kmsKeyId?: string;
1632
+ volumeType?: string;
1633
+ sizeInGiB?: number;
1634
+ snapshotId?: string;
1635
+ iops?: number;
1636
+ throughput?: number;
1637
+ tagSpecifications?: EBSTagSpecification[];
1638
+ roleArn: string | undefined;
1639
+ terminationPolicy?: TaskManagedEBSVolumeTerminationPolicy;
1640
+ filesystemType?: TaskFilesystemType;
1641
+ }
1642
+ export interface TaskVolumeConfiguration {
1643
+ name: string | undefined;
1644
+ managedEBSVolume?: TaskManagedEBSVolumeConfiguration;
1645
+ }
1590
1646
  export interface RunTaskRequest {
1591
1647
  capacityProviderStrategy?: CapacityProviderStrategyItem[];
1592
1648
  cluster?: string;
@@ -1606,6 +1662,7 @@ export interface RunTaskRequest {
1606
1662
  tags?: Tag[];
1607
1663
  taskDefinition: string | undefined;
1608
1664
  clientToken?: string;
1665
+ volumeConfigurations?: TaskVolumeConfiguration[];
1609
1666
  }
1610
1667
  export interface RunTaskResponse {
1611
1668
  tasks?: Task[];
@@ -1624,6 +1681,7 @@ export interface StartTaskRequest {
1624
1681
  startedBy?: string;
1625
1682
  tags?: Tag[];
1626
1683
  taskDefinition: string | undefined;
1684
+ volumeConfigurations?: TaskVolumeConfiguration[];
1627
1685
  }
1628
1686
  export interface StartTaskResponse {
1629
1687
  tasks?: Task[];
@@ -1778,6 +1836,7 @@ export interface UpdateServiceRequest {
1778
1836
  propagateTags?: PropagateTags;
1779
1837
  serviceRegistries?: ServiceRegistry[];
1780
1838
  serviceConnectConfiguration?: ServiceConnectConfiguration;
1839
+ volumeConfigurations?: ServiceVolumeConfiguration[];
1781
1840
  }
1782
1841
  export interface UpdateServiceResponse {
1783
1842
  service?: Service;
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.489.0",
4
+ "version": "3.490.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.489.0",
24
- "@aws-sdk/core": "3.485.0",
25
- "@aws-sdk/credential-provider-node": "3.489.0",
23
+ "@aws-sdk/client-sts": "3.490.0",
24
+ "@aws-sdk/core": "3.490.0",
25
+ "@aws-sdk/credential-provider-node": "3.490.0",
26
26
  "@aws-sdk/middleware-host-header": "3.489.0",
27
27
  "@aws-sdk/middleware-logger": "3.489.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.489.0",