Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update AppFlow 18.6.0->51.0.0 #1985

Merged
merged 2 commits into from
Dec 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
99 changes: 96 additions & 3 deletions troposphere/appflow.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Copyright (c) 2012-2020, Mark Peek <mark@peek.org>
# Copyright (c) 2012-2021, Mark Peek <mark@peek.org>
# All rights reserved.
#
# See LICENSE file for full license.
#
# *** Do not modify - this file is autogenerated ***
# Resource specification version: 18.6.0
# Resource specification version: 51.0.0


from troposphere import Tags

from . import AWSObject, AWSProperty
from .validators import boolean, double
from .validators import boolean, double, integer


class AmplitudeConnectorProfileCredentials(AWSProperty):
Expand Down Expand Up @@ -75,9 +75,17 @@ class RedshiftConnectorProfileCredentials(AWSProperty):
}


class SAPODataConnectorProfileCredentials(AWSProperty):
props = {
"BasicAuthCredentials": (dict, False),
"OAuthCredentials": (dict, False),
}


class SalesforceConnectorProfileCredentials(AWSProperty):
props = {
"AccessToken": (str, False),
"ClientCredentialsArn": (str, False),
"ConnectorOAuthRequest": (ConnectorOAuthRequest, False),
"RefreshToken": (str, False),
}
Expand Down Expand Up @@ -143,6 +151,7 @@ class ConnectorProfileCredentials(AWSProperty):
"InforNexus": (InforNexusConnectorProfileCredentials, False),
"Marketo": (MarketoConnectorProfileCredentials, False),
"Redshift": (RedshiftConnectorProfileCredentials, False),
"SAPOData": (SAPODataConnectorProfileCredentials, False),
"Salesforce": (SalesforceConnectorProfileCredentials, False),
"ServiceNow": (ServiceNowConnectorProfileCredentials, False),
"Singular": (SingularConnectorProfileCredentials, False),
Expand Down Expand Up @@ -187,6 +196,26 @@ class RedshiftConnectorProfileProperties(AWSProperty):
}


class OAuthProperties(AWSProperty):
props = {
"AuthCodeUrl": (str, False),
"OAuthScopes": ([str], False),
"TokenUrl": (str, False),
}


class SAPODataConnectorProfileProperties(AWSProperty):
props = {
"ApplicationHostUrl": (str, False),
"ApplicationServicePath": (str, False),
"ClientNumber": (str, False),
"LogonLanguage": (str, False),
"OAuthProperties": (OAuthProperties, False),
"PortNumber": (integer, False),
"PrivateLinkServiceName": (str, False),
}


class SalesforceConnectorProfileProperties(AWSProperty):
props = {
"InstanceUrl": (str, False),
Expand Down Expand Up @@ -237,6 +266,7 @@ class ConnectorProfileProperties(AWSProperty):
"InforNexus": (InforNexusConnectorProfileProperties, False),
"Marketo": (MarketoConnectorProfileProperties, False),
"Redshift": (RedshiftConnectorProfileProperties, False),
"SAPOData": (SAPODataConnectorProfileProperties, False),
"Salesforce": (SalesforceConnectorProfileProperties, False),
"ServiceNow": (ServiceNowConnectorProfileProperties, False),
"Slack": (SlackConnectorProfileProperties, False),
Expand Down Expand Up @@ -280,6 +310,12 @@ class EventBridgeDestinationProperties(AWSProperty):
}


class LookoutMetricsDestinationProperties(AWSProperty):
props = {
"Object": (str, False),
}


class RedshiftDestinationProperties(AWSProperty):
props = {
"BucketPrefix": (str, False),
Expand Down Expand Up @@ -321,7 +357,9 @@ class S3DestinationProperties(AWSProperty):
class SalesforceDestinationProperties(AWSProperty):
props = {
"ErrorHandlingConfig": (ErrorHandlingConfig, False),
"IdFieldNames": ([str], False),
"Object": (str, True),
"WriteOperationType": (str, False),
}


Expand All @@ -334,13 +372,41 @@ class SnowflakeDestinationProperties(AWSProperty):
}


class UpsolverS3OutputFormatConfig(AWSProperty):
props = {
"AggregationConfig": (AggregationConfig, False),
"FileType": (str, False),
"PrefixConfig": (PrefixConfig, True),
}


