@aws-sdk/client-sfn 3.51.0 → 3.54.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.
@@ -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 { CreateActivityCommandInput, CreateActivityCommandOutput } from "./commands/CreateActivityCommand";
10
10
  import { CreateStateMachineCommandInput, CreateStateMachineCommandOutput } from "./commands/CreateStateMachineCommand";
11
11
  import { DeleteActivityCommandInput, DeleteActivityCommandOutput } from "./commands/DeleteActivityCommand";
@@ -51,7 +51,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
51
51
  * A function that can calculate the length of a request body.
52
52
  * @internal
53
53
  */
54
- bodyLengthChecker?: (body: any) => number | undefined;
54
+ bodyLengthChecker?: __BodyLengthCalculator;
55
55
  /**
56
56
  * A function that converts a stream into an array of bytes.
57
57
  * @internal
@@ -3,3 +3,4 @@ export * from "./SFNClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { SFNServiceException } from "./models/SFNServiceException";
@@ -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 SFN service.
4
+ */
5
+ export declare class SFNServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,11 +1,15 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { SFNServiceException as __BaseException } from "./SFNServiceException";
2
3
  /**
3
4
  * <p>The specified activity does not exist.</p>
4
5
  */
5
- export interface ActivityDoesNotExist extends __SmithyException, $MetadataBearer {
6
- name: "ActivityDoesNotExist";
7
- $fault: "client";
8
- message?: string;
6
+ export declare class ActivityDoesNotExist extends __BaseException {
7
+ readonly name: "ActivityDoesNotExist";
8
+ readonly $fault: "client";
9
+ /**
10
+ * @internal
11
+ */
12
+ constructor(opts: __ExceptionOptionType<ActivityDoesNotExist, __BaseException>);
9
13
  }
10
14
  /**
11
15
  * <p>Contains details about an activity that failed during an execution.</p>
@@ -30,10 +34,13 @@ export declare namespace ActivityFailedEventDetails {
30
34
  * <p>The maximum number of activities has been reached. Existing activities must be deleted
31
35
  * before a new activity can be created.</p>
32
36
  */
33
- export interface ActivityLimitExceeded extends __SmithyException, $MetadataBearer {
34
- name: "ActivityLimitExceeded";
35
- $fault: "client";
36
- message?: string;
37
+ export declare class ActivityLimitExceeded extends __BaseException {
38
+ readonly name: "ActivityLimitExceeded";
39
+ readonly $fault: "client";
40
+ /**
41
+ * @internal
42
+ */
43
+ constructor(opts: __ExceptionOptionType<ActivityLimitExceeded, __BaseException>);
37
44
  }
38
45
  /**
39
46
  * <p>Contains details about an activity.</p>
@@ -206,10 +213,13 @@ export declare namespace ActivityTimedOutEventDetails {
206
213
  * <p>The maximum number of workers concurrently polling for activity tasks has been
207
214
  * reached.</p>
208
215
  */
209
- export interface ActivityWorkerLimitExceeded extends __SmithyException, $MetadataBearer {
210
- name: "ActivityWorkerLimitExceeded";
211
- $fault: "client";
212
- message?: string;
216
+ export declare class ActivityWorkerLimitExceeded extends __BaseException {
217
+ readonly name: "ActivityWorkerLimitExceeded";
218
+ readonly $fault: "client";
219
+ /**
220
+ * @internal
221
+ */
222
+ constructor(opts: __ExceptionOptionType<ActivityWorkerLimitExceeded, __BaseException>);
213
223
  }
214
224
  /**
215
225
  * <p>Tags are key-value pairs that can be associated with Step Functions state machines and
@@ -300,20 +310,26 @@ export declare namespace CreateActivityOutput {
300
310
  /**
301
311
  * <p>The provided name is invalid.</p>
302
312
  */
303
- export interface InvalidName extends __SmithyException, $MetadataBearer {
304
- name: "InvalidName";
305
- $fault: "client";
306
- message?: string;
313
+ export declare class InvalidName extends __BaseException {
314
+ readonly name: "InvalidName";
315
+ readonly $fault: "client";
316
+ /**
317
+ * @internal
318
+ */
319
+ constructor(opts: __ExceptionOptionType<InvalidName, __BaseException>);
307
320
  }
308
321
  /**
309
322
  * <p>You've exceeded the number of tags allowed for a resource. See the <a href="https://docs.aws.amazon.com/step-functions/latest/dg/limits.html"> Limits Topic</a> in the
310
323
  * AWS Step Functions Developer Guide.</p>
311
324
  */
312
- export interface TooManyTags extends __SmithyException, $MetadataBearer {
313
- name: "TooManyTags";
314
- $fault: "client";
315
- message?: string;
325
+ export declare class TooManyTags extends __BaseException {
326
+ readonly name: "TooManyTags";
327
+ readonly $fault: "client";
316
328
  resourceName?: string;
329
+ /**
330
+ * @internal
331
+ */
332
+ constructor(opts: __ExceptionOptionType<TooManyTags, __BaseException>);
317
333
  }
318
334
  /**
319
335
  * <p></p>
@@ -480,68 +496,92 @@ export declare namespace CreateStateMachineOutput {
480
496
  /**
481
497
  * <p>The provided Amazon Resource Name (ARN) is invalid.</p>
482
498
  */
483
- export interface InvalidArn extends __SmithyException, $MetadataBearer {
484
- name: "InvalidArn";
485
- $fault: "client";
486
- message?: string;
499
+ export declare class InvalidArn extends __BaseException {
500
+ readonly name: "InvalidArn";
501
+ readonly $fault: "client";
502
+ /**
503
+ * @internal
504
+ */
505
+ constructor(opts: __ExceptionOptionType<InvalidArn, __BaseException>);
487
506
  }
488
507
  /**
489
508
  * <p>The provided Amazon States Language definition is invalid.</p>
490
509
  */
491
- export interface InvalidDefinition extends __SmithyException, $MetadataBearer {
492
- name: "InvalidDefinition";
493
- $fault: "client";
494
- message?: string;
510
+ export declare class InvalidDefinition extends __BaseException {
511
+ readonly name: "InvalidDefinition";
512
+ readonly $fault: "client";
513
+ /**
514
+ * @internal
515
+ */
516
+ constructor(opts: __ExceptionOptionType<InvalidDefinition, __BaseException>);
495
517
  }
496
518
  /**
497
519
  * <p></p>
498
520
  */
499
- export interface InvalidLoggingConfiguration extends __SmithyException, $MetadataBearer {
500
- name: "InvalidLoggingConfiguration";
501
- $fault: "client";
502
- message?: string;
521
+ export declare class InvalidLoggingConfiguration extends __BaseException {
522
+ readonly name: "InvalidLoggingConfiguration";
523
+ readonly $fault: "client";
524
+ /**
525
+ * @internal
526
+ */
527
+ constructor(opts: __ExceptionOptionType<InvalidLoggingConfiguration, __BaseException>);
503
528
  }
504
529
  /**
505
530
  * <p>Your <code>tracingConfiguration</code> key does not match, or <code>enabled</code> has not been set to <code>true</code> or <code>false</code>.</p>
506
531
  */
507
- export interface InvalidTracingConfiguration extends __SmithyException, $MetadataBearer {
508
- name: "InvalidTracingConfiguration";
509
- $fault: "client";
510
- message?: string;
532
+ export declare class InvalidTracingConfiguration extends __BaseException {
533
+ readonly name: "InvalidTracingConfiguration";
534
+ readonly $fault: "client";
535
+ /**
536
+ * @internal
537
+ */
538
+ constructor(opts: __ExceptionOptionType<InvalidTracingConfiguration, __BaseException>);
511
539
  }
512
540
  /**
513
541
  * <p>A state machine with the same name but a different definition or role ARN already
514
542
  * exists.</p>
515
543
  */
516
- export interface StateMachineAlreadyExists extends __SmithyException, $MetadataBearer {
517
- name: "StateMachineAlreadyExists";
518
- $fault: "client";
519
- message?: string;
544
+ export declare class StateMachineAlreadyExists extends __BaseException {
545
+ readonly name: "StateMachineAlreadyExists";
546
+ readonly $fault: "client";
547
+ /**
548
+ * @internal
549
+ */
550
+ constructor(opts: __ExceptionOptionType<StateMachineAlreadyExists, __BaseException>);
520
551
  }
521
552
  /**
522
553
  * <p>The specified state machine is being deleted.</p>
523
554
  */
524
- export interface StateMachineDeleting extends __SmithyException, $MetadataBearer {
525
- name: "StateMachineDeleting";
526
- $fault: "client";
527
- message?: string;
555
+ export declare class StateMachineDeleting extends __BaseException {
556
+ readonly name: "StateMachineDeleting";
557
+ readonly $fault: "client";
558
+ /**
559
+ * @internal
560
+ */
561
+ constructor(opts: __ExceptionOptionType<StateMachineDeleting, __BaseException>);
528
562
  }
529
563
  /**
530
564
  * <p>The maximum number of state machines has been reached. Existing state machines must be
531
565
  * deleted before a new state machine can be created.</p>
532
566
  */
533
- export interface StateMachineLimitExceeded extends __SmithyException, $MetadataBearer {
534
- name: "StateMachineLimitExceeded";
535
- $fault: "client";
536
- message?: string;
567
+ export declare class StateMachineLimitExceeded extends __BaseException {
568
+ readonly name: "StateMachineLimitExceeded";
569
+ readonly $fault: "client";
570
+ /**
571
+ * @internal
572
+ */
573
+ constructor(opts: __ExceptionOptionType<StateMachineLimitExceeded, __BaseException>);
537
574
  }
538
575
  /**
539
576
  * <p></p>
540
577
  */
541
- export interface StateMachineTypeNotSupported extends __SmithyException, $MetadataBearer {
542
- name: "StateMachineTypeNotSupported";
543
- $fault: "client";
544
- message?: string;
578
+ export declare class StateMachineTypeNotSupported extends __BaseException {
579
+ readonly name: "StateMachineTypeNotSupported";
580
+ readonly $fault: "client";
581
+ /**
582
+ * @internal
583
+ */
584
+ constructor(opts: __ExceptionOptionType<StateMachineTypeNotSupported, __BaseException>);
545
585
  }
546
586
  export interface DeleteActivityInput {
547
587
  /**
@@ -747,10 +787,13 @@ export declare namespace DescribeExecutionOutput {
747
787
  /**
748
788
  * <p>The specified execution does not exist.</p>
749
789
  */
750
- export interface ExecutionDoesNotExist extends __SmithyException, $MetadataBearer {
751
- name: "ExecutionDoesNotExist";
752
- $fault: "client";
753
- message?: string;
790
+ export declare class ExecutionDoesNotExist extends __BaseException {
791
+ readonly name: "ExecutionDoesNotExist";
792
+ readonly $fault: "client";
793
+ /**
794
+ * @internal
795
+ */
796
+ constructor(opts: __ExceptionOptionType<ExecutionDoesNotExist, __BaseException>);
754
797
  }
755
798
  export interface DescribeStateMachineInput {
756
799
  /**
@@ -837,10 +880,13 @@ export declare namespace DescribeStateMachineOutput {
837
880
  /**
838
881
  * <p>The specified state machine does not exist.</p>
839
882
  */
840
- export interface StateMachineDoesNotExist extends __SmithyException, $MetadataBearer {
841
- name: "StateMachineDoesNotExist";
842
- $fault: "client";
843
- message?: string;
883
+ export declare class StateMachineDoesNotExist extends __BaseException {
884
+ readonly name: "StateMachineDoesNotExist";
885
+ readonly $fault: "client";
886
+ /**
887
+ * @internal
888
+ */
889
+ constructor(opts: __ExceptionOptionType<StateMachineDoesNotExist, __BaseException>);
844
890
  }
845
891
  export interface DescribeStateMachineForExecutionInput {
846
892
  /**
@@ -1683,10 +1729,13 @@ export declare namespace GetExecutionHistoryOutput {
1683
1729
  /**
1684
1730
  * <p>The provided token is invalid.</p>
1685
1731
  */
1686
- export interface InvalidToken extends __SmithyException, $MetadataBearer {
1687
- name: "InvalidToken";
1688
- $fault: "client";
1689
- message?: string;
1732
+ export declare class InvalidToken extends __BaseException {
1733
+ readonly name: "InvalidToken";
1734
+ readonly $fault: "client";
1735
+ /**
1736
+ * @internal
1737
+ */
1738
+ constructor(opts: __ExceptionOptionType<InvalidToken, __BaseException>);
1690
1739
  }
1691
1740
  export interface ListActivitiesInput {
1692
1741
  /**
@@ -1936,11 +1985,14 @@ export declare namespace ListTagsForResourceOutput {
1936
1985
  * <p>Could not find the referenced resource. Only state machine and activity ARNs are
1937
1986
  * supported.</p>
1938
1987
  */
1939
- export interface ResourceNotFound extends __SmithyException, $MetadataBearer {
1940
- name: "ResourceNotFound";
1941
- $fault: "client";
1942
- message?: string;
1988
+ export declare class ResourceNotFound extends __BaseException {
1989
+ readonly name: "ResourceNotFound";
1990
+ readonly $fault: "client";
1943
1991
  resourceName?: string;
1992
+ /**
1993
+ * @internal
1994
+ */
1995
+ constructor(opts: __ExceptionOptionType<ResourceNotFound, __BaseException>);
1944
1996
  }
1945
1997
  export interface SendTaskFailureInput {
1946
1998
  /**
@@ -1972,15 +2024,21 @@ export declare namespace SendTaskFailureOutput {
1972
2024
  */
1973
2025
  const filterSensitiveLog: (obj: SendTaskFailureOutput) => any;
1974
2026
  }
1975
- export interface TaskDoesNotExist extends __SmithyException, $MetadataBearer {
1976
- name: "TaskDoesNotExist";
1977
- $fault: "client";
1978
- message?: string;
2027
+ export declare class TaskDoesNotExist extends __BaseException {
2028
+ readonly name: "TaskDoesNotExist";
2029
+ readonly $fault: "client";
2030
+ /**
2031
+ * @internal
2032
+ */
2033
+ constructor(opts: __ExceptionOptionType<TaskDoesNotExist, __BaseException>);
1979
2034
  }
1980
- export interface TaskTimedOut extends __SmithyException, $MetadataBearer {
1981
- name: "TaskTimedOut";
1982
- $fault: "client";
1983
- message?: string;
2035
+ export declare class TaskTimedOut extends __BaseException {
2036
+ readonly name: "TaskTimedOut";
2037
+ readonly $fault: "client";
2038
+ /**
2039
+ * @internal
2040
+ */
2041
+ constructor(opts: __ExceptionOptionType<TaskTimedOut, __BaseException>);
1984
2042
  }
1985
2043
  export interface SendTaskHeartbeatInput {
1986
2044
  /**
@@ -2007,10 +2065,13 @@ export declare namespace SendTaskHeartbeatOutput {
2007
2065
  /**
2008
2066
  * <p>The provided JSON output data is invalid.</p>
2009
2067
  */
2010
- export interface InvalidOutput extends __SmithyException, $MetadataBearer {
2011
- name: "InvalidOutput";
2012
- $fault: "client";
2013
- message?: string;
2068
+ export declare class InvalidOutput extends __BaseException {
2069
+ readonly name: "InvalidOutput";
2070
+ readonly $fault: "client";
2071
+ /**
2072
+ * @internal
2073
+ */
2074
+ constructor(opts: __ExceptionOptionType<InvalidOutput, __BaseException>);
2014
2075
  }
2015
2076
  export interface SendTaskSuccessInput {
2016
2077
  /**
@@ -2046,27 +2107,36 @@ export declare namespace SendTaskSuccessOutput {
2046
2107
  * idempotent.</p>
2047
2108
  * </note>
2048
2109
  */
2049
- export interface ExecutionAlreadyExists extends __SmithyException, $MetadataBearer {
2050
- name: "ExecutionAlreadyExists";
2051
- $fault: "client";
2052
- message?: string;
2110
+ export declare class ExecutionAlreadyExists extends __BaseException {
2111
+ readonly name: "ExecutionAlreadyExists";
2112
+ readonly $fault: "client";
2113
+ /**
2114
+ * @internal
2115
+ */
2116
+ constructor(opts: __ExceptionOptionType<ExecutionAlreadyExists, __BaseException>);
2053
2117
  }
2054
2118
  /**
2055
2119
  * <p>The maximum number of running executions has been reached. Running executions must end or
2056
2120
  * be stopped before a new execution can be started.</p>
2057
2121
  */
2058
- export interface ExecutionLimitExceeded extends __SmithyException, $MetadataBearer {
2059
- name: "ExecutionLimitExceeded";
2060
- $fault: "client";
2061
- message?: string;
2122
+ export declare class ExecutionLimitExceeded extends __BaseException {
2123
+ readonly name: "ExecutionLimitExceeded";
2124
+ readonly $fault: "client";
2125
+ /**
2126
+ * @internal
2127
+ */
2128
+ constructor(opts: __ExceptionOptionType<ExecutionLimitExceeded, __BaseException>);
2062
2129
  }
2063
2130
  /**
2064
2131
  * <p>The provided JSON input data is invalid.</p>
2065
2132
  */
2066
- export interface InvalidExecutionInput extends __SmithyException, $MetadataBearer {
2067
- name: "InvalidExecutionInput";
2068
- $fault: "client";
2069
- message?: string;
2133
+ export declare class InvalidExecutionInput extends __BaseException {
2134
+ readonly name: "InvalidExecutionInput";
2135
+ readonly $fault: "client";
2136
+ /**
2137
+ * @internal
2138
+ */
2139
+ constructor(opts: __ExceptionOptionType<InvalidExecutionInput, __BaseException>);
2070
2140
  }
2071
2141
  export interface StartExecutionInput {
2072
2142
  /**
@@ -2348,10 +2418,13 @@ export declare namespace UntagResourceOutput {
2348
2418
  * <p>Request is missing a required parameter. This error occurs if both <code>definition</code>
2349
2419
  * and <code>roleArn</code> are not specified.</p>
2350
2420
  */
2351
- export interface MissingRequiredParameter extends __SmithyException, $MetadataBearer {
2352
- name: "MissingRequiredParameter";
2353
- $fault: "client";
2354
- message?: string;
2421
+ export declare class MissingRequiredParameter extends __BaseException {
2422
+ readonly name: "MissingRequiredParameter";
2423
+ readonly $fault: "client";
2424
+ /**
2425
+ * @internal
2426
+ */
2427
+ constructor(opts: __ExceptionOptionType<MissingRequiredParameter, __BaseException>);
2355
2428
  }
2356
2429
  export interface UpdateStateMachineInput {
2357
2430
  /**
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: SFNClientConfig) => {
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: SFNClientConfig) => {
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: SFNClientConfig) => {
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 { CreateActivityCommandInput, CreateActivityCommandOutput } from "./commands/CreateActivityCommand";
10
10
  import { CreateStateMachineCommandInput, CreateStateMachineCommandOutput } from "./commands/CreateStateMachineCommand";
11
11
  import { DeleteActivityCommandInput, DeleteActivityCommandOutput } from "./commands/DeleteActivityCommand";
@@ -39,7 +39,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
39
39
 
40
40
  urlParser?: __UrlParser;
41
41
 
42
- bodyLengthChecker?: (body: any) => number | undefined;
42
+ bodyLengthChecker?: __BodyLengthCalculator;
43
43
 
44
44
  streamCollector?: __StreamCollector;
45
45
 
@@ -3,3 +3,4 @@ export * from "./SFNClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { SFNServiceException } from "./models/SFNServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class SFNServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }