import { ResourceBase } from '../resource' ; import { Value , List } from '../dataTypes' ; export class InforNexusConnectorProfileProperties { InstanceUrl ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class DynatraceConnectorProfileCredentials { ApiToken ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class MarketoConnectorProfileCredentials { ClientId ! : Value < string > ; ClientSecret ! : Value < string > ; AccessToken ? : Value < string > ; ConnectorOAuthRequest ? : ConnectorOAuthRequest ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class RedshiftConnectorProfileCredentials { Username ! : Value < string > ; Password ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class ZendeskConnectorProfileProperties { InstanceUrl ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class GoogleAnalyticsConnectorProfileCredentials { ClientId ! : Value < string > ; ClientSecret ! : Value < string > ; AccessToken ? : Value < string > ; RefreshToken ? : Value < string > ; ConnectorOAuthRequest ? : ConnectorOAuthRequest ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class DynatraceConnectorProfileProperties { InstanceUrl ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class SalesforceConnectorProfileCredentials { AccessToken ? : Value < string > ; RefreshToken ? : Value < string > ; ConnectorOAuthRequest ? : ConnectorOAuthRequest ; ClientCredentialsArn ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class RedshiftConnectorProfileProperties { DatabaseUrl ! : Value < string > ; BucketName ! : Value < string > ; BucketPrefix ? : Value < string > ; RoleArn ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class ConnectorProfileCredentials { Amplitude ? : AmplitudeConnectorProfileCredentials ; Datadog ? : DatadogConnectorProfileCredentials ; Dynatrace ? : DynatraceConnectorProfileCredentials ; GoogleAnalytics ? : GoogleAnalyticsConnectorProfileCredentials ; InforNexus ? : InforNexusConnectorProfileCredentials ; Marketo ? : MarketoConnectorProfileCredentials ; Redshift ? : RedshiftConnectorProfileCredentials ; Salesforce ? : SalesforceConnectorProfileCredentials ; ServiceNow ? : ServiceNowConnectorProfileCredentials ; Singular ? : SingularConnectorProfileCredentials ; Slack ? : SlackConnectorProfileCredentials ; Snowflake ? : SnowflakeConnectorProfileCredentials ; Trendmicro ? : TrendmicroConnectorProfileCredentials ; Veeva ? : VeevaConnectorProfileCredentials ; Zendesk ? : ZendeskConnectorProfileCredentials ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class SingularConnectorProfileCredentials { ApiKey ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class ServiceNowConnectorProfileCredentials { Username ! : Value < string > ; Password ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class SnowflakeConnectorProfileCredentials { Username ! : Value < string > ; Password ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class ZendeskConnectorProfileCredentials { ClientId ! : Value < string > ; ClientSecret ! : Value < string > ; AccessToken ? : Value < string > ; ConnectorOAuthRequest ? : ConnectorOAuthRequest ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class SnowflakeConnectorProfileProperties { Warehouse ! : Value < string > ; Stage ! : Value < string > ; BucketName ! : Value < string > ; BucketPrefix ? : Value < string > ; PrivateLinkServiceName ? : Value < string > ; AccountName ? : Value < string > ; Region ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class SalesforceConnectorProfileProperties { InstanceUrl ? : Value < string > ; isSandboxEnvironment ? : Value < boolean > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class ConnectorProfileConfig { ConnectorProfileProperties ? : ConnectorProfileProperties ; ConnectorProfileCredentials ! : ConnectorProfileCredentials ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class AmplitudeConnectorProfileCredentials { ApiKey ! : Value < string > ; SecretKey ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class ConnectorOAuthRequest { AuthCode ? : Value < string > ; RedirectUri ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class DatadogConnectorProfileCredentials { ApiKey ! : Value < string > ; ApplicationKey ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class SlackConnectorProfileCredentials { ClientId ! : Value < string > ; ClientSecret ! : Value < string > ; AccessToken ? : Value < string > ; ConnectorOAuthRequest ? : ConnectorOAuthRequest ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class TrendmicroConnectorProfileCredentials { ApiSecretKey ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class VeevaConnectorProfileCredentials { Username ! : Value < string > ; Password ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class VeevaConnectorProfileProperties { InstanceUrl ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class SlackConnectorProfileProperties { InstanceUrl ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class MarketoConnectorProfileProperties { InstanceUrl ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class InforNexusConnectorProfileCredentials { AccessKeyId ! : Value < string > ; UserId ! : Value < string > ; SecretAccessKey ! : Value < string > ; Datakey ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class DatadogConnectorProfileProperties { InstanceUrl ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class ServiceNowConnectorProfileProperties { InstanceUrl ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class ConnectorProfileProperties { Datadog ? : DatadogConnectorProfileProperties ; Dynatrace ? : DynatraceConnectorProfileProperties ; InforNexus ? : InforNexusConnectorProfileProperties ; Marketo ? : MarketoConnectorProfileProperties ; Redshift ? : RedshiftConnectorProfileProperties ; Salesforce ? : SalesforceConnectorProfileProperties ; ServiceNow ? : ServiceNowConnectorProfileProperties ; Slack ? : SlackConnectorProfileProperties ; Snowflake ? : SnowflakeConnectorProfileProperties ; Veeva ? : VeevaConnectorProfileProperties ; Zendesk ? : ZendeskConnectorProfileProperties ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface ConnectorProfileProperties { ConnectorProfileName : Value < string > ; KMSArn ? : Value < string > ; ConnectorType : Value < string > ; ConnectionMode : Value < string > ; ConnectorProfileConfig ? : ConnectorProfileConfig ; } export default class ConnectorProfile extends ResourceBase < ConnectorProfileProperties > { static InforNexusConnectorProfileProperties = InforNexusConnectorProfileProperties ; static DynatraceConnectorProfileCredentials = DynatraceConnectorProfileCredentials ; static MarketoConnectorProfileCredentials = MarketoConnectorProfileCredentials ; static RedshiftConnectorProfileCredentials = RedshiftConnectorProfileCredentials ; static ZendeskConnectorProfileProperties = ZendeskConnectorProfileProperties ; static GoogleAnalyticsConnectorProfileCredentials = GoogleAnalyticsConnectorProfileCredentials ; static DynatraceConnectorProfileProperties = DynatraceConnectorProfileProperties ; static SalesforceConnectorProfileCredentials = SalesforceConnectorProfileCredentials ; static RedshiftConnectorProfileProperties = RedshiftConnectorProfileProperties ; static ConnectorProfileCredentials = ConnectorProfileCredentials ; static SingularConnectorProfileCredentials = SingularConnectorProfileCredentials ; static ServiceNowConnectorProfileCredentials = ServiceNowConnectorProfileCredentials ; static SnowflakeConnectorProfileCredentials = SnowflakeConnectorProfileCredentials ; static ZendeskConnectorProfileCredentials = ZendeskConnectorProfileCredentials ; static SnowflakeConnectorProfileProperties = SnowflakeConnectorProfileProperties ; static SalesforceConnectorProfileProperties = SalesforceConnectorProfileProperties ; static ConnectorProfileConfig = ConnectorProfileConfig ; static AmplitudeConnectorProfileCredentials = AmplitudeConnectorProfileCredentials ; static ConnectorOAuthRequest = ConnectorOAuthRequest ; static DatadogConnectorProfileCredentials = DatadogConnectorProfileCredentials ; static SlackConnectorProfileCredentials = SlackConnectorProfileCredentials ; static TrendmicroConnectorProfileCredentials = TrendmicroConnectorProfileCredentials ; static VeevaConnectorProfileCredentials = VeevaConnectorProfileCredentials ; static VeevaConnectorProfileProperties = VeevaConnectorProfileProperties ; static SlackConnectorProfileProperties = SlackConnectorProfileProperties ; static MarketoConnectorProfileProperties = MarketoConnectorProfileProperties ; static InforNexusConnectorProfileCredentials = InforNexusConnectorProfileCredentials ; static DatadogConnectorProfileProperties = DatadogConnectorProfileProperties ; static ServiceNowConnectorProfileProperties = ServiceNowConnectorProfileProperties ; static ConnectorProfileProperties = ConnectorProfileProperties ; constructor ( properties ) { super ( 'AWS::AppFlow::ConnectorProfile' , properties ) ; } }