@aws-sdk/client-swf 3.52.0 → 3.54.1

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.
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { CountClosedWorkflowExecutionsCommandInput, CountClosedWorkflowExecutionsCommandOutput } from "./commands/CountClosedWorkflowExecutionsCommand";
10
10
  import { CountOpenWorkflowExecutionsCommandInput, CountOpenWorkflowExecutionsCommandOutput } from "./commands/CountOpenWorkflowExecutionsCommand";
11
11
  import { CountPendingActivityTasksCommandInput, CountPendingActivityTasksCommandOutput } from "./commands/CountPendingActivityTasksCommand";
@@ -65,7 +65,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
65
65
  * A function that can calculate the length of a request body.
66
66
  * @internal
67
67
  */
68
- bodyLengthChecker?: (body: any) => number | undefined;
68
+ bodyLengthChecker?: __BodyLengthCalculator;
69
69
  /**
70
70
  * A function that converts a stream into an array of bytes.
71
71
  * @internal
@@ -3,3 +3,4 @@ export * from "./SWFClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { SWFServiceException } from "./models/SWFServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from SWF service.
4
+ */
5
+ export declare class SWFServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { SWFServiceException as __BaseException } from "./SWFServiceException";
2
3
  /**
3
4
  * <p>Represents an activity type.</p>
4
5
  */
