@aws-sdk/client-ecs 3.40.0 → 3.45.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.
Files changed (65) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/README.md +7 -7
  3. package/dist-cjs/endpoints.js +9 -0
  4. package/dist-cjs/models/models_0.js +29 -5
  5. package/dist-cjs/protocols/Aws_json1_1.js +33 -0
  6. package/dist-es/endpoints.js +9 -0
  7. package/dist-es/models/models_0.js +20 -0
  8. package/dist-es/protocols/Aws_json1_1.js +33 -0
  9. package/dist-types/ECS.d.ts +147 -152
  10. package/dist-types/ECSClient.d.ts +7 -7
  11. package/dist-types/commands/CreateCapacityProviderCommand.d.ts +5 -5
  12. package/dist-types/commands/CreateClusterCommand.d.ts +5 -5
  13. package/dist-types/commands/CreateServiceCommand.d.ts +52 -51
  14. package/dist-types/commands/CreateTaskSetCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteAccountSettingCommand.d.ts +1 -1
  16. package/dist-types/commands/DeleteAttributesCommand.d.ts +1 -1
  17. package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +4 -4
  18. package/dist-types/commands/DeleteClusterCommand.d.ts +5 -6
  19. package/dist-types/commands/DeleteServiceCommand.d.ts +2 -2
  20. package/dist-types/commands/DeleteTaskSetCommand.d.ts +1 -1
  21. package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +8 -7
  22. package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +8 -9
  23. package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeClustersCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +1 -1
  26. package/dist-types/commands/DescribeServicesCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +1 -1
  28. package/dist-types/commands/DescribeTaskSetsCommand.d.ts +1 -1
  29. package/dist-types/commands/DescribeTasksCommand.d.ts +1 -1
  30. package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +2 -3
  31. package/dist-types/commands/ExecuteCommandCommand.d.ts +1 -1
  32. package/dist-types/commands/ListAccountSettingsCommand.d.ts +1 -1
  33. package/dist-types/commands/ListAttributesCommand.d.ts +4 -4
  34. package/dist-types/commands/ListClustersCommand.d.ts +1 -1
  35. package/dist-types/commands/ListContainerInstancesCommand.d.ts +1 -1
  36. package/dist-types/commands/ListServicesCommand.d.ts +1 -1
  37. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  38. package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +7 -7
  39. package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +1 -1
  40. package/dist-types/commands/ListTasksCommand.d.ts +1 -1
  41. package/dist-types/commands/PutAccountSettingCommand.d.ts +6 -6
  42. package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +1 -1
  43. package/dist-types/commands/PutAttributesCommand.d.ts +3 -3
  44. package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +7 -7
  45. package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +3 -4
  46. package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +2 -2
  47. package/dist-types/commands/RunTaskCommand.d.ts +6 -6
  48. package/dist-types/commands/StartTaskCommand.d.ts +1 -1
  49. package/dist-types/commands/StopTaskCommand.d.ts +1 -1
  50. package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +2 -3
  51. package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +2 -3
  52. package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +2 -3
  53. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  54. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  55. package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +1 -1
  56. package/dist-types/commands/UpdateClusterCommand.d.ts +1 -1
  57. package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +1 -1
  58. package/dist-types/commands/UpdateContainerAgentCommand.d.ts +4 -4
  59. package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +6 -6
  60. package/dist-types/commands/UpdateServiceCommand.d.ts +16 -16
  61. package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +1 -1
  62. package/dist-types/commands/UpdateTaskSetCommand.d.ts +1 -1
  63. package/dist-types/models/models_0.d.ts +1041 -948
  64. package/dist-types/ts3.4/models/models_0.d.ts +38 -0
  65. package/package.json +6 -6
@@ -1034,6 +1034,41 @@ export declare namespace DeregisterContainerInstanceRequest {
1034
1034
 
1035
1035
  const filterSensitiveLog: (obj: DeregisterContainerInstanceRequest) => any;
1036
1036
  }
