@aws-sdk/client-appflow 3.67.0 → 3.74.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 CHANGED
@@ -3,6 +3,33 @@
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.74.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.73.0...v3.74.0) (2022-04-20)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-appflow
9
+
10
+
11
+
12
+
13
+
14
+ # [3.72.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.71.0...v3.72.0) (2022-04-15)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-appflow
17
+
18
+
19
+
20
+
21
+
22
+ # [3.71.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.70.0...v3.71.0) (2022-04-14)
23
+
24
+
25
+ ### Features
26
+
27
+ * **client-appflow:** Enables users to pass custom token URL parameters for Oauth2 authentication during create connector profile ([fc1c8ac](https://github.com/aws/aws-sdk-js-v3/commit/fc1c8ac67dc1386914d16433f972881676c11c64))
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.67.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.66.0...v3.67.0) (2022-04-08)
7
34
 
8
35
  **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.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.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.MarketoDestinationProperties = 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.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 = exports.IncrementalPullConfig = 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 = exports.ExecutionRecord = void 0;
3
+ 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.OAuth2CustomParameter = exports.OAuth2CustomPropType = 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.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 = exports.ConnectorConfiguration = exports.WriteOperationType = void 0;
5
+ 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.MarketoDestinationProperties = 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 = exports.CustomAuthCredentials = exports.ConnectorProfile = void 0;
6
+ 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 = exports.IncrementalPullConfig = exports.DestinationFlowConfig = exports.DestinationConnectorProperties = 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 = exports.ExecutionRecord = exports.ExecutionResult = exports.ErrorInfo = 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 {
@@ -81,6 +81,17 @@ var CustomAuthConfig;
81
81
  ...obj,
82
82
  });
83
83
  })(CustomAuthConfig = exports.CustomAuthConfig || (exports.CustomAuthConfig = {}));
84
+ var OAuth2CustomPropType;
85
+ (function (OAuth2CustomPropType) {
86
+ OAuth2CustomPropType["AUTH_URL"] = "AUTH_URL";
87
+ OAuth2CustomPropType["TOKEN_URL"] = "TOKEN_URL";
88
+ })(OAuth2CustomPropType = exports.OAuth2CustomPropType || (exports.OAuth2CustomPropType = {}));
89
+ var OAuth2CustomParameter;
90
+ (function (OAuth2CustomParameter) {
91
+ OAuth2CustomParameter.filterSensitiveLog = (obj) => ({
92
+ ...obj,
93
+ });
94
+ })(OAuth2CustomParameter = exports.OAuth2CustomParameter || (exports.OAuth2CustomParameter = {}));
84
95
  var OAuth2GrantType;
85
96
  (function (OAuth2GrantType) {
86
97
  OAuth2GrantType["AUTHORIZATION_CODE"] = "AUTHORIZATION_CODE";
@@ -2379,6 +2379,10 @@ const serializeAws_restJson1OAuth2Properties = (input, context) => {
2379
2379
  ...(input.oAuth2GrantType !== undefined &&
2380
2380
  input.oAuth2GrantType !== null && { oAuth2GrantType: input.oAuth2GrantType }),
2381
2381
  ...(input.tokenUrl !== undefined && input.tokenUrl !== null && { tokenUrl: input.tokenUrl }),
2382
+ ...(input.tokenUrlCustomProperties !== undefined &&
2383
+ input.tokenUrlCustomProperties !== null && {
2384
+ tokenUrlCustomProperties: serializeAws_restJson1TokenUrlCustomProperties(input.tokenUrlCustomProperties, context),
2385
+ }),
2382
2386
  };
2383
2387
  };
2384
2388
  const serializeAws_restJson1OAuthCredentials = (input, context) => {
@@ -2818,6 +2822,17 @@ const serializeAws_restJson1Tasks = (input, context) => {
2818
2822
  return serializeAws_restJson1Task(entry, context);
2819
2823
  });
2820
2824
  };
