@aws-sdk/client-sfn 3.194.0 → 3.196.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 (124) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/SFNClient.js +11 -8
  3. package/dist-cjs/commands/CreateActivityCommand.js +10 -0
  4. package/dist-cjs/commands/CreateStateMachineCommand.js +10 -0
  5. package/dist-cjs/commands/DeleteActivityCommand.js +10 -0
  6. package/dist-cjs/commands/DeleteStateMachineCommand.js +10 -0
  7. package/dist-cjs/commands/DescribeActivityCommand.js +10 -0
  8. package/dist-cjs/commands/DescribeExecutionCommand.js +10 -0
  9. package/dist-cjs/commands/DescribeStateMachineCommand.js +10 -0
  10. package/dist-cjs/commands/DescribeStateMachineForExecutionCommand.js +10 -0
  11. package/dist-cjs/commands/GetActivityTaskCommand.js +10 -0
  12. package/dist-cjs/commands/GetExecutionHistoryCommand.js +10 -0
  13. package/dist-cjs/commands/ListActivitiesCommand.js +10 -0
  14. package/dist-cjs/commands/ListExecutionsCommand.js +10 -0
  15. package/dist-cjs/commands/ListStateMachinesCommand.js +10 -0
  16. package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
  17. package/dist-cjs/commands/SendTaskFailureCommand.js +10 -0
  18. package/dist-cjs/commands/SendTaskHeartbeatCommand.js +10 -0
  19. package/dist-cjs/commands/SendTaskSuccessCommand.js +10 -0
  20. package/dist-cjs/commands/StartExecutionCommand.js +10 -0
  21. package/dist-cjs/commands/StartSyncExecutionCommand.js +10 -0
  22. package/dist-cjs/commands/StopExecutionCommand.js +10 -0
  23. package/dist-cjs/commands/TagResourceCommand.js +10 -0
  24. package/dist-cjs/commands/UntagResourceCommand.js +10 -0
  25. package/dist-cjs/commands/UpdateStateMachineCommand.js +10 -0
  26. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  27. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  28. package/dist-cjs/endpoint/ruleset.js +337 -0
  29. package/dist-cjs/runtimeConfig.shared.js +3 -3
  30. package/dist-es/SFNClient.js +12 -9
  31. package/dist-es/commands/CreateActivityCommand.js +10 -0
  32. package/dist-es/commands/CreateStateMachineCommand.js +10 -0
  33. package/dist-es/commands/DeleteActivityCommand.js +10 -0
  34. package/dist-es/commands/DeleteStateMachineCommand.js +10 -0
  35. package/dist-es/commands/DescribeActivityCommand.js +10 -0
  36. package/dist-es/commands/DescribeExecutionCommand.js +10 -0
  37. package/dist-es/commands/DescribeStateMachineCommand.js +10 -0
  38. package/dist-es/commands/DescribeStateMachineForExecutionCommand.js +10 -0
  39. package/dist-es/commands/GetActivityTaskCommand.js +10 -0
  40. package/dist-es/commands/GetExecutionHistoryCommand.js +10 -0
  41. package/dist-es/commands/ListActivitiesCommand.js +10 -0
  42. package/dist-es/commands/ListExecutionsCommand.js +10 -0
  43. package/dist-es/commands/ListStateMachinesCommand.js +10 -0
  44. package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
  45. package/dist-es/commands/SendTaskFailureCommand.js +10 -0
  46. package/dist-es/commands/SendTaskHeartbeatCommand.js +10 -0
  47. package/dist-es/commands/SendTaskSuccessCommand.js +10 -0
  48. package/dist-es/commands/StartExecutionCommand.js +10 -0
  49. package/dist-es/commands/StartSyncExecutionCommand.js +10 -0
  50. package/dist-es/commands/StopExecutionCommand.js +10 -0
  51. package/dist-es/commands/TagResourceCommand.js +10 -0
  52. package/dist-es/commands/UntagResourceCommand.js +10 -0
  53. package/dist-es/commands/UpdateStateMachineCommand.js +10 -0
  54. package/dist-es/endpoint/EndpointParameters.js +8 -0
  55. package/dist-es/endpoint/endpointResolver.js +8 -0
  56. package/dist-es/endpoint/ruleset.js +334 -0
  57. package/dist-es/runtimeConfig.shared.js +2 -2
  58. package/dist-types/SFNClient.d.ts +6 -9
  59. package/dist-types/commands/CreateActivityCommand.d.ts +2 -0
  60. package/dist-types/commands/CreateStateMachineCommand.d.ts +2 -0
  61. package/dist-types/commands/DeleteActivityCommand.d.ts +2 -0
  62. package/dist-types/commands/DeleteStateMachineCommand.d.ts +2 -0
  63. package/dist-types/commands/DescribeActivityCommand.d.ts +2 -0
  64. package/dist-types/commands/DescribeExecutionCommand.d.ts +2 -0
  65. package/dist-types/commands/DescribeStateMachineCommand.d.ts +2 -0
  66. package/dist-types/commands/DescribeStateMachineForExecutionCommand.d.ts +2 -0
  67. package/dist-types/commands/GetActivityTaskCommand.d.ts +2 -0
  68. package/dist-types/commands/GetExecutionHistoryCommand.d.ts +2 -0
  69. package/dist-types/commands/ListActivitiesCommand.d.ts +2 -0
  70. package/dist-types/commands/ListExecutionsCommand.d.ts +2 -0
  71. package/dist-types/commands/ListStateMachinesCommand.d.ts +2 -0
  72. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
  73. package/dist-types/commands/SendTaskFailureCommand.d.ts +2 -0
  74. package/dist-types/commands/SendTaskHeartbeatCommand.d.ts +2 -0
  75. package/dist-types/commands/SendTaskSuccessCommand.d.ts +2 -0
  76. package/dist-types/commands/StartExecutionCommand.d.ts +2 -0
  77. package/dist-types/commands/StartSyncExecutionCommand.d.ts +2 -0
  78. package/dist-types/commands/StopExecutionCommand.d.ts +2 -0
  79. package/dist-types/commands/TagResourceCommand.d.ts +2 -0
  80. package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
  81. package/dist-types/commands/UpdateStateMachineCommand.d.ts +2 -0
  82. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  83. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  84. package/dist-types/endpoint/ruleset.d.ts +2 -0
  85. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  86. package/dist-types/runtimeConfig.d.ts +4 -2
  87. package/dist-types/runtimeConfig.native.d.ts +4 -2
  88. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  89. package/dist-types/ts3.4/SFNClient.d.ts +15 -8
  90. package/dist-types/ts3.4/commands/CreateActivityCommand.d.ts +2 -0
  91. package/dist-types/ts3.4/commands/CreateStateMachineCommand.d.ts +2 -0
  92. package/dist-types/ts3.4/commands/DeleteActivityCommand.d.ts +2 -0
  93. package/dist-types/ts3.4/commands/DeleteStateMachineCommand.d.ts +2 -0
  94. package/dist-types/ts3.4/commands/DescribeActivityCommand.d.ts +2 -0
  95. package/dist-types/ts3.4/commands/DescribeExecutionCommand.d.ts +2 -0
  96. package/dist-types/ts3.4/commands/DescribeStateMachineCommand.d.ts +2 -0
  97. package/dist-types/ts3.4/commands/DescribeStateMachineForExecutionCommand.d.ts +2 -0
  98. package/dist-types/ts3.4/commands/GetActivityTaskCommand.d.ts +2 -0
  99. package/dist-types/ts3.4/commands/GetExecutionHistoryCommand.d.ts +2 -0
  100. package/dist-types/ts3.4/commands/ListActivitiesCommand.d.ts +2 -0
  101. package/dist-types/ts3.4/commands/ListExecutionsCommand.d.ts +2 -0
  102. package/dist-types/ts3.4/commands/ListStateMachinesCommand.d.ts +2 -0
  103. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
  104. package/dist-types/ts3.4/commands/SendTaskFailureCommand.d.ts +2 -0
  105. package/dist-types/ts3.4/commands/SendTaskHeartbeatCommand.d.ts +2 -0
  106. package/dist-types/ts3.4/commands/SendTaskSuccessCommand.d.ts +2 -0
  107. package/dist-types/ts3.4/commands/StartExecutionCommand.d.ts +2 -0
  108. package/dist-types/ts3.4/commands/StartSyncExecutionCommand.d.ts +2 -0
  109. package/dist-types/ts3.4/commands/StopExecutionCommand.d.ts +2 -0
  110. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
  111. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
  112. package/dist-types/ts3.4/commands/UpdateStateMachineCommand.d.ts +2 -0
  113. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  114. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  115. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  116. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  117. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  118. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  119. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  120. package/package.json +5 -3
  121. package/dist-cjs/endpoints.js +0 -185
  122. package/dist-es/endpoints.js +0 -181
  123. package/dist-types/endpoints.d.ts +0 -2
  124. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { StartSyncExecutionInput, StartSyncExecutionOutput } from "../models/models_0";
