@aws-sdk/client-ecs 3.52.0 → 3.53.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.
@@ -1,9 +1,11 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { ECSServiceException as __BaseException } from "./ECSServiceException";
2
3
 
3
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
4
- name: "AccessDeniedException";
5
- $fault: "client";
6
- message?: string;
4
+ export declare class AccessDeniedException extends __BaseException {
5
+ readonly name: "AccessDeniedException";
6
+ readonly $fault: "client";
7
+
8
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
7
9
  }
8
10
  export declare enum AgentUpdateStatus {
9
11
  FAILED = "FAILED",
@@ -14,10 +16,11 @@ export declare enum AgentUpdateStatus {
14
16
  UPDATING = "UPDATING"
15
17
  }
16
18
 
17
- export interface ClientException extends __SmithyException, $MetadataBearer {
18
- name: "ClientException";
19
- $fault: "client";
20
- message?: string;
19
+ export declare class ClientException extends __BaseException {
20
+ readonly name: "ClientException";
21
+ readonly $fault: "client";
22
+
23
+ constructor(opts: __ExceptionOptionType<ClientException, __BaseException>);
21
24
  }
22
25
  export declare enum ManagedScalingStatus {
23
26
  DISABLED = "DISABLED",
@@ -122,28 +125,32 @@ export declare namespace CreateCapacityProviderResponse {
122
125
  const filterSensitiveLog: (obj: CreateCapacityProviderResponse) => any;
123
126
  }
124
127
 
125
- export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
126
- name: "InvalidParameterException";
127
- $fault: "client";
128
- message?: string;
128
+ export declare class InvalidParameterException extends __BaseException {
129
+ readonly name: "InvalidParameterException";
130
+ readonly $fault: "client";
131
+
132
+ constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
129
133
  }
130
134
 
131
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
132
- name: "LimitExceededException";
133
- $fault: "client";
134
- message?: string;
135
+ export declare class LimitExceededException extends __BaseException {
136
+ readonly name: "LimitExceededException";
137
+ readonly $fault: "client";
138
+
139
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
135
140
  }
136
141
 
137
- export interface ServerException extends __SmithyException, $MetadataBearer {
138
- name: "ServerException";
139
- $fault: "server";
140
- message?: string;
142
+ export declare class ServerException extends __BaseException {
143
+ readonly name: "ServerException";
144
+ readonly $fault: "server";
145
+
146
+ constructor(opts: __ExceptionOptionType<ServerException, __BaseException>);
141
147
  }
142
148
 
143
- export interface UpdateInProgressException extends __SmithyException, $MetadataBearer {
144
- name: "UpdateInProgressException";
145
- $fault: "client";
146
- message?: string;
149
+ export declare class UpdateInProgressException extends __BaseException {
150
+ readonly name: "UpdateInProgressException";
151
+ readonly $fault: "client";
152
+
153
+ constructor(opts: __ExceptionOptionType<UpdateInProgressException, __BaseException>);
147
154
  }
148
155
 
149
156
  export interface ExecuteCommandLogConfiguration {
@@ -306,10 +313,11 @@ export declare namespace CreateClusterResponse {
306
313
  const filterSensitiveLog: (obj: CreateClusterResponse) => any;
307
314
  }
308
315
 
309
- export interface ClusterNotFoundException extends __SmithyException, $MetadataBearer {
310
- name: "ClusterNotFoundException";
311
- $fault: "client";
312
- message?: string;
316
+ export declare class ClusterNotFoundException extends __BaseException {
317
+ readonly name: "ClusterNotFoundException";
318
+ readonly $fault: "client";
319
+
320
+ constructor(opts: __ExceptionOptionType<ClusterNotFoundException, __BaseException>);
313
321
  }
314
322
 
315
323
  export interface DeploymentCircuitBreaker {
@@ -707,22 +715,25 @@ export declare namespace CreateServiceResponse {
707
715
  const filterSensitiveLog: (obj: CreateServiceResponse) => any;
708
716
  }
709
717
 
710
- export interface PlatformTaskDefinitionIncompatibilityException extends __SmithyException, $MetadataBearer {
711
- name: "PlatformTaskDefinitionIncompatibilityException";
712
- $fault: "client";
713
- message?: string;
718
+ export declare class PlatformTaskDefinitionIncompatibilityException extends __BaseException {
719
+ readonly name: "PlatformTaskDefinitionIncompatibilityException";
720
+ readonly $fault: "client";
721
+
722
+ constructor(opts: __ExceptionOptionType<PlatformTaskDefinitionIncompatibilityException, __BaseException>);
714
723
  }
715
724
 
716
- export interface PlatformUnknownException extends __SmithyException, $MetadataBearer {
717
- name: "PlatformUnknownException";
718
- $fault: "client";
719
- message?: string;
725
+ export declare class PlatformUnknownException extends __BaseException {
726
+ readonly name: "PlatformUnknownException";
727
+ readonly $fault: "client";
728
+
729
+ constructor(opts: __ExceptionOptionType<PlatformUnknownException, __BaseException>);
720
730
  }
721
731
 
722
- export interface UnsupportedFeatureException extends __SmithyException, $MetadataBearer {
723
- name: "UnsupportedFeatureException";
724
- $fault: "client";
725
- message?: string;
732
+ export declare class UnsupportedFeatureException extends __BaseException {
733
+ readonly name: "UnsupportedFeatureException";
734
+ readonly $fault: "client";
735
+
736
+ constructor(opts: __ExceptionOptionType<UnsupportedFeatureException, __BaseException>);
726
737
  }
727
738
  export interface CreateTaskSetRequest {
728
739
 
@@ -765,16 +776,18 @@ export declare namespace CreateTaskSetResponse {
765
776
  const filterSensitiveLog: (obj: CreateTaskSetResponse) => any;
766
777
  }
767
778
 
768
- export interface ServiceNotActiveException extends __SmithyException, $MetadataBearer {
769
- name: "ServiceNotActiveException";
770
- $fault: "client";
771
- message?: string;
779
+ export declare class ServiceNotActiveException extends __BaseException {
780
+ readonly name: "ServiceNotActiveException";
781
+ readonly $fault: "client";
782
+
783
+ constructor(opts: __ExceptionOptionType<ServiceNotActiveException, __BaseException>);
772
784
  }
773
785
 
774
- export interface ServiceNotFoundException extends __SmithyException, $MetadataBearer {
775
- name: "ServiceNotFoundException";
776
- $fault: "client";
777
- message?: string;
786
+ export declare class ServiceNotFoundException extends __BaseException {
787
+ readonly name: "ServiceNotFoundException";
788
+ readonly $fault: "client";
789
+
790
+ constructor(opts: __ExceptionOptionType<ServiceNotFoundException, __BaseException>);
778
791
  }
779
792
  export declare enum SettingName {
780
793
  AWSVPC_TRUNKING = "awsvpcTrunking",
@@ -851,10 +864,11 @@ export declare namespace DeleteAttributesResponse {
851
864
  const filterSensitiveLog: (obj: DeleteAttributesResponse) => any;
852
865
  }
853
866
 
854
- export interface TargetNotFoundException extends __SmithyException, $MetadataBearer {
855
- name: "TargetNotFoundException";
856
- $fault: "client";
857
- message?: string;
867
+ export declare class TargetNotFoundException extends __BaseException {
868
+ readonly name: "TargetNotFoundException";
869
+ readonly $fault: "client";
870
+
871
+ constructor(opts: __ExceptionOptionType<TargetNotFoundException, __BaseException>);
858
872
  }
859
873
  export interface DeleteCapacityProviderRequest {
860
874
 
@@ -873,22 +887,25 @@ export declare namespace DeleteCapacityProviderResponse {
873
887
  const filterSensitiveLog: (obj: DeleteCapacityProviderResponse) => any;
874
888
  }
875
889
 
876
- export interface ClusterContainsContainerInstancesException extends __SmithyException, $MetadataBearer {
877
- name: "ClusterContainsContainerInstancesException";
878
- $fault: "client";
879
- message?: string;
890
+ export declare class ClusterContainsContainerInstancesException extends __BaseException {
891
+ readonly name: "ClusterContainsContainerInstancesException";
892
+ readonly $fault: "client";
893
+
894
+ constructor(opts: __ExceptionOptionType<ClusterContainsContainerInstancesException, __BaseException>);
880
895
  }
881
896
 
882
- export interface ClusterContainsServicesException extends __SmithyException, $MetadataBearer {
883
- name: "ClusterContainsServicesException";
884
- $fault: "client";
885
- message?: string;
897
+ export declare class ClusterContainsServicesException extends __BaseException {
898
+ readonly name: "ClusterContainsServicesException";
899
+ readonly $fault: "client";
900
+
901
+ constructor(opts: __ExceptionOptionType<ClusterContainsServicesException, __BaseException>);
886
902
  }
887
903
 
888
- export interface ClusterContainsTasksException extends __SmithyException, $MetadataBearer {
889
- name: "ClusterContainsTasksException";
890
- $fault: "client";
891
- message?: string;
904
+ export declare class ClusterContainsTasksException extends __BaseException {
905
+ readonly name: "ClusterContainsTasksException";
906
+ readonly $fault: "client";
907
+
908
+ constructor(opts: __ExceptionOptionType<ClusterContainsTasksException, __BaseException>);
892
909
  }
893
910
  export interface DeleteClusterRequest {
894
911
 
@@ -949,10 +966,11 @@ export declare namespace DeleteTaskSetResponse {
949
966
  const filterSensitiveLog: (obj: DeleteTaskSetResponse) => any;
950
967
  }
951
968
 
952
- export interface TaskSetNotFoundException extends __SmithyException, $MetadataBearer {
953
- name: "TaskSetNotFoundException";
954
- $fault: "client";
955
- message?: string;
969
+ export declare class TaskSetNotFoundException extends __BaseException {
970
+ readonly name: "TaskSetNotFoundException";
971
+ readonly $fault: "client";
972
+
973
+ constructor(opts: __ExceptionOptionType<TaskSetNotFoundException, __BaseException>);
956
974
  }
957
975
  export interface DeregisterContainerInstanceRequest {
958
976
 
@@ -2231,10 +2249,11 @@ export declare namespace ExecuteCommandResponse {
2231
2249
  const filterSensitiveLog: (obj: ExecuteCommandResponse) => any;
2232
2250
  }
2233
2251
 
2234
- export interface TargetNotConnectedException extends __SmithyException, $MetadataBearer {
2235
- name: "TargetNotConnectedException";
2236
- $fault: "client";
2237
- message?: string;
2252
+ export declare class TargetNotConnectedException extends __BaseException {
2253
+ readonly name: "TargetNotConnectedException";
2254
+ readonly $fault: "client";
2255
+
2256
+ constructor(opts: __ExceptionOptionType<TargetNotConnectedException, __BaseException>);
2238
2257
  }
2239
2258
  export interface ListAccountSettingsRequest {
2240
2259
 
@@ -2524,10 +2543,11 @@ export declare namespace PutAccountSettingDefaultResponse {
2524
2543
  const filterSensitiveLog: (obj: PutAccountSettingDefaultResponse) => any;
2525
2544
  }
2526
2545
 
2527
- export interface AttributeLimitExceededException extends __SmithyException, $MetadataBearer {
2528
- name: "AttributeLimitExceededException";
2529
- $fault: "client";
2530
- message?: string;
2546
+ export declare class AttributeLimitExceededException extends __BaseException {
2547
+ readonly name: "AttributeLimitExceededException";
2548
+ readonly $fault: "client";
2549
+
2550
+ constructor(opts: __ExceptionOptionType<AttributeLimitExceededException, __BaseException>);
2531
2551
  }
2532
2552
  export interface PutAttributesRequest {
2533
2553
 
@@ -2568,10 +2588,11 @@ export declare namespace PutClusterCapacityProvidersResponse {
2568
2588
  const filterSensitiveLog: (obj: PutClusterCapacityProvidersResponse) => any;
2569
2589
  }
2570
2590
 
2571
- export interface ResourceInUseException extends __SmithyException, $MetadataBearer {
2572
- name: "ResourceInUseException";
2573
- $fault: "client";
2574
- message?: string;
2591
+ export declare class ResourceInUseException extends __BaseException {
2592
+ readonly name: "ResourceInUseException";
2593
+ readonly $fault: "client";
2594
+
2595
+ constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
2575
2596
  }
2576
2597
  export declare enum PlatformDeviceType {
2577
2598
  GPU = "GPU"
@@ -2670,10 +2691,11 @@ export declare namespace RegisterTaskDefinitionResponse {
2670
2691
  const filterSensitiveLog: (obj: RegisterTaskDefinitionResponse) => any;
2671
2692
  }
2672
2693
 
2673
- export interface BlockedException extends __SmithyException, $MetadataBearer {
2674
- name: "BlockedException";
2675
- $fault: "client";
2676
- message?: string;
2694
+ export declare class BlockedException extends __BaseException {
2695
+ readonly name: "BlockedException";
2696
+ readonly $fault: "client";
2697
+
2698
+ constructor(opts: __ExceptionOptionType<BlockedException, __BaseException>);
2677
2699
  }
2678
2700
  export interface RunTaskRequest {
2679
2701
 
@@ -2915,10 +2937,11 @@ export declare namespace SubmitTaskStateChangeResponse {
2915
2937
  const filterSensitiveLog: (obj: SubmitTaskStateChangeResponse) => any;
2916
2938
  }
2917
2939
 
2918
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
2919
- name: "ResourceNotFoundException";
2920
- $fault: "client";
2921
- message?: string;
2940
+ export declare class ResourceNotFoundException extends __BaseException {
2941
+ readonly name: "ResourceNotFoundException";
2942
+ readonly $fault: "client";
2943
+
2944
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
2922
2945
  }
2923
2946
  export interface TagResourceRequest {
2924
2947
 
@@ -3020,16 +3043,18 @@ export declare namespace UpdateClusterSettingsResponse {
3020
3043
  const filterSensitiveLog: (obj: UpdateClusterSettingsResponse) => any;
3021
3044
  }
3022
3045
 
3023
- export interface MissingVersionException extends __SmithyException, $MetadataBearer {
3024
- name: "MissingVersionException";
3025
- $fault: "client";
3026
- message?: string;
3046
+ export declare class MissingVersionException extends __BaseException {
3047
+ readonly name: "MissingVersionException";
3048
+ readonly $fault: "client";
3049
+
3050
+ constructor(opts: __ExceptionOptionType<MissingVersionException, __BaseException>);
3027
3051
  }
3028
3052
 
3029
- export interface NoUpdateAvailableException extends __SmithyException, $MetadataBearer {
3030
- name: "NoUpdateAvailableException";
3031
- $fault: "client";
3032
- message?: string;
3053
+ export declare class NoUpdateAvailableException extends __BaseException {
3054
+ readonly name: "NoUpdateAvailableException";
3055
+ readonly $fault: "client";
3056
+
3057
+ constructor(opts: __ExceptionOptionType<NoUpdateAvailableException, __BaseException>);
3033
3058
  }
3034
3059
  export interface UpdateContainerAgentRequest {
3035
3060
 
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.52.0",
4
+ "version": "3.53.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",
@@ -18,37 +18,37 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.52.0",
22
- "@aws-sdk/config-resolver": "3.52.0",
23
- "@aws-sdk/credential-provider-node": "3.52.0",
24
- "@aws-sdk/fetch-http-handler": "3.52.0",
25
- "@aws-sdk/hash-node": "3.52.0",
26
- "@aws-sdk/invalid-dependency": "3.52.0",
27
- "@aws-sdk/middleware-content-length": "3.52.0",
28
- "@aws-sdk/middleware-host-header": "3.52.0",
29
- "@aws-sdk/middleware-logger": "3.52.0",
30
- "@aws-sdk/middleware-retry": "3.52.0",
31
- "@aws-sdk/middleware-serde": "3.52.0",
32
- "@aws-sdk/middleware-signing": "3.52.0",
33
- "@aws-sdk/middleware-stack": "3.52.0",
34
- "@aws-sdk/middleware-user-agent": "3.52.0",
35
- "@aws-sdk/node-config-provider": "3.52.0",
36
- "@aws-sdk/node-http-handler": "3.52.0",
37
- "@aws-sdk/protocol-http": "3.52.0",
38
- "@aws-sdk/smithy-client": "3.52.0",
39
- "@aws-sdk/types": "3.52.0",
40
- "@aws-sdk/url-parser": "3.52.0",
21
+ "@aws-sdk/client-sts": "3.53.0",
22
+ "@aws-sdk/config-resolver": "3.53.0",
23
+ "@aws-sdk/credential-provider-node": "3.53.0",
24
+ "@aws-sdk/fetch-http-handler": "3.53.0",
25
+ "@aws-sdk/hash-node": "3.53.0",
26
+ "@aws-sdk/invalid-dependency": "3.53.0",
27
+ "@aws-sdk/middleware-content-length": "3.53.0",
28
+ "@aws-sdk/middleware-host-header": "3.53.0",
29
+ "@aws-sdk/middleware-logger": "3.53.0",
30
+ "@aws-sdk/middleware-retry": "3.53.0",
31
+ "@aws-sdk/middleware-serde": "3.53.0",
32
+ "@aws-sdk/middleware-signing": "3.53.0",
33
+ "@aws-sdk/middleware-stack": "3.53.0",
34
+ "@aws-sdk/middleware-user-agent": "3.53.0",
35
+ "@aws-sdk/node-config-provider": "3.53.0",
36
+ "@aws-sdk/node-http-handler": "3.53.0",
37
+ "@aws-sdk/protocol-http": "3.53.0",
38
+ "@aws-sdk/smithy-client": "3.53.0",
39
+ "@aws-sdk/types": "3.53.0",
40
+ "@aws-sdk/url-parser": "3.53.0",
41
41
  "@aws-sdk/util-base64-browser": "3.52.0",
42
42
  "@aws-sdk/util-base64-node": "3.52.0",
43
43
  "@aws-sdk/util-body-length-browser": "3.52.0",
44
44
  "@aws-sdk/util-body-length-node": "3.52.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.52.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.52.0",
47
- "@aws-sdk/util-user-agent-browser": "3.52.0",
48
- "@aws-sdk/util-user-agent-node": "3.52.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.53.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.53.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.53.0",
48
+ "@aws-sdk/util-user-agent-node": "3.53.0",
49
49
  "@aws-sdk/util-utf8-browser": "3.52.0",
50
50
  "@aws-sdk/util-utf8-node": "3.52.0",
51
- "@aws-sdk/util-waiter": "3.52.0",
51
+ "@aws-sdk/util-waiter": "3.53.0",
52
52
  "tslib": "^2.3.0"
53
53
  },
54
54
  "devDependencies": {