@aws-sdk/client-appflow 3.51.0 → 3.52.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/models/models_0.js +16 -3
- package/dist-cjs/protocols/Aws_restJson1.js +53 -0
- package/dist-es/models/models_0.js +9 -0
- package/dist-es/protocols/Aws_restJson1.js +45 -2
- package/dist-types/models/models_0.d.ts +68 -0
- package/dist-types/ts3.4/models/models_0.d.ts +31 -0
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 2022/02/18 ([#3335](https://github.com/aws/aws-sdk-js-v3/issues/3335)) ([717b06f](https://github.com/aws/aws-sdk-js-v3/commit/717b06fc43e9876a6f8040147b75ad5da38b1e0f))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-appflow
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DestinationFieldProperties = exports.ConnectorEntity = exports.ConnectorDetail = exports.ConnectorConfiguration = exports.WriteOperationType = exports.TriggerType = exports.ScheduleFrequencyType = exports.Operators = exports.ConnectorType = exports.ConnectorRuntimeSetting = exports.ConnectorProvisioningType = exports.ConnectorProvisioningConfig = exports.LambdaConnectorProvisioningConfig = exports.ConnectorMetadata = exports.ZendeskMetadata = exports.VeevaMetadata = exports.UpsolverMetadata = exports.TrendmicroMetadata = exports.SnowflakeMetadata = exports.SlackMetadata = exports.SingularMetadata = exports.ServiceNowMetadata = exports.SAPODataMetadata = exports.SalesforceMetadata = exports.S3Metadata = exports.RedshiftMetadata = exports.MarketoMetadata = exports.InforNexusMetadata = exports.HoneycodeMetadata = exports.GoogleAnalyticsMetadata = exports.EventBridgeMetadata = exports.DynatraceMetadata = exports.DatadogMetadata = exports.CustomerProfilesMetadata = exports.ConnectionMode = exports.BasicAuthCredentials = exports.AuthenticationType = exports.AuthenticationConfig = exports.OAuth2Defaults = exports.OAuth2GrantType = exports.CustomAuthConfig = exports.AuthParameter = exports.ApiKeyCredentials = exports.AmplitudeSourceProperties = exports.AmplitudeMetadata = exports.AmplitudeConnectorProfileProperties = exports.AmplitudeConnectorProfileCredentials = exports.AmplitudeConnectorOperator = exports.AggregationConfig = exports.AggregationType = void 0;
|
|
4
4
|
exports.DatadogConnectorProfileCredentials = exports.CustomConnectorProfileCredentials = exports.OAuth2Credentials = exports.CustomAuthCredentials = exports.ConnectorProfile = exports.PrivateConnectionProvisioningState = exports.PrivateConnectionProvisioningStatus = exports.PrivateConnectionProvisioningFailureCause = exports.ConnectorProfileProperties = exports.ZendeskConnectorProfileProperties = exports.VeevaConnectorProfileProperties = exports.TrendmicroConnectorProfileProperties = exports.SnowflakeConnectorProfileProperties = exports.SlackConnectorProfileProperties = exports.SingularConnectorProfileProperties = exports.ServiceNowConnectorProfileProperties = exports.SAPODataConnectorProfileProperties = exports.OAuthProperties = exports.SalesforceConnectorProfileProperties = exports.RedshiftConnectorProfileProperties = exports.MarketoConnectorProfileProperties = exports.InforNexusConnectorProfileProperties = exports.HoneycodeConnectorProfileProperties = exports.GoogleAnalyticsConnectorProfileProperties = exports.DynatraceConnectorProfileProperties = exports.DatadogConnectorProfileProperties = exports.CustomConnectorProfileProperties = exports.OAuth2Properties = exports.ConnectorOperator = exports.ZendeskConnectorOperator = exports.VeevaConnectorOperator = exports.TrendmicroConnectorOperator = exports.SlackConnectorOperator = exports.SingularConnectorOperator = exports.ServiceNowConnectorOperator = exports.SAPODataConnectorOperator = exports.SalesforceConnectorOperator = exports.S3ConnectorOperator = exports.MarketoConnectorOperator = exports.InforNexusConnectorOperator = exports.GoogleAnalyticsConnectorOperator = exports.DynatraceConnectorOperator = exports.DatadogConnectorOperator = exports.ConnectorOAuthRequest = exports.ConnectorEntityField = exports.SupportedFieldTypeDetails = exports.FieldTypeDetails = exports.Operator = exports.Range = exports.SourceFieldProperties = void 0;
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.UpdateFlowResponse = exports.UpdateFlowRequest = exports.UpdateConnectorProfileResponse = exports.UpdateConnectorProfileRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.UnregisterConnectorResponse = exports.UnregisterConnectorRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StopFlowResponse = exports.StopFlowRequest = exports.StartFlowResponse = exports.StartFlowRequest = exports.RegisterConnectorResponse = exports.RegisterConnectorRequest = void 0;
|
|
5
|
+
exports.S3InputFileType = exports.MarketoSourceProperties = exports.InforNexusSourceProperties = exports.GoogleAnalyticsSourceProperties = exports.DynatraceSourceProperties = exports.DatadogSourceProperties = exports.CustomConnectorSourceProperties = exports.IncrementalPullConfig = exports.DestinationFlowConfig = exports.DestinationConnectorProperties = exports.ZendeskDestinationProperties = exports.UpsolverDestinationProperties = exports.UpsolverS3OutputFormatConfig = exports.SnowflakeDestinationProperties = exports.SAPODataDestinationProperties = exports.SuccessResponseHandlingConfig = exports.SalesforceDestinationProperties = exports.S3DestinationProperties = exports.S3OutputFormatConfig = exports.PrefixConfig = exports.PrefixType = exports.PrefixFormat = exports.FileType = exports.RedshiftDestinationProperties = exports.LookoutMetricsDestinationProperties = exports.HoneycodeDestinationProperties = exports.EventBridgeDestinationProperties = exports.CustomerProfilesDestinationProperties = exports.CustomConnectorDestinationProperties = exports.ErrorHandlingConfig = exports.CreateConnectorProfileResponse = exports.CreateConnectorProfileRequest = exports.ConnectorProfileConfig = exports.ConnectorProfileCredentials = exports.ZendeskConnectorProfileCredentials = exports.VeevaConnectorProfileCredentials = exports.TrendmicroConnectorProfileCredentials = exports.SnowflakeConnectorProfileCredentials = exports.SlackConnectorProfileCredentials = exports.SingularConnectorProfileCredentials = exports.ServiceNowConnectorProfileCredentials = exports.SAPODataConnectorProfileCredentials = exports.OAuthCredentials = exports.SalesforceConnectorProfileCredentials = exports.RedshiftConnectorProfileCredentials = exports.MarketoConnectorProfileCredentials = exports.InforNexusConnectorProfileCredentials = exports.HoneycodeConnectorProfileCredentials = exports.GoogleAnalyticsConnectorProfileCredentials = exports.DynatraceConnectorProfileCredentials = void 0;
|
|
6
|
+
exports.ListFlowsResponse = exports.ListFlowsRequest = exports.ListConnectorsResponse = exports.ListConnectorsRequest = exports.ListConnectorEntitiesResponse = exports.ListConnectorEntitiesRequest = exports.FlowDefinition = exports.DescribeFlowExecutionRecordsResponse = exports.ExecutionRecord = exports.ExecutionResult = exports.ErrorInfo = exports.DescribeFlowExecutionRecordsRequest = exports.DescribeFlowResponse = exports.ExecutionDetails = exports.ExecutionStatus = exports.DescribeFlowRequest = exports.DescribeConnectorsResponse = exports.DescribeConnectorsRequest = exports.DescribeConnectorProfilesResponse = exports.DescribeConnectorProfilesRequest = exports.DescribeConnectorEntityResponse = exports.DescribeConnectorEntityRequest = exports.DescribeConnectorResponse = exports.DescribeConnectorRequest = exports.DeleteFlowResponse = exports.DeleteFlowRequest = exports.DeleteConnectorProfileResponse = exports.DeleteConnectorProfileRequest = exports.CreateFlowResponse = exports.FlowStatus = exports.CreateFlowRequest = exports.TriggerConfig = exports.TriggerProperties = exports.ScheduledTriggerProperties = exports.DataPullMode = exports.Task = exports.TaskType = exports.OperatorPropertiesKeys = exports.SourceFlowConfig = exports.SourceConnectorProperties = exports.ZendeskSourceProperties = exports.VeevaSourceProperties = exports.TrendmicroSourceProperties = exports.SlackSourceProperties = exports.SingularSourceProperties = exports.ServiceNowSourceProperties = exports.SAPODataSourceProperties = exports.SalesforceSourceProperties = exports.S3SourceProperties = exports.S3InputFormatConfig = void 0;
|
|
7
|
+
exports.UpdateFlowResponse = exports.UpdateFlowRequest = exports.UpdateConnectorProfileResponse = exports.UpdateConnectorProfileRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.UnregisterConnectorResponse = exports.UnregisterConnectorRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StopFlowResponse = exports.StopFlowRequest = exports.StartFlowResponse = exports.StartFlowRequest = exports.RegisterConnectorResponse = exports.RegisterConnectorRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = void 0;
|
|
8
8
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
9
9
|
var AggregationType;
|
|
10
10
|
(function (AggregationType) {
|
|
@@ -1115,6 +1115,18 @@ var SalesforceDestinationProperties;
|
|
|
1115
1115
|
...obj,
|
|
1116
1116
|
});
|
|
1117
1117
|
})(SalesforceDestinationProperties = exports.SalesforceDestinationProperties || (exports.SalesforceDestinationProperties = {}));
|
|
1118
|
+
var SuccessResponseHandlingConfig;
|
|
1119
|
+
(function (SuccessResponseHandlingConfig) {
|
|
1120
|
+
SuccessResponseHandlingConfig.filterSensitiveLog = (obj) => ({
|
|
1121
|
+
...obj,
|
|
1122
|
+
});
|
|
1123
|
+
})(SuccessResponseHandlingConfig = exports.SuccessResponseHandlingConfig || (exports.SuccessResponseHandlingConfig = {}));
|
|
1124
|
+
var SAPODataDestinationProperties;
|
|
1125
|
+
(function (SAPODataDestinationProperties) {
|
|
1126
|
+
SAPODataDestinationProperties.filterSensitiveLog = (obj) => ({
|
|
1127
|
+
...obj,
|
|
1128
|
+
});
|
|
1129
|
+
})(SAPODataDestinationProperties = exports.SAPODataDestinationProperties || (exports.SAPODataDestinationProperties = {}));
|
|
1118
1130
|
var SnowflakeDestinationProperties;
|
|
1119
1131
|
(function (SnowflakeDestinationProperties) {
|
|
1120
1132
|
SnowflakeDestinationProperties.filterSensitiveLog = (obj) => ({
|
|
@@ -1296,6 +1308,7 @@ var TaskType;
|
|
|
1296
1308
|
TaskType["MAP_ALL"] = "Map_all";
|
|
1297
1309
|
TaskType["MASK"] = "Mask";
|
|
1298
1310
|
TaskType["MERGE"] = "Merge";
|
|
1311
|
+
TaskType["PASSTHROUGH"] = "Passthrough";
|
|
1299
1312
|
TaskType["TRUNCATE"] = "Truncate";
|
|
1300
1313
|
TaskType["VALIDATE"] = "Validate";
|
|
1301
1314
|
})(TaskType = exports.TaskType || (exports.TaskType = {}));
|
|
@@ -2732,6 +2732,10 @@ const serializeAws_restJson1DestinationConnectorProperties = (input, context) =>
|
|
|
2732
2732
|
}),
|
|
2733
2733
|
...(input.S3 !== undefined &&
|
|
2734
2734
|
input.S3 !== null && { S3: serializeAws_restJson1S3DestinationProperties(input.S3, context) }),
|
|
2735
|
+
...(input.SAPOData !== undefined &&
|
|
2736
|
+
input.SAPOData !== null && {
|
|
2737
|
+
SAPOData: serializeAws_restJson1SAPODataDestinationProperties(input.SAPOData, context),
|
|
2738
|
+
}),
|
|
2735
2739
|
...(input.Salesforce !== undefined &&
|
|
2736
2740
|
input.Salesforce !== null && {
|
|
2737
2741
|
Salesforce: serializeAws_restJson1SalesforceDestinationProperties(input.Salesforce, context),
|
|
@@ -3111,6 +3115,25 @@ const serializeAws_restJson1SAPODataConnectorProfileProperties = (input, context
|
|
|
3111
3115
|
input.privateLinkServiceName !== null && { privateLinkServiceName: input.privateLinkServiceName }),
|
|
3112
3116
|
};
|
|
3113
3117
|
};
|
|
3118
|
+
const serializeAws_restJson1SAPODataDestinationProperties = (input, context) => {
|
|
3119
|
+
return {
|
|
3120
|
+
...(input.errorHandlingConfig !== undefined &&
|
|
3121
|
+
input.errorHandlingConfig !== null && {
|
|
3122
|
+
errorHandlingConfig: serializeAws_restJson1ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
3123
|
+
}),
|
|
3124
|
+
...(input.idFieldNames !== undefined &&
|
|
3125
|
+
input.idFieldNames !== null && {
|
|
3126
|
+
idFieldNames: serializeAws_restJson1IdFieldNameList(input.idFieldNames, context),
|
|
3127
|
+
}),
|
|
3128
|
+
...(input.objectPath !== undefined && input.objectPath !== null && { objectPath: input.objectPath }),
|
|
3129
|
+
...(input.successResponseHandlingConfig !== undefined &&
|
|
3130
|
+
input.successResponseHandlingConfig !== null && {
|
|
3131
|
+
successResponseHandlingConfig: serializeAws_restJson1SuccessResponseHandlingConfig(input.successResponseHandlingConfig, context),
|
|
3132
|
+
}),
|
|
3133
|
+
...(input.writeOperationType !== undefined &&
|
|
3134
|
+
input.writeOperationType !== null && { writeOperationType: input.writeOperationType }),
|
|
3135
|
+
};
|
|
3136
|
+
};
|
|
3114
3137
|
const serializeAws_restJson1SAPODataSourceProperties = (input, context) => {
|
|
3115
3138
|
return {
|
|
3116
3139
|
...(input.objectPath !== undefined && input.objectPath !== null && { objectPath: input.objectPath }),
|
|
@@ -3292,6 +3315,12 @@ const serializeAws_restJson1SourceFlowConfig = (input, context) => {
|
|
|
3292
3315
|
}),
|
|
3293
3316
|
};
|
|
3294
3317
|
};
|
|
3318
|
+
const serializeAws_restJson1SuccessResponseHandlingConfig = (input, context) => {
|
|
3319
|
+
return {
|
|
3320
|
+
...(input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName }),
|
|
3321
|
+
...(input.bucketPrefix !== undefined && input.bucketPrefix !== null && { bucketPrefix: input.bucketPrefix }),
|
|
3322
|
+
};
|
|
3323
|
+
};
|
|
3295
3324
|
const serializeAws_restJson1TagMap = (input, context) => {
|
|
3296
3325
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3297
3326
|
if (value === null) {
|
|
@@ -4022,6 +4051,9 @@ const deserializeAws_restJson1DestinationConnectorProperties = (output, context)
|
|
|
4022
4051
|
S3: output.S3 !== undefined && output.S3 !== null
|
|
4023
4052
|
? deserializeAws_restJson1S3DestinationProperties(output.S3, context)
|
|
4024
4053
|
: undefined,
|
|
4054
|
+
SAPOData: output.SAPOData !== undefined && output.SAPOData !== null
|
|
4055
|
+
? deserializeAws_restJson1SAPODataDestinationProperties(output.SAPOData, context)
|
|
4056
|
+
: undefined,
|
|
4025
4057
|
Salesforce: output.Salesforce !== undefined && output.Salesforce !== null
|
|
4026
4058
|
? deserializeAws_restJson1SalesforceDestinationProperties(output.Salesforce, context)
|
|
4027
4059
|
: undefined,
|
|
@@ -4497,6 +4529,21 @@ const deserializeAws_restJson1SAPODataConnectorProfileProperties = (output, cont
|
|
|
4497
4529
|
privateLinkServiceName: smithy_client_1.expectString(output.privateLinkServiceName),
|
|
4498
4530
|
};
|
|
4499
4531
|
};
|
|
4532
|
+
const deserializeAws_restJson1SAPODataDestinationProperties = (output, context) => {
|
|
4533
|
+
return {
|
|
4534
|
+
errorHandlingConfig: output.errorHandlingConfig !== undefined && output.errorHandlingConfig !== null
|
|
4535
|
+
? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
|
|
4536
|
+
: undefined,
|
|
4537
|
+
idFieldNames: output.idFieldNames !== undefined && output.idFieldNames !== null
|
|
4538
|
+
? deserializeAws_restJson1IdFieldNameList(output.idFieldNames, context)
|
|
4539
|
+
: undefined,
|
|
4540
|
+
objectPath: smithy_client_1.expectString(output.objectPath),
|
|
4541
|
+
successResponseHandlingConfig: output.successResponseHandlingConfig !== undefined && output.successResponseHandlingConfig !== null
|
|
4542
|
+
? deserializeAws_restJson1SuccessResponseHandlingConfig(output.successResponseHandlingConfig, context)
|
|
4543
|
+
: undefined,
|
|
4544
|
+
writeOperationType: smithy_client_1.expectString(output.writeOperationType),
|
|
4545
|
+
};
|
|
4546
|
+
};
|
|
4500
4547
|
const deserializeAws_restJson1SAPODataMetadata = (output, context) => {
|
|
4501
4548
|
return {};
|
|
4502
4549
|
};
|
|
@@ -4683,6 +4730,12 @@ const deserializeAws_restJson1SourceFlowConfig = (output, context) => {
|
|
|
4683
4730
|
: undefined,
|
|
4684
4731
|
};
|
|
4685
4732
|
};
|
|
4733
|
+
const deserializeAws_restJson1SuccessResponseHandlingConfig = (output, context) => {
|
|
4734
|
+
return {
|
|
4735
|
+
bucketName: smithy_client_1.expectString(output.bucketName),
|
|
4736
|
+
bucketPrefix: smithy_client_1.expectString(output.bucketPrefix),
|
|
4737
|
+
};
|
|
4738
|
+
};
|
|
4686
4739
|
const deserializeAws_restJson1SupportedApiVersionList = (output, context) => {
|
|
4687
4740
|
return (output || [])
|
|
4688
4741
|
.filter((e) => e != null)
|
|
@@ -850,6 +850,14 @@ export var SalesforceDestinationProperties;
|
|
|
850
850
|
(function (SalesforceDestinationProperties) {
|
|
851
851
|
SalesforceDestinationProperties.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
852
852
|
})(SalesforceDestinationProperties || (SalesforceDestinationProperties = {}));
|
|
853
|
+
export var SuccessResponseHandlingConfig;
|
|
854
|
+
(function (SuccessResponseHandlingConfig) {
|
|
855
|
+
SuccessResponseHandlingConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
856
|
+
})(SuccessResponseHandlingConfig || (SuccessResponseHandlingConfig = {}));
|
|
857
|
+
export var SAPODataDestinationProperties;
|
|
858
|
+
(function (SAPODataDestinationProperties) {
|
|
859
|
+
SAPODataDestinationProperties.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
860
|
+
})(SAPODataDestinationProperties || (SAPODataDestinationProperties = {}));
|
|
853
861
|
export var SnowflakeDestinationProperties;
|
|
854
862
|
(function (SnowflakeDestinationProperties) {
|
|
855
863
|
SnowflakeDestinationProperties.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -981,6 +989,7 @@ export var TaskType;
|
|
|
981
989
|
TaskType["MAP_ALL"] = "Map_all";
|
|
982
990
|
TaskType["MASK"] = "Mask";
|
|
983
991
|
TaskType["MERGE"] = "Merge";
|
|
992
|
+
TaskType["PASSTHROUGH"] = "Passthrough";
|
|
984
993
|
TaskType["TRUNCATE"] = "Truncate";
|
|
985
994
|
TaskType["VALIDATE"] = "Validate";
|
|
986
995
|
})(TaskType || (TaskType = {}));
|
|
@@ -2948,7 +2948,7 @@ var serializeAws_restJson1DatadogSourceProperties = function (input, context) {
|
|
|
2948
2948
|
return __assign({}, (input.object !== undefined && input.object !== null && { object: input.object }));
|
|
2949
2949
|
};
|
|
2950
2950
|
var serializeAws_restJson1DestinationConnectorProperties = function (input, context) {
|
|
2951
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CustomConnector !== undefined &&
|
|
2951
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CustomConnector !== undefined &&
|
|
2952
2952
|
input.CustomConnector !== null && {
|
|
2953
2953
|
CustomConnector: serializeAws_restJson1CustomConnectorDestinationProperties(input.CustomConnector, context),
|
|
2954
2954
|
})), (input.CustomerProfiles !== undefined &&
|
|
@@ -2967,7 +2967,10 @@ var serializeAws_restJson1DestinationConnectorProperties = function (input, cont
|
|
|
2967
2967
|
input.Redshift !== null && {
|
|
2968
2968
|
Redshift: serializeAws_restJson1RedshiftDestinationProperties(input.Redshift, context),
|
|
2969
2969
|
})), (input.S3 !== undefined &&
|
|
2970
|
-
input.S3 !== null && { S3: serializeAws_restJson1S3DestinationProperties(input.S3, context) })), (input.
|
|
2970
|
+
input.S3 !== null && { S3: serializeAws_restJson1S3DestinationProperties(input.S3, context) })), (input.SAPOData !== undefined &&
|
|
2971
|
+
input.SAPOData !== null && {
|
|
2972
|
+
SAPOData: serializeAws_restJson1SAPODataDestinationProperties(input.SAPOData, context),
|
|
2973
|
+
})), (input.Salesforce !== undefined &&
|
|
2971
2974
|
input.Salesforce !== null && {
|
|
2972
2975
|
Salesforce: serializeAws_restJson1SalesforceDestinationProperties(input.Salesforce, context),
|
|
2973
2976
|
})), (input.Snowflake !== undefined &&
|
|
@@ -3209,6 +3212,19 @@ var serializeAws_restJson1SAPODataConnectorProfileProperties = function (input,
|
|
|
3209
3212
|
})), (input.portNumber !== undefined && input.portNumber !== null && { portNumber: input.portNumber })), (input.privateLinkServiceName !== undefined &&
|
|
3210
3213
|
input.privateLinkServiceName !== null && { privateLinkServiceName: input.privateLinkServiceName }));
|
|
3211
3214
|
};
|
|
3215
|
+
var serializeAws_restJson1SAPODataDestinationProperties = function (input, context) {
|
|
3216
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.errorHandlingConfig !== undefined &&
|
|
3217
|
+
input.errorHandlingConfig !== null && {
|
|
3218
|
+
errorHandlingConfig: serializeAws_restJson1ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
3219
|
+
})), (input.idFieldNames !== undefined &&
|
|
3220
|
+
input.idFieldNames !== null && {
|
|
3221
|
+
idFieldNames: serializeAws_restJson1IdFieldNameList(input.idFieldNames, context),
|
|
3222
|
+
})), (input.objectPath !== undefined && input.objectPath !== null && { objectPath: input.objectPath })), (input.successResponseHandlingConfig !== undefined &&
|
|
3223
|
+
input.successResponseHandlingConfig !== null && {
|
|
3224
|
+
successResponseHandlingConfig: serializeAws_restJson1SuccessResponseHandlingConfig(input.successResponseHandlingConfig, context),
|
|
3225
|
+
})), (input.writeOperationType !== undefined &&
|
|
3226
|
+
input.writeOperationType !== null && { writeOperationType: input.writeOperationType }));
|
|
3227
|
+
};
|
|
3212
3228
|
var serializeAws_restJson1SAPODataSourceProperties = function (input, context) {
|
|
3213
3229
|
return __assign({}, (input.objectPath !== undefined && input.objectPath !== null && { objectPath: input.objectPath }));
|
|
3214
3230
|
};
|
|
@@ -3321,6 +3337,9 @@ var serializeAws_restJson1SourceFlowConfig = function (input, context) {
|
|
|
3321
3337
|
sourceConnectorProperties: serializeAws_restJson1SourceConnectorProperties(input.sourceConnectorProperties, context),
|
|
3322
3338
|
}));
|
|
3323
3339
|
};
|
|
3340
|
+
var serializeAws_restJson1SuccessResponseHandlingConfig = function (input, context) {
|
|
3341
|
+
return __assign(__assign({}, (input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName })), (input.bucketPrefix !== undefined && input.bucketPrefix !== null && { bucketPrefix: input.bucketPrefix }));
|
|
3342
|
+
};
|
|
3324
3343
|
var serializeAws_restJson1TagMap = function (input, context) {
|
|
3325
3344
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
3326
3345
|
var _b;
|
|
@@ -3998,6 +4017,9 @@ var deserializeAws_restJson1DestinationConnectorProperties = function (output, c
|
|
|
3998
4017
|
S3: output.S3 !== undefined && output.S3 !== null
|
|
3999
4018
|
? deserializeAws_restJson1S3DestinationProperties(output.S3, context)
|
|
4000
4019
|
: undefined,
|
|
4020
|
+
SAPOData: output.SAPOData !== undefined && output.SAPOData !== null
|
|
4021
|
+
? deserializeAws_restJson1SAPODataDestinationProperties(output.SAPOData, context)
|
|
4022
|
+
: undefined,
|
|
4001
4023
|
Salesforce: output.Salesforce !== undefined && output.Salesforce !== null
|
|
4002
4024
|
? deserializeAws_restJson1SalesforceDestinationProperties(output.Salesforce, context)
|
|
4003
4025
|
: undefined,
|
|
@@ -4472,6 +4494,21 @@ var deserializeAws_restJson1SAPODataConnectorProfileProperties = function (outpu
|
|
|
4472
4494
|
privateLinkServiceName: __expectString(output.privateLinkServiceName),
|
|
4473
4495
|
};
|
|
4474
4496
|
};
|
|
4497
|
+
var deserializeAws_restJson1SAPODataDestinationProperties = function (output, context) {
|
|
4498
|
+
return {
|
|
4499
|
+
errorHandlingConfig: output.errorHandlingConfig !== undefined && output.errorHandlingConfig !== null
|
|
4500
|
+
? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
|
|
4501
|
+
: undefined,
|
|
4502
|
+
idFieldNames: output.idFieldNames !== undefined && output.idFieldNames !== null
|
|
4503
|
+
? deserializeAws_restJson1IdFieldNameList(output.idFieldNames, context)
|
|
4504
|
+
: undefined,
|
|
4505
|
+
objectPath: __expectString(output.objectPath),
|
|
4506
|
+
successResponseHandlingConfig: output.successResponseHandlingConfig !== undefined && output.successResponseHandlingConfig !== null
|
|
4507
|
+
? deserializeAws_restJson1SuccessResponseHandlingConfig(output.successResponseHandlingConfig, context)
|
|
4508
|
+
: undefined,
|
|
4509
|
+
writeOperationType: __expectString(output.writeOperationType),
|
|
4510
|
+
};
|
|
4511
|
+
};
|
|
4475
4512
|
var deserializeAws_restJson1SAPODataMetadata = function (output, context) {
|
|
4476
4513
|
return {};
|
|
4477
4514
|
};
|
|
@@ -4658,6 +4695,12 @@ var deserializeAws_restJson1SourceFlowConfig = function (output, context) {
|
|
|
4658
4695
|
: undefined,
|
|
4659
4696
|
};
|
|
4660
4697
|
};
|
|
4698
|
+
var deserializeAws_restJson1SuccessResponseHandlingConfig = function (output, context) {
|
|
4699
|
+
return {
|
|
4700
|
+
bucketName: __expectString(output.bucketName),
|
|
4701
|
+
bucketPrefix: __expectString(output.bucketPrefix),
|
|
4702
|
+
};
|
|
4703
|
+
};
|
|
4661
4704
|
var deserializeAws_restJson1SupportedApiVersionList = function (output, context) {
|
|
4662
4705
|
return (output || [])
|
|
4663
4706
|
.filter(function (e) { return e != null; })
|
|
@@ -3043,6 +3043,69 @@ export declare namespace SalesforceDestinationProperties {
|
|
|
3043
3043
|
*/
|
|
3044
3044
|
const filterSensitiveLog: (obj: SalesforceDestinationProperties) => any;
|
|
3045
3045
|
}
|
|
3046
|
+
/**
|
|
3047
|
+
* <p>Determines how Amazon AppFlow handles the success response that it gets
|
|
3048
|
+
* from the connector after placing data.</p>
|
|
3049
|
+
* <p>For example, this setting would determine
|
|
3050
|
+
* where to write the response from the destination connector upon a successful insert
|
|
3051
|
+
* operation.</p>
|
|
3052
|
+
*/
|
|
3053
|
+
export interface SuccessResponseHandlingConfig {
|
|
3054
|
+
/**
|
|
3055
|
+
* <p>The Amazon S3 bucket prefix.</p>
|
|
3056
|
+
*/
|
|
3057
|
+
bucketPrefix?: string;
|
|
3058
|
+
/**
|
|
3059
|
+
* <p>The name of the Amazon S3 bucket.</p>
|
|
3060
|
+
*/
|
|
3061
|
+
bucketName?: string;
|
|
3062
|
+
}
|
|
3063
|
+
export declare namespace SuccessResponseHandlingConfig {
|
|
3064
|
+
/**
|
|
3065
|
+
* @internal
|
|
3066
|
+
*/
|
|
3067
|
+
const filterSensitiveLog: (obj: SuccessResponseHandlingConfig) => any;
|
|
3068
|
+
}
|
|
3069
|
+
/**
|
|
3070
|
+
* <p>The properties that are applied when using SAPOData as a flow destination</p>
|
|
3071
|
+
*/
|
|
3072
|
+
export interface SAPODataDestinationProperties {
|
|
3073
|
+
/**
|
|
3074
|
+
* <p>The object path specified in the SAPOData flow destination.</p>
|
|
3075
|
+
*/
|
|
3076
|
+
objectPath: string | undefined;
|
|
3077
|
+
/**
|
|
3078
|
+
* <p>Determines how Amazon AppFlow handles the success response that it gets
|
|
3079
|
+
* from the connector after placing data.</p>
|
|
3080
|
+
* <p>For example, this setting would determine where to write the response from a destination
|
|
3081
|
+
* connector upon a successful insert operation.</p>
|
|
3082
|
+
*/
|
|
3083
|
+
successResponseHandlingConfig?: SuccessResponseHandlingConfig;
|
|
3084
|
+
/**
|
|
3085
|
+
* <p> A list of field names that can be used as an ID field when performing a write operation.
|
|
3086
|
+
* </p>
|
|
3087
|
+
*/
|
|
3088
|
+
idFieldNames?: string[];
|
|
3089
|
+
/**
|
|
3090
|
+
* <p> The settings that determine how Amazon AppFlow handles an error when placing data in the
|
|
3091
|
+
* destination. For example, this setting would determine if the flow should fail after one
|
|
3092
|
+
* insertion error, or continue and attempt to insert every record regardless of the initial
|
|
3093
|
+
* failure. <code>ErrorHandlingConfig</code> is a part of the destination connector details.
|
|
3094
|
+
* </p>
|
|
3095
|
+
*/
|
|
3096
|
+
errorHandlingConfig?: ErrorHandlingConfig;
|
|
3097
|
+
/**
|
|
3098
|
+
* <p> The possible write operations in the destination connector. When this value is not
|
|
3099
|
+
* provided, this defaults to the <code>INSERT</code> operation. </p>
|
|
3100
|
+
*/
|
|
3101
|
+
writeOperationType?: WriteOperationType | string;
|
|
3102
|
+
}
|
|
3103
|
+
export declare namespace SAPODataDestinationProperties {
|
|
3104
|
+
/**
|
|
3105
|
+
* @internal
|
|
3106
|
+
*/
|
|
3107
|
+
const filterSensitiveLog: (obj: SAPODataDestinationProperties) => any;
|
|
3108
|
+
}
|
|
3046
3109
|
/**
|
|
3047
3110
|
* <p> The properties that are applied when Snowflake is being used as a destination. </p>
|
|
3048
3111
|
*/
|
|
@@ -3209,6 +3272,10 @@ export interface DestinationConnectorProperties {
|
|
|
3209
3272
|
* <p>The properties that are required to query the custom Connector.</p>
|
|
3210
3273
|
*/
|
|
3211
3274
|
CustomConnector?: CustomConnectorDestinationProperties;
|
|
3275
|
+
/**
|
|
3276
|
+
* <p>The properties required to query SAPOData.</p>
|
|
3277
|
+
*/
|
|
3278
|
+
SAPOData?: SAPODataDestinationProperties;
|
|
3212
3279
|
}
|
|
3213
3280
|
export declare namespace DestinationConnectorProperties {
|
|
3214
3281
|
/**
|
|
@@ -3682,6 +3749,7 @@ export declare enum TaskType {
|
|
|
3682
3749
|
MAP_ALL = "Map_all",
|
|
3683
3750
|
MASK = "Mask",
|
|
3684
3751
|
MERGE = "Merge",
|
|
3752
|
+
PASSTHROUGH = "Passthrough",
|
|
3685
3753
|
TRUNCATE = "Truncate",
|
|
3686
3754
|
VALIDATE = "Validate"
|
|
3687
3755
|
}
|
|
@@ -1834,6 +1834,34 @@ export declare namespace SalesforceDestinationProperties {
|
|
|
1834
1834
|
const filterSensitiveLog: (obj: SalesforceDestinationProperties) => any;
|
|
1835
1835
|
}
|
|
1836
1836
|
|
|
1837
|
+
export interface SuccessResponseHandlingConfig {
|
|
1838
|
+
|
|
1839
|
+
bucketPrefix?: string;
|
|
1840
|
+
|
|
1841
|
+
bucketName?: string;
|
|
1842
|
+
}
|
|
1843
|
+
export declare namespace SuccessResponseHandlingConfig {
|
|
1844
|
+
|
|
1845
|
+
const filterSensitiveLog: (obj: SuccessResponseHandlingConfig) => any;
|
|
1846
|
+
}
|
|
1847
|
+
|
|
1848
|
+
export interface SAPODataDestinationProperties {
|
|
1849
|
+
|
|
1850
|
+
objectPath: string | undefined;
|
|
1851
|
+
|
|
1852
|
+
successResponseHandlingConfig?: SuccessResponseHandlingConfig;
|
|
1853
|
+
|
|
1854
|
+
idFieldNames?: string[];
|
|
1855
|
+
|
|
1856
|
+
errorHandlingConfig?: ErrorHandlingConfig;
|
|
1857
|
+
|
|
1858
|
+
writeOperationType?: WriteOperationType | string;
|
|
1859
|
+
}
|
|
1860
|
+
export declare namespace SAPODataDestinationProperties {
|
|
1861
|
+
|
|
1862
|
+
const filterSensitiveLog: (obj: SAPODataDestinationProperties) => any;
|
|
1863
|
+
}
|
|
1864
|
+
|
|
1837
1865
|
export interface SnowflakeDestinationProperties {
|
|
1838
1866
|
|
|
1839
1867
|
object: string | undefined;
|
|
@@ -1913,6 +1941,8 @@ export interface DestinationConnectorProperties {
|
|
|
1913
1941
|
Zendesk?: ZendeskDestinationProperties;
|
|
1914
1942
|
|
|
1915
1943
|
CustomConnector?: CustomConnectorDestinationProperties;
|
|
1944
|
+
|
|
1945
|
+
SAPOData?: SAPODataDestinationProperties;
|
|
1916
1946
|
}
|
|
1917
1947
|
export declare namespace DestinationConnectorProperties {
|
|
1918
1948
|
|
|
@@ -2190,6 +2220,7 @@ export declare enum TaskType {
|
|
|
2190
2220
|
MAP_ALL = "Map_all",
|
|
2191
2221
|
MASK = "Mask",
|
|
2192
2222
|
MERGE = "Merge",
|
|
2223
|
+
PASSTHROUGH = "Passthrough",
|
|
2193
2224
|
TRUNCATE = "Truncate",
|
|
2194
2225
|
VALIDATE = "Validate"
|
|
2195
2226
|
}
|
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.52.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",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "rimraf ./dist-*"
|
|
12
|
+
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
|
|
13
13
|
},
|
|
14
14
|
"main": "./dist-cjs/index.js",
|
|
15
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -18,40 +18,40 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
41
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-node": "3.
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.52.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.52.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.52.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.52.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.52.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.52.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.52.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.52.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.52.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.52.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.52.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.52.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.52.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.52.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.52.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.52.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.52.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.52.0",
|
|
39
|
+
"@aws-sdk/types": "3.52.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.52.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.52.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.52.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.52.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.52.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.52.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.52.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
51
|
"tslib": "^2.3.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.52.0",
|
|
55
55
|
"@tsconfig/recommended": "1.0.1",
|
|
56
56
|
"@types/node": "^12.7.5",
|
|
57
57
|
"concurrently": "7.0.0",
|