2825
+ const serializeAws_restJson1TokenUrlCustomProperties = (input, context) => {
2826
+ return Object.entries(input).reduce((acc, [key, value]) => {
2827
+ if (value === null) {
2828
+ return acc;
2829
+ }
2830
+ return {
2831
+ ...acc,
2832
+ [key]: value,
2833
+ };
2834
+ }, {});
2835
+ };
2821
2836
  const serializeAws_restJson1TrendmicroConnectorProfileCredentials = (input, context) => {
2822
2837
  return {
2823
2838
  ...(input.apiSecretKey !== undefined && input.apiSecretKey !== null && { apiSecretKey: input.apiSecretKey }),
@@ -3811,11 +3826,38 @@ const deserializeAws_restJson1MarketoSourceProperties = (output, context) => {
3811
3826
  object: (0, smithy_client_1.expectString)(output.object),
3812
3827
  };
3813
3828
  };
3829
+ const deserializeAws_restJson1OAuth2CustomParameter = (output, context) => {
3830
+ return {
3831
+ connectorSuppliedValues: output.connectorSuppliedValues !== undefined && output.connectorSuppliedValues !== null
3832
+ ? deserializeAws_restJson1ConnectorSuppliedValueList(output.connectorSuppliedValues, context)
3833
+ : undefined,
3834
+ description: (0, smithy_client_1.expectString)(output.description),
3835
+ isRequired: (0, smithy_client_1.expectBoolean)(output.isRequired),
3836
+ isSensitiveField: (0, smithy_client_1.expectBoolean)(output.isSensitiveField),
3837
+ key: (0, smithy_client_1.expectString)(output.key),
3838
+ label: (0, smithy_client_1.expectString)(output.label),
3839
+ type: (0, smithy_client_1.expectString)(output.type),
3840
+ };
3841
+ };
3842
+ const deserializeAws_restJson1OAuth2CustomPropertiesList = (output, context) => {
3843
+ const retVal = (output || [])
3844
+ .filter((e) => e != null)
3845
+ .map((entry) => {
3846
+ if (entry === null) {
3847
+ return null;
3848
+ }
3849
+ return deserializeAws_restJson1OAuth2CustomParameter(entry, context);
3850
+ });
3851
+ return retVal;
3852
+ };
3814
3853
  const deserializeAws_restJson1OAuth2Defaults = (output, context) => {
3815
3854
  return {
3816
3855
  authCodeUrls: output.authCodeUrls !== undefined && output.authCodeUrls !== null
3817
3856
  ? deserializeAws_restJson1AuthCodeUrlList(output.authCodeUrls, context)
3818
3857
  : undefined,
3858
+ oauth2CustomProperties: output.oauth2CustomProperties !== undefined && output.oauth2CustomProperties !== null
3859
+ ? deserializeAws_restJson1OAuth2CustomPropertiesList(output.oauth2CustomProperties, context)
3860
+ : undefined,
3819
3861
  oauth2GrantTypesSupported: output.oauth2GrantTypesSupported !== undefined && output.oauth2GrantTypesSupported !== null
3820
3862
  ? deserializeAws_restJson1OAuth2GrantTypeSupportedList(output.oauth2GrantTypesSupported, context)
3821
3863
  : undefined,
@@ -3842,6 +3884,9 @@ const deserializeAws_restJson1OAuth2Properties = (output, context) => {
3842
3884
  return {
3843
3885
  oAuth2GrantType: (0, smithy_client_1.expectString)(output.oAuth2GrantType),
3844
3886
  tokenUrl: (0, smithy_client_1.expectString)(output.tokenUrl),
3887
+ tokenUrlCustomProperties: output.tokenUrlCustomProperties !== undefined && output.tokenUrlCustomProperties !== null
3888
+ ? deserializeAws_restJson1TokenUrlCustomProperties(output.tokenUrlCustomProperties, context)
3889
+ : undefined,
3845
3890
  };
3846
3891
  };
3847
3892
  const deserializeAws_restJson1OAuthProperties = (output, context) => {
@@ -4316,6 +4361,17 @@ const deserializeAws_restJson1Tasks = (output, context) => {
4316
4361
  });
4317
4362
  return retVal;
4318
4363
  };
4364
+ const deserializeAws_restJson1TokenUrlCustomProperties = (output, context) => {
4365
+ return Object.entries(output).reduce((acc, [key, value]) => {
4366
+ if (value === null) {
4367
+ return acc;
4368
+ }
4369
+ return {
4370
+ ...acc,
4371
+ [key]: (0, smithy_client_1.expectString)(value),
4372
+ };
4373
+ }, {});
4374
+ };
4319
4375
  const deserializeAws_restJson1TokenUrlList = (output, context) => {
4320
4376
  const retVal = (output || [])
4321
4377
  .filter((e) => e != null)
@@ -54,6 +54,15 @@ export var CustomAuthConfig;
54
54
  (function (CustomAuthConfig) {
55
55
  CustomAuthConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
56
56
  })(CustomAuthConfig || (CustomAuthConfig = {}));
57
+ export var OAuth2CustomPropType;
58
+ (function (OAuth2CustomPropType) {
59
+ OAuth2CustomPropType["AUTH_URL"] = "AUTH_URL";
60
+ OAuth2CustomPropType["TOKEN_URL"] = "TOKEN_URL";
61
+ })(OAuth2CustomPropType || (OAuth2CustomPropType = {}));
62
+ export var OAuth2CustomParameter;
63
+ (function (OAuth2CustomParameter) {
64
+ OAuth2CustomParameter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
65
+ })(OAuth2CustomParameter || (OAuth2CustomParameter = {}));
57
66
  export var OAuth2GrantType;
58
67
  (function (OAuth2GrantType) {
59
68
  OAuth2GrantType["AUTHORIZATION_CODE"] = "AUTHORIZATION_CODE";
@@ -2683,8 +2683,11 @@ var serializeAws_restJson1OAuth2Credentials = function (input, context) {
2683
2683
  })), (input.refreshToken !== undefined && input.refreshToken !== null && { refreshToken: input.refreshToken }));
2684
2684
  };
2685
2685
  var serializeAws_restJson1OAuth2Properties = function (input, context) {
2686
- return __assign(__assign({}, (input.oAuth2GrantType !== undefined &&
2687
- input.oAuth2GrantType !== null && { oAuth2GrantType: input.oAuth2GrantType })), (input.tokenUrl !== undefined && input.tokenUrl !== null && { tokenUrl: input.tokenUrl }));
2686
+ return __assign(__assign(__assign({}, (input.oAuth2GrantType !== undefined &&
2687
+ input.oAuth2GrantType !== null && { oAuth2GrantType: input.oAuth2GrantType })), (input.tokenUrl !== undefined && input.tokenUrl !== null && { tokenUrl: input.tokenUrl })), (input.tokenUrlCustomProperties !== undefined &&
2688
+ input.tokenUrlCustomProperties !== null && {
2689
+ tokenUrlCustomProperties: serializeAws_restJson1TokenUrlCustomProperties(input.tokenUrlCustomProperties, context),
2690
+ }));
2688
2691
  };
2689
2692
  var serializeAws_restJson1OAuthCredentials = function (input, context) {
2690
2693
  return __assign(__assign(__assign(__assign(__assign({}, (input.accessToken !== undefined && input.accessToken !== null && { accessToken: input.accessToken })), (input.clientId !== undefined && input.clientId !== null && { clientId: input.clientId })), (input.clientSecret !== undefined && input.clientSecret !== null && { clientSecret: input.clientSecret })), (input.oAuthRequest !== undefined &&
@@ -2968,6 +2971,16 @@ var serializeAws_restJson1Tasks = function (input, context) {
2968
2971
  return serializeAws_restJson1Task(entry, context);
2969
2972
  });
2970
2973
  };
2974
+ var serializeAws_restJson1TokenUrlCustomProperties = function (input, context) {
2975
+ return Object.entries(input).reduce(function (acc, _a) {
2976
+ var _b;
2977
+ var _c = __read(_a, 2), key = _c[0], value = _c[1];
2978
+ if (value === null) {
2979
+ return acc;
2980
+ }
2981
+ return __assign(__assign({}, acc), (_b = {}, _b[key] = value, _b));
2982
+ }, {});
2983
+ };
2971
2984
  var serializeAws_restJson1TrendmicroConnectorProfileCredentials = function (input, context) {
2972
2985
  return __assign({}, (input.apiSecretKey !== undefined && input.apiSecretKey !== null && { apiSecretKey: input.apiSecretKey }));
2973
2986
  };
@@ -3916,11 +3929,38 @@ var deserializeAws_restJson1MarketoSourceProperties = function (output, context)
3916
3929
  object: __expectString(output.object),
3917
3930
  };
3918
3931
  };
3932
+ var deserializeAws_restJson1OAuth2CustomParameter = function (output, context) {
3933
+ return {
3934
+ connectorSuppliedValues: output.connectorSuppliedValues !== undefined && output.connectorSuppliedValues !== null
3935
+ ? deserializeAws_restJson1ConnectorSuppliedValueList(output.connectorSuppliedValues, context)
3936
+ : undefined,
3937
+ description: __expectString(output.description),
3938
+ isRequired: __expectBoolean(output.isRequired),
3939
+ isSensitiveField: __expectBoolean(output.isSensitiveField),
3940
+ key: __expectString(output.key),
3941
+ label: __expectString(output.label),
3942
+ type: __expectString(output.type),
3943
+ };
3944
+ };
3945
+ var deserializeAws_restJson1OAuth2CustomPropertiesList = function (output, context) {
3946
+ var retVal = (output || [])
3947
+ .filter(function (e) { return e != null; })
3948
+ .map(function (entry) {
3949
+ if (entry === null) {
3950
+ return null;
3951
+ }
3952
+ return deserializeAws_restJson1OAuth2CustomParameter(entry, context);
3953
+ });
3954
+ return retVal;
3955
+ };
3919
3956
  var deserializeAws_restJson1OAuth2Defaults = function (output, context) {
3920
3957
  return {
3921
3958
  authCodeUrls: output.authCodeUrls !== undefined && output.authCodeUrls !== null
3922
3959
  ? deserializeAws_restJson1AuthCodeUrlList(output.authCodeUrls, context)
3923
3960
  : undefined,
3961
+ oauth2CustomProperties: output.oauth2CustomProperties !== undefined && output.oauth2CustomProperties !== null
3962
+ ? deserializeAws_restJson1OAuth2CustomPropertiesList(output.oauth2CustomProperties, context)
3963
+ : undefined,
3924
3964
  oauth2GrantTypesSupported: output.oauth2GrantTypesSupported !== undefined && output.oauth2GrantTypesSupported !== null
3925
3965
  ? deserializeAws_restJson1OAuth2GrantTypeSupportedList(output.oauth2GrantTypesSupported, context)
3926
3966
  : undefined,
@@ -3947,6 +3987,9 @@ var deserializeAws_restJson1OAuth2Properties = function (output, context) {
3947
3987
  return {
3948
3988
  oAuth2GrantType: __expectString(output.oAuth2GrantType),
3949
3989
  tokenUrl: __expectString(output.tokenUrl),
3990
+ tokenUrlCustomProperties: output.tokenUrlCustomProperties !== undefined && output.tokenUrlCustomProperties !== null
3991
+ ? deserializeAws_restJson1TokenUrlCustomProperties(output.tokenUrlCustomProperties, context)
3992
+ : undefined,
3950
3993
  };
3951
3994
  };
3952
3995
  var deserializeAws_restJson1OAuthProperties = function (output, context) {
@@ -4418,6 +4461,16 @@ var deserializeAws_restJson1Tasks = function (output, context) {
4418
4461
  });
4419
4462
  return retVal;
4420
4463
  };
4464
+ var deserializeAws_restJson1TokenUrlCustomProperties = function (output, context) {
4465
+ return Object.entries(output).reduce(function (acc, _a) {
4466
+ var _b;
4467
+ var _c = __read(_a, 2), key = _c[0], value = _c[1];
4468
+ if (value === null) {
4469
+ return acc;
4470
+ }
4471
+ return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectString(value), _b));
4472
+ }, {});
4473
+ };
4421
4474
  var deserializeAws_restJson1TokenUrlList = function (output, context) {
4422
4475
  var retVal = (output || [])
4423
4476
  .filter(function (e) { return e != null; })
@@ -166,6 +166,50 @@ export declare namespace CustomAuthConfig {
166
166
  */
167
167
  const filterSensitiveLog: (obj: CustomAuthConfig) => any;
168
168
  }
169
+ export declare enum OAuth2CustomPropType {
170
+ AUTH_URL = "AUTH_URL",
171
+ TOKEN_URL = "TOKEN_URL"
172
+ }
173
+ /**
174
+ * <p>Custom parameter required for OAuth 2.0 authentication.</p>
175
+ */
176
+ export interface OAuth2CustomParameter {
177
+ /**
178
+ * <p>The key of the custom parameter required for OAuth 2.0 authentication.</p>
179
+ */
180
+ key?: string;
181
+ /**
182
+ * <p>Indicates whether the custom parameter for OAuth 2.0 authentication is required.</p>
183
+ */
184
+ isRequired?: boolean;
185
+ /**
186
+ * <p>The label of the custom parameter used for OAuth 2.0 authentication.</p>
187
+ */
188
+ label?: string;
189
+ /**
190
+ * <p>A description about the custom parameter used for OAuth 2.0 authentication.</p>
191
+ */
192
+ description?: string;
193
+ /**
194
+ * <p>Indicates whether this authentication custom parameter is a sensitive field.</p>
195
+ */
196
+ isSensitiveField?: boolean;
197
+ /**
198
+ * <p>Contains default values for this authentication parameter that are supplied by the
199
+ * connector.</p>
200
+ */
201
+ connectorSuppliedValues?: string[];
202
+ /**
203
+ * <p>Indicates whether custom parameter is used with TokenUrl or AuthUrl.</p>
204
+ */
205
+ type?: OAuth2CustomPropType | string;
206
+ }
207
+ export declare namespace OAuth2CustomParameter {
208
+ /**
209
+ * @internal
210
+ */
211
+ const filterSensitiveLog: (obj: OAuth2CustomParameter) => any;
212
+ }
169
213
  export declare enum OAuth2GrantType {
170
214
  AUTHORIZATION_CODE = "AUTHORIZATION_CODE",
171
215
  CLIENT_CREDENTIALS = "CLIENT_CREDENTIALS"
@@ -190,6 +234,10 @@ export interface OAuth2Defaults {
190
234
  * <p>OAuth 2.0 grant types supported by the connector.</p>
191
235
  */
192
236
  oauth2GrantTypesSupported?: (OAuth2GrantType | string)[];
237
+ /**
238
+ * <p>List of custom parameters required for OAuth 2.0 authentication.</p>
239
+ */
240
+ oauth2CustomProperties?: OAuth2CustomParameter[];
193
241
  }
194
242
  export declare namespace OAuth2Defaults {
195
243
  /**
@@ -1558,6 +1606,14 @@ export interface OAuth2Properties {
1558
1606
  * <p>The OAuth 2.0 grant type used by connector for OAuth 2.0 authentication.</p>
1559
1607
  */
1560
1608
  oAuth2GrantType: OAuth2GrantType | string | undefined;
1609
+ /**
1610
+ * <p>Associates your token URL with a map of properties that you define. Use this parameter
1611
+ * to provide any additional details that the connector requires to authenticate your
1612
+ * request.</p>
1613
+ */
1614
+ tokenUrlCustomProperties?: {
1615
+ [key: string]: string;
1616
+ };
1561
1617
  }
1562
1618
  export declare namespace OAuth2Properties {
1563
1619
  /**
@@ -98,6 +98,31 @@ export declare namespace CustomAuthConfig {
98
98
 
99
99
  const filterSensitiveLog: (obj: CustomAuthConfig) => any;
100
100
  }
101
+ export declare enum OAuth2CustomPropType {
102
+ AUTH_URL = "AUTH_URL",
103
+ TOKEN_URL = "TOKEN_URL"
104
+ }
105
+
106
+ export interface OAuth2CustomParameter {
107
+
108
+ key?: string;
109
+
110
+ isRequired?: boolean;
111
+
112
+ label?: string;
113
+
114
+ description?: string;
115
+
116
+ isSensitiveField?: boolean;
117
+
118
+ connectorSuppliedValues?: string[];
119
+
120
+ type?: OAuth2CustomPropType | string;
121
+ }
122
+ export declare namespace OAuth2CustomParameter {
123
+
124
+ const filterSensitiveLog: (obj: OAuth2CustomParameter) => any;
125
+ }
101
126
  export declare enum OAuth2GrantType {
102
127
  AUTHORIZATION_CODE = "AUTHORIZATION_CODE",
103
128
  CLIENT_CREDENTIALS = "CLIENT_CREDENTIALS"
@@ -112,6 +137,8 @@ export interface OAuth2Defaults {
112
137
  authCodeUrls?: string[];
113
138
 
114
139
  oauth2GrantTypesSupported?: (OAuth2GrantType | string)[];
140
+
141
+ oauth2CustomProperties?: OAuth2CustomParameter[];
115
142
  }
116
143
  export declare namespace OAuth2Defaults {
117
144
 
@@ -1021,6 +1048,10 @@ export interface OAuth2Properties {
1021
1048
  tokenUrl: string | undefined;
1022
1049
 
1023
1050
  oAuth2GrantType: OAuth2GrantType | string | undefined;
1051
+
1052
+ tokenUrlCustomProperties?: {
1053
+ [key: string]: string;
1054
+ };
1024
1055
  }
1025
1056
  export declare namespace OAuth2Properties {
1026
1057
 
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.67.0",
4
+ "version": "3.74.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",
@@ -18,9 +18,9 @@
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.67.0",
21
+ "@aws-sdk/client-sts": "3.74.0",
22
22
  "@aws-sdk/config-resolver": "3.58.0",
23
- "@aws-sdk/credential-provider-node": "3.67.0",
23
+ "@aws-sdk/credential-provider-node": "3.74.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.58.0",
25
25
  "@aws-sdk/hash-node": "3.55.0",
26
26
  "@aws-sdk/invalid-dependency": "3.55.0",
@@ -33,17 +33,17 @@
33
33
  "@aws-sdk/middleware-stack": "3.55.0",
34
34
  "@aws-sdk/middleware-user-agent": "3.58.0",
35
35
  "@aws-sdk/node-config-provider": "3.58.0",
36
- "@aws-sdk/node-http-handler": "3.58.0",
36
+ "@aws-sdk/node-http-handler": "3.74.0",
37
37
  "@aws-sdk/protocol-http": "3.58.0",
38
- "@aws-sdk/smithy-client": "3.55.0",
38
+ "@aws-sdk/smithy-client": "3.72.0",
39
39
  "@aws-sdk/types": "3.55.0",
40
40
  "@aws-sdk/url-parser": "3.55.0",
41
41
  "@aws-sdk/util-base64-browser": "3.58.0",
42
42
  "@aws-sdk/util-base64-node": "3.55.0",
43
43
  "@aws-sdk/util-body-length-browser": "3.55.0",
44
44
  "@aws-sdk/util-body-length-node": "3.55.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.55.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.58.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.72.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.72.0",
47
47
  "@aws-sdk/util-user-agent-browser": "3.58.0",
48
48
  "@aws-sdk/util-user-agent-node": "3.58.0",
49
49
  "@aws-sdk/util-utf8-browser": "3.55.0",