class UpsolverDestinationProperties(AWSProperty):
props = {
"BucketName": (str, True),
"BucketPrefix": (str, False),
"S3OutputFormatConfig": (UpsolverS3OutputFormatConfig, True),
}


class ZendeskDestinationProperties(AWSProperty):
props = {
"ErrorHandlingConfig": (ErrorHandlingConfig, False),
"IdFieldNames": ([str], False),
"Object": (str, True),
"WriteOperationType": (str, False),
}


class DestinationConnectorProperties(AWSProperty):
props = {
"EventBridge": (EventBridgeDestinationProperties, False),
"LookoutMetrics": (LookoutMetricsDestinationProperties, False),
"Redshift": (RedshiftDestinationProperties, False),
"S3": (S3DestinationProperties, False),
"Salesforce": (SalesforceDestinationProperties, False),
"Snowflake": (SnowflakeDestinationProperties, False),
"Upsolver": (UpsolverDestinationProperties, False),
"Zendesk": (ZendeskDestinationProperties, False),
}


Expand All @@ -352,6 +418,12 @@ class DestinationFlowConfig(AWSProperty):
}


class IncrementalPullConfig(AWSProperty):
props = {
"DatetimeTypeFieldName": (str, False),
}


class AmplitudeSourceProperties(AWSProperty):
props = {
"Object": (str, True),
Expand Down Expand Up @@ -388,10 +460,23 @@ class MarketoSourceProperties(AWSProperty):
}


class S3InputFormatConfig(AWSProperty):
props = {
"S3InputFileType": (str, False),
}


class S3SourceProperties(AWSProperty):
props = {
"BucketName": (str, True),
"BucketPrefix": (str, True),
"S3InputFormatConfig": (S3InputFormatConfig, False),
}


class SAPODataSourceProperties(AWSProperty):
props = {
"ObjectPath": (str, True),
}


Expand Down Expand Up @@ -429,6 +514,10 @@ class TrendmicroSourceProperties(AWSProperty):

class VeevaSourceProperties(AWSProperty):
props = {
"DocumentType": (str, False),
"IncludeAllVersions": (boolean, False),
"IncludeRenditions": (boolean, False),
"IncludeSourceFiles": (boolean, False),
"Object": (str, True),
}

Expand All @@ -448,6 +537,7 @@ class SourceConnectorProperties(AWSProperty):
"InforNexus": (InforNexusSourceProperties, False),
"Marketo": (MarketoSourceProperties, False),
"S3": (S3SourceProperties, False),
"SAPOData": (SAPODataSourceProperties, False),
"Salesforce": (SalesforceSourceProperties, False),
"ServiceNow": (ServiceNowSourceProperties, False),
"Singular": (SingularSourceProperties, False),
Expand All @@ -462,6 +552,7 @@ class SourceFlowConfig(AWSProperty):
props = {
"ConnectorProfileName": (str, False),
"ConnectorType": (str, True),
"IncrementalPullConfig": (IncrementalPullConfig, False),
"SourceConnectorProperties": (SourceConnectorProperties, True),
}

Expand All @@ -475,6 +566,7 @@ class ConnectorOperator(AWSProperty):
"InforNexus": (str, False),
"Marketo": (str, False),
"S3": (str, False),
"SAPOData": (str, False),
"Salesforce": (str, False),
"ServiceNow": (str, False),
"Singular": (str, False),
Expand Down Expand Up @@ -507,6 +599,7 @@ class ScheduledTriggerProperties(AWSProperty):
"DataPullMode": (str, False),
"ScheduleEndTime": (double, False),
"ScheduleExpression": (str, True),
"ScheduleOffset": (double, False),
"ScheduleStartTime": (double, False),
"TimeZone": (str, False),
}
Expand Down
2 changes: 1 addition & 1 deletion troposphere/ecs.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
integer,
integer_range,
network_port,
positive_integer,
one_of,
positive_integer,
)

LAUNCH_TYPE_EC2 = "EC2"
Expand Down
4 changes: 1 addition & 3 deletions troposphere/networkfirewall.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,7 @@ class LogDestinationConfig(AWSProperty):

class LoggingConfigurationProperty(AWSProperty):

props = {
"LogDestinationConfigs": ([LogDestinationConfig], True)
}
props = {"LogDestinationConfigs": ([LogDestinationConfig], True)}


class LoggingConfiguration(AWSObject):
Expand Down