@aws-sdk/client-appflow 3.186.0 → 3.190.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 +19 -0
- package/dist-cjs/models/models_0.js +12 -5
- package/dist-cjs/protocols/Aws_restJson1.js +18 -0
- package/dist-es/Appflow.js +90 -97
- package/dist-es/AppflowClient.js +22 -28
- package/dist-es/commands/CreateConnectorProfileCommand.js +21 -28
- package/dist-es/commands/CreateFlowCommand.js +21 -28
- package/dist-es/commands/DeleteConnectorProfileCommand.js +21 -28
- package/dist-es/commands/DeleteFlowCommand.js +21 -28
- package/dist-es/commands/DescribeConnectorCommand.js +21 -28
- package/dist-es/commands/DescribeConnectorEntityCommand.js +21 -28
- package/dist-es/commands/DescribeConnectorProfilesCommand.js +21 -28
- package/dist-es/commands/DescribeConnectorsCommand.js +21 -28
- package/dist-es/commands/DescribeFlowCommand.js +21 -28
- package/dist-es/commands/DescribeFlowExecutionRecordsCommand.js +21 -28
- package/dist-es/commands/ListConnectorEntitiesCommand.js +21 -28
- package/dist-es/commands/ListConnectorsCommand.js +21 -28
- package/dist-es/commands/ListFlowsCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/RegisterConnectorCommand.js +21 -28
- package/dist-es/commands/StartFlowCommand.js +21 -28
- package/dist-es/commands/StopFlowCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/UnregisterConnectorCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateConnectorProfileCommand.js +21 -28
- package/dist-es/commands/UpdateFlowCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/AppflowServiceException.js +5 -10
- package/dist-es/models/models_0.js +727 -302
- package/dist-es/pagination/DescribeConnectorProfilesPaginator.js +25 -68
- package/dist-es/pagination/DescribeConnectorsPaginator.js +25 -68
- package/dist-es/pagination/DescribeFlowExecutionRecordsPaginator.js +25 -68
- package/dist-es/pagination/ListConnectorsPaginator.js +25 -68
- package/dist-es/pagination/ListFlowsPaginator.js +25 -68
- package/dist-es/protocols/Aws_restJson1.js +2731 -2943
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/dist-types/models/models_0.d.ts +98 -5
- package/dist-types/ts3.4/models/models_0.d.ts +9 -0
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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.190.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.189.0...v3.190.0) (2022-10-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-appflow
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.188.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.187.0...v3.188.0) (2022-10-13)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **client-appflow:** With this update, you can choose which Salesforce API is used by Amazon AppFlow to transfer data to or from your Salesforce account. You can choose the Salesforce REST API or Bulk API 2.0. You can also choose for Amazon AppFlow to pick the API automatically. ([fa7223a](https://github.com/aws/aws-sdk-js-v3/commit/fa7223ae5add3e09649613083fb1afaaf9f5c2bf))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# [3.186.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.185.0...v3.186.0) (2022-10-06)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @aws-sdk/client-appflow
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
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 = void 0;
|
|
3
|
+
exports.AggregationConfigFilterSensitiveLog = exports.UnsupportedOperationException = exports.ThrottlingException = exports.ExecutionStatus = exports.ResourceNotFoundException = exports.FlowStatus = exports.DataPullMode = exports.TaskType = exports.OperatorPropertiesKeys = exports.S3InputFileType = exports.PrefixType = exports.PrefixFormat = exports.FileType = exports.ValidationException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.ConnectorServerException = exports.PrivateConnectionProvisioningStatus = exports.PrivateConnectionProvisioningFailureCause = 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.Operator = exports.WriteOperationType = exports.TriggerType = exports.ScheduleFrequencyType = exports.Operators = exports.ConnectorType = exports.ConnectorProvisioningType = exports.SalesforceDataTransferApi = exports.ConnectorAuthenticationException = exports.ConnectionMode = exports.ConflictException = exports.AuthenticationType = exports.OAuth2GrantType = exports.OAuth2CustomPropType = exports.AmplitudeConnectorOperator = exports.AggregationType = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.DynatraceConnectorProfilePropertiesFilterSensitiveLog = exports.DatadogConnectorProfilePropertiesFilterSensitiveLog = 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 = void 0;
|
|
5
|
+
exports.RedshiftDestinationPropertiesFilterSensitiveLog = exports.MarketoDestinationPropertiesFilterSensitiveLog = 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 = void 0;
|
|
6
|
+
exports.DescribeFlowRequestFilterSensitiveLog = exports.DescribeConnectorsResponseFilterSensitiveLog = exports.DescribeConnectorsRequestFilterSensitiveLog = exports.DescribeConnectorProfilesResponseFilterSensitiveLog = 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.DestinationFlowConfigFilterSensitiveLog = exports.DestinationConnectorPropertiesFilterSensitiveLog = exports.ZendeskDestinationPropertiesFilterSensitiveLog = exports.UpsolverDestinationPropertiesFilterSensitiveLog = exports.UpsolverS3OutputFormatConfigFilterSensitiveLog = exports.SnowflakeDestinationPropertiesFilterSensitiveLog = exports.SAPODataDestinationPropertiesFilterSensitiveLog = exports.SuccessResponseHandlingConfigFilterSensitiveLog = exports.SalesforceDestinationPropertiesFilterSensitiveLog = exports.S3DestinationPropertiesFilterSensitiveLog = exports.S3OutputFormatConfigFilterSensitiveLog = exports.PrefixConfigFilterSensitiveLog = 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.ExecutionDetailsFilterSensitiveLog = 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 {
|
|
@@ -77,6 +77,12 @@ class ConnectorAuthenticationException extends AppflowServiceException_1.Appflow
|
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
exports.ConnectorAuthenticationException = ConnectorAuthenticationException;
|
|
80
|
+
var SalesforceDataTransferApi;
|
|
81
|
+
(function (SalesforceDataTransferApi) {
|
|
82
|
+
SalesforceDataTransferApi["AUTOMATIC"] = "AUTOMATIC";
|
|
83
|
+
SalesforceDataTransferApi["BULKV2"] = "BULKV2";
|
|
84
|
+
SalesforceDataTransferApi["REST_SYNC"] = "REST_SYNC";
|
|
85
|
+
})(SalesforceDataTransferApi = exports.SalesforceDataTransferApi || (exports.SalesforceDataTransferApi = {}));
|
|
80
86
|
var ConnectorProvisioningType;
|
|
81
87
|
(function (ConnectorProvisioningType) {
|
|
82
88
|
ConnectorProvisioningType["LAMBDA"] = "LAMBDA";
|
|
@@ -544,6 +550,7 @@ var OperatorPropertiesKeys;
|
|
|
544
550
|
OperatorPropertiesKeys["DATA_TYPE"] = "DATA_TYPE";
|
|
545
551
|
OperatorPropertiesKeys["DESTINATION_DATA_TYPE"] = "DESTINATION_DATA_TYPE";
|
|
546
552
|
OperatorPropertiesKeys["EXCLUDE_SOURCE_FIELDS_LIST"] = "EXCLUDE_SOURCE_FIELDS_LIST";
|
|
553
|
+
OperatorPropertiesKeys["INCLUDE_NEW_FIELDS"] = "INCLUDE_NEW_FIELDS";
|
|
547
554
|
OperatorPropertiesKeys["LOWER_BOUND"] = "LOWER_BOUND";
|
|
548
555
|
OperatorPropertiesKeys["MASK_LENGTH"] = "MASK_LENGTH";
|
|
549
556
|
OperatorPropertiesKeys["MASK_VALUE"] = "MASK_VALUE";
|
|
@@ -2270,6 +2270,7 @@ const serializeAws_restJson1SalesforceConnectorProfileProperties = (input, conte
|
|
|
2270
2270
|
};
|
|
2271
2271
|
const serializeAws_restJson1SalesforceDestinationProperties = (input, context) => {
|
|
2272
2272
|
return {
|
|
2273
|
+
...(input.dataTransferApi != null && { dataTransferApi: input.dataTransferApi }),
|
|
2273
2274
|
...(input.errorHandlingConfig != null && {
|
|
2274
2275
|
errorHandlingConfig: serializeAws_restJson1ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
2275
2276
|
}),
|
|
@@ -2282,6 +2283,7 @@ const serializeAws_restJson1SalesforceDestinationProperties = (input, context) =
|
|
|
2282
2283
|
};
|
|
2283
2284
|
const serializeAws_restJson1SalesforceSourceProperties = (input, context) => {
|
|
2284
2285
|
return {
|
|
2286
|
+
...(input.dataTransferApi != null && { dataTransferApi: input.dataTransferApi }),
|
|
2285
2287
|
...(input.enableDynamicFieldUpdate != null && { enableDynamicFieldUpdate: input.enableDynamicFieldUpdate }),
|
|
2286
2288
|
...(input.includeDeletedRecords != null && { includeDeletedRecords: input.includeDeletedRecords }),
|
|
2287
2289
|
...(input.object != null && { object: input.object }),
|
|
@@ -3641,8 +3643,20 @@ const deserializeAws_restJson1SalesforceConnectorProfileProperties = (output, co
|
|
|
3641
3643
|
isSandboxEnvironment: (0, smithy_client_1.expectBoolean)(output.isSandboxEnvironment),
|
|
3642
3644
|
};
|
|
3643
3645
|
};
|
|
3646
|
+
const deserializeAws_restJson1SalesforceDataTransferApiList = (output, context) => {
|
|
3647
|
+
const retVal = (output || [])
|
|
3648
|
+
.filter((e) => e != null)
|
|
3649
|
+
.map((entry) => {
|
|
3650
|
+
if (entry === null) {
|
|
3651
|
+
return null;
|
|
3652
|
+
}
|
|
3653
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3654
|
+
});
|
|
3655
|
+
return retVal;
|
|
3656
|
+
};
|
|
3644
3657
|
const deserializeAws_restJson1SalesforceDestinationProperties = (output, context) => {
|
|
3645
3658
|
return {
|
|
3659
|
+
dataTransferApi: (0, smithy_client_1.expectString)(output.dataTransferApi),
|
|
3646
3660
|
errorHandlingConfig: output.errorHandlingConfig != null
|
|
3647
3661
|
? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
|
|
3648
3662
|
: undefined,
|
|
@@ -3653,11 +3667,15 @@ const deserializeAws_restJson1SalesforceDestinationProperties = (output, context
|
|
|
3653
3667
|
};
|
|
3654
3668
|
const deserializeAws_restJson1SalesforceMetadata = (output, context) => {
|
|
3655
3669
|
return {
|
|
3670
|
+
dataTransferApis: output.dataTransferApis != null
|
|
3671
|
+
? deserializeAws_restJson1SalesforceDataTransferApiList(output.dataTransferApis, context)
|
|
3672
|
+
: undefined,
|
|
3656
3673
|
oAuthScopes: output.oAuthScopes != null ? deserializeAws_restJson1OAuthScopeList(output.oAuthScopes, context) : undefined,
|
|
3657
3674
|
};
|
|
3658
3675
|
};
|
|
3659
3676
|
const deserializeAws_restJson1SalesforceSourceProperties = (output, context) => {
|
|
3660
3677
|
return {
|
|
3678
|
+
dataTransferApi: (0, smithy_client_1.expectString)(output.dataTransferApi),
|
|
3661
3679
|
enableDynamicFieldUpdate: (0, smithy_client_1.expectBoolean)(output.enableDynamicFieldUpdate),
|
|
3662
3680
|
includeDeletedRecords: (0, smithy_client_1.expectBoolean)(output.includeDeletedRecords),
|
|
3663
3681
|
object: (0, smithy_client_1.expectString)(output.object),
|
package/dist-es/Appflow.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { AppflowClient } from "./AppflowClient";
|
|
3
2
|
import { CreateConnectorProfileCommand, } from "./commands/CreateConnectorProfileCommand";
|
|
4
3
|
import { CreateFlowCommand } from "./commands/CreateFlowCommand";
|
|
@@ -22,319 +21,313 @@ import { UnregisterConnectorCommand, } from "./commands/UnregisterConnectorComma
|
|
|
22
21
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
23
22
|
import { UpdateConnectorProfileCommand, } from "./commands/UpdateConnectorProfileCommand";
|
|
24
23
|
import { UpdateFlowCommand } from "./commands/UpdateFlowCommand";
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
29
|
-
}
|
|
30
|
-
Appflow.prototype.createConnectorProfile = function (args, optionsOrCb, cb) {
|
|
31
|
-
var command = new CreateConnectorProfileCommand(args);
|
|
24
|
+
export class Appflow extends AppflowClient {
|
|
25
|
+
createConnectorProfile(args, optionsOrCb, cb) {
|
|
26
|
+
const command = new CreateConnectorProfileCommand(args);
|
|
32
27
|
if (typeof optionsOrCb === "function") {
|
|
33
28
|
this.send(command, optionsOrCb);
|
|
34
29
|
}
|
|
35
30
|
else if (typeof cb === "function") {
|
|
36
31
|
if (typeof optionsOrCb !== "object")
|
|
37
|
-
throw new Error(
|
|
32
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
38
33
|
this.send(command, optionsOrCb || {}, cb);
|
|
39
34
|
}
|
|
40
35
|
else {
|
|
41
36
|
return this.send(command, optionsOrCb);
|
|
42
37
|
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
|
|
38
|
+
}
|
|
39
|
+
createFlow(args, optionsOrCb, cb) {
|
|
40
|
+
const command = new CreateFlowCommand(args);
|
|
46
41
|
if (typeof optionsOrCb === "function") {
|
|
47
42
|
this.send(command, optionsOrCb);
|
|
48
43
|
}
|
|
49
44
|
else if (typeof cb === "function") {
|
|
50
45
|
if (typeof optionsOrCb !== "object")
|
|
51
|
-
throw new Error(
|
|
46
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
52
47
|
this.send(command, optionsOrCb || {}, cb);
|
|
53
48
|
}
|
|
54
49
|
else {
|
|
55
50
|
return this.send(command, optionsOrCb);
|
|
56
51
|
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
|
|
52
|
+
}
|
|
53
|
+
deleteConnectorProfile(args, optionsOrCb, cb) {
|
|
54
|
+
const command = new DeleteConnectorProfileCommand(args);
|
|
60
55
|
if (typeof optionsOrCb === "function") {
|
|
61
56
|
this.send(command, optionsOrCb);
|
|
62
57
|
}
|
|
63
58
|
else if (typeof cb === "function") {
|
|
64
59
|
if (typeof optionsOrCb !== "object")
|
|
65
|
-
throw new Error(
|
|
60
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
66
61
|
this.send(command, optionsOrCb || {}, cb);
|
|
67
62
|
}
|
|
68
63
|
else {
|
|
69
64
|
return this.send(command, optionsOrCb);
|
|
70
65
|
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
|
|
66
|
+
}
|
|
67
|
+
deleteFlow(args, optionsOrCb, cb) {
|
|
68
|
+
const command = new DeleteFlowCommand(args);
|
|
74
69
|
if (typeof optionsOrCb === "function") {
|
|
75
70
|
this.send(command, optionsOrCb);
|
|
76
71
|
}
|
|
77
72
|
else if (typeof cb === "function") {
|
|
78
73
|
if (typeof optionsOrCb !== "object")
|
|
79
|
-
throw new Error(
|
|
74
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
80
75
|
this.send(command, optionsOrCb || {}, cb);
|
|
81
76
|
}
|
|
82
77
|
else {
|
|
83
78
|
return this.send(command, optionsOrCb);
|
|
84
79
|
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
|
|
80
|
+
}
|
|
81
|
+
describeConnector(args, optionsOrCb, cb) {
|
|
82
|
+
const command = new DescribeConnectorCommand(args);
|
|
88
83
|
if (typeof optionsOrCb === "function") {
|
|
89
84
|
this.send(command, optionsOrCb);
|
|
90
85
|
}
|
|
91
86
|
else if (typeof cb === "function") {
|
|
92
87
|
if (typeof optionsOrCb !== "object")
|
|
93
|
-
throw new Error(
|
|
88
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
94
89
|
this.send(command, optionsOrCb || {}, cb);
|
|
95
90
|
}
|
|
96
91
|
else {
|
|
97
92
|
return this.send(command, optionsOrCb);
|
|
98
93
|
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
|
|
94
|
+
}
|
|
95
|
+
describeConnectorEntity(args, optionsOrCb, cb) {
|
|
96
|
+
const command = new DescribeConnectorEntityCommand(args);
|
|
102
97
|
if (typeof optionsOrCb === "function") {
|
|
103
98
|
this.send(command, optionsOrCb);
|
|
104
99
|
}
|
|
105
100
|
else if (typeof cb === "function") {
|
|
106
101
|
if (typeof optionsOrCb !== "object")
|
|
107
|
-
throw new Error(
|
|
102
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
108
103
|
this.send(command, optionsOrCb || {}, cb);
|
|
109
104
|
}
|
|
110
105
|
else {
|
|
111
106
|
return this.send(command, optionsOrCb);
|
|
112
107
|
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
|
|
108
|
+
}
|
|
109
|
+
describeConnectorProfiles(args, optionsOrCb, cb) {
|
|
110
|
+
const command = new DescribeConnectorProfilesCommand(args);
|
|
116
111
|
if (typeof optionsOrCb === "function") {
|
|
117
112
|
this.send(command, optionsOrCb);
|
|
118
113
|
}
|
|
119
114
|
else if (typeof cb === "function") {
|
|
120
115
|
if (typeof optionsOrCb !== "object")
|
|
121
|
-
throw new Error(
|
|
116
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
122
117
|
this.send(command, optionsOrCb || {}, cb);
|
|
123
118
|
}
|
|
124
119
|
else {
|
|
125
120
|
return this.send(command, optionsOrCb);
|
|
126
121
|
}
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
|
|
122
|
+
}
|
|
123
|
+
describeConnectors(args, optionsOrCb, cb) {
|
|
124
|
+
const command = new DescribeConnectorsCommand(args);
|
|
130
125
|
if (typeof optionsOrCb === "function") {
|
|
131
126
|
this.send(command, optionsOrCb);
|
|
132
127
|
}
|
|
133
128
|
else if (typeof cb === "function") {
|
|
134
129
|
if (typeof optionsOrCb !== "object")
|
|
135
|
-
throw new Error(
|
|
130
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
136
131
|
this.send(command, optionsOrCb || {}, cb);
|
|
137
132
|
}
|
|
138
133
|
else {
|
|
139
134
|
return this.send(command, optionsOrCb);
|
|
140
135
|
}
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
|
|
136
|
+
}
|
|
137
|
+
describeFlow(args, optionsOrCb, cb) {
|
|
138
|
+
const command = new DescribeFlowCommand(args);
|
|
144
139
|
if (typeof optionsOrCb === "function") {
|
|
145
140
|
this.send(command, optionsOrCb);
|
|
146
141
|
}
|
|
147
142
|
else if (typeof cb === "function") {
|
|
148
143
|
if (typeof optionsOrCb !== "object")
|
|
149
|
-
throw new Error(
|
|
144
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
150
145
|
this.send(command, optionsOrCb || {}, cb);
|
|
151
146
|
}
|
|
152
147
|
else {
|
|
153
148
|
return this.send(command, optionsOrCb);
|
|
154
149
|
}
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
|
|
150
|
+
}
|
|
151
|
+
describeFlowExecutionRecords(args, optionsOrCb, cb) {
|
|
152
|
+
const command = new DescribeFlowExecutionRecordsCommand(args);
|
|
158
153
|
if (typeof optionsOrCb === "function") {
|
|
159
154
|
this.send(command, optionsOrCb);
|
|
160
155
|
}
|
|
161
156
|
else if (typeof cb === "function") {
|
|
162
157
|
if (typeof optionsOrCb !== "object")
|
|
163
|
-
throw new Error(
|
|
158
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
164
159
|
this.send(command, optionsOrCb || {}, cb);
|
|
165
160
|
}
|
|
166
161
|
else {
|
|
167
162
|
return this.send(command, optionsOrCb);
|
|
168
163
|
}
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
|
|
164
|
+
}
|
|
165
|
+
listConnectorEntities(args, optionsOrCb, cb) {
|
|
166
|
+
const command = new ListConnectorEntitiesCommand(args);
|
|
172
167
|
if (typeof optionsOrCb === "function") {
|
|
173
168
|
this.send(command, optionsOrCb);
|
|
174
169
|
}
|
|
175
170
|
else if (typeof cb === "function") {
|
|
176
171
|
if (typeof optionsOrCb !== "object")
|
|
177
|
-
throw new Error(
|
|
172
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
178
173
|
this.send(command, optionsOrCb || {}, cb);
|
|
179
174
|
}
|
|
180
175
|
else {
|
|
181
176
|
return this.send(command, optionsOrCb);
|
|
182
177
|
}
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
|
|
178
|
+
}
|
|
179
|
+
listConnectors(args, optionsOrCb, cb) {
|
|
180
|
+
const command = new ListConnectorsCommand(args);
|
|
186
181
|
if (typeof optionsOrCb === "function") {
|
|
187
182
|
this.send(command, optionsOrCb);
|
|
188
183
|
}
|
|
189
184
|
else if (typeof cb === "function") {
|
|
190
185
|
if (typeof optionsOrCb !== "object")
|
|
191
|
-
throw new Error(
|
|
186
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
192
187
|
this.send(command, optionsOrCb || {}, cb);
|
|
193
188
|
}
|
|
194
189
|
else {
|
|
195
190
|
return this.send(command, optionsOrCb);
|
|
196
191
|
}
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
|
|
192
|
+
}
|
|
193
|
+
listFlows(args, optionsOrCb, cb) {
|
|
194
|
+
const command = new ListFlowsCommand(args);
|
|
200
195
|
if (typeof optionsOrCb === "function") {
|
|
201
196
|
this.send(command, optionsOrCb);
|
|
202
197
|
}
|
|
203
198
|
else if (typeof cb === "function") {
|
|
204
199
|
if (typeof optionsOrCb !== "object")
|
|
205
|
-
throw new Error(
|
|
200
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
206
201
|
this.send(command, optionsOrCb || {}, cb);
|
|
207
202
|
}
|
|
208
203
|
else {
|
|
209
204
|
return this.send(command, optionsOrCb);
|
|
210
205
|
}
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
|
|
206
|
+
}
|
|
207
|
+
listTagsForResource(args, optionsOrCb, cb) {
|
|
208
|
+
const command = new ListTagsForResourceCommand(args);
|
|
214
209
|
if (typeof optionsOrCb === "function") {
|
|
215
210
|
this.send(command, optionsOrCb);
|
|
216
211
|
}
|
|
217
212
|
else if (typeof cb === "function") {
|
|
218
213
|
if (typeof optionsOrCb !== "object")
|
|
219
|
-
throw new Error(
|
|
214
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
220
215
|
this.send(command, optionsOrCb || {}, cb);
|
|
221
216
|
}
|
|
222
217
|
else {
|
|
223
218
|
return this.send(command, optionsOrCb);
|
|
224
219
|
}
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
|
|
220
|
+
}
|
|
221
|
+
registerConnector(args, optionsOrCb, cb) {
|
|
222
|
+
const command = new RegisterConnectorCommand(args);
|
|
228
223
|
if (typeof optionsOrCb === "function") {
|
|
229
224
|
this.send(command, optionsOrCb);
|
|
230
225
|
}
|
|
231
226
|
else if (typeof cb === "function") {
|
|
232
227
|
if (typeof optionsOrCb !== "object")
|
|
233
|
-
throw new Error(
|
|
228
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
234
229
|
this.send(command, optionsOrCb || {}, cb);
|
|
235
230
|
}
|
|
236
231
|
else {
|
|
237
232
|
return this.send(command, optionsOrCb);
|
|
238
233
|
}
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
|
|
234
|
+
}
|
|
235
|
+
startFlow(args, optionsOrCb, cb) {
|
|
236
|
+
const command = new StartFlowCommand(args);
|
|
242
237
|
if (typeof optionsOrCb === "function") {
|
|
243
238
|
this.send(command, optionsOrCb);
|
|
244
239
|
}
|
|
245
240
|
else if (typeof cb === "function") {
|
|
246
241
|
if (typeof optionsOrCb !== "object")
|
|
247
|
-
throw new Error(
|
|
242
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
248
243
|
this.send(command, optionsOrCb || {}, cb);
|
|
249
244
|
}
|
|
250
245
|
else {
|
|
251
246
|
return this.send(command, optionsOrCb);
|
|
252
247
|
}
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
|
|
248
|
+
}
|
|
249
|
+
stopFlow(args, optionsOrCb, cb) {
|
|
250
|
+
const command = new StopFlowCommand(args);
|
|
256
251
|
if (typeof optionsOrCb === "function") {
|
|
257
252
|
this.send(command, optionsOrCb);
|
|
258
253
|
}
|
|
259
254
|
else if (typeof cb === "function") {
|
|
260
255
|
if (typeof optionsOrCb !== "object")
|
|
261
|
-
throw new Error(
|
|
256
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
262
257
|
this.send(command, optionsOrCb || {}, cb);
|
|
263
258
|
}
|
|
264
259
|
else {
|
|
265
260
|
return this.send(command, optionsOrCb);
|
|
266
261
|
}
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
|
|
262
|
+
}
|
|
263
|
+
tagResource(args, optionsOrCb, cb) {
|
|
264
|
+
const command = new TagResourceCommand(args);
|
|
270
265
|
if (typeof optionsOrCb === "function") {
|
|
271
266
|
this.send(command, optionsOrCb);
|
|
272
267
|
}
|
|
273
268
|
else if (typeof cb === "function") {
|
|
274
269
|
if (typeof optionsOrCb !== "object")
|
|
275
|
-
throw new Error(
|
|
270
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
276
271
|
this.send(command, optionsOrCb || {}, cb);
|
|
277
272
|
}
|
|
278
273
|
else {
|
|
279
274
|
return this.send(command, optionsOrCb);
|
|
280
275
|
}
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
|
|
276
|
+
}
|
|
277
|
+
unregisterConnector(args, optionsOrCb, cb) {
|
|
278
|
+
const command = new UnregisterConnectorCommand(args);
|
|
284
279
|
if (typeof optionsOrCb === "function") {
|
|
285
280
|
this.send(command, optionsOrCb);
|
|
286
281
|
}
|
|
287
282
|
else if (typeof cb === "function") {
|
|
288
283
|
if (typeof optionsOrCb !== "object")
|
|
289
|
-
throw new Error(
|
|
284
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
290
285
|
this.send(command, optionsOrCb || {}, cb);
|
|
291
286
|
}
|
|
292
287
|
else {
|
|
293
288
|
return this.send(command, optionsOrCb);
|
|
294
289
|
}
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
|
|
290
|
+
}
|
|
291
|
+
untagResource(args, optionsOrCb, cb) {
|
|
292
|
+
const command = new UntagResourceCommand(args);
|
|
298
293
|
if (typeof optionsOrCb === "function") {
|
|
299
294
|
this.send(command, optionsOrCb);
|
|
300
295
|
}
|
|
301
296
|
else if (typeof cb === "function") {
|
|
302
297
|
if (typeof optionsOrCb !== "object")
|
|
303
|
-
throw new Error(
|
|
298
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
304
299
|
this.send(command, optionsOrCb || {}, cb);
|
|
305
300
|
}
|
|
306
301
|
else {
|
|
307
302
|
return this.send(command, optionsOrCb);
|
|
308
303
|
}
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
|
|
304
|
+
}
|
|
305
|
+
updateConnectorProfile(args, optionsOrCb, cb) {
|
|
306
|
+
const command = new UpdateConnectorProfileCommand(args);
|
|
312
307
|
if (typeof optionsOrCb === "function") {
|
|
313
308
|
this.send(command, optionsOrCb);
|
|
314
309
|
}
|
|
315
310
|
else if (typeof cb === "function") {
|
|
316
311
|
if (typeof optionsOrCb !== "object")
|
|
317
|
-
throw new Error(
|
|
312
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
318
313
|
this.send(command, optionsOrCb || {}, cb);
|
|
319
314
|
}
|
|
320
315
|
else {
|
|
321
316
|
return this.send(command, optionsOrCb);
|
|
322
317
|
}
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
|
|
318
|
+
}
|
|
319
|
+
updateFlow(args, optionsOrCb, cb) {
|
|
320
|
+
const command = new UpdateFlowCommand(args);
|
|
326
321
|
if (typeof optionsOrCb === "function") {
|
|
327
322
|
this.send(command, optionsOrCb);
|
|
328
323
|
}
|
|
329
324
|
else if (typeof cb === "function") {
|
|
330
325
|
if (typeof optionsOrCb !== "object")
|
|
331
|
-
throw new Error(
|
|
326
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
332
327
|
this.send(command, optionsOrCb || {}, cb);
|
|
333
328
|
}
|
|
334
329
|
else {
|
|
335
330
|
return this.send(command, optionsOrCb);
|
|
336
331
|
}
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
}(AppflowClient));
|
|
340
|
-
export { Appflow };
|
|
332
|
+
}
|
|
333
|
+
}
|
package/dist-es/AppflowClient.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
3
2
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
4
3
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -9,31 +8,26 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
|
|
|
9
8
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
10
9
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
11
10
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
31
|
-
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
32
|
-
return _this;
|
|
11
|
+
export class AppflowClient extends __Client {
|
|
12
|
+
constructor(configuration) {
|
|
13
|
+
const _config_0 = __getRuntimeConfig(configuration);
|
|
14
|
+
const _config_1 = resolveRegionConfig(_config_0);
|
|
15
|
+
const _config_2 = resolveEndpointsConfig(_config_1);
|
|
16
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
17
|
+
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
18
|
+
const _config_5 = resolveAwsAuthConfig(_config_4);
|
|
19
|
+
const _config_6 = resolveUserAgentConfig(_config_5);
|
|
20
|
+
super(_config_6);
|
|
21
|
+
this.config = _config_6;
|
|
22
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
23
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
24
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
25
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
26
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
27
|
+
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
28
|
+
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
33
29
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}(__Client));
|
|
39
|
-
export { AppflowClient };
|
|
30
|
+
destroy() {
|
|
31
|
+
super.destroy();
|
|
32
|
+
}
|
|
33
|
+
}
|