@@ -25,6 +26,7 @@ export interface StartSyncExecutionCommandOutput extends StartSyncExecutionOutpu
25
26
  */
26
27
  export declare class StartSyncExecutionCommand extends $Command<StartSyncExecutionCommandInput, StartSyncExecutionCommandOutput, SFNClientResolvedConfig> {
27
28
  readonly input: StartSyncExecutionCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: StartSyncExecutionCommandInput);
29
31
  /**
30
32
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { StopExecutionInput, StopExecutionOutput } from "../models/models_0";
@@ -26,6 +27,7 @@ export interface StopExecutionCommandOutput extends StopExecutionOutput, __Metad
26
27
  */
27
28
  export declare class StopExecutionCommand extends $Command<StopExecutionCommandInput, StopExecutionCommandOutput, SFNClientResolvedConfig> {
28
29
  readonly input: StopExecutionCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
29
31
  constructor(input: StopExecutionCommandInput);
30
32
  /**
31
33
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { TagResourceInput, TagResourceOutput } from "../models/models_0";
@@ -30,6 +31,7 @@ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataB
30
31
  */
31
32
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, SFNClientResolvedConfig> {
32
33
  readonly input: TagResourceCommandInput;
34
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
33
35
  constructor(input: TagResourceCommandInput);
34
36
  /**
35
37
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { UntagResourceInput, UntagResourceOutput } from "../models/models_0";
@@ -25,6 +26,7 @@ export interface UntagResourceCommandOutput extends UntagResourceOutput, __Metad
25
26
  */
26
27
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, SFNClientResolvedConfig> {
27
28
  readonly input: UntagResourceCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: UntagResourceCommandInput);
29
31
  /**
30
32
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { UpdateStateMachineInput, UpdateStateMachineOutput } from "../models/models_0";
@@ -35,6 +36,7 @@ export interface UpdateStateMachineCommandOutput extends UpdateStateMachineOutpu
35
36
  */
36
37
  export declare class UpdateStateMachineCommand extends $Command<UpdateStateMachineCommandInput, UpdateStateMachineCommandOutput, SFNClientResolvedConfig> {
37
38
  readonly input: UpdateStateMachineCommandInput;
39
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
38
40
  constructor(input: UpdateStateMachineCommandInput);
39
41
  /**
40
42
  * @internal
@@ -0,0 +1,19 @@
1
+ import { EndpointParameters as __EndpointParameters, Provider } from "@aws-sdk/types";
2
+ export interface ClientInputEndpointParameters {
3
+ region?: string | Provider<string>;
4
+ useDualstackEndpoint?: boolean | Provider<boolean>;
5
+ useFipsEndpoint?: boolean | Provider<boolean>;
6
+ endpoint?: string | Provider<string>;
7
+ }
8
+ export declare type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
9
+ defaultSigningName: string;
10
+ };
11
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
12
+ defaultSigningName: string;
13
+ };
14
+ export interface EndpointParameters extends __EndpointParameters {
15
+ Region?: string;
16
+ UseDualStack?: boolean;
17
+ UseFIPS?: boolean;
18
+ Endpoint?: string;
19
+ }
@@ -0,0 +1,5 @@
1
+ import { EndpointV2, Logger } from "@aws-sdk/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
+ logger?: Logger;
5
+ }) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@aws-sdk/util-endpoints";
2
+ export declare const ruleSet: RuleSetObject;
@@ -26,8 +26,10 @@ export declare const getRuntimeConfig: (config: SFNClientConfig) => {
26
26
  disableHostPrefix: boolean;
27
27
  logger: import("@aws-sdk/types").Logger;
28
28
  serviceId: string;
29
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
30
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
+ endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string>)) | undefined;
30
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
+ logger?: import("@aws-sdk/types").Logger | undefined;
32
+ }) => import("@aws-sdk/types").EndpointV2;
31
33
  tls?: boolean | undefined;
32
34
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
35
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
@@ -26,8 +26,10 @@ export declare const getRuntimeConfig: (config: SFNClientConfig) => {
26
26
  disableHostPrefix: boolean;
27
27
  logger: import("@aws-sdk/types").Logger;
28
28
  serviceId: string;
29
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
30
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
+ endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string>)) | undefined;
30
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
+ logger?: import("@aws-sdk/types").Logger | undefined;
32
+ }) => import("@aws-sdk/types").EndpointV2;
31
33
  tls?: boolean | undefined;
32
34
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
35
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
@@ -23,10 +23,12 @@ export declare const getRuntimeConfig: (config: SFNClientConfig) => {
23
23
  serviceId: string;
24
24
  region: string | import("@aws-sdk/types").Provider<any>;
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
26
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
27
  defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
29
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
+ endpoint?: string | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> & import("@aws-sdk/types").Provider<string>) | (import("@aws-sdk/types").Endpoint & import("@aws-sdk/types").Provider<string>) | (import("@aws-sdk/types").EndpointV2 & import("@aws-sdk/types").Provider<string>) | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> & import("@aws-sdk/types").Provider<string>) | undefined;
29
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
30
+ logger?: import("@aws-sdk/types").Logger | undefined;
31
+ }) => import("@aws-sdk/types").EndpointV2;
30
32
  tls?: boolean | undefined;
31
33
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
32
34
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
@@ -6,8 +6,10 @@ import { SFNClientConfig } from "./SFNClient";
6
6
  export declare const getRuntimeConfig: (config: SFNClientConfig) => {
7
7
  apiVersion: string;
8
8
  disableHostPrefix: boolean;
9
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
10
+ logger?: __Logger | undefined;
11
+ }) => import("@aws-sdk/types").EndpointV2;
9
12
  logger: __Logger;
10
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
11
13
  serviceId: string;
12
14
  urlParser: import("@aws-sdk/types").UrlParser;
13
15
  };
@@ -1,9 +1,11 @@
1
1
  import {
2
- EndpointsInputConfig,
3
- EndpointsResolvedConfig,
4
2
  RegionInputConfig,
5
3
  RegionResolvedConfig,
6
4
  } from "@aws-sdk/config-resolver";
5
+ import {
6
+ EndpointInputConfig,
7
+ EndpointResolvedConfig,
8
+ } from "@aws-sdk/middleware-endpoint";
7
9
  import {
8
10
  HostHeaderInputConfig,
9
11
  HostHeaderResolvedConfig,
@@ -37,7 +39,6 @@ import {
37
39
  Logger as __Logger,
38
40
  Provider as __Provider,
39
41
  Provider,
40
- RegionInfoProvider,
41
42
  StreamCollector as __StreamCollector,
42
43
  UrlParser as __UrlParser,
43
44
  UserAgent as __UserAgent,
@@ -134,6 +135,11 @@ import {
134
135
  UpdateStateMachineCommandInput,
135
136
  UpdateStateMachineCommandOutput,
136
137
  } from "./commands/UpdateStateMachineCommand";
138
+ import {
139
+ ClientInputEndpointParameters,
140
+ ClientResolvedEndpointParameters,
141
+ EndpointParameters,
142
+ } from "./endpoint/EndpointParameters";
137
143
  export declare type ServiceInputTypes =
138
144
  | CreateActivityCommandInput
139
145
  | CreateStateMachineCommandInput
@@ -203,7 +209,6 @@ export interface ClientDefaults
203
209
  serviceId?: string;
204
210
  region?: string | __Provider<string>;
205
211
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
206
- regionInfoProvider?: RegionInfoProvider;
207
212
  defaultUserAgentProvider?: Provider<__UserAgent>;
208
213
  defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
209
214
  }
@@ -212,21 +217,23 @@ declare type SFNClientConfigType = Partial<
212
217
  > &
213
218
  ClientDefaults &
214
219
  RegionInputConfig &
215
- EndpointsInputConfig &
220
+ EndpointInputConfig<EndpointParameters> &
216
221
  RetryInputConfig &
217
222
  HostHeaderInputConfig &
218
223
  AwsAuthInputConfig &
219
- UserAgentInputConfig;
224
+ UserAgentInputConfig &
225
+ ClientInputEndpointParameters;
220
226
  export interface SFNClientConfig extends SFNClientConfigType {}
221
227
  declare type SFNClientResolvedConfigType =
222
228
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
223
229
  Required<ClientDefaults> &
224
230
  RegionResolvedConfig &
225
- EndpointsResolvedConfig &
231
+ EndpointResolvedConfig<EndpointParameters> &
226
232
  RetryResolvedConfig &
227
233
  HostHeaderResolvedConfig &
228
234
  AwsAuthResolvedConfig &
229
- UserAgentResolvedConfig;
235
+ UserAgentResolvedConfig &
236
+ ClientResolvedEndpointParameters;
230
237
  export interface SFNClientResolvedConfig extends SFNClientResolvedConfigType {}
231
238
  export declare class SFNClient extends __Client<
232
239
  __HttpHandlerOptions,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class CreateActivityCommand extends $Command<
21
22
  SFNClientResolvedConfig
22
23
  > {
23
24
  readonly input: CreateActivityCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: CreateActivityCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class CreateStateMachineCommand extends $Command<
25
26
  SFNClientResolvedConfig
26
27
  > {
27
28
  readonly input: CreateStateMachineCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: CreateStateMachineCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class DeleteActivityCommand extends $Command<
21
22
  SFNClientResolvedConfig
22
23
  > {
23
24
  readonly input: DeleteActivityCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: DeleteActivityCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class DeleteStateMachineCommand extends $Command<
25
26
  SFNClientResolvedConfig
26
27
  > {
27
28
  readonly input: DeleteStateMachineCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DeleteStateMachineCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class DescribeActivityCommand extends $Command<
24
25
  SFNClientResolvedConfig
25
26
  > {
26
27
  readonly input: DescribeActivityCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: DescribeActivityCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class DescribeExecutionCommand extends $Command<
24
25
  SFNClientResolvedConfig
25
26
  > {
26
27
  readonly input: DescribeExecutionCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: DescribeExecutionCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class DescribeStateMachineCommand extends $Command<
25
26
  SFNClientResolvedConfig
26
27
  > {
27
28
  readonly input: DescribeStateMachineCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DescribeStateMachineCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class DescribeStateMachineForExecutionCommand extends $Command<
25
26
  SFNClientResolvedConfig
26
27
  > {
27
28
  readonly input: DescribeStateMachineForExecutionCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DescribeStateMachineForExecutionCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class GetActivityTaskCommand extends $Command<
24
25
  SFNClientResolvedConfig
25
26
  > {
26
27
  readonly input: GetActivityTaskCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: GetActivityTaskCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class GetExecutionHistoryCommand extends $Command<
25
26
  SFNClientResolvedConfig
26
27
  > {
27
28
  readonly input: GetExecutionHistoryCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: GetExecutionHistoryCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class ListActivitiesCommand extends $Command<
21
22
  SFNClientResolvedConfig
22
23
  > {
23
24
  readonly input: ListActivitiesCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: ListActivitiesCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class ListExecutionsCommand extends $Command<
21
22
  SFNClientResolvedConfig
22
23
  > {
23
24
  readonly input: ListExecutionsCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: ListExecutionsCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class ListStateMachinesCommand extends $Command<
24
25
  SFNClientResolvedConfig
25
26
  > {
26
27
  readonly input: ListStateMachinesCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: ListStateMachinesCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class ListTagsForResourceCommand extends $Command<
25
26
  SFNClientResolvedConfig
26
27
  > {
27
28
  readonly input: ListTagsForResourceCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: ListTagsForResourceCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class SendTaskFailureCommand extends $Command<
24
25
  SFNClientResolvedConfig
25
26
  > {
26
27
  readonly input: SendTaskFailureCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: SendTaskFailureCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class SendTaskHeartbeatCommand extends $Command<
24
25
  SFNClientResolvedConfig
25
26
  > {
26
27
  readonly input: SendTaskHeartbeatCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: SendTaskHeartbeatCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class SendTaskSuccessCommand extends $Command<
24
25
  SFNClientResolvedConfig
25
26
  > {
26
27
  readonly input: SendTaskSuccessCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: SendTaskSuccessCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class StartExecutionCommand extends $Command<
21
22
  SFNClientResolvedConfig
22
23
  > {
23
24
  readonly input: StartExecutionCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: StartExecutionCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class StartSyncExecutionCommand extends $Command<
25
26
  SFNClientResolvedConfig
26
27
  > {
27
28
  readonly input: StartSyncExecutionCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: StartSyncExecutionCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class StopExecutionCommand extends $Command<
21
22
  SFNClientResolvedConfig
22
23
  > {
23
24
  readonly input: StopExecutionCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: StopExecutionCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class TagResourceCommand extends $Command<
21
22
  SFNClientResolvedConfig
22
23
  > {
23
24
  readonly input: TagResourceCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: TagResourceCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class UntagResourceCommand extends $Command<
21
22
  SFNClientResolvedConfig
22
23
  > {
23
24
  readonly input: UntagResourceCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: UntagResourceCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class UpdateStateMachineCommand extends $Command<
25
26
  SFNClientResolvedConfig
26
27
  > {
27
28
  readonly input: UpdateStateMachineCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: UpdateStateMachineCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -0,0 +1,26 @@
1
+ import {
2
+ EndpointParameters as __EndpointParameters,
3
+ Provider,
4
+ } from "@aws-sdk/types";
5
+ export interface ClientInputEndpointParameters {
6
+ region?: string | Provider<string>;
7
+ useDualstackEndpoint?: boolean | Provider<boolean>;
8
+ useFipsEndpoint?: boolean | Provider<boolean>;
9
+ endpoint?: string | Provider<string>;
10
+ }
11
+ export declare type ClientResolvedEndpointParameters =
12
+ ClientInputEndpointParameters & {
13
+ defaultSigningName: string;
14
+ };
15
+ export declare const resolveClientEndpointParameters: <T>(
16
+ options: T & ClientInputEndpointParameters
17
+ ) => T &
18
+ ClientInputEndpointParameters & {
19
+ defaultSigningName: string;
20
+ };
21
+ export interface EndpointParameters extends __EndpointParameters {
22
+ Region?: string;
23
+ UseDualStack?: boolean;
24
+ UseFIPS?: boolean;
25
+ Endpoint?: string;
26
+ }
@@ -0,0 +1,8 @@
1
+ import { EndpointV2, Logger } from "@aws-sdk/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (
4
+ endpointParams: EndpointParameters,
5
+ context?: {
6
+ logger?: Logger;
7
+ }
8
+ ) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@aws-sdk/util-endpoints";
2
+ export declare const ruleSet: RuleSetObject;
@@ -36,12 +36,22 @@ export declare const getRuntimeConfig: (config: SFNClientConfig) => {
36
36
  disableHostPrefix: boolean;
37
37
  logger: import("@aws-sdk/types").Logger;
38
38
  serviceId: string;
39
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
40
39
  endpoint?:
41
- | string
42
- | import("@aws-sdk/types").Endpoint
43
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
40
+ | ((
41
+ | string
42
+ | import("@aws-sdk/types").Endpoint
43
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
44
+ | import("@aws-sdk/types").EndpointV2
45
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
46
+ ) &
47
+ (string | import("@aws-sdk/types").Provider<string>))
44
48
  | undefined;
49
+ endpointProvider: (
50
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
51
+ context?: {
52
+ logger?: import("@aws-sdk/types").Logger | undefined;
53
+ }
54
+ ) => import("@aws-sdk/types").EndpointV2;
45
55
  tls?: boolean | undefined;
46
56
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
47
57
  credentials?: