@aws-sdk/client-appflow 3.35.0 → 3.36.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.
- package/CHANGELOG.md +13 -0
- package/dist-cjs/Appflow.js +0 -1
- package/dist-cjs/AppflowClient.js +0 -1
- package/dist-cjs/commands/CreateConnectorProfileCommand.js +0 -1
- package/dist-cjs/commands/CreateFlowCommand.js +0 -1
- package/dist-cjs/commands/DeleteConnectorProfileCommand.js +0 -1
- package/dist-cjs/commands/DeleteFlowCommand.js +0 -1
- package/dist-cjs/commands/DescribeConnectorEntityCommand.js +0 -1
- package/dist-cjs/commands/DescribeConnectorProfilesCommand.js +0 -1
- package/dist-cjs/commands/DescribeConnectorsCommand.js +0 -1
- package/dist-cjs/commands/DescribeFlowCommand.js +0 -1
- package/dist-cjs/commands/DescribeFlowExecutionRecordsCommand.js +0 -1
- package/dist-cjs/commands/ListConnectorEntitiesCommand.js +0 -1
- package/dist-cjs/commands/ListFlowsCommand.js +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-cjs/commands/StartFlowCommand.js +0 -1
- package/dist-cjs/commands/StopFlowCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/commands/UpdateConnectorProfileCommand.js +0 -1
- package/dist-cjs/commands/UpdateFlowCommand.js +0 -1
- package/dist-cjs/endpoints.js +0 -1
- package/dist-cjs/index.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/pagination/DescribeConnectorProfilesPaginator.js +0 -1
- package/dist-cjs/pagination/DescribeConnectorsPaginator.js +0 -1
- package/dist-cjs/pagination/DescribeFlowExecutionRecordsPaginator.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListFlowsPaginator.js +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js +0 -1
- package/dist-cjs/runtimeConfig.browser.js +2 -3
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-cjs/runtimeConfig.native.js +0 -1
- package/dist-cjs/runtimeConfig.shared.js +0 -1
- package/dist-es/Appflow.js +0 -1
- package/dist-es/AppflowClient.js +0 -1
- package/dist-es/commands/CreateConnectorProfileCommand.js +0 -1
- package/dist-es/commands/CreateFlowCommand.js +0 -1
- package/dist-es/commands/DeleteConnectorProfileCommand.js +0 -1
- package/dist-es/commands/DeleteFlowCommand.js +0 -1
- package/dist-es/commands/DescribeConnectorEntityCommand.js +0 -1
- package/dist-es/commands/DescribeConnectorProfilesCommand.js +0 -1
- package/dist-es/commands/DescribeConnectorsCommand.js +0 -1
- package/dist-es/commands/DescribeFlowCommand.js +0 -1
- package/dist-es/commands/DescribeFlowExecutionRecordsCommand.js +0 -1
- package/dist-es/commands/ListConnectorEntitiesCommand.js +0 -1
- package/dist-es/commands/ListFlowsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/StartFlowCommand.js +0 -1
- package/dist-es/commands/StopFlowCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateConnectorProfileCommand.js +0 -1
- package/dist-es/commands/UpdateFlowCommand.js +0 -1
- package/dist-es/endpoints.js +0 -1
- package/dist-es/index.js +0 -1
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/DescribeConnectorProfilesPaginator.js +0 -1
- package/dist-es/pagination/DescribeConnectorsPaginator.js +0 -1
- package/dist-es/pagination/DescribeFlowExecutionRecordsPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListFlowsPaginator.js +0 -1
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/package.json +33 -30
- package/dist-cjs/Appflow.js.map +0 -1
- package/dist-cjs/AppflowClient.js.map +0 -1
- package/dist-cjs/commands/CreateConnectorProfileCommand.js.map +0 -1
- package/dist-cjs/commands/CreateFlowCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteConnectorProfileCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteFlowCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeConnectorEntityCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeConnectorProfilesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeConnectorsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeFlowCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeFlowExecutionRecordsCommand.js.map +0 -1
- package/dist-cjs/commands/ListConnectorEntitiesCommand.js.map +0 -1
- package/dist-cjs/commands/ListFlowsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/StartFlowCommand.js.map +0 -1
- package/dist-cjs/commands/StopFlowCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateConnectorProfileCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateFlowCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/DescribeConnectorProfilesPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeConnectorsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeFlowExecutionRecordsPaginator.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListFlowsPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/Appflow.js.map +0 -1
- package/dist-es/AppflowClient.js.map +0 -1
- package/dist-es/commands/CreateConnectorProfileCommand.js.map +0 -1
- package/dist-es/commands/CreateFlowCommand.js.map +0 -1
- package/dist-es/commands/DeleteConnectorProfileCommand.js.map +0 -1
- package/dist-es/commands/DeleteFlowCommand.js.map +0 -1
- package/dist-es/commands/DescribeConnectorEntityCommand.js.map +0 -1
- package/dist-es/commands/DescribeConnectorProfilesCommand.js.map +0 -1
- package/dist-es/commands/DescribeConnectorsCommand.js.map +0 -1
- package/dist-es/commands/DescribeFlowCommand.js.map +0 -1
- package/dist-es/commands/DescribeFlowExecutionRecordsCommand.js.map +0 -1
- package/dist-es/commands/ListConnectorEntitiesCommand.js.map +0 -1
- package/dist-es/commands/ListFlowsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/StartFlowCommand.js.map +0 -1
- package/dist-es/commands/StopFlowCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateConnectorProfileCommand.js.map +0 -1
- package/dist-es/commands/UpdateFlowCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/DescribeConnectorProfilesPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeConnectorsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeFlowExecutionRecordsPaginator.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListFlowsPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/Appflow.ts +0 -664
- package/src/AppflowClient.ts +0 -354
- package/src/commands/CreateConnectorProfileCommand.ts +0 -98
- package/src/commands/CreateFlowCommand.ts +0 -98
- package/src/commands/DeleteConnectorProfileCommand.ts +0 -95
- package/src/commands/DeleteFlowCommand.ts +0 -97
- package/src/commands/DescribeConnectorEntityCommand.ts +0 -96
- package/src/commands/DescribeConnectorProfilesCommand.ts +0 -102
- package/src/commands/DescribeConnectorsCommand.ts +0 -99
- package/src/commands/DescribeFlowCommand.ts +0 -95
- package/src/commands/DescribeFlowExecutionRecordsCommand.ts +0 -100
- package/src/commands/ListConnectorEntitiesCommand.ts +0 -98
- package/src/commands/ListFlowsCommand.ts +0 -95
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/StartFlowCommand.ts +0 -96
- package/src/commands/StopFlowCommand.ts +0 -97
- package/src/commands/TagResourceCommand.ts +0 -95
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdateConnectorProfileCommand.ts +0 -95
- package/src/commands/UpdateFlowCommand.ts +0 -95
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -26
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -5012
- package/src/pagination/DescribeConnectorProfilesPaginator.ts +0 -59
- package/src/pagination/DescribeConnectorsPaginator.ts +0 -58
- package/src/pagination/DescribeFlowExecutionRecordsPaginator.ts +0 -59
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListFlowsPaginator.ts +0 -55
- package/src/protocols/Aws_restJson1.ts +0 -5153
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { AppflowClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppflowClient";
|
|
15
|
-
import { UpdateConnectorProfileRequest, UpdateConnectorProfileResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1UpdateConnectorProfileCommand,
|
|
18
|
-
serializeAws_restJson1UpdateConnectorProfileCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface UpdateConnectorProfileCommandInput extends UpdateConnectorProfileRequest {}
|
|
22
|
-
export interface UpdateConnectorProfileCommandOutput extends UpdateConnectorProfileResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p> Updates a given connector profile associated with your account. </p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { AppflowClient, UpdateConnectorProfileCommand } from "@aws-sdk/client-appflow"; // ES Modules import
|
|
30
|
-
* // const { AppflowClient, UpdateConnectorProfileCommand } = require("@aws-sdk/client-appflow"); // CommonJS import
|
|
31
|
-
* const client = new AppflowClient(config);
|
|
32
|
-
* const command = new UpdateConnectorProfileCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link UpdateConnectorProfileCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link UpdateConnectorProfileCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link AppflowClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class UpdateConnectorProfileCommand extends $Command<
|
|
42
|
-
UpdateConnectorProfileCommandInput,
|
|
43
|
-
UpdateConnectorProfileCommandOutput,
|
|
44
|
-
AppflowClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: UpdateConnectorProfileCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: AppflowClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<UpdateConnectorProfileCommandInput, UpdateConnectorProfileCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "AppflowClient";
|
|
69
|
-
const commandName = "UpdateConnectorProfileCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: UpdateConnectorProfileRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: UpdateConnectorProfileResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: UpdateConnectorProfileCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1UpdateConnectorProfileCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateConnectorProfileCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1UpdateConnectorProfileCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { AppflowClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppflowClient";
|
|
15
|
-
import { UpdateFlowRequest, UpdateFlowResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1UpdateFlowCommand,
|
|
18
|
-
serializeAws_restJson1UpdateFlowCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface UpdateFlowCommandInput extends UpdateFlowRequest {}
|
|
22
|
-
export interface UpdateFlowCommandOutput extends UpdateFlowResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p> Updates an existing flow. </p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { AppflowClient, UpdateFlowCommand } from "@aws-sdk/client-appflow"; // ES Modules import
|
|
30
|
-
* // const { AppflowClient, UpdateFlowCommand } = require("@aws-sdk/client-appflow"); // CommonJS import
|
|
31
|
-
* const client = new AppflowClient(config);
|
|
32
|
-
* const command = new UpdateFlowCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link UpdateFlowCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link UpdateFlowCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link AppflowClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class UpdateFlowCommand extends $Command<
|
|
42
|
-
UpdateFlowCommandInput,
|
|
43
|
-
UpdateFlowCommandOutput,
|
|
44
|
-
AppflowClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: UpdateFlowCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: AppflowClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<UpdateFlowCommandInput, UpdateFlowCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "AppflowClient";
|
|
69
|
-
const commandName = "UpdateFlowCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: UpdateFlowRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: UpdateFlowResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: UpdateFlowCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1UpdateFlowCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateFlowCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1UpdateFlowCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
package/src/endpoints.ts
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { getRegionInfo, PartitionHash, RegionHash } from "@aws-sdk/config-resolver";
|
|
2
|
-
import { RegionInfoProvider } from "@aws-sdk/types";
|
|
3
|
-
|
|
4
|
-
const regionHash: RegionHash = {};
|
|
5
|
-
|
|
6
|
-
const partitionHash: PartitionHash = {
|
|
7
|
-
aws: {
|
|
8
|
-
regions: [
|
|
9
|
-
"af-south-1",
|
|
10
|
-
"ap-east-1",
|
|
11
|
-
"ap-northeast-1",
|
|
12
|
-
"ap-northeast-2",
|
|
13
|
-
"ap-northeast-3",
|
|
14
|
-
"ap-south-1",
|
|
15
|
-
"ap-southeast-1",
|
|
16
|
-
"ap-southeast-2",
|
|
17
|
-
"ca-central-1",
|
|
18
|
-
"eu-central-1",
|
|
19
|
-
"eu-north-1",
|
|
20
|
-
"eu-south-1",
|
|
21
|
-
"eu-west-1",
|
|
22
|
-
"eu-west-2",
|
|
23
|
-
"eu-west-3",
|
|
24
|
-
"me-south-1",
|
|
25
|
-
"sa-east-1",
|
|
26
|
-
"us-east-1",
|
|
27
|
-
"us-east-2",
|
|
28
|
-
"us-west-1",
|
|
29
|
-
"us-west-2",
|
|
30
|
-
],
|
|
31
|
-
hostname: "appflow.{region}.amazonaws.com",
|
|
32
|
-
},
|
|
33
|
-
"aws-cn": {
|
|
34
|
-
regions: ["cn-north-1", "cn-northwest-1"],
|
|
35
|
-
hostname: "appflow.{region}.amazonaws.com.cn",
|
|
36
|
-
},
|
|
37
|
-
"aws-iso": {
|
|
38
|
-
regions: ["us-iso-east-1"],
|
|
39
|
-
hostname: "appflow.{region}.c2s.ic.gov",
|
|
40
|
-
},
|
|
41
|
-
"aws-iso-b": {
|
|
42
|
-
regions: ["us-isob-east-1"],
|
|
43
|
-
hostname: "appflow.{region}.sc2s.sgov.gov",
|
|
44
|
-
},
|
|
45
|
-
"aws-us-gov": {
|
|
46
|
-
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
47
|
-
hostname: "appflow.{region}.amazonaws.com",
|
|
48
|
-
},
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
export const defaultRegionInfoProvider: RegionInfoProvider = async (region: string, options?: any) =>
|
|
52
|
-
getRegionInfo(region, {
|
|
53
|
-
...options,
|
|
54
|
-
signingService: "appflow",
|
|
55
|
-
regionHash,
|
|
56
|
-
partitionHash,
|
|
57
|
-
});
|
package/src/index.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export * from "./AppflowClient";
|
|
2
|
-
export * from "./Appflow";
|
|
3
|
-
export * from "./commands/CreateConnectorProfileCommand";
|
|
4
|
-
export * from "./commands/CreateFlowCommand";
|
|
5
|
-
export * from "./commands/DeleteConnectorProfileCommand";
|
|
6
|
-
export * from "./commands/DeleteFlowCommand";
|
|
7
|
-
export * from "./commands/DescribeConnectorEntityCommand";
|
|
8
|
-
export * from "./commands/DescribeConnectorProfilesCommand";
|
|
9
|
-
export * from "./pagination/DescribeConnectorProfilesPaginator";
|
|
10
|
-
export * from "./commands/DescribeConnectorsCommand";
|
|
11
|
-
export * from "./pagination/DescribeConnectorsPaginator";
|
|
12
|
-
export * from "./commands/DescribeFlowCommand";
|
|
13
|
-
export * from "./commands/DescribeFlowExecutionRecordsCommand";
|
|
14
|
-
export * from "./pagination/DescribeFlowExecutionRecordsPaginator";
|
|
15
|
-
export * from "./commands/ListConnectorEntitiesCommand";
|
|
16
|
-
export * from "./commands/ListFlowsCommand";
|
|
17
|
-
export * from "./pagination/ListFlowsPaginator";
|
|
18
|
-
export * from "./commands/ListTagsForResourceCommand";
|
|
19
|
-
export * from "./commands/StartFlowCommand";
|
|
20
|
-
export * from "./commands/StopFlowCommand";
|
|
21
|
-
export * from "./commands/TagResourceCommand";
|
|
22
|
-
export * from "./commands/UntagResourceCommand";
|
|
23
|
-
export * from "./commands/UpdateConnectorProfileCommand";
|
|
24
|
-
export * from "./commands/UpdateFlowCommand";
|
|
25
|
-
export * from "./pagination/Interfaces";
|
|
26
|
-
export * from "./models/index";
|
package/src/models/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|