@aws-sdk/client-appflow 3.354.0 → 3.356.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/README.md +8 -0
- package/dist-cjs/Appflow.js +2 -0
- package/dist-cjs/commands/ResetConnectorMetadataCacheCommand.js +46 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +65 -1
- package/dist-es/Appflow.js +2 -0
- package/dist-es/commands/ResetConnectorMetadataCacheCommand.js +42 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +62 -0
- package/dist-types/Appflow.d.ts +7 -0
- package/dist-types/AppflowClient.d.ts +3 -2
- package/dist-types/commands/ResetConnectorMetadataCacheCommand.d.ts +96 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +61 -3
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/Appflow.d.ts +17 -0
- package/dist-types/ts3.4/AppflowClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/ResetConnectorMetadataCacheCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +8 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -364,6 +364,14 @@ RegisterConnector
|
|
|
364
364
|
|
|
365
365
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-appflow/classes/registerconnectorcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-appflow/interfaces/registerconnectorcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-appflow/interfaces/registerconnectorcommandoutput.html)
|
|
366
366
|
|
|
367
|
+
</details>
|
|
368
|
+
<details>
|
|
369
|
+
<summary>
|
|
370
|
+
ResetConnectorMetadataCache
|
|
371
|
+
</summary>
|
|
372
|
+
|
|
373
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-appflow/classes/resetconnectormetadatacachecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-appflow/interfaces/resetconnectormetadatacachecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-appflow/interfaces/resetconnectormetadatacachecommandoutput.html)
|
|
374
|
+
|
|
367
375
|
</details>
|
|
368
376
|
<details>
|
|
369
377
|
<summary>
|
package/dist-cjs/Appflow.js
CHANGED
|
@@ -19,6 +19,7 @@ const ListConnectorsCommand_1 = require("./commands/ListConnectorsCommand");
|
|
|
19
19
|
const ListFlowsCommand_1 = require("./commands/ListFlowsCommand");
|
|
20
20
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
21
21
|
const RegisterConnectorCommand_1 = require("./commands/RegisterConnectorCommand");
|
|
22
|
+
const ResetConnectorMetadataCacheCommand_1 = require("./commands/ResetConnectorMetadataCacheCommand");
|
|
22
23
|
const StartFlowCommand_1 = require("./commands/StartFlowCommand");
|
|
23
24
|
const StopFlowCommand_1 = require("./commands/StopFlowCommand");
|
|
24
25
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
@@ -44,6 +45,7 @@ const commands = {
|
|
|
44
45
|
ListFlowsCommand: ListFlowsCommand_1.ListFlowsCommand,
|
|
45
46
|
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
46
47
|
RegisterConnectorCommand: RegisterConnectorCommand_1.RegisterConnectorCommand,
|
|
48
|
+
ResetConnectorMetadataCacheCommand: ResetConnectorMetadataCacheCommand_1.ResetConnectorMetadataCacheCommand,
|
|
47
49
|
StartFlowCommand: StartFlowCommand_1.StartFlowCommand,
|
|
48
50
|
StopFlowCommand: StopFlowCommand_1.StopFlowCommand,
|
|
49
51
|
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ResetConnectorMetadataCacheCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class ResetConnectorMetadataCacheCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ResetConnectorMetadataCacheCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "AppflowClient";
|
|
28
|
+
const commandName = "ResetConnectorMetadataCacheCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.se_ResetConnectorMetadataCacheCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.de_ResetConnectorMetadataCacheCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.ResetConnectorMetadataCacheCommand = ResetConnectorMetadataCacheCommand;
|
|
@@ -17,6 +17,7 @@ tslib_1.__exportStar(require("./ListConnectorsCommand"), exports);
|
|
|
17
17
|
tslib_1.__exportStar(require("./ListFlowsCommand"), exports);
|
|
18
18
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
19
19
|
tslib_1.__exportStar(require("./RegisterConnectorCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./ResetConnectorMetadataCacheCommand"), exports);
|
|
20
21
|
tslib_1.__exportStar(require("./StartFlowCommand"), exports);
|
|
21
22
|
tslib_1.__exportStar(require("./StopFlowCommand"), exports);
|
|
22
23
|
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.de_UpdateFlowCommand = exports.de_UpdateConnectorRegistrationCommand = exports.de_UpdateConnectorProfileCommand = exports.de_UntagResourceCommand = exports.de_UnregisterConnectorCommand = exports.de_TagResourceCommand = exports.de_StopFlowCommand = exports.de_StartFlowCommand = exports.de_RegisterConnectorCommand = exports.de_ListTagsForResourceCommand = exports.de_ListFlowsCommand = exports.de_ListConnectorsCommand = exports.de_ListConnectorEntitiesCommand = exports.de_DescribeFlowExecutionRecordsCommand = exports.de_DescribeFlowCommand = exports.de_DescribeConnectorsCommand = exports.de_DescribeConnectorProfilesCommand = exports.de_DescribeConnectorEntityCommand = exports.de_DescribeConnectorCommand = exports.de_DeleteFlowCommand = exports.de_DeleteConnectorProfileCommand = exports.de_CreateFlowCommand = exports.de_CreateConnectorProfileCommand = exports.de_CancelFlowExecutionsCommand = exports.se_UpdateFlowCommand = exports.se_UpdateConnectorRegistrationCommand = exports.se_UpdateConnectorProfileCommand = exports.se_UntagResourceCommand = exports.se_UnregisterConnectorCommand = exports.se_TagResourceCommand = exports.se_StopFlowCommand = exports.se_StartFlowCommand = exports.se_RegisterConnectorCommand = exports.se_ListTagsForResourceCommand = exports.se_ListFlowsCommand = exports.se_ListConnectorsCommand = exports.se_ListConnectorEntitiesCommand = exports.se_DescribeFlowExecutionRecordsCommand = exports.se_DescribeFlowCommand = exports.se_DescribeConnectorsCommand = exports.se_DescribeConnectorProfilesCommand = exports.se_DescribeConnectorEntityCommand = exports.se_DescribeConnectorCommand = exports.se_DeleteFlowCommand = exports.se_DeleteConnectorProfileCommand = exports.se_CreateFlowCommand = exports.se_CreateConnectorProfileCommand = exports.se_CancelFlowExecutionsCommand = void 0;
|
|
3
|
+
exports.de_UpdateFlowCommand = exports.de_UpdateConnectorRegistrationCommand = exports.de_UpdateConnectorProfileCommand = exports.de_UntagResourceCommand = exports.de_UnregisterConnectorCommand = exports.de_TagResourceCommand = exports.de_StopFlowCommand = exports.de_StartFlowCommand = exports.de_ResetConnectorMetadataCacheCommand = exports.de_RegisterConnectorCommand = exports.de_ListTagsForResourceCommand = exports.de_ListFlowsCommand = exports.de_ListConnectorsCommand = exports.de_ListConnectorEntitiesCommand = exports.de_DescribeFlowExecutionRecordsCommand = exports.de_DescribeFlowCommand = exports.de_DescribeConnectorsCommand = exports.de_DescribeConnectorProfilesCommand = exports.de_DescribeConnectorEntityCommand = exports.de_DescribeConnectorCommand = exports.de_DeleteFlowCommand = exports.de_DeleteConnectorProfileCommand = exports.de_CreateFlowCommand = exports.de_CreateConnectorProfileCommand = exports.de_CancelFlowExecutionsCommand = exports.se_UpdateFlowCommand = exports.se_UpdateConnectorRegistrationCommand = exports.se_UpdateConnectorProfileCommand = exports.se_UntagResourceCommand = exports.se_UnregisterConnectorCommand = exports.se_TagResourceCommand = exports.se_StopFlowCommand = exports.se_StartFlowCommand = exports.se_ResetConnectorMetadataCacheCommand = exports.se_RegisterConnectorCommand = exports.se_ListTagsForResourceCommand = exports.se_ListFlowsCommand = exports.se_ListConnectorsCommand = exports.se_ListConnectorEntitiesCommand = exports.se_DescribeFlowExecutionRecordsCommand = exports.se_DescribeFlowCommand = exports.se_DescribeConnectorsCommand = exports.se_DescribeConnectorProfilesCommand = exports.se_DescribeConnectorEntityCommand = exports.se_DescribeConnectorCommand = exports.se_DeleteFlowCommand = exports.se_DeleteConnectorProfileCommand = exports.se_CreateFlowCommand = exports.se_CreateConnectorProfileCommand = exports.se_CancelFlowExecutionsCommand = void 0;
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
5
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
6
6
|
const uuid_1 = require("uuid");
|
|
@@ -379,6 +379,31 @@ const se_RegisterConnectorCommand = async (input, context) => {
|
|
|
379
379
|
});
|
|
380
380
|
};
|
|
381
381
|
exports.se_RegisterConnectorCommand = se_RegisterConnectorCommand;
|
|
382
|
+
const se_ResetConnectorMetadataCacheCommand = async (input, context) => {
|
|
383
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
384
|
+
const headers = {
|
|
385
|
+
"content-type": "application/json",
|
|
386
|
+
};
|
|
387
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/reset-connector-metadata-cache";
|
|
388
|
+
let body;
|
|
389
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
390
|
+
apiVersion: [],
|
|
391
|
+
connectorEntityName: [],
|
|
392
|
+
connectorProfileName: [],
|
|
393
|
+
connectorType: [],
|
|
394
|
+
entitiesPath: [],
|
|
395
|
+
}));
|
|
396
|
+
return new protocol_http_1.HttpRequest({
|
|
397
|
+
protocol,
|
|
398
|
+
hostname,
|
|
399
|
+
port,
|
|
400
|
+
method: "POST",
|
|
401
|
+
headers,
|
|
402
|
+
path: resolvedPath,
|
|
403
|
+
body,
|
|
404
|
+
});
|
|
405
|
+
};
|
|
406
|
+
exports.se_ResetConnectorMetadataCacheCommand = se_ResetConnectorMetadataCacheCommand;
|
|
382
407
|
const se_StartFlowCommand = async (input, context) => {
|
|
383
408
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
384
409
|
const headers = {
|
|
@@ -1263,6 +1288,45 @@ const de_RegisterConnectorCommandError = async (output, context) => {
|
|
|
1263
1288
|
});
|
|
1264
1289
|
}
|
|
1265
1290
|
};
|
|
1291
|
+
const de_ResetConnectorMetadataCacheCommand = async (output, context) => {
|
|
1292
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1293
|
+
return de_ResetConnectorMetadataCacheCommandError(output, context);
|
|
1294
|
+
}
|
|
1295
|
+
const contents = (0, smithy_client_1.map)({
|
|
1296
|
+
$metadata: deserializeMetadata(output),
|
|
1297
|
+
});
|
|
1298
|
+
await collectBody(output.body, context);
|
|
1299
|
+
return contents;
|
|
1300
|
+
};
|
|
1301
|
+
exports.de_ResetConnectorMetadataCacheCommand = de_ResetConnectorMetadataCacheCommand;
|
|
1302
|
+
const de_ResetConnectorMetadataCacheCommandError = async (output, context) => {
|
|
1303
|
+
const parsedOutput = {
|
|
1304
|
+
...output,
|
|
1305
|
+
body: await parseErrorBody(output.body, context),
|
|
1306
|
+
};
|
|
1307
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1308
|
+
switch (errorCode) {
|
|
1309
|
+
case "ConflictException":
|
|
1310
|
+
case "com.amazonaws.appflow#ConflictException":
|
|
1311
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1312
|
+
case "InternalServerException":
|
|
1313
|
+
case "com.amazonaws.appflow#InternalServerException":
|
|
1314
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1315
|
+
case "ResourceNotFoundException":
|
|
1316
|
+
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
1317
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1318
|
+
case "ValidationException":
|
|
1319
|
+
case "com.amazonaws.appflow#ValidationException":
|
|
1320
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1321
|
+
default:
|
|
1322
|
+
const parsedBody = parsedOutput.body;
|
|
1323
|
+
return throwDefaultError({
|
|
1324
|
+
output,
|
|
1325
|
+
parsedBody,
|
|
1326
|
+
errorCode,
|
|
1327
|
+
});
|
|
1328
|
+
}
|
|
1329
|
+
};
|
|
1266
1330
|
const de_StartFlowCommand = async (output, context) => {
|
|
1267
1331
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1268
1332
|
return de_StartFlowCommandError(output, context);
|
package/dist-es/Appflow.js
CHANGED
|
@@ -16,6 +16,7 @@ import { ListConnectorsCommand, } from "./commands/ListConnectorsCommand";
|
|
|
16
16
|
import { ListFlowsCommand } from "./commands/ListFlowsCommand";
|
|
17
17
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
18
18
|
import { RegisterConnectorCommand, } from "./commands/RegisterConnectorCommand";
|
|
19
|
+
import { ResetConnectorMetadataCacheCommand, } from "./commands/ResetConnectorMetadataCacheCommand";
|
|
19
20
|
import { StartFlowCommand } from "./commands/StartFlowCommand";
|
|
20
21
|
import { StopFlowCommand } from "./commands/StopFlowCommand";
|
|
21
22
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
@@ -41,6 +42,7 @@ const commands = {
|
|
|
41
42
|
ListFlowsCommand,
|
|
42
43
|
ListTagsForResourceCommand,
|
|
43
44
|
RegisterConnectorCommand,
|
|
45
|
+
ResetConnectorMetadataCacheCommand,
|
|
44
46
|
StartFlowCommand,
|
|
45
47
|
StopFlowCommand,
|
|
46
48
|
TagResourceCommand,
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_ResetConnectorMetadataCacheCommand, se_ResetConnectorMetadataCacheCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ResetConnectorMetadataCacheCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ResetConnectorMetadataCacheCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "AppflowClient";
|
|
25
|
+
const commandName = "ResetConnectorMetadataCacheCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_ResetConnectorMetadataCacheCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_ResetConnectorMetadataCacheCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -14,6 +14,7 @@ export * from "./ListConnectorsCommand";
|
|
|
14
14
|
export * from "./ListFlowsCommand";
|
|
15
15
|
export * from "./ListTagsForResourceCommand";
|
|
16
16
|
export * from "./RegisterConnectorCommand";
|
|
17
|
+
export * from "./ResetConnectorMetadataCacheCommand";
|
|
17
18
|
export * from "./StartFlowCommand";
|
|
18
19
|
export * from "./StopFlowCommand";
|
|
19
20
|
export * from "./TagResourceCommand";
|
|
@@ -360,6 +360,30 @@ export const se_RegisterConnectorCommand = async (input, context) => {
|
|
|
360
360
|
body,
|
|
361
361
|
});
|
|
362
362
|
};
|
|
363
|
+
export const se_ResetConnectorMetadataCacheCommand = async (input, context) => {
|
|
364
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
365
|
+
const headers = {
|
|
366
|
+
"content-type": "application/json",
|
|
367
|
+
};
|
|
368
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/reset-connector-metadata-cache";
|
|
369
|
+
let body;
|
|
370
|
+
body = JSON.stringify(take(input, {
|
|
371
|
+
apiVersion: [],
|
|
372
|
+
connectorEntityName: [],
|
|
373
|
+
connectorProfileName: [],
|
|
374
|
+
connectorType: [],
|
|
375
|
+
entitiesPath: [],
|
|
376
|
+
}));
|
|
377
|
+
return new __HttpRequest({
|
|
378
|
+
protocol,
|
|
379
|
+
hostname,
|
|
380
|
+
port,
|
|
381
|
+
method: "POST",
|
|
382
|
+
headers,
|
|
383
|
+
path: resolvedPath,
|
|
384
|
+
body,
|
|
385
|
+
});
|
|
386
|
+
};
|
|
363
387
|
export const se_StartFlowCommand = async (input, context) => {
|
|
364
388
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
365
389
|
const headers = {
|
|
@@ -1220,6 +1244,44 @@ const de_RegisterConnectorCommandError = async (output, context) => {
|
|
|
1220
1244
|
});
|
|
1221
1245
|
}
|
|
1222
1246
|
};
|
|
1247
|
+
export const de_ResetConnectorMetadataCacheCommand = async (output, context) => {
|
|
1248
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1249
|
+
return de_ResetConnectorMetadataCacheCommandError(output, context);
|
|
1250
|
+
}
|
|
1251
|
+
const contents = map({
|
|
1252
|
+
$metadata: deserializeMetadata(output),
|
|
1253
|
+
});
|
|
1254
|
+
await collectBody(output.body, context);
|
|
1255
|
+
return contents;
|
|
1256
|
+
};
|
|
1257
|
+
const de_ResetConnectorMetadataCacheCommandError = async (output, context) => {
|
|
1258
|
+
const parsedOutput = {
|
|
1259
|
+
...output,
|
|
1260
|
+
body: await parseErrorBody(output.body, context),
|
|
1261
|
+
};
|
|
1262
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1263
|
+
switch (errorCode) {
|
|
1264
|
+
case "ConflictException":
|
|
1265
|
+
case "com.amazonaws.appflow#ConflictException":
|
|
1266
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1267
|
+
case "InternalServerException":
|
|
1268
|
+
case "com.amazonaws.appflow#InternalServerException":
|
|
1269
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1270
|
+
case "ResourceNotFoundException":
|
|
1271
|
+
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
1272
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1273
|
+
case "ValidationException":
|
|
1274
|
+
case "com.amazonaws.appflow#ValidationException":
|
|
1275
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1276
|
+
default:
|
|
1277
|
+
const parsedBody = parsedOutput.body;
|
|
1278
|
+
return throwDefaultError({
|
|
1279
|
+
output,
|
|
1280
|
+
parsedBody,
|
|
1281
|
+
errorCode,
|
|
1282
|
+
});
|
|
1283
|
+
}
|
|
1284
|
+
};
|
|
1223
1285
|
export const de_StartFlowCommand = async (output, context) => {
|
|
1224
1286
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1225
1287
|
return de_StartFlowCommandError(output, context);
|
package/dist-types/Appflow.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ import { ListConnectorsCommandInput, ListConnectorsCommandOutput } from "./comma
|
|
|
16
16
|
import { ListFlowsCommandInput, ListFlowsCommandOutput } from "./commands/ListFlowsCommand";
|
|
17
17
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
18
18
|
import { RegisterConnectorCommandInput, RegisterConnectorCommandOutput } from "./commands/RegisterConnectorCommand";
|
|
19
|
+
import { ResetConnectorMetadataCacheCommandInput, ResetConnectorMetadataCacheCommandOutput } from "./commands/ResetConnectorMetadataCacheCommand";
|
|
19
20
|
import { StartFlowCommandInput, StartFlowCommandOutput } from "./commands/StartFlowCommand";
|
|
20
21
|
import { StopFlowCommandInput, StopFlowCommandOutput } from "./commands/StopFlowCommand";
|
|
21
22
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
@@ -121,6 +122,12 @@ export interface Appflow {
|
|
|
121
122
|
registerConnector(args: RegisterConnectorCommandInput, options?: __HttpHandlerOptions): Promise<RegisterConnectorCommandOutput>;
|
|
122
123
|
registerConnector(args: RegisterConnectorCommandInput, cb: (err: any, data?: RegisterConnectorCommandOutput) => void): void;
|
|
123
124
|
registerConnector(args: RegisterConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterConnectorCommandOutput) => void): void;
|
|
125
|
+
/**
|
|
126
|
+
* @see {@link ResetConnectorMetadataCacheCommand}
|
|
127
|
+
*/
|
|
128
|
+
resetConnectorMetadataCache(args: ResetConnectorMetadataCacheCommandInput, options?: __HttpHandlerOptions): Promise<ResetConnectorMetadataCacheCommandOutput>;
|
|
129
|
+
resetConnectorMetadataCache(args: ResetConnectorMetadataCacheCommandInput, cb: (err: any, data?: ResetConnectorMetadataCacheCommandOutput) => void): void;
|
|
130
|
+
resetConnectorMetadataCache(args: ResetConnectorMetadataCacheCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ResetConnectorMetadataCacheCommandOutput) => void): void;
|
|
124
131
|
/**
|
|
125
132
|
* @see {@link StartFlowCommand}
|
|
126
133
|
*/
|
|
@@ -24,6 +24,7 @@ import { ListConnectorsCommandInput, ListConnectorsCommandOutput } from "./comma
|
|
|
24
24
|
import { ListFlowsCommandInput, ListFlowsCommandOutput } from "./commands/ListFlowsCommand";
|
|
25
25
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
26
26
|
import { RegisterConnectorCommandInput, RegisterConnectorCommandOutput } from "./commands/RegisterConnectorCommand";
|
|
27
|
+
import { ResetConnectorMetadataCacheCommandInput, ResetConnectorMetadataCacheCommandOutput } from "./commands/ResetConnectorMetadataCacheCommand";
|
|
27
28
|
import { StartFlowCommandInput, StartFlowCommandOutput } from "./commands/StartFlowCommand";
|
|
28
29
|
import { StopFlowCommandInput, StopFlowCommandOutput } from "./commands/StopFlowCommand";
|
|
29
30
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
@@ -37,11 +38,11 @@ export { __Client };
|
|
|
37
38
|
/**
|
|
38
39
|
* @public
|
|
39
40
|
*/
|
|
40
|
-
export type ServiceInputTypes = CancelFlowExecutionsCommandInput | CreateConnectorProfileCommandInput | CreateFlowCommandInput | DeleteConnectorProfileCommandInput | DeleteFlowCommandInput | DescribeConnectorCommandInput | DescribeConnectorEntityCommandInput | DescribeConnectorProfilesCommandInput | DescribeConnectorsCommandInput | DescribeFlowCommandInput | DescribeFlowExecutionRecordsCommandInput | ListConnectorEntitiesCommandInput | ListConnectorsCommandInput | ListFlowsCommandInput | ListTagsForResourceCommandInput | RegisterConnectorCommandInput | StartFlowCommandInput | StopFlowCommandInput | TagResourceCommandInput | UnregisterConnectorCommandInput | UntagResourceCommandInput | UpdateConnectorProfileCommandInput | UpdateConnectorRegistrationCommandInput | UpdateFlowCommandInput;
|
|
41
|
+
export type ServiceInputTypes = CancelFlowExecutionsCommandInput | CreateConnectorProfileCommandInput | CreateFlowCommandInput | DeleteConnectorProfileCommandInput | DeleteFlowCommandInput | DescribeConnectorCommandInput | DescribeConnectorEntityCommandInput | DescribeConnectorProfilesCommandInput | DescribeConnectorsCommandInput | DescribeFlowCommandInput | DescribeFlowExecutionRecordsCommandInput | ListConnectorEntitiesCommandInput | ListConnectorsCommandInput | ListFlowsCommandInput | ListTagsForResourceCommandInput | RegisterConnectorCommandInput | ResetConnectorMetadataCacheCommandInput | StartFlowCommandInput | StopFlowCommandInput | TagResourceCommandInput | UnregisterConnectorCommandInput | UntagResourceCommandInput | UpdateConnectorProfileCommandInput | UpdateConnectorRegistrationCommandInput | UpdateFlowCommandInput;
|
|
41
42
|
/**
|
|
42
43
|
* @public
|
|
43
44
|
*/
|
|
44
|
-
export type ServiceOutputTypes = CancelFlowExecutionsCommandOutput | CreateConnectorProfileCommandOutput | CreateFlowCommandOutput | DeleteConnectorProfileCommandOutput | DeleteFlowCommandOutput | DescribeConnectorCommandOutput | DescribeConnectorEntityCommandOutput | DescribeConnectorProfilesCommandOutput | DescribeConnectorsCommandOutput | DescribeFlowCommandOutput | DescribeFlowExecutionRecordsCommandOutput | ListConnectorEntitiesCommandOutput | ListConnectorsCommandOutput | ListFlowsCommandOutput | ListTagsForResourceCommandOutput | RegisterConnectorCommandOutput | StartFlowCommandOutput | StopFlowCommandOutput | TagResourceCommandOutput | UnregisterConnectorCommandOutput | UntagResourceCommandOutput | UpdateConnectorProfileCommandOutput | UpdateConnectorRegistrationCommandOutput | UpdateFlowCommandOutput;
|
|
45
|
+
export type ServiceOutputTypes = CancelFlowExecutionsCommandOutput | CreateConnectorProfileCommandOutput | CreateFlowCommandOutput | DeleteConnectorProfileCommandOutput | DeleteFlowCommandOutput | DescribeConnectorCommandOutput | DescribeConnectorEntityCommandOutput | DescribeConnectorProfilesCommandOutput | DescribeConnectorsCommandOutput | DescribeFlowCommandOutput | DescribeFlowExecutionRecordsCommandOutput | ListConnectorEntitiesCommandOutput | ListConnectorsCommandOutput | ListFlowsCommandOutput | ListTagsForResourceCommandOutput | RegisterConnectorCommandOutput | ResetConnectorMetadataCacheCommandOutput | StartFlowCommandOutput | StopFlowCommandOutput | TagResourceCommandOutput | UnregisterConnectorCommandOutput | UntagResourceCommandOutput | UpdateConnectorProfileCommandOutput | UpdateConnectorRegistrationCommandOutput | UpdateFlowCommandOutput;
|
|
45
46
|
/**
|
|
46
47
|
* @public
|
|
47
48
|
*/
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { AppflowClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppflowClient";
|
|
5
|
+
import { ResetConnectorMetadataCacheRequest, ResetConnectorMetadataCacheResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ResetConnectorMetadataCacheCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ResetConnectorMetadataCacheCommandInput extends ResetConnectorMetadataCacheRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ResetConnectorMetadataCacheCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ResetConnectorMetadataCacheCommandOutput extends ResetConnectorMetadataCacheResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Resets metadata about your connector entities that Amazon AppFlow stored in its
|
|
27
|
+
* cache. Use this action when you want Amazon AppFlow to return the latest information
|
|
28
|
+
* about the data that you have in a source application.</p>
|
|
29
|
+
* <p>Amazon AppFlow returns metadata about your entities when you use the
|
|
30
|
+
* ListConnectorEntities or DescribeConnectorEntities actions. Following these actions, Amazon AppFlow caches the metadata to reduce the number of API requests that it must send to
|
|
31
|
+
* the source application. Amazon AppFlow automatically resets the cache once every hour,
|
|
32
|
+
* but you can use this action when you want to get the latest metadata right away.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { AppflowClient, ResetConnectorMetadataCacheCommand } from "@aws-sdk/client-appflow"; // ES Modules import
|
|
37
|
+
* // const { AppflowClient, ResetConnectorMetadataCacheCommand } = require("@aws-sdk/client-appflow"); // CommonJS import
|
|
38
|
+
* const client = new AppflowClient(config);
|
|
39
|
+
* const input = { // ResetConnectorMetadataCacheRequest
|
|
40
|
+
* connectorProfileName: "STRING_VALUE",
|
|
41
|
+
* connectorType: "Salesforce" || "Singular" || "Slack" || "Redshift" || "S3" || "Marketo" || "Googleanalytics" || "Zendesk" || "Servicenow" || "Datadog" || "Trendmicro" || "Snowflake" || "Dynatrace" || "Infornexus" || "Amplitude" || "Veeva" || "EventBridge" || "LookoutMetrics" || "Upsolver" || "Honeycode" || "CustomerProfiles" || "SAPOData" || "CustomConnector" || "Pardot",
|
|
42
|
+
* connectorEntityName: "STRING_VALUE",
|
|
43
|
+
* entitiesPath: "STRING_VALUE",
|
|
44
|
+
* apiVersion: "STRING_VALUE",
|
|
45
|
+
* };
|
|
46
|
+
* const command = new ResetConnectorMetadataCacheCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // {};
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param ResetConnectorMetadataCacheCommandInput - {@link ResetConnectorMetadataCacheCommandInput}
|
|
53
|
+
* @returns {@link ResetConnectorMetadataCacheCommandOutput}
|
|
54
|
+
* @see {@link ResetConnectorMetadataCacheCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link ResetConnectorMetadataCacheCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link AppflowClientResolvedConfig | config} for AppflowClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ConflictException} (client fault)
|
|
59
|
+
* <p> There was a conflict when processing the request (for example, a flow with the given name
|
|
60
|
+
* already exists within the account. Check for conflicting resource names and try again. </p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InternalServerException} (server fault)
|
|
63
|
+
* <p> An internal service error occurred during the processing of your request. Try again
|
|
64
|
+
* later. </p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
|
+
* <p> The resource specified in the request (such as the source or destination connector
|
|
68
|
+
* profile) is not found. </p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ValidationException} (client fault)
|
|
71
|
+
* <p> The request has invalid or missing parameters. </p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link AppflowServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from Appflow service.</p>
|
|
75
|
+
*
|
|
76
|
+
*/
|
|
77
|
+
export declare class ResetConnectorMetadataCacheCommand extends $Command<ResetConnectorMetadataCacheCommandInput, ResetConnectorMetadataCacheCommandOutput, AppflowClientResolvedConfig> {
|
|
78
|
+
readonly input: ResetConnectorMetadataCacheCommandInput;
|
|
79
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
80
|
+
/**
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
constructor(input: ResetConnectorMetadataCacheCommandInput);
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppflowClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ResetConnectorMetadataCacheCommandInput, ResetConnectorMetadataCacheCommandOutput>;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
private serialize;
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
private deserialize;
|
|
96
|
+
}
|
|
@@ -14,6 +14,7 @@ export * from "./ListConnectorsCommand";
|
|
|
14
14
|
export * from "./ListFlowsCommand";
|
|
15
15
|
export * from "./ListTagsForResourceCommand";
|
|
16
16
|
export * from "./RegisterConnectorCommand";
|
|
17
|
+
export * from "./ResetConnectorMetadataCacheCommand";
|
|
17
18
|
export * from "./StartFlowCommand";
|
|
18
19
|
export * from "./StopFlowCommand";
|
|
19
20
|
export * from "./TagResourceCommand";
|
|
@@ -842,12 +842,13 @@ export interface DataTransferApi {
|
|
|
842
842
|
* <dt>AUTOMATIC</dt>
|
|
843
843
|
* <dd>
|
|
844
844
|
* <p>The default. Optimizes a flow for datasets that fluctuate in size from small to
|
|
845
|
-
* large. For each flow run, Amazon AppFlow chooses to use the SYNC or ASYNC API type
|
|
846
|
-
* the amount of data that the run transfers.</p>
|
|
845
|
+
* large. For each flow run, Amazon AppFlow chooses to use the SYNC or ASYNC API type
|
|
846
|
+
* based on the amount of data that the run transfers.</p>
|
|
847
847
|
* </dd>
|
|
848
848
|
* <dt>SYNC</dt>
|
|
849
849
|
* <dd>
|
|
850
|
-
* <p>A synchronous API. This type of API optimizes a flow for small to medium-sized
|
|
850
|
+
* <p>A synchronous API. This type of API optimizes a flow for small to medium-sized
|
|
851
|
+
* datasets.</p>
|
|
851
852
|
* </dd>
|
|
852
853
|
* <dt>ASYNC</dt>
|
|
853
854
|
* <dd>
|
|
@@ -5057,6 +5058,63 @@ export interface RegisterConnectorResponse {
|
|
|
5057
5058
|
*/
|
|
5058
5059
|
connectorArn?: string;
|
|
5059
5060
|
}
|
|
5061
|
+
/**
|
|
5062
|
+
* @public
|
|
5063
|
+
*/
|
|
5064
|
+
export interface ResetConnectorMetadataCacheRequest {
|
|
5065
|
+
/**
|
|
5066
|
+
* <p>The name of the connector profile that you want to reset cached metadata for.</p>
|
|
5067
|
+
* <p>You can omit this parameter if you're resetting the cache for any of the following
|
|
5068
|
+
* connectors: Amazon Connect, Amazon EventBridge, Amazon Lookout for Metrics, Amazon S3, or Upsolver. If you're resetting the cache for any other connector, you must include this
|
|
5069
|
+
* parameter in your request.</p>
|
|
5070
|
+
*/
|
|
5071
|
+
connectorProfileName?: string;
|
|
5072
|
+
/**
|
|
5073
|
+
* <p>The type of connector to reset cached metadata for.</p>
|
|
5074
|
+
* <p>You must include this parameter in your request if you're resetting the cache for any of
|
|
5075
|
+
* the following connectors: Amazon Connect, Amazon EventBridge, Amazon Lookout for Metrics,
|
|
5076
|
+
* Amazon S3, or Upsolver. If you're resetting the cache for any other connector, you
|
|
5077
|
+
* can omit this parameter from your request. </p>
|
|
5078
|
+
*/
|
|
5079
|
+
connectorType?: ConnectorType | string;
|
|
5080
|
+
/**
|
|
5081
|
+
* <p>Use this parameter if you want to reset cached metadata about the details for an
|
|
5082
|
+
* individual entity.</p>
|
|
5083
|
+
* <p>If you don't include this parameter in your request, Amazon AppFlow only resets
|
|
5084
|
+
* cached metadata about entity names, not entity details.</p>
|
|
5085
|
+
*/
|
|
5086
|
+
connectorEntityName?: string;
|
|
5087
|
+
/**
|
|
5088
|
+
* <p>Use this parameter only if you’re resetting the cached metadata about a nested entity.
|
|
5089
|
+
* Only some connectors support nested entities. A nested entity is one that has another entity
|
|
5090
|
+
* as a parent. To use this parameter, specify the name of the parent entity.</p>
|
|
5091
|
+
* <p>To look up the parent-child relationship of entities, you can send a ListConnectorEntities
|
|
5092
|
+
* request that omits the entitiesPath parameter. Amazon AppFlow will return a list of
|
|
5093
|
+
* top-level entities. For each one, it indicates whether the entity has nested entities. Then,
|
|
5094
|
+
* in a subsequent ListConnectorEntities request, you can specify a parent entity name for the
|
|
5095
|
+
* entitiesPath parameter. Amazon AppFlow will return a list of the child entities for that
|
|
5096
|
+
* parent.</p>
|
|
5097
|
+
*/
|
|
5098
|
+
entitiesPath?: string;
|
|
5099
|
+
/**
|
|
5100
|
+
* <p>The API version that you specified in the connector profile that you’re resetting cached
|
|
5101
|
+
* metadata for. You must use this parameter only if the connector supports multiple API versions
|
|
5102
|
+
* or if the connector type is CustomConnector.</p>
|
|
5103
|
+
* <p>To look up how many versions a connector supports, use the DescribeConnectors action. In
|
|
5104
|
+
* the response, find the value that Amazon AppFlow returns for the connectorVersion
|
|
5105
|
+
* parameter.</p>
|
|
5106
|
+
* <p>To look up the connector type, use the DescribeConnectorProfiles action. In the response,
|
|
5107
|
+
* find the value that Amazon AppFlow returns for the connectorType parameter.</p>
|
|
5108
|
+
* <p>To look up the API version that you specified in a connector profile, use the
|
|
5109
|
+
* DescribeConnectorProfiles action.</p>
|
|
5110
|
+
*/
|
|
5111
|
+
apiVersion?: string;
|
|
5112
|
+
}
|
|
5113
|
+
/**
|
|
5114
|
+
* @public
|
|
5115
|
+
*/
|
|
5116
|
+
export interface ResetConnectorMetadataCacheResponse {
|
|
5117
|
+
}
|
|
5060
5118
|
/**
|
|
5061
5119
|
* @public
|
|
5062
5120
|
*/
|
|
@@ -16,6 +16,7 @@ import { ListConnectorsCommandInput, ListConnectorsCommandOutput } from "../comm
|
|
|
16
16
|
import { ListFlowsCommandInput, ListFlowsCommandOutput } from "../commands/ListFlowsCommand";
|
|
17
17
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
18
18
|
import { RegisterConnectorCommandInput, RegisterConnectorCommandOutput } from "../commands/RegisterConnectorCommand";
|
|
19
|
+
import { ResetConnectorMetadataCacheCommandInput, ResetConnectorMetadataCacheCommandOutput } from "../commands/ResetConnectorMetadataCacheCommand";
|
|
19
20
|
import { StartFlowCommandInput, StartFlowCommandOutput } from "../commands/StartFlowCommand";
|
|
20
21
|
import { StopFlowCommandInput, StopFlowCommandOutput } from "../commands/StopFlowCommand";
|
|
21
22
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
@@ -88,6 +89,10 @@ export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceC
|
|
|
88
89
|
* serializeAws_restJson1RegisterConnectorCommand
|
|
89
90
|
*/
|
|
90
91
|
export declare const se_RegisterConnectorCommand: (input: RegisterConnectorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
92
|
+
/**
|
|
93
|
+
* serializeAws_restJson1ResetConnectorMetadataCacheCommand
|
|
94
|
+
*/
|
|
95
|
+
export declare const se_ResetConnectorMetadataCacheCommand: (input: ResetConnectorMetadataCacheCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
91
96
|
/**
|
|
92
97
|
* serializeAws_restJson1StartFlowCommand
|
|
93
98
|
*/
|
|
@@ -184,6 +189,10 @@ export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, con
|
|
|
184
189
|
* deserializeAws_restJson1RegisterConnectorCommand
|
|
185
190
|
*/
|
|
186
191
|
export declare const de_RegisterConnectorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RegisterConnectorCommandOutput>;
|
|
192
|
+
/**
|
|
193
|
+
* deserializeAws_restJson1ResetConnectorMetadataCacheCommand
|
|
194
|
+
*/
|
|
195
|
+
export declare const de_ResetConnectorMetadataCacheCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ResetConnectorMetadataCacheCommandOutput>;
|
|
187
196
|
/**
|
|
188
197
|
* deserializeAws_restJson1StartFlowCommand
|
|
189
198
|
*/
|
|
@@ -64,6 +64,10 @@ import {
|
|
|
64
64
|
RegisterConnectorCommandInput,
|
|
65
65
|
RegisterConnectorCommandOutput,
|
|
66
66
|
} from "./commands/RegisterConnectorCommand";
|
|
67
|
+
import {
|
|
68
|
+
ResetConnectorMetadataCacheCommandInput,
|
|
69
|
+
ResetConnectorMetadataCacheCommandOutput,
|
|
70
|
+
} from "./commands/ResetConnectorMetadataCacheCommand";
|
|
67
71
|
import {
|
|
68
72
|
StartFlowCommandInput,
|
|
69
73
|
StartFlowCommandOutput,
|
|
@@ -305,6 +309,19 @@ export interface Appflow {
|
|
|
305
309
|
options: __HttpHandlerOptions,
|
|
306
310
|
cb: (err: any, data?: RegisterConnectorCommandOutput) => void
|
|
307
311
|
): void;
|
|
312
|
+
resetConnectorMetadataCache(
|
|
313
|
+
args: ResetConnectorMetadataCacheCommandInput,
|
|
314
|
+
options?: __HttpHandlerOptions
|
|
315
|
+
): Promise<ResetConnectorMetadataCacheCommandOutput>;
|
|
316
|
+
resetConnectorMetadataCache(
|
|
317
|
+
args: ResetConnectorMetadataCacheCommandInput,
|
|
318
|
+
cb: (err: any, data?: ResetConnectorMetadataCacheCommandOutput) => void
|
|
319
|
+
): void;
|
|
320
|
+
resetConnectorMetadataCache(
|
|
321
|
+
args: ResetConnectorMetadataCacheCommandInput,
|
|
322
|
+
options: __HttpHandlerOptions,
|
|
323
|
+
cb: (err: any, data?: ResetConnectorMetadataCacheCommandOutput) => void
|
|
324
|
+
): void;
|
|
308
325
|
startFlow(
|
|
309
326
|
args: StartFlowCommandInput,
|
|
310
327
|
options?: __HttpHandlerOptions
|
|
@@ -110,6 +110,10 @@ import {
|
|
|
110
110
|
RegisterConnectorCommandInput,
|
|
111
111
|
RegisterConnectorCommandOutput,
|
|
112
112
|
} from "./commands/RegisterConnectorCommand";
|
|
113
|
+
import {
|
|
114
|
+
ResetConnectorMetadataCacheCommandInput,
|
|
115
|
+
ResetConnectorMetadataCacheCommandOutput,
|
|
116
|
+
} from "./commands/ResetConnectorMetadataCacheCommand";
|
|
113
117
|
import {
|
|
114
118
|
StartFlowCommandInput,
|
|
115
119
|
StartFlowCommandOutput,
|
|
@@ -165,6 +169,7 @@ export type ServiceInputTypes =
|
|
|
165
169
|
| ListFlowsCommandInput
|
|
166
170
|
| ListTagsForResourceCommandInput
|
|
167
171
|
| RegisterConnectorCommandInput
|
|
172
|
+
| ResetConnectorMetadataCacheCommandInput
|
|
168
173
|
| StartFlowCommandInput
|
|
169
174
|
| StopFlowCommandInput
|
|
170
175
|
| TagResourceCommandInput
|
|
@@ -190,6 +195,7 @@ export type ServiceOutputTypes =
|
|
|
190
195
|
| ListFlowsCommandOutput
|
|
191
196
|
| ListTagsForResourceCommandOutput
|
|
192
197
|
| RegisterConnectorCommandOutput
|
|
198
|
+
| ResetConnectorMetadataCacheCommandOutput
|
|
193
199
|
| StartFlowCommandOutput
|
|
194
200
|
| StopFlowCommandOutput
|
|
195
201
|
| TagResourceCommandOutput
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
AppflowClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../AppflowClient";
|
|
14
|
+
import {
|
|
15
|
+
ResetConnectorMetadataCacheRequest,
|
|
16
|
+
ResetConnectorMetadataCacheResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface ResetConnectorMetadataCacheCommandInput
|
|
20
|
+
extends ResetConnectorMetadataCacheRequest {}
|
|
21
|
+
export interface ResetConnectorMetadataCacheCommandOutput
|
|
22
|
+
extends ResetConnectorMetadataCacheResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class ResetConnectorMetadataCacheCommand extends $Command<
|
|
25
|
+
ResetConnectorMetadataCacheCommandInput,
|
|
26
|
+
ResetConnectorMetadataCacheCommandOutput,
|
|
27
|
+
AppflowClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: ResetConnectorMetadataCacheCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: ResetConnectorMetadataCacheCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: AppflowClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
ResetConnectorMetadataCacheCommandInput,
|
|
38
|
+
ResetConnectorMetadataCacheCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -14,6 +14,7 @@ export * from "./ListConnectorsCommand";
|
|
|
14
14
|
export * from "./ListFlowsCommand";
|
|
15
15
|
export * from "./ListTagsForResourceCommand";
|
|
16
16
|
export * from "./RegisterConnectorCommand";
|
|
17
|
+
export * from "./ResetConnectorMetadataCacheCommand";
|
|
17
18
|
export * from "./StartFlowCommand";
|
|
18
19
|
export * from "./StopFlowCommand";
|
|
19
20
|
export * from "./TagResourceCommand";
|
|
@@ -1584,6 +1584,14 @@ export interface RegisterConnectorRequest {
|
|
|
1584
1584
|
export interface RegisterConnectorResponse {
|
|
1585
1585
|
connectorArn?: string;
|
|
1586
1586
|
}
|
|
1587
|
+
export interface ResetConnectorMetadataCacheRequest {
|
|
1588
|
+
connectorProfileName?: string;
|
|
1589
|
+
connectorType?: ConnectorType | string;
|
|
1590
|
+
connectorEntityName?: string;
|
|
1591
|
+
entitiesPath?: string;
|
|
1592
|
+
apiVersion?: string;
|
|
1593
|
+
}
|
|
1594
|
+
export interface ResetConnectorMetadataCacheResponse {}
|
|
1587
1595
|
export interface StartFlowRequest {
|
|
1588
1596
|
flowName: string | undefined;
|
|
1589
1597
|
clientToken?: string;
|
|
@@ -67,6 +67,10 @@ import {
|
|
|
67
67
|
RegisterConnectorCommandInput,
|
|
68
68
|
RegisterConnectorCommandOutput,
|
|
69
69
|
} from "../commands/RegisterConnectorCommand";
|
|
70
|
+
import {
|
|
71
|
+
ResetConnectorMetadataCacheCommandInput,
|
|
72
|
+
ResetConnectorMetadataCacheCommandOutput,
|
|
73
|
+
} from "../commands/ResetConnectorMetadataCacheCommand";
|
|
70
74
|
import {
|
|
71
75
|
StartFlowCommandInput,
|
|
72
76
|
StartFlowCommandOutput,
|
|
@@ -163,6 +167,10 @@ export declare const se_RegisterConnectorCommand: (
|
|
|
163
167
|
input: RegisterConnectorCommandInput,
|
|
164
168
|
context: __SerdeContext
|
|
165
169
|
) => Promise<__HttpRequest>;
|
|
170
|
+
export declare const se_ResetConnectorMetadataCacheCommand: (
|
|
171
|
+
input: ResetConnectorMetadataCacheCommandInput,
|
|
172
|
+
context: __SerdeContext
|
|
173
|
+
) => Promise<__HttpRequest>;
|
|
166
174
|
export declare const se_StartFlowCommand: (
|
|
167
175
|
input: StartFlowCommandInput,
|
|
168
176
|
context: __SerdeContext
|
|
@@ -259,6 +267,10 @@ export declare const de_RegisterConnectorCommand: (
|
|
|
259
267
|
output: __HttpResponse,
|
|
260
268
|
context: __SerdeContext
|
|
261
269
|
) => Promise<RegisterConnectorCommandOutput>;
|
|
270
|
+
export declare const de_ResetConnectorMetadataCacheCommand: (
|
|
271
|
+
output: __HttpResponse,
|
|
272
|
+
context: __SerdeContext
|
|
273
|
+
) => Promise<ResetConnectorMetadataCacheCommandOutput>;
|
|
262
274
|
export declare const de_StartFlowCommand: (
|
|
263
275
|
output: __HttpResponse,
|
|
264
276
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-appflow",
|
|
3
3
|
"description": "AWS SDK for JavaScript Appflow Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.356.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|