@aws-sdk/client-appflow 3.213.0 → 3.215.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/dist-cjs/Appflow.js +15 -0
- package/dist-cjs/commands/UpdateConnectorRegistrationCommand.js +46 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +9 -1
- package/dist-cjs/protocols/Aws_restJson1.js +84 -1
- package/dist-es/Appflow.js +15 -0
- package/dist-es/commands/UpdateConnectorRegistrationCommand.js +42 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +81 -0
- package/dist-types/Appflow.d.ts +18 -3
- package/dist-types/AppflowClient.d.ts +3 -2
- package/dist-types/commands/RegisterConnectorCommand.d.ts +2 -2
- package/dist-types/commands/UnregisterConnectorCommand.d.ts +1 -1
- package/dist-types/commands/UpdateConnectorRegistrationCommand.d.ts +45 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +30 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- 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/UpdateConnectorRegistrationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +14 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -2
- package/package.json +28 -28
package/dist-cjs/Appflow.js
CHANGED
|
@@ -23,6 +23,7 @@ const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
|
23
23
|
const UnregisterConnectorCommand_1 = require("./commands/UnregisterConnectorCommand");
|
|
24
24
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
25
25
|
const UpdateConnectorProfileCommand_1 = require("./commands/UpdateConnectorProfileCommand");
|
|
26
|
+
const UpdateConnectorRegistrationCommand_1 = require("./commands/UpdateConnectorRegistrationCommand");
|
|
26
27
|
const UpdateFlowCommand_1 = require("./commands/UpdateFlowCommand");
|
|
27
28
|
class Appflow extends AppflowClient_1.AppflowClient {
|
|
28
29
|
createConnectorProfile(args, optionsOrCb, cb) {
|
|
@@ -319,6 +320,20 @@ class Appflow extends AppflowClient_1.AppflowClient {
|
|
|
319
320
|
return this.send(command, optionsOrCb);
|
|
320
321
|
}
|
|
321
322
|
}
|
|
323
|
+
updateConnectorRegistration(args, optionsOrCb, cb) {
|
|
324
|
+
const command = new UpdateConnectorRegistrationCommand_1.UpdateConnectorRegistrationCommand(args);
|
|
325
|
+
if (typeof optionsOrCb === "function") {
|
|
326
|
+
this.send(command, optionsOrCb);
|
|
327
|
+
}
|
|
328
|
+
else if (typeof cb === "function") {
|
|
329
|
+
if (typeof optionsOrCb !== "object")
|
|
330
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
331
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
332
|
+
}
|
|
333
|
+
else {
|
|
334
|
+
return this.send(command, optionsOrCb);
|
|
335
|
+
}
|
|
336
|
+
}
|
|
322
337
|
updateFlow(args, optionsOrCb, cb) {
|
|
323
338
|
const command = new UpdateFlowCommand_1.UpdateFlowCommand(args);
|
|
324
339
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateConnectorRegistrationCommand = 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
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class UpdateConnectorRegistrationCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
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, UpdateConnectorRegistrationCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "AppflowClient";
|
|
28
|
+
const commandName = "UpdateConnectorRegistrationCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.UpdateConnectorRegistrationRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.UpdateConnectorRegistrationResponseFilterSensitiveLog,
|
|
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.serializeAws_restJson1UpdateConnectorRegistrationCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateConnectorRegistrationCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.UpdateConnectorRegistrationCommand = UpdateConnectorRegistrationCommand;
|
|
@@ -22,4 +22,5 @@ tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
|
22
22
|
tslib_1.__exportStar(require("./UnregisterConnectorCommand"), exports);
|
|
23
23
|
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
24
24
|
tslib_1.__exportStar(require("./UpdateConnectorProfileCommand"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./UpdateConnectorRegistrationCommand"), exports);
|
|
25
26
|
tslib_1.__exportStar(require("./UpdateFlowCommand"), exports);
|
|
@@ -4,7 +4,7 @@ exports.ThrottlingException = exports.ExecutionStatus = exports.ResourceNotFound
|
|
|
4
4
|
exports.CustomConnectorProfilePropertiesFilterSensitiveLog = exports.OAuth2PropertiesFilterSensitiveLog = exports.ConnectorOperatorFilterSensitiveLog = exports.ConnectorOAuthRequestFilterSensitiveLog = exports.ConnectorEntityFieldFilterSensitiveLog = exports.SupportedFieldTypeDetailsFilterSensitiveLog = exports.FieldTypeDetailsFilterSensitiveLog = exports.RangeFilterSensitiveLog = exports.SourceFieldPropertiesFilterSensitiveLog = exports.DestinationFieldPropertiesFilterSensitiveLog = exports.ConnectorEntityFilterSensitiveLog = exports.ConnectorDetailFilterSensitiveLog = exports.ConnectorConfigurationFilterSensitiveLog = exports.ConnectorRuntimeSettingFilterSensitiveLog = exports.ConnectorProvisioningConfigFilterSensitiveLog = exports.LambdaConnectorProvisioningConfigFilterSensitiveLog = exports.ConnectorMetadataFilterSensitiveLog = exports.ZendeskMetadataFilterSensitiveLog = exports.VeevaMetadataFilterSensitiveLog = exports.UpsolverMetadataFilterSensitiveLog = exports.TrendmicroMetadataFilterSensitiveLog = exports.SnowflakeMetadataFilterSensitiveLog = exports.SlackMetadataFilterSensitiveLog = exports.SingularMetadataFilterSensitiveLog = exports.ServiceNowMetadataFilterSensitiveLog = exports.SAPODataMetadataFilterSensitiveLog = exports.SalesforceMetadataFilterSensitiveLog = exports.S3MetadataFilterSensitiveLog = exports.RedshiftMetadataFilterSensitiveLog = exports.MarketoMetadataFilterSensitiveLog = exports.InforNexusMetadataFilterSensitiveLog = exports.HoneycodeMetadataFilterSensitiveLog = exports.GoogleAnalyticsMetadataFilterSensitiveLog = exports.EventBridgeMetadataFilterSensitiveLog = exports.DynatraceMetadataFilterSensitiveLog = exports.DatadogMetadataFilterSensitiveLog = exports.CustomerProfilesMetadataFilterSensitiveLog = exports.BasicAuthCredentialsFilterSensitiveLog = exports.AuthenticationConfigFilterSensitiveLog = exports.OAuth2DefaultsFilterSensitiveLog = exports.OAuth2CustomParameterFilterSensitiveLog = exports.CustomAuthConfigFilterSensitiveLog = exports.AuthParameterFilterSensitiveLog = exports.ApiKeyCredentialsFilterSensitiveLog = exports.AmplitudeSourcePropertiesFilterSensitiveLog = exports.AmplitudeMetadataFilterSensitiveLog = exports.AmplitudeConnectorProfilePropertiesFilterSensitiveLog = exports.AmplitudeConnectorProfileCredentialsFilterSensitiveLog = exports.AggregationConfigFilterSensitiveLog = exports.UnsupportedOperationException = void 0;
|
|
5
5
|
exports.LookoutMetricsDestinationPropertiesFilterSensitiveLog = exports.HoneycodeDestinationPropertiesFilterSensitiveLog = exports.EventBridgeDestinationPropertiesFilterSensitiveLog = exports.CustomerProfilesDestinationPropertiesFilterSensitiveLog = exports.CustomConnectorDestinationPropertiesFilterSensitiveLog = exports.ErrorHandlingConfigFilterSensitiveLog = exports.CreateConnectorProfileResponseFilterSensitiveLog = exports.CreateConnectorProfileRequestFilterSensitiveLog = exports.ConnectorProfileConfigFilterSensitiveLog = exports.ConnectorProfileCredentialsFilterSensitiveLog = exports.ZendeskConnectorProfileCredentialsFilterSensitiveLog = exports.VeevaConnectorProfileCredentialsFilterSensitiveLog = exports.TrendmicroConnectorProfileCredentialsFilterSensitiveLog = exports.SnowflakeConnectorProfileCredentialsFilterSensitiveLog = exports.SlackConnectorProfileCredentialsFilterSensitiveLog = exports.SingularConnectorProfileCredentialsFilterSensitiveLog = exports.ServiceNowConnectorProfileCredentialsFilterSensitiveLog = exports.SAPODataConnectorProfileCredentialsFilterSensitiveLog = exports.OAuthCredentialsFilterSensitiveLog = exports.SalesforceConnectorProfileCredentialsFilterSensitiveLog = exports.RedshiftConnectorProfileCredentialsFilterSensitiveLog = exports.MarketoConnectorProfileCredentialsFilterSensitiveLog = exports.InforNexusConnectorProfileCredentialsFilterSensitiveLog = exports.HoneycodeConnectorProfileCredentialsFilterSensitiveLog = exports.GoogleAnalyticsConnectorProfileCredentialsFilterSensitiveLog = exports.DynatraceConnectorProfileCredentialsFilterSensitiveLog = exports.DatadogConnectorProfileCredentialsFilterSensitiveLog = exports.CustomConnectorProfileCredentialsFilterSensitiveLog = exports.OAuth2CredentialsFilterSensitiveLog = exports.CustomAuthCredentialsFilterSensitiveLog = exports.ConnectorProfileFilterSensitiveLog = exports.PrivateConnectionProvisioningStateFilterSensitiveLog = exports.ConnectorProfilePropertiesFilterSensitiveLog = exports.ZendeskConnectorProfilePropertiesFilterSensitiveLog = exports.VeevaConnectorProfilePropertiesFilterSensitiveLog = exports.TrendmicroConnectorProfilePropertiesFilterSensitiveLog = exports.SnowflakeConnectorProfilePropertiesFilterSensitiveLog = exports.SlackConnectorProfilePropertiesFilterSensitiveLog = exports.SingularConnectorProfilePropertiesFilterSensitiveLog = exports.ServiceNowConnectorProfilePropertiesFilterSensitiveLog = exports.SAPODataConnectorProfilePropertiesFilterSensitiveLog = exports.OAuthPropertiesFilterSensitiveLog = exports.SalesforceConnectorProfilePropertiesFilterSensitiveLog = exports.RedshiftConnectorProfilePropertiesFilterSensitiveLog = exports.MarketoConnectorProfilePropertiesFilterSensitiveLog = exports.InforNexusConnectorProfilePropertiesFilterSensitiveLog = exports.HoneycodeConnectorProfilePropertiesFilterSensitiveLog = exports.GoogleAnalyticsConnectorProfilePropertiesFilterSensitiveLog = exports.DynatraceConnectorProfilePropertiesFilterSensitiveLog = exports.DatadogConnectorProfilePropertiesFilterSensitiveLog = void 0;
|
|
6
6
|
exports.DescribeConnectorProfilesRequestFilterSensitiveLog = exports.DescribeConnectorEntityResponseFilterSensitiveLog = exports.DescribeConnectorEntityRequestFilterSensitiveLog = exports.DescribeConnectorResponseFilterSensitiveLog = exports.DescribeConnectorRequestFilterSensitiveLog = exports.DeleteFlowResponseFilterSensitiveLog = exports.DeleteFlowRequestFilterSensitiveLog = exports.DeleteConnectorProfileResponseFilterSensitiveLog = exports.DeleteConnectorProfileRequestFilterSensitiveLog = exports.CreateFlowResponseFilterSensitiveLog = exports.CreateFlowRequestFilterSensitiveLog = exports.TriggerConfigFilterSensitiveLog = exports.TriggerPropertiesFilterSensitiveLog = exports.ScheduledTriggerPropertiesFilterSensitiveLog = exports.TaskFilterSensitiveLog = exports.SourceFlowConfigFilterSensitiveLog = exports.SourceConnectorPropertiesFilterSensitiveLog = exports.ZendeskSourcePropertiesFilterSensitiveLog = exports.VeevaSourcePropertiesFilterSensitiveLog = exports.TrendmicroSourcePropertiesFilterSensitiveLog = exports.SlackSourcePropertiesFilterSensitiveLog = exports.SingularSourcePropertiesFilterSensitiveLog = exports.ServiceNowSourcePropertiesFilterSensitiveLog = exports.SAPODataSourcePropertiesFilterSensitiveLog = exports.SalesforceSourcePropertiesFilterSensitiveLog = exports.S3SourcePropertiesFilterSensitiveLog = exports.S3InputFormatConfigFilterSensitiveLog = exports.MarketoSourcePropertiesFilterSensitiveLog = exports.InforNexusSourcePropertiesFilterSensitiveLog = exports.GoogleAnalyticsSourcePropertiesFilterSensitiveLog = exports.DynatraceSourcePropertiesFilterSensitiveLog = exports.DatadogSourcePropertiesFilterSensitiveLog = exports.CustomConnectorSourcePropertiesFilterSensitiveLog = exports.IncrementalPullConfigFilterSensitiveLog = exports.MetadataCatalogConfigFilterSensitiveLog = exports.GlueDataCatalogConfigFilterSensitiveLog = exports.DestinationFlowConfigFilterSensitiveLog = exports.DestinationConnectorPropertiesFilterSensitiveLog = exports.ZendeskDestinationPropertiesFilterSensitiveLog = exports.UpsolverDestinationPropertiesFilterSensitiveLog = exports.UpsolverS3OutputFormatConfigFilterSensitiveLog = exports.SnowflakeDestinationPropertiesFilterSensitiveLog = exports.SAPODataDestinationPropertiesFilterSensitiveLog = exports.SuccessResponseHandlingConfigFilterSensitiveLog = exports.SalesforceDestinationPropertiesFilterSensitiveLog = exports.S3DestinationPropertiesFilterSensitiveLog = exports.S3OutputFormatConfigFilterSensitiveLog = exports.PrefixConfigFilterSensitiveLog = exports.RedshiftDestinationPropertiesFilterSensitiveLog = exports.MarketoDestinationPropertiesFilterSensitiveLog = void 0;
|
|
7
|
-
exports.UpdateFlowResponseFilterSensitiveLog = exports.UpdateFlowRequestFilterSensitiveLog = exports.UpdateConnectorProfileResponseFilterSensitiveLog = exports.UpdateConnectorProfileRequestFilterSensitiveLog = exports.UntagResourceResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.UnregisterConnectorResponseFilterSensitiveLog = exports.UnregisterConnectorRequestFilterSensitiveLog = exports.TagResourceResponseFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.StopFlowResponseFilterSensitiveLog = exports.StopFlowRequestFilterSensitiveLog = exports.StartFlowResponseFilterSensitiveLog = exports.StartFlowRequestFilterSensitiveLog = exports.RegisterConnectorResponseFilterSensitiveLog = exports.RegisterConnectorRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListFlowsResponseFilterSensitiveLog = exports.ListFlowsRequestFilterSensitiveLog = exports.ListConnectorsResponseFilterSensitiveLog = exports.ListConnectorsRequestFilterSensitiveLog = exports.ListConnectorEntitiesResponseFilterSensitiveLog = exports.ListConnectorEntitiesRequestFilterSensitiveLog = exports.FlowDefinitionFilterSensitiveLog = exports.DescribeFlowExecutionRecordsResponseFilterSensitiveLog = exports.ExecutionRecordFilterSensitiveLog = exports.ExecutionResultFilterSensitiveLog = exports.ErrorInfoFilterSensitiveLog = exports.DescribeFlowExecutionRecordsRequestFilterSensitiveLog = exports.DescribeFlowResponseFilterSensitiveLog = exports.MetadataCatalogDetailFilterSensitiveLog = exports.RegistrationOutputFilterSensitiveLog = exports.ExecutionDetailsFilterSensitiveLog = exports.DescribeFlowRequestFilterSensitiveLog = exports.DescribeConnectorsResponseFilterSensitiveLog = exports.DescribeConnectorsRequestFilterSensitiveLog = exports.DescribeConnectorProfilesResponseFilterSensitiveLog = void 0;
|
|
7
|
+
exports.UpdateFlowResponseFilterSensitiveLog = exports.UpdateFlowRequestFilterSensitiveLog = exports.UpdateConnectorRegistrationResponseFilterSensitiveLog = exports.UpdateConnectorRegistrationRequestFilterSensitiveLog = exports.UpdateConnectorProfileResponseFilterSensitiveLog = exports.UpdateConnectorProfileRequestFilterSensitiveLog = exports.UntagResourceResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.UnregisterConnectorResponseFilterSensitiveLog = exports.UnregisterConnectorRequestFilterSensitiveLog = exports.TagResourceResponseFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.StopFlowResponseFilterSensitiveLog = exports.StopFlowRequestFilterSensitiveLog = exports.StartFlowResponseFilterSensitiveLog = exports.StartFlowRequestFilterSensitiveLog = exports.RegisterConnectorResponseFilterSensitiveLog = exports.RegisterConnectorRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListFlowsResponseFilterSensitiveLog = exports.ListFlowsRequestFilterSensitiveLog = exports.ListConnectorsResponseFilterSensitiveLog = exports.ListConnectorsRequestFilterSensitiveLog = exports.ListConnectorEntitiesResponseFilterSensitiveLog = exports.ListConnectorEntitiesRequestFilterSensitiveLog = exports.FlowDefinitionFilterSensitiveLog = exports.DescribeFlowExecutionRecordsResponseFilterSensitiveLog = exports.ExecutionRecordFilterSensitiveLog = exports.ExecutionResultFilterSensitiveLog = exports.ErrorInfoFilterSensitiveLog = exports.DescribeFlowExecutionRecordsRequestFilterSensitiveLog = exports.DescribeFlowResponseFilterSensitiveLog = exports.MetadataCatalogDetailFilterSensitiveLog = exports.RegistrationOutputFilterSensitiveLog = exports.ExecutionDetailsFilterSensitiveLog = exports.DescribeFlowRequestFilterSensitiveLog = exports.DescribeConnectorsResponseFilterSensitiveLog = exports.DescribeConnectorsRequestFilterSensitiveLog = exports.DescribeConnectorProfilesResponseFilterSensitiveLog = void 0;
|
|
8
8
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
9
9
|
const AppflowServiceException_1 = require("./AppflowServiceException");
|
|
10
10
|
class AccessDeniedException extends AppflowServiceException_1.AppflowServiceException {
|
|
@@ -1446,6 +1446,14 @@ const UpdateConnectorProfileResponseFilterSensitiveLog = (obj) => ({
|
|
|
1446
1446
|
...obj,
|
|
1447
1447
|
});
|
|
1448
1448
|
exports.UpdateConnectorProfileResponseFilterSensitiveLog = UpdateConnectorProfileResponseFilterSensitiveLog;
|
|
1449
|
+
const UpdateConnectorRegistrationRequestFilterSensitiveLog = (obj) => ({
|
|
1450
|
+
...obj,
|
|
1451
|
+
});
|
|
1452
|
+
exports.UpdateConnectorRegistrationRequestFilterSensitiveLog = UpdateConnectorRegistrationRequestFilterSensitiveLog;
|
|
1453
|
+
const UpdateConnectorRegistrationResponseFilterSensitiveLog = (obj) => ({
|
|
1454
|
+
...obj,
|
|
1455
|
+
});
|
|
1456
|
+
exports.UpdateConnectorRegistrationResponseFilterSensitiveLog = UpdateConnectorRegistrationResponseFilterSensitiveLog;
|
|
1449
1457
|
const UpdateFlowRequestFilterSensitiveLog = (obj) => ({
|
|
1450
1458
|
...obj,
|
|
1451
1459
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.deserializeAws_restJson1UpdateFlowCommand = exports.deserializeAws_restJson1UpdateConnectorProfileCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1UnregisterConnectorCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1StopFlowCommand = exports.deserializeAws_restJson1StartFlowCommand = exports.deserializeAws_restJson1RegisterConnectorCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListFlowsCommand = exports.deserializeAws_restJson1ListConnectorsCommand = exports.deserializeAws_restJson1ListConnectorEntitiesCommand = exports.deserializeAws_restJson1DescribeFlowExecutionRecordsCommand = exports.deserializeAws_restJson1DescribeFlowCommand = exports.deserializeAws_restJson1DescribeConnectorsCommand = exports.deserializeAws_restJson1DescribeConnectorProfilesCommand = exports.deserializeAws_restJson1DescribeConnectorEntityCommand = exports.deserializeAws_restJson1DescribeConnectorCommand = exports.deserializeAws_restJson1DeleteFlowCommand = exports.deserializeAws_restJson1DeleteConnectorProfileCommand = exports.deserializeAws_restJson1CreateFlowCommand = exports.deserializeAws_restJson1CreateConnectorProfileCommand = exports.serializeAws_restJson1UpdateFlowCommand = exports.serializeAws_restJson1UpdateConnectorProfileCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1UnregisterConnectorCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1StopFlowCommand = exports.serializeAws_restJson1StartFlowCommand = exports.serializeAws_restJson1RegisterConnectorCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListFlowsCommand = exports.serializeAws_restJson1ListConnectorsCommand = exports.serializeAws_restJson1ListConnectorEntitiesCommand = exports.serializeAws_restJson1DescribeFlowExecutionRecordsCommand = exports.serializeAws_restJson1DescribeFlowCommand = exports.serializeAws_restJson1DescribeConnectorsCommand = exports.serializeAws_restJson1DescribeConnectorProfilesCommand = exports.serializeAws_restJson1DescribeConnectorEntityCommand = exports.serializeAws_restJson1DescribeConnectorCommand = exports.serializeAws_restJson1DeleteFlowCommand = exports.serializeAws_restJson1DeleteConnectorProfileCommand = exports.serializeAws_restJson1CreateFlowCommand = exports.serializeAws_restJson1CreateConnectorProfileCommand = void 0;
|
|
3
|
+
exports.deserializeAws_restJson1UpdateFlowCommand = exports.deserializeAws_restJson1UpdateConnectorRegistrationCommand = exports.deserializeAws_restJson1UpdateConnectorProfileCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1UnregisterConnectorCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1StopFlowCommand = exports.deserializeAws_restJson1StartFlowCommand = exports.deserializeAws_restJson1RegisterConnectorCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListFlowsCommand = exports.deserializeAws_restJson1ListConnectorsCommand = exports.deserializeAws_restJson1ListConnectorEntitiesCommand = exports.deserializeAws_restJson1DescribeFlowExecutionRecordsCommand = exports.deserializeAws_restJson1DescribeFlowCommand = exports.deserializeAws_restJson1DescribeConnectorsCommand = exports.deserializeAws_restJson1DescribeConnectorProfilesCommand = exports.deserializeAws_restJson1DescribeConnectorEntityCommand = exports.deserializeAws_restJson1DescribeConnectorCommand = exports.deserializeAws_restJson1DeleteFlowCommand = exports.deserializeAws_restJson1DeleteConnectorProfileCommand = exports.deserializeAws_restJson1CreateFlowCommand = exports.deserializeAws_restJson1CreateConnectorProfileCommand = exports.serializeAws_restJson1UpdateFlowCommand = exports.serializeAws_restJson1UpdateConnectorRegistrationCommand = exports.serializeAws_restJson1UpdateConnectorProfileCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1UnregisterConnectorCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1StopFlowCommand = exports.serializeAws_restJson1StartFlowCommand = exports.serializeAws_restJson1RegisterConnectorCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListFlowsCommand = exports.serializeAws_restJson1ListConnectorsCommand = exports.serializeAws_restJson1ListConnectorEntitiesCommand = exports.serializeAws_restJson1DescribeFlowExecutionRecordsCommand = exports.serializeAws_restJson1DescribeFlowCommand = exports.serializeAws_restJson1DescribeConnectorsCommand = exports.serializeAws_restJson1DescribeConnectorProfilesCommand = exports.serializeAws_restJson1DescribeConnectorEntityCommand = exports.serializeAws_restJson1DescribeConnectorCommand = exports.serializeAws_restJson1DeleteFlowCommand = exports.serializeAws_restJson1DeleteConnectorProfileCommand = exports.serializeAws_restJson1CreateFlowCommand = exports.serializeAws_restJson1CreateConnectorProfileCommand = void 0;
|
|
4
4
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const AppflowServiceException_1 = require("../models/AppflowServiceException");
|
|
@@ -499,6 +499,31 @@ const serializeAws_restJson1UpdateConnectorProfileCommand = async (input, contex
|
|
|
499
499
|
});
|
|
500
500
|
};
|
|
501
501
|
exports.serializeAws_restJson1UpdateConnectorProfileCommand = serializeAws_restJson1UpdateConnectorProfileCommand;
|
|
502
|
+
const serializeAws_restJson1UpdateConnectorRegistrationCommand = async (input, context) => {
|
|
503
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
504
|
+
const headers = {
|
|
505
|
+
"content-type": "application/json",
|
|
506
|
+
};
|
|
507
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/update-connector-registration";
|
|
508
|
+
let body;
|
|
509
|
+
body = JSON.stringify({
|
|
510
|
+
...(input.connectorLabel != null && { connectorLabel: input.connectorLabel }),
|
|
511
|
+
...(input.connectorProvisioningConfig != null && {
|
|
512
|
+
connectorProvisioningConfig: serializeAws_restJson1ConnectorProvisioningConfig(input.connectorProvisioningConfig, context),
|
|
513
|
+
}),
|
|
514
|
+
...(input.description != null && { description: input.description }),
|
|
515
|
+
});
|
|
516
|
+
return new protocol_http_1.HttpRequest({
|
|
517
|
+
protocol,
|
|
518
|
+
hostname,
|
|
519
|
+
port,
|
|
520
|
+
method: "POST",
|
|
521
|
+
headers,
|
|
522
|
+
path: resolvedPath,
|
|
523
|
+
body,
|
|
524
|
+
});
|
|
525
|
+
};
|
|
526
|
+
exports.serializeAws_restJson1UpdateConnectorRegistrationCommand = serializeAws_restJson1UpdateConnectorRegistrationCommand;
|
|
502
527
|
const serializeAws_restJson1UpdateFlowCommand = async (input, context) => {
|
|
503
528
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
504
529
|
const headers = {
|
|
@@ -1488,6 +1513,64 @@ const deserializeAws_restJson1UpdateConnectorProfileCommandError = async (output
|
|
|
1488
1513
|
});
|
|
1489
1514
|
}
|
|
1490
1515
|
};
|
|
1516
|
+
const deserializeAws_restJson1UpdateConnectorRegistrationCommand = async (output, context) => {
|
|
1517
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1518
|
+
return deserializeAws_restJson1UpdateConnectorRegistrationCommandError(output, context);
|
|
1519
|
+
}
|
|
1520
|
+
const contents = map({
|
|
1521
|
+
$metadata: deserializeMetadata(output),
|
|
1522
|
+
});
|
|
1523
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1524
|
+
if (data.connectorArn != null) {
|
|
1525
|
+
contents.connectorArn = (0, smithy_client_1.expectString)(data.connectorArn);
|
|
1526
|
+
}
|
|
1527
|
+
return contents;
|
|
1528
|
+
};
|
|
1529
|
+
exports.deserializeAws_restJson1UpdateConnectorRegistrationCommand = deserializeAws_restJson1UpdateConnectorRegistrationCommand;
|
|
1530
|
+
const deserializeAws_restJson1UpdateConnectorRegistrationCommandError = async (output, context) => {
|
|
1531
|
+
const parsedOutput = {
|
|
1532
|
+
...output,
|
|
1533
|
+
body: await parseErrorBody(output.body, context),
|
|
1534
|
+
};
|
|
1535
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1536
|
+
switch (errorCode) {
|
|
1537
|
+
case "AccessDeniedException":
|
|
1538
|
+
case "com.amazonaws.appflow#AccessDeniedException":
|
|
1539
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
1540
|
+
case "ConflictException":
|
|
1541
|
+
case "com.amazonaws.appflow#ConflictException":
|
|
1542
|
+
throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
|
|
1543
|
+
case "ConnectorAuthenticationException":
|
|
1544
|
+
case "com.amazonaws.appflow#ConnectorAuthenticationException":
|
|
1545
|
+
throw await deserializeAws_restJson1ConnectorAuthenticationExceptionResponse(parsedOutput, context);
|
|
1546
|
+
case "ConnectorServerException":
|
|
1547
|
+
case "com.amazonaws.appflow#ConnectorServerException":
|
|
1548
|
+
throw await deserializeAws_restJson1ConnectorServerExceptionResponse(parsedOutput, context);
|
|
1549
|
+
case "InternalServerException":
|
|
1550
|
+
case "com.amazonaws.appflow#InternalServerException":
|
|
1551
|
+
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
|
|
1552
|
+
case "ResourceNotFoundException":
|
|
1553
|
+
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
1554
|
+
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1555
|
+
case "ServiceQuotaExceededException":
|
|
1556
|
+
case "com.amazonaws.appflow#ServiceQuotaExceededException":
|
|
1557
|
+
throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
|
|
1558
|
+
case "ThrottlingException":
|
|
1559
|
+
case "com.amazonaws.appflow#ThrottlingException":
|
|
1560
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1561
|
+
case "ValidationException":
|
|
1562
|
+
case "com.amazonaws.appflow#ValidationException":
|
|
1563
|
+
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
1564
|
+
default:
|
|
1565
|
+
const parsedBody = parsedOutput.body;
|
|
1566
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1567
|
+
output,
|
|
1568
|
+
parsedBody,
|
|
1569
|
+
exceptionCtor: AppflowServiceException_1.AppflowServiceException,
|
|
1570
|
+
errorCode,
|
|
1571
|
+
});
|
|
1572
|
+
}
|
|
1573
|
+
};
|
|
1491
1574
|
const deserializeAws_restJson1UpdateFlowCommand = async (output, context) => {
|
|
1492
1575
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1493
1576
|
return deserializeAws_restJson1UpdateFlowCommandError(output, context);
|
package/dist-es/Appflow.js
CHANGED
|
@@ -20,6 +20,7 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
|
20
20
|
import { UnregisterConnectorCommand, } from "./commands/UnregisterConnectorCommand";
|
|
21
21
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
22
22
|
import { UpdateConnectorProfileCommand, } from "./commands/UpdateConnectorProfileCommand";
|
|
23
|
+
import { UpdateConnectorRegistrationCommand, } from "./commands/UpdateConnectorRegistrationCommand";
|
|
23
24
|
import { UpdateFlowCommand } from "./commands/UpdateFlowCommand";
|
|
24
25
|
export class Appflow extends AppflowClient {
|
|
25
26
|
createConnectorProfile(args, optionsOrCb, cb) {
|
|
@@ -316,6 +317,20 @@ export class Appflow extends AppflowClient {
|
|
|
316
317
|
return this.send(command, optionsOrCb);
|
|
317
318
|
}
|
|
318
319
|
}
|
|
320
|
+
updateConnectorRegistration(args, optionsOrCb, cb) {
|
|
321
|
+
const command = new UpdateConnectorRegistrationCommand(args);
|
|
322
|
+
if (typeof optionsOrCb === "function") {
|
|
323
|
+
this.send(command, optionsOrCb);
|
|
324
|
+
}
|
|
325
|
+
else if (typeof cb === "function") {
|
|
326
|
+
if (typeof optionsOrCb !== "object")
|
|
327
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
328
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
329
|
+
}
|
|
330
|
+
else {
|
|
331
|
+
return this.send(command, optionsOrCb);
|
|
332
|
+
}
|
|
333
|
+
}
|
|
319
334
|
updateFlow(args, optionsOrCb, cb) {
|
|
320
335
|
const command = new UpdateFlowCommand(args);
|
|
321
336
|
if (typeof optionsOrCb === "function") {
|
|
@@ -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 { UpdateConnectorRegistrationRequestFilterSensitiveLog, UpdateConnectorRegistrationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1UpdateConnectorRegistrationCommand, serializeAws_restJson1UpdateConnectorRegistrationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class UpdateConnectorRegistrationCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateConnectorRegistrationCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "AppflowClient";
|
|
25
|
+
const commandName = "UpdateConnectorRegistrationCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: UpdateConnectorRegistrationRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: UpdateConnectorRegistrationResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1UpdateConnectorRegistrationCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1UpdateConnectorRegistrationCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -19,4 +19,5 @@ export * from "./TagResourceCommand";
|
|
|
19
19
|
export * from "./UnregisterConnectorCommand";
|
|
20
20
|
export * from "./UntagResourceCommand";
|
|
21
21
|
export * from "./UpdateConnectorProfileCommand";
|
|
22
|
+
export * from "./UpdateConnectorRegistrationCommand";
|
|
22
23
|
export * from "./UpdateFlowCommand";
|
|
@@ -1244,6 +1244,12 @@ export const UpdateConnectorProfileRequestFilterSensitiveLog = (obj) => ({
|
|
|
1244
1244
|
export const UpdateConnectorProfileResponseFilterSensitiveLog = (obj) => ({
|
|
1245
1245
|
...obj,
|
|
1246
1246
|
});
|
|
1247
|
+
export const UpdateConnectorRegistrationRequestFilterSensitiveLog = (obj) => ({
|
|
1248
|
+
...obj,
|
|
1249
|
+
});
|
|
1250
|
+
export const UpdateConnectorRegistrationResponseFilterSensitiveLog = (obj) => ({
|
|
1251
|
+
...obj,
|
|
1252
|
+
});
|
|
1247
1253
|
export const UpdateFlowRequestFilterSensitiveLog = (obj) => ({
|
|
1248
1254
|
...obj,
|
|
1249
1255
|
});
|
|
@@ -475,6 +475,30 @@ export const serializeAws_restJson1UpdateConnectorProfileCommand = async (input,
|
|
|
475
475
|
body,
|
|
476
476
|
});
|
|
477
477
|
};
|
|
478
|
+
export const serializeAws_restJson1UpdateConnectorRegistrationCommand = async (input, context) => {
|
|
479
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
480
|
+
const headers = {
|
|
481
|
+
"content-type": "application/json",
|
|
482
|
+
};
|
|
483
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/update-connector-registration";
|
|
484
|
+
let body;
|
|
485
|
+
body = JSON.stringify({
|
|
486
|
+
...(input.connectorLabel != null && { connectorLabel: input.connectorLabel }),
|
|
487
|
+
...(input.connectorProvisioningConfig != null && {
|
|
488
|
+
connectorProvisioningConfig: serializeAws_restJson1ConnectorProvisioningConfig(input.connectorProvisioningConfig, context),
|
|
489
|
+
}),
|
|
490
|
+
...(input.description != null && { description: input.description }),
|
|
491
|
+
});
|
|
492
|
+
return new __HttpRequest({
|
|
493
|
+
protocol,
|
|
494
|
+
hostname,
|
|
495
|
+
port,
|
|
496
|
+
method: "POST",
|
|
497
|
+
headers,
|
|
498
|
+
path: resolvedPath,
|
|
499
|
+
body,
|
|
500
|
+
});
|
|
501
|
+
};
|
|
478
502
|
export const serializeAws_restJson1UpdateFlowCommand = async (input, context) => {
|
|
479
503
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
480
504
|
const headers = {
|
|
@@ -1442,6 +1466,63 @@ const deserializeAws_restJson1UpdateConnectorProfileCommandError = async (output
|
|
|
1442
1466
|
});
|
|
1443
1467
|
}
|
|
1444
1468
|
};
|
|
1469
|
+
export const deserializeAws_restJson1UpdateConnectorRegistrationCommand = async (output, context) => {
|
|
1470
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1471
|
+
return deserializeAws_restJson1UpdateConnectorRegistrationCommandError(output, context);
|
|
1472
|
+
}
|
|
1473
|
+
const contents = map({
|
|
1474
|
+
$metadata: deserializeMetadata(output),
|
|
1475
|
+
});
|
|
1476
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1477
|
+
if (data.connectorArn != null) {
|
|
1478
|
+
contents.connectorArn = __expectString(data.connectorArn);
|
|
1479
|
+
}
|
|
1480
|
+
return contents;
|
|
1481
|
+
};
|
|
1482
|
+
const deserializeAws_restJson1UpdateConnectorRegistrationCommandError = async (output, context) => {
|
|
1483
|
+
const parsedOutput = {
|
|
1484
|
+
...output,
|
|
1485
|
+
body: await parseErrorBody(output.body, context),
|
|
1486
|
+
};
|
|
1487
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1488
|
+
switch (errorCode) {
|
|
1489
|
+
case "AccessDeniedException":
|
|
1490
|
+
case "com.amazonaws.appflow#AccessDeniedException":
|
|
1491
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
1492
|
+
case "ConflictException":
|
|
1493
|
+
case "com.amazonaws.appflow#ConflictException":
|
|
1494
|
+
throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
|
|
1495
|
+
case "ConnectorAuthenticationException":
|
|
1496
|
+
case "com.amazonaws.appflow#ConnectorAuthenticationException":
|
|
1497
|
+
throw await deserializeAws_restJson1ConnectorAuthenticationExceptionResponse(parsedOutput, context);
|
|
1498
|
+
case "ConnectorServerException":
|
|
1499
|
+
case "com.amazonaws.appflow#ConnectorServerException":
|
|
1500
|
+
throw await deserializeAws_restJson1ConnectorServerExceptionResponse(parsedOutput, context);
|
|
1501
|
+
case "InternalServerException":
|
|
1502
|
+
case "com.amazonaws.appflow#InternalServerException":
|
|
1503
|
+
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
|
|
1504
|
+
case "ResourceNotFoundException":
|
|
1505
|
+
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
1506
|
+
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1507
|
+
case "ServiceQuotaExceededException":
|
|
1508
|
+
case "com.amazonaws.appflow#ServiceQuotaExceededException":
|
|
1509
|
+
throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
|
|
1510
|
+
case "ThrottlingException":
|
|
1511
|
+
case "com.amazonaws.appflow#ThrottlingException":
|
|
1512
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1513
|
+
case "ValidationException":
|
|
1514
|
+
case "com.amazonaws.appflow#ValidationException":
|
|
1515
|
+
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
1516
|
+
default:
|
|
1517
|
+
const parsedBody = parsedOutput.body;
|
|
1518
|
+
throwDefaultError({
|
|
1519
|
+
output,
|
|
1520
|
+
parsedBody,
|
|
1521
|
+
exceptionCtor: __BaseException,
|
|
1522
|
+
errorCode,
|
|
1523
|
+
});
|
|
1524
|
+
}
|
|
1525
|
+
};
|
|
1445
1526
|
export const deserializeAws_restJson1UpdateFlowCommand = async (output, context) => {
|
|
1446
1527
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1447
1528
|
return deserializeAws_restJson1UpdateFlowCommandError(output, context);
|
package/dist-types/Appflow.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
21
21
|
import { UnregisterConnectorCommandInput, UnregisterConnectorCommandOutput } from "./commands/UnregisterConnectorCommand";
|
|
22
22
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
23
23
|
import { UpdateConnectorProfileCommandInput, UpdateConnectorProfileCommandOutput } from "./commands/UpdateConnectorProfileCommand";
|
|
24
|
+
import { UpdateConnectorRegistrationCommandInput, UpdateConnectorRegistrationCommandOutput } from "./commands/UpdateConnectorRegistrationCommand";
|
|
24
25
|
import { UpdateFlowCommandInput, UpdateFlowCommandOutput } from "./commands/UpdateFlowCommand";
|
|
25
26
|
/**
|
|
26
27
|
* <p>Welcome to the Amazon AppFlow API reference. This guide is for developers who need
|
|
@@ -168,8 +169,8 @@ export declare class Appflow extends AppflowClient {
|
|
|
168
169
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
169
170
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
170
171
|
/**
|
|
171
|
-
* <p>Registers a new connector with your Amazon Web Services account. Before you can register
|
|
172
|
-
* the connector, you must deploy lambda in your account.</p>
|
|
172
|
+
* <p>Registers a new custom connector with your Amazon Web Services account. Before you can register
|
|
173
|
+
* the connector, you must deploy the associated AWS lambda function in your account.</p>
|
|
173
174
|
*/
|
|
174
175
|
registerConnector(args: RegisterConnectorCommandInput, options?: __HttpHandlerOptions): Promise<RegisterConnectorCommandOutput>;
|
|
175
176
|
registerConnector(args: RegisterConnectorCommandInput, cb: (err: any, data?: RegisterConnectorCommandOutput) => void): void;
|
|
@@ -197,7 +198,7 @@ export declare class Appflow extends AppflowClient {
|
|
|
197
198
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
198
199
|
/**
|
|
199
200
|
* <p>Unregisters the custom connector registered in your account that matches the
|
|
200
|
-
*
|
|
201
|
+
* connector label provided in the request.</p>
|
|
201
202
|
*/
|
|
202
203
|
unregisterConnector(args: UnregisterConnectorCommandInput, options?: __HttpHandlerOptions): Promise<UnregisterConnectorCommandOutput>;
|
|
203
204
|
unregisterConnector(args: UnregisterConnectorCommandInput, cb: (err: any, data?: UnregisterConnectorCommandOutput) => void): void;
|
|
@@ -214,6 +215,20 @@ export declare class Appflow extends AppflowClient {
|
|
|
214
215
|
updateConnectorProfile(args: UpdateConnectorProfileCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConnectorProfileCommandOutput>;
|
|
215
216
|
updateConnectorProfile(args: UpdateConnectorProfileCommandInput, cb: (err: any, data?: UpdateConnectorProfileCommandOutput) => void): void;
|
|
216
217
|
updateConnectorProfile(args: UpdateConnectorProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConnectorProfileCommandOutput) => void): void;
|
|
218
|
+
/**
|
|
219
|
+
* <p>Updates a custom connector that you've previously registered. This operation updates the connector with one of the following:</p>
|
|
220
|
+
* <ul>
|
|
221
|
+
* <li>
|
|
222
|
+
* <p>The latest version of the AWS Lambda function that's assigned to the connector</p>
|
|
223
|
+
* </li>
|
|
224
|
+
* <li>
|
|
225
|
+
* <p>A new AWS Lambda function that you specify</p>
|
|
226
|
+
* </li>
|
|
227
|
+
* </ul>
|
|
228
|
+
*/
|
|
229
|
+
updateConnectorRegistration(args: UpdateConnectorRegistrationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConnectorRegistrationCommandOutput>;
|
|
230
|
+
updateConnectorRegistration(args: UpdateConnectorRegistrationCommandInput, cb: (err: any, data?: UpdateConnectorRegistrationCommandOutput) => void): void;
|
|
231
|
+
updateConnectorRegistration(args: UpdateConnectorRegistrationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConnectorRegistrationCommandOutput) => void): void;
|
|
217
232
|
/**
|
|
218
233
|
* <p> Updates an existing flow. </p>
|
|
219
234
|
*/
|
|
@@ -28,10 +28,11 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
28
28
|
import { UnregisterConnectorCommandInput, UnregisterConnectorCommandOutput } from "./commands/UnregisterConnectorCommand";
|
|
29
29
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
30
30
|
import { UpdateConnectorProfileCommandInput, UpdateConnectorProfileCommandOutput } from "./commands/UpdateConnectorProfileCommand";
|
|
31
|
+
import { UpdateConnectorRegistrationCommandInput, UpdateConnectorRegistrationCommandOutput } from "./commands/UpdateConnectorRegistrationCommand";
|
|
31
32
|
import { UpdateFlowCommandInput, UpdateFlowCommandOutput } from "./commands/UpdateFlowCommand";
|
|
32
33
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
33
|
-
export declare type ServiceInputTypes = CreateConnectorProfileCommandInput | CreateFlowCommandInput | DeleteConnectorProfileCommandInput | DeleteFlowCommandInput | DescribeConnectorCommandInput | DescribeConnectorEntityCommandInput | DescribeConnectorProfilesCommandInput | DescribeConnectorsCommandInput | DescribeFlowCommandInput | DescribeFlowExecutionRecordsCommandInput | ListConnectorEntitiesCommandInput | ListConnectorsCommandInput | ListFlowsCommandInput | ListTagsForResourceCommandInput | RegisterConnectorCommandInput | StartFlowCommandInput | StopFlowCommandInput | TagResourceCommandInput | UnregisterConnectorCommandInput | UntagResourceCommandInput | UpdateConnectorProfileCommandInput | UpdateFlowCommandInput;
|
|
34
|
-
export declare type ServiceOutputTypes = CreateConnectorProfileCommandOutput | CreateFlowCommandOutput | DeleteConnectorProfileCommandOutput | DeleteFlowCommandOutput | DescribeConnectorCommandOutput | DescribeConnectorEntityCommandOutput | DescribeConnectorProfilesCommandOutput | DescribeConnectorsCommandOutput | DescribeFlowCommandOutput | DescribeFlowExecutionRecordsCommandOutput | ListConnectorEntitiesCommandOutput | ListConnectorsCommandOutput | ListFlowsCommandOutput | ListTagsForResourceCommandOutput | RegisterConnectorCommandOutput | StartFlowCommandOutput | StopFlowCommandOutput | TagResourceCommandOutput | UnregisterConnectorCommandOutput | UntagResourceCommandOutput | UpdateConnectorProfileCommandOutput | UpdateFlowCommandOutput;
|
|
34
|
+
export declare type ServiceInputTypes = CreateConnectorProfileCommandInput | CreateFlowCommandInput | DeleteConnectorProfileCommandInput | DeleteFlowCommandInput | DescribeConnectorCommandInput | DescribeConnectorEntityCommandInput | DescribeConnectorProfilesCommandInput | DescribeConnectorsCommandInput | DescribeFlowCommandInput | DescribeFlowExecutionRecordsCommandInput | ListConnectorEntitiesCommandInput | ListConnectorsCommandInput | ListFlowsCommandInput | ListTagsForResourceCommandInput | RegisterConnectorCommandInput | StartFlowCommandInput | StopFlowCommandInput | TagResourceCommandInput | UnregisterConnectorCommandInput | UntagResourceCommandInput | UpdateConnectorProfileCommandInput | UpdateConnectorRegistrationCommandInput | UpdateFlowCommandInput;
|
|
35
|
+
export declare type ServiceOutputTypes = CreateConnectorProfileCommandOutput | CreateFlowCommandOutput | DeleteConnectorProfileCommandOutput | DeleteFlowCommandOutput | DescribeConnectorCommandOutput | DescribeConnectorEntityCommandOutput | DescribeConnectorProfilesCommandOutput | DescribeConnectorsCommandOutput | DescribeFlowCommandOutput | DescribeFlowExecutionRecordsCommandOutput | ListConnectorEntitiesCommandOutput | ListConnectorsCommandOutput | ListFlowsCommandOutput | ListTagsForResourceCommandOutput | RegisterConnectorCommandOutput | StartFlowCommandOutput | StopFlowCommandOutput | TagResourceCommandOutput | UnregisterConnectorCommandOutput | UntagResourceCommandOutput | UpdateConnectorProfileCommandOutput | UpdateConnectorRegistrationCommandOutput | UpdateFlowCommandOutput;
|
|
35
36
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
36
37
|
/**
|
|
37
38
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -8,8 +8,8 @@ export interface RegisterConnectorCommandInput extends RegisterConnectorRequest
|
|
|
8
8
|
export interface RegisterConnectorCommandOutput extends RegisterConnectorResponse, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Registers a new connector with your Amazon Web Services account. Before you can register
|
|
12
|
-
* the connector, you must deploy lambda in your account.</p>
|
|
11
|
+
* <p>Registers a new custom connector with your Amazon Web Services account. Before you can register
|
|
12
|
+
* the connector, you must deploy the associated AWS lambda function in your account.</p>
|
|
13
13
|
* @example
|
|
14
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
15
|
* ```javascript
|
|
@@ -9,7 +9,7 @@ export interface UnregisterConnectorCommandOutput extends UnregisterConnectorRes
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Unregisters the custom connector registered in your account that matches the
|
|
12
|
-
*
|
|
12
|
+
* connector label provided in the request.</p>
|
|
13
13
|
* @example
|
|
14
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
15
|
* ```javascript
|
|
@@ -0,0 +1,45 @@
|
|
|
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 { UpdateConnectorRegistrationRequest, UpdateConnectorRegistrationResponse } from "../models/models_0";
|
|
6
|
+
export interface UpdateConnectorRegistrationCommandInput extends UpdateConnectorRegistrationRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface UpdateConnectorRegistrationCommandOutput extends UpdateConnectorRegistrationResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Updates a custom connector that you've previously registered. This operation updates the connector with one of the following:</p>
|
|
12
|
+
* <ul>
|
|
13
|
+
* <li>
|
|
14
|
+
* <p>The latest version of the AWS Lambda function that's assigned to the connector</p>
|
|
15
|
+
* </li>
|
|
16
|
+
* <li>
|
|
17
|
+
* <p>A new AWS Lambda function that you specify</p>
|
|
18
|
+
* </li>
|
|
19
|
+
* </ul>
|
|
20
|
+
* @example
|
|
21
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
22
|
+
* ```javascript
|
|
23
|
+
* import { AppflowClient, UpdateConnectorRegistrationCommand } from "@aws-sdk/client-appflow"; // ES Modules import
|
|
24
|
+
* // const { AppflowClient, UpdateConnectorRegistrationCommand } = require("@aws-sdk/client-appflow"); // CommonJS import
|
|
25
|
+
* const client = new AppflowClient(config);
|
|
26
|
+
* const command = new UpdateConnectorRegistrationCommand(input);
|
|
27
|
+
* const response = await client.send(command);
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* @see {@link UpdateConnectorRegistrationCommandInput} for command's `input` shape.
|
|
31
|
+
* @see {@link UpdateConnectorRegistrationCommandOutput} for command's `response` shape.
|
|
32
|
+
* @see {@link AppflowClientResolvedConfig | config} for AppflowClient's `config` shape.
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
export declare class UpdateConnectorRegistrationCommand extends $Command<UpdateConnectorRegistrationCommandInput, UpdateConnectorRegistrationCommandOutput, AppflowClientResolvedConfig> {
|
|
36
|
+
readonly input: UpdateConnectorRegistrationCommandInput;
|
|
37
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
38
|
+
constructor(input: UpdateConnectorRegistrationCommandInput);
|
|
39
|
+
/**
|
|
40
|
+
* @internal
|
|
41
|
+
*/
|
|
42
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppflowClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateConnectorRegistrationCommandInput, UpdateConnectorRegistrationCommandOutput>;
|
|
43
|
+
private serialize;
|
|
44
|
+
private deserialize;
|
|
45
|
+
}
|
|
@@ -19,4 +19,5 @@ export * from "./TagResourceCommand";
|
|
|
19
19
|
export * from "./UnregisterConnectorCommand";
|
|
20
20
|
export * from "./UntagResourceCommand";
|
|
21
21
|
export * from "./UpdateConnectorProfileCommand";
|
|
22
|
+
export * from "./UpdateConnectorRegistrationCommand";
|
|
22
23
|
export * from "./UpdateFlowCommand";
|
|
@@ -3041,7 +3041,7 @@ export interface SalesforceSourceProperties {
|
|
|
3041
3041
|
* <p>Amazon AppFlow uses only Salesforce REST API. By choosing this option, you
|
|
3042
3042
|
* ensure that your flow writes consistent output, but you decrease performance for large
|
|
3043
3043
|
* data transfers that are better suited for Bulk API 2.0. In some cases, if your flow
|
|
3044
|
-
* attempts to transfer a vary large set of data, it might fail
|
|
3044
|
+
* attempts to transfer a vary large set of data, it might fail wituh a timed out
|
|
3045
3045
|
* error.</p>
|
|
3046
3046
|
* </dd>
|
|
3047
3047
|
* </dl>
|
|
@@ -4179,6 +4179,27 @@ export interface UpdateConnectorProfileResponse {
|
|
|
4179
4179
|
*/
|
|
4180
4180
|
connectorProfileArn?: string;
|
|
4181
4181
|
}
|
|
4182
|
+
export interface UpdateConnectorRegistrationRequest {
|
|
4183
|
+
/**
|
|
4184
|
+
* <p>The name of the connector. The name is unique for each connector registration in your AWS
|
|
4185
|
+
* account.</p>
|
|
4186
|
+
*/
|
|
4187
|
+
connectorLabel: string | undefined;
|
|
4188
|
+
/**
|
|
4189
|
+
* <p>A description about the update that you're applying to the connector.</p>
|
|
4190
|
+
*/
|
|
4191
|
+
description?: string;
|
|
4192
|
+
/**
|
|
4193
|
+
* <p>Contains information about the configuration of the connector being registered.</p>
|
|
4194
|
+
*/
|
|
4195
|
+
connectorProvisioningConfig?: ConnectorProvisioningConfig;
|
|
4196
|
+
}
|
|
4197
|
+
export interface UpdateConnectorRegistrationResponse {
|
|
4198
|
+
/**
|
|
4199
|
+
* <p>The ARN of the connector being updated.</p>
|
|
4200
|
+
*/
|
|
4201
|
+
connectorArn?: string;
|
|
4202
|
+
}
|
|
4182
4203
|
export interface UpdateFlowRequest {
|
|
4183
4204
|
/**
|
|
4184
4205
|
* <p> The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens
|
|
@@ -4961,6 +4982,14 @@ export declare const UpdateConnectorProfileRequestFilterSensitiveLog: (obj: Upda
|
|
|
4961
4982
|
* @internal
|
|
4962
4983
|
*/
|
|
4963
4984
|
export declare const UpdateConnectorProfileResponseFilterSensitiveLog: (obj: UpdateConnectorProfileResponse) => any;
|
|
4985
|
+
/**
|
|
4986
|
+
* @internal
|
|
4987
|
+
*/
|
|
4988
|
+
export declare const UpdateConnectorRegistrationRequestFilterSensitiveLog: (obj: UpdateConnectorRegistrationRequest) => any;
|
|
4989
|
+
/**
|
|
4990
|
+
* @internal
|
|
4991
|
+
*/
|
|
4992
|
+
export declare const UpdateConnectorRegistrationResponseFilterSensitiveLog: (obj: UpdateConnectorRegistrationResponse) => any;
|
|
4964
4993
|
/**
|
|
4965
4994
|
* @internal
|
|
4966
4995
|
*/
|
|
@@ -21,6 +21,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/T
|
|
|
21
21
|
import { UnregisterConnectorCommandInput, UnregisterConnectorCommandOutput } from "../commands/UnregisterConnectorCommand";
|
|
22
22
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
23
23
|
import { UpdateConnectorProfileCommandInput, UpdateConnectorProfileCommandOutput } from "../commands/UpdateConnectorProfileCommand";
|
|
24
|
+
import { UpdateConnectorRegistrationCommandInput, UpdateConnectorRegistrationCommandOutput } from "../commands/UpdateConnectorRegistrationCommand";
|
|
24
25
|
import { UpdateFlowCommandInput, UpdateFlowCommandOutput } from "../commands/UpdateFlowCommand";
|
|
25
26
|
export declare const serializeAws_restJson1CreateConnectorProfileCommand: (input: CreateConnectorProfileCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
26
27
|
export declare const serializeAws_restJson1CreateFlowCommand: (input: CreateFlowCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -43,6 +44,7 @@ export declare const serializeAws_restJson1TagResourceCommand: (input: TagResour
|
|
|
43
44
|
export declare const serializeAws_restJson1UnregisterConnectorCommand: (input: UnregisterConnectorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
44
45
|
export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
45
46
|
export declare const serializeAws_restJson1UpdateConnectorProfileCommand: (input: UpdateConnectorProfileCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
47
|
+
export declare const serializeAws_restJson1UpdateConnectorRegistrationCommand: (input: UpdateConnectorRegistrationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
46
48
|
export declare const serializeAws_restJson1UpdateFlowCommand: (input: UpdateFlowCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
47
49
|
export declare const deserializeAws_restJson1CreateConnectorProfileCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateConnectorProfileCommandOutput>;
|
|
48
50
|
export declare const deserializeAws_restJson1CreateFlowCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateFlowCommandOutput>;
|
|
@@ -65,4 +67,5 @@ export declare const deserializeAws_restJson1TagResourceCommand: (output: __Http
|
|
|
65
67
|
export declare const deserializeAws_restJson1UnregisterConnectorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UnregisterConnectorCommandOutput>;
|
|
66
68
|
export declare const deserializeAws_restJson1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
67
69
|
export declare const deserializeAws_restJson1UpdateConnectorProfileCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateConnectorProfileCommandOutput>;
|
|
70
|
+
export declare const deserializeAws_restJson1UpdateConnectorRegistrationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateConnectorRegistrationCommandOutput>;
|
|
68
71
|
export declare const deserializeAws_restJson1UpdateFlowCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateFlowCommandOutput>;
|
|
@@ -32,7 +32,7 @@ export declare const getRuntimeConfig: (config: AppflowClientConfig) => {
|
|
|
32
32
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
33
33
|
tls?: boolean | undefined;
|
|
34
34
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
35
|
-
credentials?: import("@aws-sdk/types").
|
|
35
|
+
credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").Provider<import("@aws-sdk/types").AwsCredentialIdentity> | undefined;
|
|
36
36
|
signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
|
|
37
37
|
signingEscapePath?: boolean | undefined;
|
|
38
38
|
systemClockOffset?: number | undefined;
|
|
@@ -32,7 +32,7 @@ export declare const getRuntimeConfig: (config: AppflowClientConfig) => {
|
|
|
32
32
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
33
33
|
tls?: boolean | undefined;
|
|
34
34
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
35
|
-
credentials?: import("@aws-sdk/types").
|
|
35
|
+
credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").Provider<import("@aws-sdk/types").AwsCredentialIdentity> | undefined;
|
|
36
36
|
signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
|
|
37
37
|
signingEscapePath?: boolean | undefined;
|
|
38
38
|
systemClockOffset?: number | undefined;
|
|
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: AppflowClientConfig) => {
|
|
|
31
31
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
32
32
|
tls?: boolean | undefined;
|
|
33
33
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
34
|
-
credentials?: import("@aws-sdk/types").
|
|
34
|
+
credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").Provider<import("@aws-sdk/types").AwsCredentialIdentity> | undefined;
|
|
35
35
|
signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
|
|
36
36
|
signingEscapePath?: boolean | undefined;
|
|
37
37
|
systemClockOffset?: number | undefined;
|
|
@@ -84,6 +84,10 @@ import {
|
|
|
84
84
|
UpdateConnectorProfileCommandInput,
|
|
85
85
|
UpdateConnectorProfileCommandOutput,
|
|
86
86
|
} from "./commands/UpdateConnectorProfileCommand";
|
|
87
|
+
import {
|
|
88
|
+
UpdateConnectorRegistrationCommandInput,
|
|
89
|
+
UpdateConnectorRegistrationCommandOutput,
|
|
90
|
+
} from "./commands/UpdateConnectorRegistrationCommand";
|
|
87
91
|
import {
|
|
88
92
|
UpdateFlowCommandInput,
|
|
89
93
|
UpdateFlowCommandOutput,
|
|
@@ -362,6 +366,19 @@ export declare class Appflow extends AppflowClient {
|
|
|
362
366
|
options: __HttpHandlerOptions,
|
|
363
367
|
cb: (err: any, data?: UpdateConnectorProfileCommandOutput) => void
|
|
364
368
|
): void;
|
|
369
|
+
updateConnectorRegistration(
|
|
370
|
+
args: UpdateConnectorRegistrationCommandInput,
|
|
371
|
+
options?: __HttpHandlerOptions
|
|
372
|
+
): Promise<UpdateConnectorRegistrationCommandOutput>;
|
|
373
|
+
updateConnectorRegistration(
|
|
374
|
+
args: UpdateConnectorRegistrationCommandInput,
|
|
375
|
+
cb: (err: any, data?: UpdateConnectorRegistrationCommandOutput) => void
|
|
376
|
+
): void;
|
|
377
|
+
updateConnectorRegistration(
|
|
378
|
+
args: UpdateConnectorRegistrationCommandInput,
|
|
379
|
+
options: __HttpHandlerOptions,
|
|
380
|
+
cb: (err: any, data?: UpdateConnectorRegistrationCommandOutput) => void
|
|
381
|
+
): void;
|
|
365
382
|
updateFlow(
|
|
366
383
|
args: UpdateFlowCommandInput,
|
|
367
384
|
options?: __HttpHandlerOptions
|
|
@@ -127,6 +127,10 @@ import {
|
|
|
127
127
|
UpdateConnectorProfileCommandInput,
|
|
128
128
|
UpdateConnectorProfileCommandOutput,
|
|
129
129
|
} from "./commands/UpdateConnectorProfileCommand";
|
|
130
|
+
import {
|
|
131
|
+
UpdateConnectorRegistrationCommandInput,
|
|
132
|
+
UpdateConnectorRegistrationCommandOutput,
|
|
133
|
+
} from "./commands/UpdateConnectorRegistrationCommand";
|
|
130
134
|
import {
|
|
131
135
|
UpdateFlowCommandInput,
|
|
132
136
|
UpdateFlowCommandOutput,
|
|
@@ -158,6 +162,7 @@ export declare type ServiceInputTypes =
|
|
|
158
162
|
| UnregisterConnectorCommandInput
|
|
159
163
|
| UntagResourceCommandInput
|
|
160
164
|
| UpdateConnectorProfileCommandInput
|
|
165
|
+
| UpdateConnectorRegistrationCommandInput
|
|
161
166
|
| UpdateFlowCommandInput;
|
|
162
167
|
export declare type ServiceOutputTypes =
|
|
163
168
|
| CreateConnectorProfileCommandOutput
|
|
@@ -181,6 +186,7 @@ export declare type ServiceOutputTypes =
|
|
|
181
186
|
| UnregisterConnectorCommandOutput
|
|
182
187
|
| UntagResourceCommandOutput
|
|
183
188
|
| UpdateConnectorProfileCommandOutput
|
|
189
|
+
| UpdateConnectorRegistrationCommandOutput
|
|
184
190
|
| UpdateFlowCommandOutput;
|
|
185
191
|
export interface ClientDefaults
|
|
186
192
|
extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
UpdateConnectorRegistrationRequest,
|
|
16
|
+
UpdateConnectorRegistrationResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export interface UpdateConnectorRegistrationCommandInput
|
|
19
|
+
extends UpdateConnectorRegistrationRequest {}
|
|
20
|
+
export interface UpdateConnectorRegistrationCommandOutput
|
|
21
|
+
extends UpdateConnectorRegistrationResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class UpdateConnectorRegistrationCommand extends $Command<
|
|
24
|
+
UpdateConnectorRegistrationCommandInput,
|
|
25
|
+
UpdateConnectorRegistrationCommandOutput,
|
|
26
|
+
AppflowClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: UpdateConnectorRegistrationCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: UpdateConnectorRegistrationCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: AppflowClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<
|
|
36
|
+
UpdateConnectorRegistrationCommandInput,
|
|
37
|
+
UpdateConnectorRegistrationCommandOutput
|
|
38
|
+
>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -19,4 +19,5 @@ export * from "./TagResourceCommand";
|
|
|
19
19
|
export * from "./UnregisterConnectorCommand";
|
|
20
20
|
export * from "./UntagResourceCommand";
|
|
21
21
|
export * from "./UpdateConnectorProfileCommand";
|
|
22
|
+
export * from "./UpdateConnectorRegistrationCommand";
|
|
22
23
|
export * from "./UpdateFlowCommand";
|
|
@@ -1474,6 +1474,14 @@ export interface UpdateConnectorProfileRequest {
|
|
|
1474
1474
|
export interface UpdateConnectorProfileResponse {
|
|
1475
1475
|
connectorProfileArn?: string;
|
|
1476
1476
|
}
|
|
1477
|
+
export interface UpdateConnectorRegistrationRequest {
|
|
1478
|
+
connectorLabel: string | undefined;
|
|
1479
|
+
description?: string;
|
|
1480
|
+
connectorProvisioningConfig?: ConnectorProvisioningConfig;
|
|
1481
|
+
}
|
|
1482
|
+
export interface UpdateConnectorRegistrationResponse {
|
|
1483
|
+
connectorArn?: string;
|
|
1484
|
+
}
|
|
1477
1485
|
export interface UpdateFlowRequest {
|
|
1478
1486
|
flowName: string | undefined;
|
|
1479
1487
|
description?: string;
|
|
@@ -2031,6 +2039,12 @@ export declare const UpdateConnectorProfileRequestFilterSensitiveLog: (
|
|
|
2031
2039
|
export declare const UpdateConnectorProfileResponseFilterSensitiveLog: (
|
|
2032
2040
|
obj: UpdateConnectorProfileResponse
|
|
2033
2041
|
) => any;
|
|
2042
|
+
export declare const UpdateConnectorRegistrationRequestFilterSensitiveLog: (
|
|
2043
|
+
obj: UpdateConnectorRegistrationRequest
|
|
2044
|
+
) => any;
|
|
2045
|
+
export declare const UpdateConnectorRegistrationResponseFilterSensitiveLog: (
|
|
2046
|
+
obj: UpdateConnectorRegistrationResponse
|
|
2047
|
+
) => any;
|
|
2034
2048
|
export declare const UpdateFlowRequestFilterSensitiveLog: (
|
|
2035
2049
|
obj: UpdateFlowRequest
|
|
2036
2050
|
) => any;
|
|
@@ -87,6 +87,10 @@ import {
|
|
|
87
87
|
UpdateConnectorProfileCommandInput,
|
|
88
88
|
UpdateConnectorProfileCommandOutput,
|
|
89
89
|
} from "../commands/UpdateConnectorProfileCommand";
|
|
90
|
+
import {
|
|
91
|
+
UpdateConnectorRegistrationCommandInput,
|
|
92
|
+
UpdateConnectorRegistrationCommandOutput,
|
|
93
|
+
} from "../commands/UpdateConnectorRegistrationCommand";
|
|
90
94
|
import {
|
|
91
95
|
UpdateFlowCommandInput,
|
|
92
96
|
UpdateFlowCommandOutput,
|
|
@@ -175,6 +179,10 @@ export declare const serializeAws_restJson1UpdateConnectorProfileCommand: (
|
|
|
175
179
|
input: UpdateConnectorProfileCommandInput,
|
|
176
180
|
context: __SerdeContext
|
|
177
181
|
) => Promise<__HttpRequest>;
|
|
182
|
+
export declare const serializeAws_restJson1UpdateConnectorRegistrationCommand: (
|
|
183
|
+
input: UpdateConnectorRegistrationCommandInput,
|
|
184
|
+
context: __SerdeContext
|
|
185
|
+
) => Promise<__HttpRequest>;
|
|
178
186
|
export declare const serializeAws_restJson1UpdateFlowCommand: (
|
|
179
187
|
input: UpdateFlowCommandInput,
|
|
180
188
|
context: __SerdeContext
|
|
@@ -263,6 +271,10 @@ export declare const deserializeAws_restJson1UpdateConnectorProfileCommand: (
|
|
|
263
271
|
output: __HttpResponse,
|
|
264
272
|
context: __SerdeContext
|
|
265
273
|
) => Promise<UpdateConnectorProfileCommandOutput>;
|
|
274
|
+
export declare const deserializeAws_restJson1UpdateConnectorRegistrationCommand: (
|
|
275
|
+
output: __HttpResponse,
|
|
276
|
+
context: __SerdeContext
|
|
277
|
+
) => Promise<UpdateConnectorRegistrationCommandOutput>;
|
|
266
278
|
export declare const deserializeAws_restJson1UpdateFlowCommand: (
|
|
267
279
|
output: __HttpResponse,
|
|
268
280
|
context: __SerdeContext
|
|
@@ -64,8 +64,10 @@ export declare const getRuntimeConfig: (config: AppflowClientConfig) => {
|
|
|
64
64
|
tls?: boolean | undefined;
|
|
65
65
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
66
66
|
credentials?:
|
|
67
|
-
| import("@aws-sdk/types").
|
|
68
|
-
| import("@aws-sdk/types").Provider<
|
|
67
|
+
| import("@aws-sdk/types").AwsCredentialIdentity
|
|
68
|
+
| import("@aws-sdk/types").Provider<
|
|
69
|
+
import("@aws-sdk/types").AwsCredentialIdentity
|
|
70
|
+
>
|
|
69
71
|
| undefined;
|
|
70
72
|
signer?:
|
|
71
73
|
| import("@aws-sdk/types").RequestSigner
|
|
@@ -64,8 +64,10 @@ export declare const getRuntimeConfig: (config: AppflowClientConfig) => {
|
|
|
64
64
|
tls?: boolean | undefined;
|
|
65
65
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
66
66
|
credentials?:
|
|
67
|
-
| import("@aws-sdk/types").
|
|
68
|
-
| import("@aws-sdk/types").Provider<
|
|
67
|
+
| import("@aws-sdk/types").AwsCredentialIdentity
|
|
68
|
+
| import("@aws-sdk/types").Provider<
|
|
69
|
+
import("@aws-sdk/types").AwsCredentialIdentity
|
|
70
|
+
>
|
|
69
71
|
| undefined;
|
|
70
72
|
signer?:
|
|
71
73
|
| import("@aws-sdk/types").RequestSigner
|
|
@@ -53,8 +53,10 @@ export declare const getRuntimeConfig: (config: AppflowClientConfig) => {
|
|
|
53
53
|
tls?: boolean | undefined;
|
|
54
54
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
55
55
|
credentials?:
|
|
56
|
-
| import("@aws-sdk/types").
|
|
57
|
-
| import("@aws-sdk/types").Provider<
|
|
56
|
+
| import("@aws-sdk/types").AwsCredentialIdentity
|
|
57
|
+
| import("@aws-sdk/types").Provider<
|
|
58
|
+
import("@aws-sdk/types").AwsCredentialIdentity
|
|
59
|
+
>
|
|
58
60
|
| undefined;
|
|
59
61
|
signer?:
|
|
60
62
|
| import("@aws-sdk/types").RequestSigner
|
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.215.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",
|
|
@@ -19,36 +19,36 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
26
|
-
"@aws-sdk/hash-node": "3.
|
|
27
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
28
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
29
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.215.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.215.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.215.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.215.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.215.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.215.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.215.0",
|
|
29
|
+
"@aws-sdk/middleware-endpoint": "3.215.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.215.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.215.0",
|
|
32
|
+
"@aws-sdk/middleware-recursion-detection": "3.215.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.215.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.215.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.215.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.215.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.215.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.215.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.215.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.215.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.215.0",
|
|
42
|
+
"@aws-sdk/types": "3.215.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.215.0",
|
|
44
44
|
"@aws-sdk/util-base64": "3.208.0",
|
|
45
45
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
46
46
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
47
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
-
"@aws-sdk/util-endpoints": "3.
|
|
50
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
51
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
47
|
+
"@aws-sdk/util-defaults-mode-browser": "3.215.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-node": "3.215.0",
|
|
49
|
+
"@aws-sdk/util-endpoints": "3.215.0",
|
|
50
|
+
"@aws-sdk/util-user-agent-browser": "3.215.0",
|
|
51
|
+
"@aws-sdk/util-user-agent-node": "3.215.0",
|
|
52
52
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
53
53
|
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
54
54
|
"tslib": "^2.3.1"
|