@aws-sdk/client-ecs 3.920.0 → 3.922.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 (73) hide show
  1. package/README.md +14 -12
  2. package/dist-cjs/index.js +15 -5
  3. package/dist-es/models/models_0.js +8 -5
  4. package/dist-es/models/models_1.js +5 -0
  5. package/dist-types/ECS.d.ts +14 -12
  6. package/dist-types/ECSClient.d.ts +14 -12
  7. package/dist-types/commands/CreateCapacityProviderCommand.d.ts +11 -8
  8. package/dist-types/commands/CreateClusterCommand.d.ts +12 -10
  9. package/dist-types/commands/CreateServiceCommand.d.ts +127 -86
  10. package/dist-types/commands/CreateTaskSetCommand.d.ts +9 -6
  11. package/dist-types/commands/DeleteAccountSettingCommand.d.ts +2 -2
  12. package/dist-types/commands/DeleteAttributesCommand.d.ts +4 -4
  13. package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +2 -2
  14. package/dist-types/commands/DeleteClusterCommand.d.ts +12 -8
  15. package/dist-types/commands/DeleteServiceCommand.d.ts +8 -4
  16. package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +4 -4
  17. package/dist-types/commands/DeleteTaskSetCommand.d.ts +4 -3
  18. package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +7 -7
  19. package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +2 -2
  20. package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +2 -2
  21. package/dist-types/commands/DescribeClustersCommand.d.ts +4 -3
  22. package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +2 -2
  23. package/dist-types/commands/DescribeServiceDeploymentsCommand.d.ts +4 -3
  24. package/dist-types/commands/DescribeServiceRevisionsCommand.d.ts +6 -2
  25. package/dist-types/commands/DescribeServicesCommand.d.ts +6 -2
  26. package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +2 -2
  27. package/dist-types/commands/DescribeTaskSetsCommand.d.ts +4 -3
  28. package/dist-types/commands/DescribeTasksCommand.d.ts +2 -2
  29. package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +2 -1
  30. package/dist-types/commands/ExecuteCommandCommand.d.ts +11 -10
  31. package/dist-types/commands/GetTaskProtectionCommand.d.ts +2 -2
  32. package/dist-types/commands/ListAccountSettingsCommand.d.ts +2 -2
  33. package/dist-types/commands/ListAttributesCommand.d.ts +8 -8
  34. package/dist-types/commands/ListClustersCommand.d.ts +2 -2
  35. package/dist-types/commands/ListContainerInstancesCommand.d.ts +4 -3
  36. package/dist-types/commands/ListServiceDeploymentsCommand.d.ts +2 -2
  37. package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +6 -5
  38. package/dist-types/commands/ListServicesCommand.d.ts +2 -2
  39. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
  40. package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +2 -2
  41. package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +2 -2
  42. package/dist-types/commands/ListTasksCommand.d.ts +5 -5
  43. package/dist-types/commands/PutAccountSettingCommand.d.ts +7 -6
  44. package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +2 -2
  45. package/dist-types/commands/PutAttributesCommand.d.ts +8 -7
  46. package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +10 -8
  47. package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +4 -3
  48. package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +9 -6
  49. package/dist-types/commands/RunTaskCommand.d.ts +31 -23
  50. package/dist-types/commands/StartTaskCommand.d.ts +10 -6
  51. package/dist-types/commands/StopServiceDeploymentCommand.d.ts +10 -7
  52. package/dist-types/commands/StopTaskCommand.d.ts +5 -5
  53. package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +4 -3
  54. package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +2 -1
  55. package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +4 -3
  56. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  57. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  58. package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +4 -3
  59. package/dist-types/commands/UpdateClusterCommand.d.ts +2 -2
  60. package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +2 -2
  61. package/dist-types/commands/UpdateContainerAgentCommand.d.ts +24 -21
  62. package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +9 -9
  63. package/dist-types/commands/UpdateServiceCommand.d.ts +29 -13
  64. package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +4 -3
  65. package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +9 -8
  66. package/dist-types/commands/UpdateTaskSetCommand.d.ts +4 -3
  67. package/dist-types/index.d.ts +14 -12
  68. package/dist-types/models/models_0.d.ts +2002 -1611
  69. package/dist-types/models/models_1.d.ts +689 -439
  70. package/dist-types/ts3.4/commands/ListTasksCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/models/models_0.d.ts +17 -21
  72. package/dist-types/ts3.4/models/models_1.d.ts +21 -0
  73. package/package.json +34 -34
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../ECSClient";
8
- import { ListTasksRequest, ListTasksResponse } from "../models/models_0";
8
+ import { ListTasksRequest, ListTasksResponse } from "../models/models_1";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface ListTasksCommandInput extends ListTasksRequest {}
@@ -549,6 +549,22 @@ export declare const SchedulingStrategy: {
549
549
  };
