@aws-sdk/client-appflow 3.52.0 → 3.53.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/index.js +3 -0
- package/dist-cjs/models/AppflowServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +136 -5
- package/dist-cjs/protocols/Aws_restJson1.js +293 -829
- package/dist-es/index.js +1 -0
- package/dist-es/models/AppflowServiceException.js +12 -0
- package/dist-es/models/models_0.js +122 -1
- package/dist-es/protocols/Aws_restJson1.js +535 -928
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/AppflowServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +72 -41
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/AppflowServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +52 -41
- package/package.json +25 -25
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.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
7
18
|
|
|
8
19
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AppflowServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./Appflow"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./AppflowClient"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./pagination"), exports);
|
|
10
|
+
var AppflowServiceException_1 = require("./models/AppflowServiceException");
|
|
11
|
+
Object.defineProperty(exports, "AppflowServiceException", { enumerable: true, get: function () { return AppflowServiceException_1.AppflowServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AppflowServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class AppflowServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, AppflowServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.AppflowServiceException = AppflowServiceException;
|
|
@@ -1,11 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
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 = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = void 0;
|
|
3
|
+
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.ConnectorAuthenticationException = exports.ConnectionMode = exports.ConflictException = 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 = exports.AccessDeniedException = void 0;
|
|
4
|
+
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 = exports.DestinationFieldProperties = exports.ConnectorEntity = exports.ConnectorDetail = void 0;
|
|
5
|
+
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.ValidationException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.CreateConnectorProfileResponse = exports.CreateConnectorProfileRequest = exports.ConnectorServerException = 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 = exports.DatadogConnectorProfileCredentials = exports.CustomConnectorProfileCredentials = exports.OAuth2Credentials = void 0;
|
|
6
|
+
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.ResourceNotFoundException = 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 = exports.S3InputFileType = exports.MarketoSourceProperties = exports.InforNexusSourceProperties = exports.GoogleAnalyticsSourceProperties = exports.DynatraceSourceProperties = exports.DatadogSourceProperties = exports.CustomConnectorSourceProperties = void 0;
|
|
7
|
+
exports.UpdateFlowResponse = exports.UpdateFlowRequest = exports.UpdateConnectorProfileResponse = exports.UpdateConnectorProfileRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.UnregisterConnectorResponse = exports.UnregisterConnectorRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.UnsupportedOperationException = exports.StopFlowResponse = exports.StopFlowRequest = exports.StartFlowResponse = exports.StartFlowRequest = exports.ThrottlingException = exports.RegisterConnectorResponse = exports.RegisterConnectorRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListFlowsResponse = exports.ListFlowsRequest = exports.ListConnectorsResponse = exports.ListConnectorsRequest = exports.ListConnectorEntitiesResponse = exports.ListConnectorEntitiesRequest = exports.FlowDefinition = exports.DescribeFlowExecutionRecordsResponse = void 0;
|
|
8
8
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
9
|
+
const AppflowServiceException_1 = require("./AppflowServiceException");
|
|
10
|
+
class AccessDeniedException extends AppflowServiceException_1.AppflowServiceException {
|
|
11
|
+
constructor(opts) {
|
|
12
|
+
super({
|
|
13
|
+
name: "AccessDeniedException",
|
|
14
|
+
$fault: "client",
|
|
15
|
+
...opts,
|
|
16
|
+
});
|
|
17
|
+
this.name = "AccessDeniedException";
|
|
18
|
+
this.$fault = "client";
|
|
19
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
9
23
|
var AggregationType;
|
|
10
24
|
(function (AggregationType) {
|
|
11
25
|
AggregationType["NONE"] = "None";
|
|
@@ -98,11 +112,37 @@ var BasicAuthCredentials;
|
|
|
98
112
|
...(obj.password && { password: smithy_client_1.SENSITIVE_STRING }),
|
|
99
113
|
});
|
|
100
114
|
})(BasicAuthCredentials = exports.BasicAuthCredentials || (exports.BasicAuthCredentials = {}));
|
|
115
|
+
class ConflictException extends AppflowServiceException_1.AppflowServiceException {
|
|
116
|
+
constructor(opts) {
|
|
117
|
+
super({
|
|
118
|
+
name: "ConflictException",
|
|
119
|
+
$fault: "client",
|
|
120
|
+
...opts,
|
|
121
|
+
});
|
|
122
|
+
this.name = "ConflictException";
|
|
123
|
+
this.$fault = "client";
|
|
124
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
exports.ConflictException = ConflictException;
|
|
101
128
|
var ConnectionMode;
|
|
102
129
|
(function (ConnectionMode) {
|
|
103
130
|
ConnectionMode["PRIVATE"] = "Private";
|
|
104
131
|
ConnectionMode["PUBLIC"] = "Public";
|
|
105
132
|
})(ConnectionMode = exports.ConnectionMode || (exports.ConnectionMode = {}));
|
|
133
|
+
class ConnectorAuthenticationException extends AppflowServiceException_1.AppflowServiceException {
|
|
134
|
+
constructor(opts) {
|
|
135
|
+
super({
|
|
136
|
+
name: "ConnectorAuthenticationException",
|
|
137
|
+
$fault: "client",
|
|
138
|
+
...opts,
|
|
139
|
+
});
|
|
140
|
+
this.name = "ConnectorAuthenticationException";
|
|
141
|
+
this.$fault = "client";
|
|
142
|
+
Object.setPrototypeOf(this, ConnectorAuthenticationException.prototype);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
exports.ConnectorAuthenticationException = ConnectorAuthenticationException;
|
|
106
146
|
var CustomerProfilesMetadata;
|
|
107
147
|
(function (CustomerProfilesMetadata) {
|
|
108
148
|
CustomerProfilesMetadata.filterSensitiveLog = (obj) => ({
|
|
@@ -1017,6 +1057,19 @@ var ConnectorProfileConfig;
|
|
|
1017
1057
|
}),
|
|
1018
1058
|
});
|
|
1019
1059
|
})(ConnectorProfileConfig = exports.ConnectorProfileConfig || (exports.ConnectorProfileConfig = {}));
|
|
1060
|
+
class ConnectorServerException extends AppflowServiceException_1.AppflowServiceException {
|
|
1061
|
+
constructor(opts) {
|
|
1062
|
+
super({
|
|
1063
|
+
name: "ConnectorServerException",
|
|
1064
|
+
$fault: "client",
|
|
1065
|
+
...opts,
|
|
1066
|
+
});
|
|
1067
|
+
this.name = "ConnectorServerException";
|
|
1068
|
+
this.$fault = "client";
|
|
1069
|
+
Object.setPrototypeOf(this, ConnectorServerException.prototype);
|
|
1070
|
+
}
|
|
1071
|
+
}
|
|
1072
|
+
exports.ConnectorServerException = ConnectorServerException;
|
|
1020
1073
|
var CreateConnectorProfileRequest;
|
|
1021
1074
|
(function (CreateConnectorProfileRequest) {
|
|
1022
1075
|
CreateConnectorProfileRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1029,6 +1082,45 @@ var CreateConnectorProfileResponse;
|
|
|
1029
1082
|
...obj,
|
|
1030
1083
|
});
|
|
1031
1084
|
})(CreateConnectorProfileResponse = exports.CreateConnectorProfileResponse || (exports.CreateConnectorProfileResponse = {}));
|
|
1085
|
+
class InternalServerException extends AppflowServiceException_1.AppflowServiceException {
|
|
1086
|
+
constructor(opts) {
|
|
1087
|
+
super({
|
|
1088
|
+
name: "InternalServerException",
|
|
1089
|
+
$fault: "server",
|
|
1090
|
+
...opts,
|
|
1091
|
+
});
|
|
1092
|
+
this.name = "InternalServerException";
|
|
1093
|
+
this.$fault = "server";
|
|
1094
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
1095
|
+
}
|
|
1096
|
+
}
|
|
1097
|
+
exports.InternalServerException = InternalServerException;
|
|
1098
|
+
class ServiceQuotaExceededException extends AppflowServiceException_1.AppflowServiceException {
|
|
1099
|
+
constructor(opts) {
|
|
1100
|
+
super({
|
|
1101
|
+
name: "ServiceQuotaExceededException",
|
|
1102
|
+
$fault: "client",
|
|
1103
|
+
...opts,
|
|
1104
|
+
});
|
|
1105
|
+
this.name = "ServiceQuotaExceededException";
|
|
1106
|
+
this.$fault = "client";
|
|
1107
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
1108
|
+
}
|
|
1109
|
+
}
|
|
1110
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
1111
|
+
class ValidationException extends AppflowServiceException_1.AppflowServiceException {
|
|
1112
|
+
constructor(opts) {
|
|
1113
|
+
super({
|
|
1114
|
+
name: "ValidationException",
|
|
1115
|
+
$fault: "client",
|
|
1116
|
+
...opts,
|
|
1117
|
+
});
|
|
1118
|
+
this.name = "ValidationException";
|
|
1119
|
+
this.$fault = "client";
|
|
1120
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
1121
|
+
}
|
|
1122
|
+
}
|
|
1123
|
+
exports.ValidationException = ValidationException;
|
|
1032
1124
|
var ErrorHandlingConfig;
|
|
1033
1125
|
(function (ErrorHandlingConfig) {
|
|
1034
1126
|
ErrorHandlingConfig.filterSensitiveLog = (obj) => ({
|
|
@@ -1362,6 +1454,19 @@ var CreateFlowResponse;
|
|
|
1362
1454
|
...obj,
|
|
1363
1455
|
});
|
|
1364
1456
|
})(CreateFlowResponse = exports.CreateFlowResponse || (exports.CreateFlowResponse = {}));
|
|
1457
|
+
class ResourceNotFoundException extends AppflowServiceException_1.AppflowServiceException {
|
|
1458
|
+
constructor(opts) {
|
|
1459
|
+
super({
|
|
1460
|
+
name: "ResourceNotFoundException",
|
|
1461
|
+
$fault: "client",
|
|
1462
|
+
...opts,
|
|
1463
|
+
});
|
|
1464
|
+
this.name = "ResourceNotFoundException";
|
|
1465
|
+
this.$fault = "client";
|
|
1466
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
1467
|
+
}
|
|
1468
|
+
}
|
|
1469
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1365
1470
|
var DeleteConnectorProfileRequest;
|
|
1366
1471
|
(function (DeleteConnectorProfileRequest) {
|
|
1367
1472
|
DeleteConnectorProfileRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1554,6 +1659,19 @@ var RegisterConnectorResponse;
|
|
|
1554
1659
|
...obj,
|
|
1555
1660
|
});
|
|
1556
1661
|
})(RegisterConnectorResponse = exports.RegisterConnectorResponse || (exports.RegisterConnectorResponse = {}));
|
|
1662
|
+
class ThrottlingException extends AppflowServiceException_1.AppflowServiceException {
|
|
1663
|
+
constructor(opts) {
|
|
1664
|
+
super({
|
|
1665
|
+
name: "ThrottlingException",
|
|
1666
|
+
$fault: "client",
|
|
1667
|
+
...opts,
|
|
1668
|
+
});
|
|
1669
|
+
this.name = "ThrottlingException";
|
|
1670
|
+
this.$fault = "client";
|
|
1671
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
1672
|
+
}
|
|
1673
|
+
}
|
|
1674
|
+
exports.ThrottlingException = ThrottlingException;
|
|
1557
1675
|
var StartFlowRequest;
|
|
1558
1676
|
(function (StartFlowRequest) {
|
|
1559
1677
|
StartFlowRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1578,6 +1696,19 @@ var StopFlowResponse;
|
|
|
1578
1696
|
...obj,
|
|
1579
1697
|
});
|
|
1580
1698
|
})(StopFlowResponse = exports.StopFlowResponse || (exports.StopFlowResponse = {}));
|
|
1699
|
+
class UnsupportedOperationException extends AppflowServiceException_1.AppflowServiceException {
|
|
1700
|
+
constructor(opts) {
|
|
1701
|
+
super({
|
|
1702
|
+
name: "UnsupportedOperationException",
|
|
1703
|
+
$fault: "client",
|
|
1704
|
+
...opts,
|
|
1705
|
+
});
|
|
1706
|
+
this.name = "UnsupportedOperationException";
|
|
1707
|
+
this.$fault = "client";
|
|
1708
|
+
Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
|
|
1709
|
+
}
|
|
1710
|
+
}
|
|
1711
|
+
exports.UnsupportedOperationException = UnsupportedOperationException;
|
|
1581
1712
|
var TagResourceRequest;
|
|
1582
1713
|
(function (TagResourceRequest) {
|
|
1583
1714
|
TagResourceRequest.filterSensitiveLog = (obj) => ({
|