@@ -1228,24 +1229,24 @@ export declare namespace CountClosedWorkflowExecutionsInput {
1228
1229
  /**
1229
1230
  * <p>Returned when the caller doesn't have sufficient permissions to invoke the action.</p>
1230
1231
  */
1231
- export interface OperationNotPermittedFault extends __SmithyException, $MetadataBearer {
1232
- name: "OperationNotPermittedFault";
1233
- $fault: "client";
1232
+ export declare class OperationNotPermittedFault extends __BaseException {
1233
+ readonly name: "OperationNotPermittedFault";
1234
+ readonly $fault: "client";
1234
1235
  /**
1235
- * <p>A description that may help with diagnosing the cause of the fault.</p>
1236
+ * @internal
1236
1237
  */
1237
- message?: string;
1238
+ constructor(opts: __ExceptionOptionType<OperationNotPermittedFault, __BaseException>);
1238
1239
  }
1239
1240
  /**
1240
1241
  * <p>Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.</p>
1241
1242
  */
1242
- export interface UnknownResourceFault extends __SmithyException, $MetadataBearer {
1243
- name: "UnknownResourceFault";
1244
- $fault: "client";
1243
+ export declare class UnknownResourceFault extends __BaseException {
1244
+ readonly name: "UnknownResourceFault";
1245
+ readonly $fault: "client";
1245
1246
  /**
1246
- * <p>A description that may help with diagnosing the cause of the fault.</p>
1247
+ * @internal
1247
1248
  */
1248
- message?: string;
1249
+ constructor(opts: __ExceptionOptionType<UnknownResourceFault, __BaseException>);
1249
1250
  }
1250
1251
  /**
1251
1252
  * <p>Contains the count of workflow executions returned from <a>CountOpenWorkflowExecutions</a> or
@@ -4120,10 +4121,13 @@ export declare namespace DecisionTask {
4120
4121
  * type, this error is displayed.</p>
4121
4122
  * </note>
4122
4123
  */
4123
- export interface DefaultUndefinedFault extends __SmithyException, $MetadataBearer {
4124
- name: "DefaultUndefinedFault";
4125
- $fault: "client";
4126
- message?: string;
4124
+ export declare class DefaultUndefinedFault extends __BaseException {
4125
+ readonly name: "DefaultUndefinedFault";
4126
+ readonly $fault: "client";
4127
+ /**
4128
+ * @internal
4129
+ */
4130
+ constructor(opts: __ExceptionOptionType<DefaultUndefinedFault, __BaseException>);
4127
4131
  }
4128
4132
  export interface DeprecateActivityTypeInput {
4129
4133
  /**
@@ -4144,13 +4148,13 @@ export declare namespace DeprecateActivityTypeInput {
4144
4148
  /**
4145
4149
  * <p>Returned when the specified activity or workflow type was already deprecated.</p>
4146
4150
  */
4147
- export interface TypeDeprecatedFault extends __SmithyException, $MetadataBearer {
4148
- name: "TypeDeprecatedFault";
4149
- $fault: "client";
4151
+ export declare class TypeDeprecatedFault extends __BaseException {
4152
+ readonly name: "TypeDeprecatedFault";
4153
+ readonly $fault: "client";
4150
4154
  /**
4151
- * <p>A description that may help with diagnosing the cause of the fault.</p>
4155
+ * @internal
4152
4156
  */
4153
- message?: string;
4157
+ constructor(opts: __ExceptionOptionType<TypeDeprecatedFault, __BaseException>);
4154
4158
  }
4155
4159
  export interface DeprecateDomainInput {
4156
4160
  /**
@@ -4167,13 +4171,13 @@ export declare namespace DeprecateDomainInput {
4167
4171
  /**
4168
4172
  * <p>Returned when the specified domain has been deprecated.</p>
4169
4173
  */
4170
- export interface DomainDeprecatedFault extends __SmithyException, $MetadataBearer {
4171
- name: "DomainDeprecatedFault";
4172
- $fault: "client";
4174
+ export declare class DomainDeprecatedFault extends __BaseException {
4175
+ readonly name: "DomainDeprecatedFault";
4176
+ readonly $fault: "client";
4173
4177
  /**
4174
- * <p>A description that may help with diagnosing the cause of the fault.</p>
4178
+ * @internal
4175
4179
  */
4176
- message?: string;
4180
+ constructor(opts: __ExceptionOptionType<DomainDeprecatedFault, __BaseException>);
4177
4181
  }
4178
4182
  export interface DeprecateWorkflowTypeInput {
4179
4183
  /**
@@ -4678,13 +4682,13 @@ export declare namespace WorkflowTypeDetail {
4678
4682
  /**
4679
4683
  * <p>Returned if the domain already exists. You may get this fault if you are registering a domain that is either already registered or deprecated, or if you undeprecate a domain that is currently registered.</p>
4680
4684
  */
4681
- export interface DomainAlreadyExistsFault extends __SmithyException, $MetadataBearer {
4682
- name: "DomainAlreadyExistsFault";
4683
- $fault: "client";
4685
+ export declare class DomainAlreadyExistsFault extends __BaseException {
4686
+ readonly name: "DomainAlreadyExistsFault";
4687
+ readonly $fault: "client";
4684
4688
  /**
4685
- * <p>A description that may help with diagnosing the cause of the fault.</p>
4689
+ * @internal
4686
4690
  */
4687
- message?: string;
4691
+ constructor(opts: __ExceptionOptionType<DomainAlreadyExistsFault, __BaseException>);
4688
4692
  }
4689
4693
  /**
4690
4694
  * <p>Contains a paginated collection of DomainInfo structures.</p>
@@ -4771,13 +4775,13 @@ export declare namespace History {
4771
4775
  /**
4772
4776
  * <p>Returned by any operation if a system imposed limitation has been reached. To address this fault you should either clean up unused resources or increase the limit by contacting AWS.</p>
4773
4777
  */
4774
- export interface LimitExceededFault extends __SmithyException, $MetadataBearer {
4775
- name: "LimitExceededFault";
4776
- $fault: "client";
4778
+ export declare class LimitExceededFault extends __BaseException {
4779
+ readonly name: "LimitExceededFault";
4780
+ readonly $fault: "client";
4777
4781
  /**
4778
- * <p>A description that may help with diagnosing the cause of the fault.</p>
4782
+ * @internal
4779
4783
  */
4780
- message?: string;
4784
+ constructor(opts: __ExceptionOptionType<LimitExceededFault, __BaseException>);
4781
4785
  }
4782
4786
  export interface ListActivityTypesInput {
4783
4787
  /**
@@ -5357,13 +5361,13 @@ export declare namespace RegisterActivityTypeInput {
5357
5361
  /**
5358
5362
  * <p>Returned if the type already exists in the specified domain. You may get this fault if you are registering a type that is either already registered or deprecated, or if you undeprecate a type that is currently registered.</p>
5359
5363
  */
5360
- export interface TypeAlreadyExistsFault extends __SmithyException, $MetadataBearer {
5361
- name: "TypeAlreadyExistsFault";
5362
- $fault: "client";
5364
+ export declare class TypeAlreadyExistsFault extends __BaseException {
5365
+ readonly name: "TypeAlreadyExistsFault";
5366
+ readonly $fault: "client";
5363
5367
  /**
5364
- * <p>A description that may help with diagnosing the cause of the fault.</p>
5368
+ * @internal
5365
5369
  */
5366
- message?: string;
5370
+ constructor(opts: __ExceptionOptionType<TypeAlreadyExistsFault, __BaseException>);
5367
5371
  }
5368
5372
  export interface RegisterDomainInput {
5369
5373
  /**
@@ -5407,10 +5411,13 @@ export declare namespace RegisterDomainInput {
5407
5411
  /**
5408
5412
  * <p>You've exceeded the number of tags allowed for a domain.</p>
5409
5413
  */
5410
- export interface TooManyTagsFault extends __SmithyException, $MetadataBearer {
5411
- name: "TooManyTagsFault";
5412
- $fault: "client";
5413
- message?: string;
5414
+ export declare class TooManyTagsFault extends __BaseException {
5415
+ readonly name: "TooManyTagsFault";
5416
+ readonly $fault: "client";
5417
+ /**
5418
+ * @internal
5419
+ */
5420
+ constructor(opts: __ExceptionOptionType<TooManyTagsFault, __BaseException>);
5414
5421
  }
5415
5422
  export interface RegisterWorkflowTypeInput {
5416
5423
  /**
@@ -5835,13 +5842,13 @@ export declare namespace StartWorkflowExecutionInput {
5835
5842
  * <p>Returned by <a>StartWorkflowExecution</a> when an open execution with the same workflowId is already running in
5836
5843
  * the specified domain.</p>
5837
5844
  */
5838
- export interface WorkflowExecutionAlreadyStartedFault extends __SmithyException, $MetadataBearer {
5839
- name: "WorkflowExecutionAlreadyStartedFault";
5840
- $fault: "client";
5845
+ export declare class WorkflowExecutionAlreadyStartedFault extends __BaseException {
5846
+ readonly name: "WorkflowExecutionAlreadyStartedFault";
5847
+ readonly $fault: "client";
5841
5848
  /**
5842
- * <p>A description that may help with diagnosing the cause of the fault.</p>
5849
+ * @internal
5843
5850
  */
5844
- message?: string;
5851
+ constructor(opts: __ExceptionOptionType<WorkflowExecutionAlreadyStartedFault, __BaseException>);
5845
5852
  }
5846
5853
  export interface TagResourceInput {
5847
5854
  /**
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: SWFClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: SWFClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: SWFClientConfig) => {
8
8
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
10
  urlParser: import("@aws-sdk/types").UrlParser;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  streamCollector: import("@aws-sdk/types").StreamCollector;
13
13
  base64Decoder: import("@aws-sdk/types").Decoder;
14
14
  base64Encoder: import("@aws-sdk/types").Encoder;
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { CountClosedWorkflowExecutionsCommandInput, CountClosedWorkflowExecutionsCommandOutput } from "./commands/CountClosedWorkflowExecutionsCommand";
10
10
  import { CountOpenWorkflowExecutionsCommandInput, CountOpenWorkflowExecutionsCommandOutput } from "./commands/CountOpenWorkflowExecutionsCommand";
11
11
  import { CountPendingActivityTasksCommandInput, CountPendingActivityTasksCommandOutput } from "./commands/CountPendingActivityTasksCommand";
@@ -53,7 +53,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
53
53
 
54
54
  urlParser?: __UrlParser;
55
55
 
56
- bodyLengthChecker?: (body: any) => number | undefined;
56
+ bodyLengthChecker?: __BodyLengthCalculator;
57
57
 
58
58
  streamCollector?: __StreamCollector;
59
59
 
@@ -3,3 +3,4 @@ export * from "./SWFClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { SWFServiceException } from "./models/SWFServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class SWFServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { SWFServiceException as __BaseException } from "./SWFServiceException";
2
3
 
3
4
  export interface ActivityType {
4
5
 
@@ -511,18 +512,18 @@ export declare namespace CountClosedWorkflowExecutionsInput {
511
512
  const filterSensitiveLog: (obj: CountClosedWorkflowExecutionsInput) => any;
512
513
  }
513
514
 
514
- export interface OperationNotPermittedFault extends __SmithyException, $MetadataBearer {
515
- name: "OperationNotPermittedFault";
516
- $fault: "client";
515
+ export declare class OperationNotPermittedFault extends __BaseException {
516
+ readonly name: "OperationNotPermittedFault";
517
+ readonly $fault: "client";
517
518
 
518
- message?: string;
519
+ constructor(opts: __ExceptionOptionType<OperationNotPermittedFault, __BaseException>);
519
520
  }
520
521
 
521
- export interface UnknownResourceFault extends __SmithyException, $MetadataBearer {
522
- name: "UnknownResourceFault";
523
- $fault: "client";
522
+ export declare class UnknownResourceFault extends __BaseException {
523
+ readonly name: "UnknownResourceFault";
524
+ readonly $fault: "client";
524
525
 
525
- message?: string;
526
+ constructor(opts: __ExceptionOptionType<UnknownResourceFault, __BaseException>);
526
527
  }
527
528
 
528
529
  export interface WorkflowExecutionCount {
@@ -1480,10 +1481,11 @@ export declare namespace DecisionTask {
1480
1481
  const filterSensitiveLog: (obj: DecisionTask) => any;
1481
1482
  }
1482
1483
 
1483
- export interface DefaultUndefinedFault extends __SmithyException, $MetadataBearer {
1484
- name: "DefaultUndefinedFault";
1485
- $fault: "client";
1486
- message?: string;
1484
+ export declare class DefaultUndefinedFault extends __BaseException {
1485
+ readonly name: "DefaultUndefinedFault";
1486
+ readonly $fault: "client";
1487
+
1488
+ constructor(opts: __ExceptionOptionType<DefaultUndefinedFault, __BaseException>);
1487
1489
  }
1488
1490
  export interface DeprecateActivityTypeInput {
1489
1491
 
@@ -1496,11 +1498,11 @@ export declare namespace DeprecateActivityTypeInput {
1496
1498
  const filterSensitiveLog: (obj: DeprecateActivityTypeInput) => any;
1497
1499
  }
1498
1500
 
1499
- export interface TypeDeprecatedFault extends __SmithyException, $MetadataBearer {
1500
- name: "TypeDeprecatedFault";
1501
- $fault: "client";
1501
+ export declare class TypeDeprecatedFault extends __BaseException {
1502
+ readonly name: "TypeDeprecatedFault";
1503
+ readonly $fault: "client";
1502
1504
 
1503
- message?: string;
1505
+ constructor(opts: __ExceptionOptionType<TypeDeprecatedFault, __BaseException>);
1504
1506
  }
1505
1507
  export interface DeprecateDomainInput {
1506
1508
 
@@ -1511,11 +1513,11 @@ export declare namespace DeprecateDomainInput {
1511
1513
  const filterSensitiveLog: (obj: DeprecateDomainInput) => any;
1512
1514
  }
1513
1515
 
1514
- export interface DomainDeprecatedFault extends __SmithyException, $MetadataBearer {
1515
- name: "DomainDeprecatedFault";
1516
- $fault: "client";
1516
+ export declare class DomainDeprecatedFault extends __BaseException {
1517
+ readonly name: "DomainDeprecatedFault";
1518
+ readonly $fault: "client";
1517
1519
 
1518
- message?: string;
1520
+ constructor(opts: __ExceptionOptionType<DomainDeprecatedFault, __BaseException>);
1519
1521
  }
1520
1522
  export interface DeprecateWorkflowTypeInput {
1521
1523
 
@@ -1727,11 +1729,11 @@ export declare namespace WorkflowTypeDetail {
1727
1729
  const filterSensitiveLog: (obj: WorkflowTypeDetail) => any;
1728
1730
  }
1729
1731
 
1730
- export interface DomainAlreadyExistsFault extends __SmithyException, $MetadataBearer {
1731
- name: "DomainAlreadyExistsFault";
1732
- $fault: "client";
1732
+ export declare class DomainAlreadyExistsFault extends __BaseException {
1733
+ readonly name: "DomainAlreadyExistsFault";
1734
+ readonly $fault: "client";
1733
1735
 
1734
- message?: string;
1736
+ constructor(opts: __ExceptionOptionType<DomainAlreadyExistsFault, __BaseException>);
1735
1737
  }
1736
1738
 
1737
1739
  export interface DomainInfos {
@@ -1772,11 +1774,11 @@ export declare namespace History {
1772
1774
  const filterSensitiveLog: (obj: History) => any;
1773
1775
  }
1774
1776
 
1775
- export interface LimitExceededFault extends __SmithyException, $MetadataBearer {
1776
- name: "LimitExceededFault";
1777
- $fault: "client";
1777
+ export declare class LimitExceededFault extends __BaseException {
1778
+ readonly name: "LimitExceededFault";
1779
+ readonly $fault: "client";
1778
1780
 
1779
- message?: string;
1781
+ constructor(opts: __ExceptionOptionType<LimitExceededFault, __BaseException>);
1780
1782
  }
1781
1783
  export interface ListActivityTypesInput {
1782
1784
 
@@ -1992,11 +1994,11 @@ export declare namespace RegisterActivityTypeInput {
1992
1994
  const filterSensitiveLog: (obj: RegisterActivityTypeInput) => any;
1993
1995
  }
1994
1996
 
1995
- export interface TypeAlreadyExistsFault extends __SmithyException, $MetadataBearer {
1996
- name: "TypeAlreadyExistsFault";
1997
- $fault: "client";
1997
+ export declare class TypeAlreadyExistsFault extends __BaseException {
1998
+ readonly name: "TypeAlreadyExistsFault";
1999
+ readonly $fault: "client";
1998
2000
 
1999
- message?: string;
2001
+ constructor(opts: __ExceptionOptionType<TypeAlreadyExistsFault, __BaseException>);
2000
2002
  }
2001
2003
  export interface RegisterDomainInput {
2002
2004
 
@@ -2013,10 +2015,11 @@ export declare namespace RegisterDomainInput {
2013
2015
  const filterSensitiveLog: (obj: RegisterDomainInput) => any;
2014
2016
  }
2015
2017
 
2016
- export interface TooManyTagsFault extends __SmithyException, $MetadataBearer {
2017
- name: "TooManyTagsFault";
2018
- $fault: "client";
2019
- message?: string;
2018
+ export declare class TooManyTagsFault extends __BaseException {
2019
+ readonly name: "TooManyTagsFault";
2020
+ readonly $fault: "client";
2021
+
2022
+ constructor(opts: __ExceptionOptionType<TooManyTagsFault, __BaseException>);
2020
2023
  }
2021
2024
  export interface RegisterWorkflowTypeInput {
2022
2025
 
@@ -2155,11 +2158,11 @@ export declare namespace StartWorkflowExecutionInput {
2155
2158
  const filterSensitiveLog: (obj: StartWorkflowExecutionInput) => any;
2156
2159
  }
2157
2160
 
2158
- export interface WorkflowExecutionAlreadyStartedFault extends __SmithyException, $MetadataBearer {
2159
- name: "WorkflowExecutionAlreadyStartedFault";
2160
- $fault: "client";
2161
+ export declare class WorkflowExecutionAlreadyStartedFault extends __BaseException {
2162
+ readonly name: "WorkflowExecutionAlreadyStartedFault";
2163
+ readonly $fault: "client";
2161
2164
 
2162
- message?: string;
2165
+ constructor(opts: __ExceptionOptionType<WorkflowExecutionAlreadyStartedFault, __BaseException>);
2163
2166
  }
2164
2167
  export interface TagResourceInput {
2165
2168
 
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: SWFClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: SWFClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: SWFClientConfig) => {
6
6
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
7
7
  apiVersion: string;
8
8
  urlParser: import("@aws-sdk/types").UrlParser;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  streamCollector: import("@aws-sdk/types").StreamCollector;
11
11
  base64Decoder: import("@aws-sdk/types").Decoder;
12
12
  base64Encoder: import("@aws-sdk/types").Encoder;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-swf",
3
3
  "description": "AWS SDK for JavaScript Swf Client for Node.js, Browser and React Native",
4
- "version": "3.52.0",
4
+ "version": "3.54.1",
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,34 +18,34 @@
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.54.1",
22
+ "@aws-sdk/config-resolver": "3.54.1",
23
+ "@aws-sdk/credential-provider-node": "3.54.1",
24
+ "@aws-sdk/fetch-http-handler": "3.54.1",
25
+ "@aws-sdk/hash-node": "3.54.1",
26
+ "@aws-sdk/invalid-dependency": "3.54.1",
27
+ "@aws-sdk/middleware-content-length": "3.54.1",
28
+ "@aws-sdk/middleware-host-header": "3.54.1",
29
+ "@aws-sdk/middleware-logger": "3.54.1",
30
+ "@aws-sdk/middleware-retry": "3.54.1",
31
+ "@aws-sdk/middleware-serde": "3.54.1",
32
+ "@aws-sdk/middleware-signing": "3.54.1",
33
+ "@aws-sdk/middleware-stack": "3.54.1",
34
+ "@aws-sdk/middleware-user-agent": "3.54.1",
35
+ "@aws-sdk/node-config-provider": "3.54.1",
36
+ "@aws-sdk/node-http-handler": "3.54.1",
37
+ "@aws-sdk/protocol-http": "3.54.1",
38
+ "@aws-sdk/smithy-client": "3.54.1",
39
+ "@aws-sdk/types": "3.54.1",
40
+ "@aws-sdk/url-parser": "3.54.1",
41
41
  "@aws-sdk/util-base64-browser": "3.52.0",
42
42
  "@aws-sdk/util-base64-node": "3.52.0",
43
- "@aws-sdk/util-body-length-browser": "3.52.0",
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",
43
+ "@aws-sdk/util-body-length-browser": "3.54.0",
44
+ "@aws-sdk/util-body-length-node": "3.54.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.54.1",
46
+ "@aws-sdk/util-defaults-mode-node": "3.54.1",
47
+ "@aws-sdk/util-user-agent-browser": "3.54.1",
48
+ "@aws-sdk/util-user-agent-node": "3.54.1",
49
49
  "@aws-sdk/util-utf8-browser": "3.52.0",
50
50
  "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0"