550
550
  export type SchedulingStrategy =
551
551
  (typeof SchedulingStrategy)[keyof typeof SchedulingStrategy];
552
+ export declare const ServiceConnectAccessLoggingFormat: {
553
+ readonly JSON: "JSON";
554
+ readonly TEXT: "TEXT";
555
+ };
556
+ export type ServiceConnectAccessLoggingFormat =
557
+ (typeof ServiceConnectAccessLoggingFormat)[keyof typeof ServiceConnectAccessLoggingFormat];
558
+ export declare const ServiceConnectIncludeQueryParameters: {
559
+ readonly DISABLED: "DISABLED";
560
+ readonly ENABLED: "ENABLED";
561
+ };
562
+ export type ServiceConnectIncludeQueryParameters =
563
+ (typeof ServiceConnectIncludeQueryParameters)[keyof typeof ServiceConnectIncludeQueryParameters];
564
+ export interface ServiceConnectAccessLogConfiguration {
565
+ format: ServiceConnectAccessLoggingFormat | undefined;
566
+ includeQueryParameters?: ServiceConnectIncludeQueryParameters | undefined;
567
+ }
552
568
  export declare const LogDriver: {
553
569
  readonly AWSFIRELENS: "awsfirelens";
554
570
  readonly AWSLOGS: "awslogs";
@@ -609,6 +625,7 @@ export interface ServiceConnectConfiguration {
609
625
  namespace?: string | undefined;
610
626
  services?: ServiceConnectService[] | undefined;
611
627
  logConfiguration?: LogConfiguration | undefined;
628
+ accessLogConfiguration?: ServiceConnectAccessLogConfiguration | undefined;
612
629
  }
613
630
  export interface ServiceRegistry {
614
631
  registryArn?: string | undefined;
@@ -1973,27 +1990,6 @@ export interface ListTaskDefinitionsResponse {
1973
1990
  taskDefinitionArns?: string[] | undefined;
1974
1991
  nextToken?: string | undefined;
1975
1992
  }
1976
- export declare const DesiredStatus: {
1977
- readonly PENDING: "PENDING";
1978
- readonly RUNNING: "RUNNING";
1979
- readonly STOPPED: "STOPPED";
1980
- };
1981
- export type DesiredStatus = (typeof DesiredStatus)[keyof typeof DesiredStatus];
1982
- export interface ListTasksRequest {
1983
- cluster?: string | undefined;
1984
- containerInstance?: string | undefined;
1985
- family?: string | undefined;
1986
- nextToken?: string | undefined;
1987
- maxResults?: number | undefined;
1988
- startedBy?: string | undefined;
1989
- serviceName?: string | undefined;
1990
- desiredStatus?: DesiredStatus | undefined;
1991
- launchType?: LaunchType | undefined;
1992
- }
1993
- export interface ListTasksResponse {
1994
- taskArns?: string[] | undefined;
1995
- nextToken?: string | undefined;
1996
- }
1997
1993
  export declare const SessionFilterSensitiveLog: (obj: Session) => any;
1998
1994
  export declare const ExecuteCommandResponseFilterSensitiveLog: (
1999
1995
  obj: ExecuteCommandResponse
@@ -60,6 +60,27 @@ import {
60
60
  Volume,
61
61
  VpcLatticeConfiguration,
62
62
  } from "./models_0";
63
+ export declare const DesiredStatus: {
64
+ readonly PENDING: "PENDING";
65
+ readonly RUNNING: "RUNNING";
66
+ readonly STOPPED: "STOPPED";
67
+ };
68
+ export type DesiredStatus = (typeof DesiredStatus)[keyof typeof DesiredStatus];
69
+ export interface ListTasksRequest {
70
+ cluster?: string | undefined;
71
+ containerInstance?: string | undefined;
72
+ family?: string | undefined;
73
+ nextToken?: string | undefined;
74
+ maxResults?: number | undefined;
75
+ startedBy?: string | undefined;
76
+ serviceName?: string | undefined;
77
+ desiredStatus?: DesiredStatus | undefined;
78
+ launchType?: LaunchType | undefined;
79
+ }
80
+ export interface ListTasksResponse {
81
+ taskArns?: string[] | undefined;
82
+ nextToken?: string | undefined;
83
+ }
63
84
  export interface PutAccountSettingRequest {
64
85
  name: SettingName | undefined;
65
86
  value: 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.920.0",
4
+ "version": "3.922.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ecs",
@@ -20,43 +20,43 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.920.0",
24
- "@aws-sdk/credential-provider-node": "3.920.0",
25
- "@aws-sdk/middleware-host-header": "3.920.0",
26
- "@aws-sdk/middleware-logger": "3.920.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.920.0",
28
- "@aws-sdk/middleware-user-agent": "3.920.0",
29
- "@aws-sdk/region-config-resolver": "3.920.0",
30
- "@aws-sdk/types": "3.920.0",
31
- "@aws-sdk/util-endpoints": "3.920.0",
32
- "@aws-sdk/util-user-agent-browser": "3.920.0",
33
- "@aws-sdk/util-user-agent-node": "3.920.0",
34
- "@smithy/config-resolver": "^4.4.0",
35
- "@smithy/core": "^3.17.1",
36
- "@smithy/fetch-http-handler": "^5.3.4",
37
- "@smithy/hash-node": "^4.2.3",
38
- "@smithy/invalid-dependency": "^4.2.3",
39
- "@smithy/middleware-content-length": "^4.2.3",
40
- "@smithy/middleware-endpoint": "^4.3.5",
41
- "@smithy/middleware-retry": "^4.4.5",
42
- "@smithy/middleware-serde": "^4.2.3",
43
- "@smithy/middleware-stack": "^4.2.3",
44
- "@smithy/node-config-provider": "^4.3.3",
45
- "@smithy/node-http-handler": "^4.4.3",
46
- "@smithy/protocol-http": "^5.3.3",
47
- "@smithy/smithy-client": "^4.9.1",
48
- "@smithy/types": "^4.8.0",
49
- "@smithy/url-parser": "^4.2.3",
23
+ "@aws-sdk/core": "3.922.0",
24
+ "@aws-sdk/credential-provider-node": "3.922.0",
25
+ "@aws-sdk/middleware-host-header": "3.922.0",
26
+ "@aws-sdk/middleware-logger": "3.922.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.922.0",
28
+ "@aws-sdk/middleware-user-agent": "3.922.0",
29
+ "@aws-sdk/region-config-resolver": "3.922.0",
30
+ "@aws-sdk/types": "3.922.0",
31
+ "@aws-sdk/util-endpoints": "3.922.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.922.0",
33
+ "@aws-sdk/util-user-agent-node": "3.922.0",
34
+ "@smithy/config-resolver": "^4.4.1",
35
+ "@smithy/core": "^3.17.2",
36
+ "@smithy/fetch-http-handler": "^5.3.5",
37
+ "@smithy/hash-node": "^4.2.4",
38
+ "@smithy/invalid-dependency": "^4.2.4",
39
+ "@smithy/middleware-content-length": "^4.2.4",
40
+ "@smithy/middleware-endpoint": "^4.3.6",
41
+ "@smithy/middleware-retry": "^4.4.6",
42
+ "@smithy/middleware-serde": "^4.2.4",
43
+ "@smithy/middleware-stack": "^4.2.4",
44
+ "@smithy/node-config-provider": "^4.3.4",
45
+ "@smithy/node-http-handler": "^4.4.4",
46
+ "@smithy/protocol-http": "^5.3.4",
47
+ "@smithy/smithy-client": "^4.9.2",
48
+ "@smithy/types": "^4.8.1",
49
+ "@smithy/url-parser": "^4.2.4",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.4",
54
- "@smithy/util-defaults-mode-node": "^4.2.6",
55
- "@smithy/util-endpoints": "^3.2.3",
56
- "@smithy/util-middleware": "^4.2.3",
57
- "@smithy/util-retry": "^4.2.3",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.5",
54
+ "@smithy/util-defaults-mode-node": "^4.2.7",
55
+ "@smithy/util-endpoints": "^3.2.4",
56
+ "@smithy/util-middleware": "^4.2.4",
57
+ "@smithy/util-retry": "^4.2.4",
58
58
  "@smithy/util-utf8": "^4.2.0",
59
- "@smithy/util-waiter": "^4.2.3",
59
+ "@smithy/util-waiter": "^4.2.4",
60
60
  "@smithy/uuid": "^1.1.0",
61
61
  "tslib": "^2.6.2"
62
62
  },