1037
+ export declare enum InstanceHealthCheckState {
1038
+ IMPAIRED = "IMPAIRED",
1039
+ INITIALIZING = "INITIALIZING",
1040
+ INSUFFICIENT_DATA = "INSUFFICIENT_DATA",
1041
+ OK = "OK"
1042
+ }
1043
+ export declare enum InstanceHealthCheckType {
1044
+ CONTAINER_RUNTIME = "CONTAINER_RUNTIME"
1045
+ }
1046
+
1047
+ export interface InstanceHealthCheckResult {
1048
+
1049
+ type?: InstanceHealthCheckType | string;
1050
+
1051
+ status?: InstanceHealthCheckState | string;
1052
+
1053
+ lastUpdated?: Date;
1054
+
1055
+ lastStatusChange?: Date;
1056
+ }
1057
+ export declare namespace InstanceHealthCheckResult {
1058
+
1059
+ const filterSensitiveLog: (obj: InstanceHealthCheckResult) => any;
1060
+ }
1061
+
1062
+ export interface ContainerInstanceHealthStatus {
1063
+
1064
+ overallStatus?: InstanceHealthCheckState | string;
1065
+
1066
+ details?: InstanceHealthCheckResult[];
1067
+ }
1068
+ export declare namespace ContainerInstanceHealthStatus {
1069
+
1070
+ const filterSensitiveLog: (obj: ContainerInstanceHealthStatus) => any;
1071
+ }
1037
1072
 
1038
1073
  export interface Resource {
1039
1074
 
@@ -1102,6 +1137,8 @@ export interface ContainerInstance {
1102
1137
  attachments?: Attachment[];
1103
1138
 
1104
1139
  tags?: Tag[];
1140
+
1141
+ healthStatus?: ContainerInstanceHealthStatus;
1105
1142
  }
1106
1143
  export declare namespace ContainerInstance {
1107
1144
 
@@ -1834,6 +1871,7 @@ export declare namespace DescribeClustersResponse {
1834
1871
  const filterSensitiveLog: (obj: DescribeClustersResponse) => any;
1835
1872
  }
1836
1873
  export declare enum ContainerInstanceField {
1874
+ CONTAINER_INSTANCE_HEALTH = "CONTAINER_INSTANCE_HEALTH",
1837
1875
  TAGS = "TAGS"
1838
1876
  }
1839
1877
  export interface DescribeContainerInstancesRequest {
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.40.0",
4
+ "version": "3.45.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
7
  "build:cjs": "tsc -p tsconfig.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "2.0.0",
23
23
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/client-sts": "3.40.0",
25
- "@aws-sdk/config-resolver": "3.40.0",
26
- "@aws-sdk/credential-provider-node": "3.40.0",
24
+ "@aws-sdk/client-sts": "3.45.0",
25
+ "@aws-sdk/config-resolver": "3.45.0",
26
+ "@aws-sdk/credential-provider-node": "3.45.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.40.0",
28
28
  "@aws-sdk/hash-node": "3.40.0",
29
29
  "@aws-sdk/invalid-dependency": "3.40.0",
@@ -32,13 +32,13 @@
32
32
  "@aws-sdk/middleware-logger": "3.40.0",
33
33
  "@aws-sdk/middleware-retry": "3.40.0",
34
34
  "@aws-sdk/middleware-serde": "3.40.0",
35
- "@aws-sdk/middleware-signing": "3.40.0",
35
+ "@aws-sdk/middleware-signing": "3.45.0",
36
36
  "@aws-sdk/middleware-stack": "3.40.0",
37
37
  "@aws-sdk/middleware-user-agent": "3.40.0",
38
38
  "@aws-sdk/node-config-provider": "3.40.0",
39
39
  "@aws-sdk/node-http-handler": "3.40.0",
40
40
  "@aws-sdk/protocol-http": "3.40.0",
41
- "@aws-sdk/smithy-client": "3.40.0",
41
+ "@aws-sdk/smithy-client": "3.41.0",
42
42
  "@aws-sdk/types": "3.40.0",
43
43
  "@aws-sdk/url-parser": "3.40.0",
44
44
  "@aws-sdk/util-base64-browser": "3.37.0",