repo_name
stringlengths 1
52
| repo_creator
stringclasses 6
values | programming_language
stringclasses 4
values | code
stringlengths 0
9.68M
| num_lines
int64 1
234k
|
---|---|---|---|---|
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The properties that are applied when Salesforce Pardot is being used as a source.
/// </summary>
public partial class PardotSourceProperties
{
private string _object;
/// <summary>
/// Gets and sets the property Object.
/// <para>
/// The object specified in the Salesforce Pardot flow source.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=512)]
public string Object
{
get { return this._object; }
set { this._object = value; }
}
// Check to see if Object property is set
internal bool IsSetObject()
{
return this._object != null;
}
}
} | 58 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// Specifies elements that Amazon AppFlow includes in the file and folder names in the
/// flow destination.
/// </summary>
public partial class PrefixConfig
{
private List<string> _pathPrefixHierarchy = new List<string>();
private PrefixFormat _prefixFormat;
private PrefixType _prefixType;
/// <summary>
/// Gets and sets the property PathPrefixHierarchy.
/// <para>
/// Specifies whether the destination file path includes either or both of the following
/// elements:
/// </para>
/// <dl> <dt>EXECUTION_ID</dt> <dd>
/// <para>
/// The ID that Amazon AppFlow assigns to the flow run.
/// </para>
/// </dd> <dt>SCHEMA_VERSION</dt> <dd>
/// <para>
/// The version number of your data schema. Amazon AppFlow assigns this version number.
/// The version number increases by one when you change any of the following settings
/// in your flow configuration:
/// </para>
/// <ul> <li>
/// <para>
/// Source-to-destination field mappings
/// </para>
/// </li> <li>
/// <para>
/// Field data types
/// </para>
/// </li> <li>
/// <para>
/// Partition keys
/// </para>
/// </li> </ul> </dd> </dl>
/// </summary>
public List<string> PathPrefixHierarchy
{
get { return this._pathPrefixHierarchy; }
set { this._pathPrefixHierarchy = value; }
}
// Check to see if PathPrefixHierarchy property is set
internal bool IsSetPathPrefixHierarchy()
{
return this._pathPrefixHierarchy != null && this._pathPrefixHierarchy.Count > 0;
}
/// <summary>
/// Gets and sets the property PrefixFormat.
/// <para>
/// Determines the level of granularity for the date and time that's included in the prefix.
///
/// </para>
/// </summary>
public PrefixFormat PrefixFormat
{
get { return this._prefixFormat; }
set { this._prefixFormat = value; }
}
// Check to see if PrefixFormat property is set
internal bool IsSetPrefixFormat()
{
return this._prefixFormat != null;
}
/// <summary>
/// Gets and sets the property PrefixType.
/// <para>
/// Determines the format of the prefix, and whether it applies to the file name, file
/// path, or both.
/// </para>
/// </summary>
public PrefixType PrefixType
{
get { return this._prefixType; }
set { this._prefixType = value; }
}
// Check to see if PrefixType property is set
internal bool IsSetPrefixType()
{
return this._prefixType != null;
}
}
} | 122 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// Specifies the private connection provisioning state.
/// </summary>
public partial class PrivateConnectionProvisioningState
{
private PrivateConnectionProvisioningFailureCause _failureCause;
private string _failureMessage;
private PrivateConnectionProvisioningStatus _status;
/// <summary>
/// Gets and sets the property FailureCause.
/// <para>
/// Specifies the private connection provisioning failure cause.
/// </para>
/// </summary>
public PrivateConnectionProvisioningFailureCause FailureCause
{
get { return this._failureCause; }
set { this._failureCause = value; }
}
// Check to see if FailureCause property is set
internal bool IsSetFailureCause()
{
return this._failureCause != null;
}
/// <summary>
/// Gets and sets the property FailureMessage.
/// <para>
/// Specifies the private connection provisioning failure reason.
/// </para>
/// </summary>
[AWSProperty(Max=2048)]
public string FailureMessage
{
get { return this._failureMessage; }
set { this._failureMessage = value; }
}
// Check to see if FailureMessage property is set
internal bool IsSetFailureMessage()
{
return this._failureMessage != null;
}
/// <summary>
/// Gets and sets the property Status.
/// <para>
/// Specifies the private connection provisioning status.
/// </para>
/// </summary>
public PrivateConnectionProvisioningStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
} | 96 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The range of values that the property supports.
/// </summary>
public partial class Range
{
private double? _maximum;
private double? _minimum;
/// <summary>
/// Gets and sets the property Maximum.
/// <para>
/// Maximum value supported by the field.
/// </para>
/// </summary>
public double Maximum
{
get { return this._maximum.GetValueOrDefault(); }
set { this._maximum = value; }
}
// Check to see if Maximum property is set
internal bool IsSetMaximum()
{
return this._maximum.HasValue;
}
/// <summary>
/// Gets and sets the property Minimum.
/// <para>
/// Minimum value supported by the field.
/// </para>
/// </summary>
public double Minimum
{
get { return this._minimum.GetValueOrDefault(); }
set { this._minimum = value; }
}
// Check to see if Minimum property is set
internal bool IsSetMinimum()
{
return this._minimum.HasValue;
}
}
} | 76 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The connector-specific profile credentials required when using Amazon Redshift.
/// </summary>
public partial class RedshiftConnectorProfileCredentials
{
private string _password;
private string _username;
/// <summary>
/// Gets and sets the property Password.
/// <para>
/// The password that corresponds to the user name.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Max=512)]
public string Password
{
get { return this._password; }
set { this._password = value; }
}
// Check to see if Password property is set
internal bool IsSetPassword()
{
return this._password != null;
}
/// <summary>
/// Gets and sets the property Username.
/// <para>
/// The name of the user.
/// </para>
/// </summary>
[AWSProperty(Max=2048)]
public string Username
{
get { return this._username; }
set { this._username = value; }
}
// Check to see if Username property is set
internal bool IsSetUsername()
{
return this._username != null;
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The connector-specific profile properties when using Amazon Redshift.
/// </summary>
public partial class RedshiftConnectorProfileProperties
{
private string _bucketName;
private string _bucketPrefix;
private string _clusterIdentifier;
private string _dataApiRoleArn;
private string _databaseName;
private string _databaseUrl;
private bool? _isRedshiftServerless;
private string _roleArn;
private string _workgroupName;
/// <summary>
/// Gets and sets the property BucketName.
/// <para>
/// A name for the associated Amazon S3 bucket.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=3, Max=63)]
public string BucketName
{
get { return this._bucketName; }
set { this._bucketName = value; }
}
// Check to see if BucketName property is set
internal bool IsSetBucketName()
{
return this._bucketName != null;
}
/// <summary>
/// Gets and sets the property BucketPrefix.
/// <para>
/// The object key for the destination bucket in which Amazon AppFlow places the files.
///
/// </para>
/// </summary>
[AWSProperty(Max=512)]
public string BucketPrefix
{
get { return this._bucketPrefix; }
set { this._bucketPrefix = value; }
}
// Check to see if BucketPrefix property is set
internal bool IsSetBucketPrefix()
{
return this._bucketPrefix != null;
}
/// <summary>
/// Gets and sets the property ClusterIdentifier.
/// <para>
/// The unique ID that's assigned to an Amazon Redshift cluster.
/// </para>
/// </summary>
[AWSProperty(Max=512)]
public string ClusterIdentifier
{
get { return this._clusterIdentifier; }
set { this._clusterIdentifier = value; }
}
// Check to see if ClusterIdentifier property is set
internal bool IsSetClusterIdentifier()
{
return this._clusterIdentifier != null;
}
/// <summary>
/// Gets and sets the property DataApiRoleArn.
/// <para>
/// The Amazon Resource Name (ARN) of an IAM role that permits Amazon AppFlow to access
/// your Amazon Redshift database through the Data API. For more information, and for
/// the polices that you attach to this role, see <a href="https://docs.aws.amazon.com/appflow/latest/userguide/security_iam_service-role-policies.html#access-redshift">Allow
/// Amazon AppFlow to access Amazon Redshift databases with the Data API</a>.
/// </para>
/// </summary>
[AWSProperty(Max=512)]
public string DataApiRoleArn
{
get { return this._dataApiRoleArn; }
set { this._dataApiRoleArn = value; }
}
// Check to see if DataApiRoleArn property is set
internal bool IsSetDataApiRoleArn()
{
return this._dataApiRoleArn != null;
}
/// <summary>
/// Gets and sets the property DatabaseName.
/// <para>
/// The name of an Amazon Redshift database.
/// </para>
/// </summary>
[AWSProperty(Max=512)]
public string DatabaseName
{
get { return this._databaseName; }
set { this._databaseName = value; }
}
// Check to see if DatabaseName property is set
internal bool IsSetDatabaseName()
{
return this._databaseName != null;
}
/// <summary>
/// Gets and sets the property DatabaseUrl.
/// <para>
/// The JDBC URL of the Amazon Redshift cluster.
/// </para>
/// </summary>
[AWSProperty(Max=512)]
public string DatabaseUrl
{
get { return this._databaseUrl; }
set { this._databaseUrl = value; }
}
// Check to see if DatabaseUrl property is set
internal bool IsSetDatabaseUrl()
{
return this._databaseUrl != null;
}
/// <summary>
/// Gets and sets the property IsRedshiftServerless.
/// <para>
/// Indicates whether the connector profile defines a connection to an Amazon Redshift
/// Serverless data warehouse.
/// </para>
/// </summary>
public bool IsRedshiftServerless
{
get { return this._isRedshiftServerless.GetValueOrDefault(); }
set { this._isRedshiftServerless = value; }
}
// Check to see if IsRedshiftServerless property is set
internal bool IsSetIsRedshiftServerless()
{
return this._isRedshiftServerless.HasValue;
}
/// <summary>
/// Gets and sets the property RoleArn.
/// <para>
/// The Amazon Resource Name (ARN) of IAM role that grants Amazon Redshift read-only
/// access to Amazon S3. For more information, and for the polices that you attach to
/// this role, see <a href="https://docs.aws.amazon.com/appflow/latest/userguide/security_iam_service-role-policies.html#redshift-access-s3">Allow
/// Amazon Redshift to access your Amazon AppFlow data in Amazon S3</a>.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=512)]
public string RoleArn
{
get { return this._roleArn; }
set { this._roleArn = value; }
}
// Check to see if RoleArn property is set
internal bool IsSetRoleArn()
{
return this._roleArn != null;
}
/// <summary>
/// Gets and sets the property WorkgroupName.
/// <para>
/// The name of an Amazon Redshift workgroup.
/// </para>
/// </summary>
[AWSProperty(Max=512)]
public string WorkgroupName
{
get { return this._workgroupName; }
set { this._workgroupName = value; }
}
// Check to see if WorkgroupName property is set
internal bool IsSetWorkgroupName()
{
return this._workgroupName != null;
}
}
} | 225 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The properties that are applied when Amazon Redshift is being used as a destination.
/// </summary>
public partial class RedshiftDestinationProperties
{
private string _bucketPrefix;
private ErrorHandlingConfig _errorHandlingConfig;
private string _intermediateBucketName;
private string _object;
/// <summary>
/// Gets and sets the property BucketPrefix.
/// <para>
/// The object key for the bucket in which Amazon AppFlow places the destination files.
///
/// </para>
/// </summary>
[AWSProperty(Max=512)]
public string BucketPrefix
{
get { return this._bucketPrefix; }
set { this._bucketPrefix = value; }
}
// Check to see if BucketPrefix property is set
internal bool IsSetBucketPrefix()
{
return this._bucketPrefix != null;
}
/// <summary>
/// Gets and sets the property ErrorHandlingConfig.
/// <para>
/// The settings that determine how Amazon AppFlow handles an error when placing data
/// in the Amazon Redshift destination. For example, this setting would determine if the
/// flow should fail after one insertion error, or continue and attempt to insert every
/// record regardless of the initial failure. <code>ErrorHandlingConfig</code> is a part
/// of the destination connector details.
/// </para>
/// </summary>
public ErrorHandlingConfig ErrorHandlingConfig
{
get { return this._errorHandlingConfig; }
set { this._errorHandlingConfig = value; }
}
// Check to see if ErrorHandlingConfig property is set
internal bool IsSetErrorHandlingConfig()
{
return this._errorHandlingConfig != null;
}
/// <summary>
/// Gets and sets the property IntermediateBucketName.
/// <para>
/// The intermediate bucket that Amazon AppFlow uses when moving data into Amazon Redshift.
///
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=3, Max=63)]
public string IntermediateBucketName
{
get { return this._intermediateBucketName; }
set { this._intermediateBucketName = value; }
}
// Check to see if IntermediateBucketName property is set
internal bool IsSetIntermediateBucketName()
{
return this._intermediateBucketName != null;
}
/// <summary>
/// Gets and sets the property Object.
/// <para>
/// The object specified in the Amazon Redshift flow destination.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=512)]
public string Object
{
get { return this._object; }
set { this._object = value; }
}
// Check to see if Object property is set
internal bool IsSetObject()
{
return this._object != null;
}
}
} | 123 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The connector metadata specific to Amazon Redshift.
/// </summary>
public partial class RedshiftMetadata
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// Container for the parameters to the RegisterConnector operation.
/// Registers a new custom connector with your Amazon Web Services account. Before you
/// can register the connector, you must deploy the associated AWS lambda function in
/// your account.
/// </summary>
public partial class RegisterConnectorRequest : AmazonAppflowRequest
{
private string _clientToken;
private string _connectorLabel;
private ConnectorProvisioningConfig _connectorProvisioningConfig;
private ConnectorProvisioningType _connectorProvisioningType;
private string _description;
/// <summary>
/// Gets and sets the property ClientToken.
/// <para>
/// The <code>clientToken</code> parameter is an idempotency token. It ensures that your
/// <code>RegisterConnector</code> request completes only once. You choose the value to
/// pass. For example, if you don't receive a response from your request, you can safely
/// retry the request with the same <code>clientToken</code> parameter value.
/// </para>
///
/// <para>
/// If you omit a <code>clientToken</code> value, the Amazon Web Services SDK that you
/// are using inserts a value for you. This way, the SDK can safely retry requests multiple
/// times after a network error. You must provide your own value for other use cases.
/// </para>
///
/// <para>
/// If you specify input parameters that differ from your first request, an error occurs.
/// If you use a different value for <code>clientToken</code>, Amazon AppFlow considers
/// it a new call to <code>RegisterConnector</code>. The token is active for 8 hours.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=256)]
public string ClientToken
{
get { return this._clientToken; }
set { this._clientToken = value; }
}
// Check to see if ClientToken property is set
internal bool IsSetClientToken()
{
return this._clientToken != null;
}
/// <summary>
/// Gets and sets the property ConnectorLabel.
/// <para>
/// The name of the connector. The name is unique for each <code>ConnectorRegistration</code>
/// in your Amazon Web Services account.
/// </para>
/// </summary>
[AWSProperty(Max=256)]
public string ConnectorLabel
{
get { return this._connectorLabel; }
set { this._connectorLabel = value; }
}
// Check to see if ConnectorLabel property is set
internal bool IsSetConnectorLabel()
{
return this._connectorLabel != null;
}
/// <summary>
/// Gets and sets the property ConnectorProvisioningConfig.
/// <para>
/// The provisioning type of the connector. Currently the only supported value is LAMBDA.
/// </para>
/// </summary>
public ConnectorProvisioningConfig ConnectorProvisioningConfig
{
get { return this._connectorProvisioningConfig; }
set { this._connectorProvisioningConfig = value; }
}
// Check to see if ConnectorProvisioningConfig property is set
internal bool IsSetConnectorProvisioningConfig()
{
return this._connectorProvisioningConfig != null;
}
/// <summary>
/// Gets and sets the property ConnectorProvisioningType.
/// <para>
/// The provisioning type of the connector. Currently the only supported value is LAMBDA.
///
/// </para>
/// </summary>
public ConnectorProvisioningType ConnectorProvisioningType
{
get { return this._connectorProvisioningType; }
set { this._connectorProvisioningType = value; }
}
// Check to see if ConnectorProvisioningType property is set
internal bool IsSetConnectorProvisioningType()
{
return this._connectorProvisioningType != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// A description about the connector that's being registered.
/// </para>
/// </summary>
[AWSProperty(Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
}
} | 156 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// This is the response object from the RegisterConnector operation.
/// </summary>
public partial class RegisterConnectorResponse : AmazonWebServiceResponse
{
private string _connectorArn;
/// <summary>
/// Gets and sets the property ConnectorArn.
/// <para>
/// The ARN of the connector being registered.
/// </para>
/// </summary>
[AWSProperty(Max=512)]
public string ConnectorArn
{
get { return this._connectorArn; }
set { this._connectorArn = value; }
}
// Check to see if ConnectorArn property is set
internal bool IsSetConnectorArn()
{
return this._connectorArn != null;
}
}
} | 58 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// Describes the status of an attempt from Amazon AppFlow to register a resource.
///
///
/// <para>
/// When you run a flow that you've configured to use a metadata catalog, Amazon AppFlow
/// registers a metadata table and data partitions with that catalog. This operation provides
/// the status of that registration attempt. The operation also indicates how many related
/// resources Amazon AppFlow created or updated.
/// </para>
/// </summary>
public partial class RegistrationOutput
{
private string _message;
private string _result;
private ExecutionStatus _status;
/// <summary>
/// Gets and sets the property Message.
/// <para>
/// Explains the status of the registration attempt from Amazon AppFlow. If the attempt
/// fails, the message explains why.
/// </para>
/// </summary>
[AWSProperty(Max=2048)]
public string Message
{
get { return this._message; }
set { this._message = value; }
}
// Check to see if Message property is set
internal bool IsSetMessage()
{
return this._message != null;
}
/// <summary>
/// Gets and sets the property Result.
/// <para>
/// Indicates the number of resources that Amazon AppFlow created or updated. Possible
/// resources include metadata tables and data partitions.
/// </para>
/// </summary>
[AWSProperty(Max=2048)]
public string Result
{
get { return this._result; }
set { this._result = value; }
}
// Check to see if Result property is set
internal bool IsSetResult()
{
return this._result != null;
}
/// <summary>
/// Gets and sets the property Status.
/// <para>
/// Indicates the status of the registration attempt from Amazon AppFlow.
/// </para>
/// </summary>
public ExecutionStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
} | 107 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// Container for the parameters to the ResetConnectorMetadataCache operation.
/// Resets metadata about your connector entities that Amazon AppFlow stored in its cache.
/// Use this action when you want Amazon AppFlow to return the latest information about
/// the data that you have in a source application.
///
///
/// <para>
/// Amazon AppFlow returns metadata about your entities when you use the ListConnectorEntities
/// or DescribeConnectorEntities actions. Following these actions, Amazon AppFlow caches
/// the metadata to reduce the number of API requests that it must send to the source
/// application. Amazon AppFlow automatically resets the cache once every hour, but you
/// can use this action when you want to get the latest metadata right away.
/// </para>
/// </summary>
public partial class ResetConnectorMetadataCacheRequest : AmazonAppflowRequest
{
private string _apiVersion;
private string _connectorEntityName;
private string _connectorProfileName;
private ConnectorType _connectorType;
private string _entitiesPath;
/// <summary>
/// Gets and sets the property ApiVersion.
/// <para>
/// The API version that you specified in the connector profile that you’re resetting
/// cached metadata for. You must use this parameter only if the connector supports multiple
/// API versions or if the connector type is CustomConnector.
/// </para>
///
/// <para>
/// To look up how many versions a connector supports, use the DescribeConnectors action.
/// In the response, find the value that Amazon AppFlow returns for the connectorVersion
/// parameter.
/// </para>
///
/// <para>
/// To look up the connector type, use the DescribeConnectorProfiles action. In the response,
/// find the value that Amazon AppFlow returns for the connectorType parameter.
/// </para>
///
/// <para>
/// To look up the API version that you specified in a connector profile, use the DescribeConnectorProfiles
/// action.
/// </para>
/// </summary>
[AWSProperty(Max=256)]
public string ApiVersion
{
get { return this._apiVersion; }
set { this._apiVersion = value; }
}
// Check to see if ApiVersion property is set
internal bool IsSetApiVersion()
{
return this._apiVersion != null;
}
/// <summary>
/// Gets and sets the property ConnectorEntityName.
/// <para>
/// Use this parameter if you want to reset cached metadata about the details for an individual
/// entity.
/// </para>
///
/// <para>
/// If you don't include this parameter in your request, Amazon AppFlow only resets cached
/// metadata about entity names, not entity details.
/// </para>
/// </summary>
[AWSProperty(Max=1024)]
public string ConnectorEntityName
{
get { return this._connectorEntityName; }
set { this._connectorEntityName = value; }
}
// Check to see if ConnectorEntityName property is set
internal bool IsSetConnectorEntityName()
{
return this._connectorEntityName != null;
}
/// <summary>
/// Gets and sets the property ConnectorProfileName.
/// <para>
/// The name of the connector profile that you want to reset cached metadata for.
/// </para>
///
/// <para>
/// You can omit this parameter if you're resetting the cache for any of the following
/// connectors: Amazon Connect, Amazon EventBridge, Amazon Lookout for Metrics, Amazon
/// S3, or Upsolver. If you're resetting the cache for any other connector, you must include
/// this parameter in your request.
/// </para>
/// </summary>
[AWSProperty(Max=256)]
public string ConnectorProfileName
{
get { return this._connectorProfileName; }
set { this._connectorProfileName = value; }
}
// Check to see if ConnectorProfileName property is set
internal bool IsSetConnectorProfileName()
{
return this._connectorProfileName != null;
}
/// <summary>
/// Gets and sets the property ConnectorType.
/// <para>
/// The type of connector to reset cached metadata for.
/// </para>
///
/// <para>
/// You must include this parameter in your request if you're resetting the cache for
/// any of the following connectors: Amazon Connect, Amazon EventBridge, Amazon Lookout
/// for Metrics, Amazon S3, or Upsolver. If you're resetting the cache for any other connector,
/// you can omit this parameter from your request.
/// </para>
/// </summary>
public ConnectorType ConnectorType
{
get { return this._connectorType; }
set { this._connectorType = value; }
}
// Check to see if ConnectorType property is set
internal bool IsSetConnectorType()
{
return this._connectorType != null;
}
/// <summary>
/// Gets and sets the property EntitiesPath.
/// <para>
/// Use this parameter only if you’re resetting the cached metadata about a nested entity.
/// Only some connectors support nested entities. A nested entity is one that has another
/// entity as a parent. To use this parameter, specify the name of the parent entity.
/// </para>
///
/// <para>
/// To look up the parent-child relationship of entities, you can send a ListConnectorEntities
/// request that omits the entitiesPath parameter. Amazon AppFlow will return a list of
/// top-level entities. For each one, it indicates whether the entity has nested entities.
/// Then, in a subsequent ListConnectorEntities request, you can specify a parent entity
/// name for the entitiesPath parameter. Amazon AppFlow will return a list of the child
/// entities for that parent.
/// </para>
/// </summary>
[AWSProperty(Max=256)]
public string EntitiesPath
{
get { return this._entitiesPath; }
set { this._entitiesPath = value; }
}
// Check to see if EntitiesPath property is set
internal bool IsSetEntitiesPath()
{
return this._entitiesPath != null;
}
}
} | 198 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// This is the response object from the ResetConnectorMetadataCache operation.
/// </summary>
public partial class ResetConnectorMetadataCacheResponse : AmazonWebServiceResponse
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The resource specified in the request (such as the source or destination connector
/// profile) is not found.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class ResourceNotFoundException : AmazonAppflowException
{
/// <summary>
/// Constructs a new ResourceNotFoundException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public ResourceNotFoundException(string message)
: base(message) {}
/// <summary>
/// Construct instance of ResourceNotFoundException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public ResourceNotFoundException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of ResourceNotFoundException
/// </summary>
/// <param name="innerException"></param>
public ResourceNotFoundException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of ResourceNotFoundException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ResourceNotFoundException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of ResourceNotFoundException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ResourceNotFoundException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the ResourceNotFoundException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected ResourceNotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 125 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The properties that are applied when Amazon S3 is used as a destination.
/// </summary>
public partial class S3DestinationProperties
{
private string _bucketName;
private string _bucketPrefix;
private S3OutputFormatConfig _s3OutputFormatConfig;
/// <summary>
/// Gets and sets the property BucketName.
/// <para>
/// The Amazon S3 bucket name in which Amazon AppFlow places the transferred data.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=3, Max=63)]
public string BucketName
{
get { return this._bucketName; }
set { this._bucketName = value; }
}
// Check to see if BucketName property is set
internal bool IsSetBucketName()
{
return this._bucketName != null;
}
/// <summary>
/// Gets and sets the property BucketPrefix.
/// <para>
/// The object key for the destination bucket in which Amazon AppFlow places the files.
///
/// </para>
/// </summary>
[AWSProperty(Max=512)]
public string BucketPrefix
{
get { return this._bucketPrefix; }
set { this._bucketPrefix = value; }
}
// Check to see if BucketPrefix property is set
internal bool IsSetBucketPrefix()
{
return this._bucketPrefix != null;
}
/// <summary>
/// Gets and sets the property S3OutputFormatConfig.
/// </summary>
public S3OutputFormatConfig S3OutputFormatConfig
{
get { return this._s3OutputFormatConfig; }
set { this._s3OutputFormatConfig = value; }
}
// Check to see if S3OutputFormatConfig property is set
internal bool IsSetS3OutputFormatConfig()
{
return this._s3OutputFormatConfig != null;
}
}
} | 95 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// When you use Amazon S3 as the source, the configuration format that you provide the
/// flow input data.
/// </summary>
public partial class S3InputFormatConfig
{
private S3InputFileType _s3InputFileType;
/// <summary>
/// Gets and sets the property S3InputFileType.
/// <para>
/// The file type that Amazon AppFlow gets from your Amazon S3 bucket.
/// </para>
/// </summary>
public S3InputFileType S3InputFileType
{
get { return this._s3InputFileType; }
set { this._s3InputFileType = value; }
}
// Check to see if S3InputFileType property is set
internal bool IsSetS3InputFileType()
{
return this._s3InputFileType != null;
}
}
} | 58 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The connector metadata specific to Amazon S3.
/// </summary>
public partial class S3Metadata
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The configuration that determines how Amazon AppFlow should format the flow output
/// data when Amazon S3 is used as the destination.
/// </summary>
public partial class S3OutputFormatConfig
{
private AggregationConfig _aggregationConfig;
private FileType _fileType;
private PrefixConfig _prefixConfig;
private bool? _preserveSourceDataTyping;
/// <summary>
/// Gets and sets the property AggregationConfig.
/// </summary>
public AggregationConfig AggregationConfig
{
get { return this._aggregationConfig; }
set { this._aggregationConfig = value; }
}
// Check to see if AggregationConfig property is set
internal bool IsSetAggregationConfig()
{
return this._aggregationConfig != null;
}
/// <summary>
/// Gets and sets the property FileType.
/// <para>
/// Indicates the file type that Amazon AppFlow places in the Amazon S3 bucket.
/// </para>
/// </summary>
public FileType FileType
{
get { return this._fileType; }
set { this._fileType = value; }
}
// Check to see if FileType property is set
internal bool IsSetFileType()
{
return this._fileType != null;
}
/// <summary>
/// Gets and sets the property PrefixConfig.
/// <para>
/// Determines the prefix that Amazon AppFlow applies to the folder name in the Amazon
/// S3 bucket. You can name folders according to the flow frequency and date.
/// </para>
/// </summary>
public PrefixConfig PrefixConfig
{
get { return this._prefixConfig; }
set { this._prefixConfig = value; }
}
// Check to see if PrefixConfig property is set
internal bool IsSetPrefixConfig()
{
return this._prefixConfig != null;
}
/// <summary>
/// Gets and sets the property PreserveSourceDataTyping.
/// <para>
/// If your file output format is Parquet, use this parameter to set whether Amazon AppFlow
/// preserves the data types in your source data when it writes the output to Amazon S3.
///
/// </para>
/// <ul> <li>
/// <para>
/// <code>true</code>: Amazon AppFlow preserves the data types when it writes to Amazon
/// S3. For example, an integer or <code>1</code> in your source data is still an integer
/// in your output.
/// </para>
/// </li> <li>
/// <para>
/// <code>false</code>: Amazon AppFlow converts all of the source data into strings when
/// it writes to Amazon S3. For example, an integer of <code>1</code> in your source data
/// becomes the string <code>"1"</code> in the output.
/// </para>
/// </li> </ul>
/// </summary>
public bool PreserveSourceDataTyping
{
get { return this._preserveSourceDataTyping.GetValueOrDefault(); }
set { this._preserveSourceDataTyping = value; }
}
// Check to see if PreserveSourceDataTyping property is set
internal bool IsSetPreserveSourceDataTyping()
{
return this._preserveSourceDataTyping.HasValue;
}
}
} | 128 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The properties that are applied when Amazon S3 is being used as the flow source.
/// </summary>
public partial class S3SourceProperties
{
private string _bucketName;
private string _bucketPrefix;
private S3InputFormatConfig _s3InputFormatConfig;
/// <summary>
/// Gets and sets the property BucketName.
/// <para>
/// The Amazon S3 bucket name where the source files are stored.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=3, Max=63)]
public string BucketName
{
get { return this._bucketName; }
set { this._bucketName = value; }
}
// Check to see if BucketName property is set
internal bool IsSetBucketName()
{
return this._bucketName != null;
}
/// <summary>
/// Gets and sets the property BucketPrefix.
/// <para>
/// The object key for the Amazon S3 bucket in which the source files are stored.
/// </para>
/// </summary>
[AWSProperty(Max=512)]
public string BucketPrefix
{
get { return this._bucketPrefix; }
set { this._bucketPrefix = value; }
}
// Check to see if BucketPrefix property is set
internal bool IsSetBucketPrefix()
{
return this._bucketPrefix != null;
}
/// <summary>
/// Gets and sets the property S3InputFormatConfig.
/// </summary>
public S3InputFormatConfig S3InputFormatConfig
{
get { return this._s3InputFormatConfig; }
set { this._s3InputFormatConfig = value; }
}
// Check to see if S3InputFormatConfig property is set
internal bool IsSetS3InputFormatConfig()
{
return this._s3InputFormatConfig != null;
}
}
} | 94 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The connector-specific profile credentials required when using Salesforce.
/// </summary>
public partial class SalesforceConnectorProfileCredentials
{
private string _accessToken;
private string _clientCredentialsArn;
private string _jwtToken;
private OAuth2GrantType _oAuth2GrantType;
private ConnectorOAuthRequest _oAuthRequest;
private string _refreshToken;
/// <summary>
/// Gets and sets the property AccessToken.
/// <para>
/// The credentials used to access protected Salesforce resources.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Max=4096)]
public string AccessToken
{
get { return this._accessToken; }
set { this._accessToken = value; }
}
// Check to see if AccessToken property is set
internal bool IsSetAccessToken()
{
return this._accessToken != null;
}
/// <summary>
/// Gets and sets the property ClientCredentialsArn.
/// <para>
/// The secret manager ARN, which contains the client ID and client secret of the connected
/// app.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=20, Max=2048)]
public string ClientCredentialsArn
{
get { return this._clientCredentialsArn; }
set { this._clientCredentialsArn = value; }
}
// Check to see if ClientCredentialsArn property is set
internal bool IsSetClientCredentialsArn()
{
return this._clientCredentialsArn != null;
}
/// <summary>
/// Gets and sets the property JwtToken.
/// <para>
/// A JSON web token (JWT) that authorizes Amazon AppFlow to access your Salesforce records.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Max=8000)]
public string JwtToken
{
get { return this._jwtToken; }
set { this._jwtToken = value; }
}
// Check to see if JwtToken property is set
internal bool IsSetJwtToken()
{
return this._jwtToken != null;
}
/// <summary>
/// Gets and sets the property OAuth2GrantType.
/// <para>
/// Specifies the OAuth 2.0 grant type that Amazon AppFlow uses when it requests an access
/// token from Salesforce. Amazon AppFlow requires an access token each time it attempts
/// to access your Salesforce records.
/// </para>
///
/// <para>
/// You can specify one of the following values:
/// </para>
/// <dl> <dt>AUTHORIZATION_CODE</dt> <dd>
/// <para>
/// Amazon AppFlow passes an authorization code when it requests the access token from
/// Salesforce. Amazon AppFlow receives the authorization code from Salesforce after you
/// log in to your Salesforce account and authorize Amazon AppFlow to access your records.
/// </para>
/// </dd> <dt>CLIENT_CREDENTIALS</dt> <dd>
/// <para>
/// Amazon AppFlow passes client credentials (a client ID and client secret) when it requests
/// the access token from Salesforce. You provide these credentials to Amazon AppFlow
/// when you define the connection to your Salesforce account.
/// </para>
/// </dd> <dt>JWT_BEARER</dt> <dd>
/// <para>
/// Amazon AppFlow passes a JSON web token (JWT) when it requests the access token from
/// Salesforce. You provide the JWT to Amazon AppFlow when you define the connection to
/// your Salesforce account. When you use this grant type, you don't need to log in to
/// your Salesforce account to authorize Amazon AppFlow to access your records.
/// </para>
/// </dd> </dl>
/// </summary>
public OAuth2GrantType OAuth2GrantType
{
get { return this._oAuth2GrantType; }
set { this._oAuth2GrantType = value; }
}
// Check to see if OAuth2GrantType property is set
internal bool IsSetOAuth2GrantType()
{
return this._oAuth2GrantType != null;
}
/// <summary>
/// Gets and sets the property OAuthRequest.
/// <para>
/// The OAuth requirement needed to request security tokens from the connector endpoint.
///
/// </para>
/// </summary>
public ConnectorOAuthRequest OAuthRequest
{
get { return this._oAuthRequest; }
set { this._oAuthRequest = value; }
}
// Check to see if OAuthRequest property is set
internal bool IsSetOAuthRequest()
{
return this._oAuthRequest != null;
}
/// <summary>
/// Gets and sets the property RefreshToken.
/// <para>
/// The credentials used to acquire new access tokens.
/// </para>
/// </summary>
[AWSProperty(Max=4096)]
public string RefreshToken
{
get { return this._refreshToken; }
set { this._refreshToken = value; }
}
// Check to see if RefreshToken property is set
internal bool IsSetRefreshToken()
{
return this._refreshToken != null;
}
}
} | 184 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The connector-specific profile properties required when using Salesforce.
/// </summary>
public partial class SalesforceConnectorProfileProperties
{
private string _instanceUrl;
private bool? _isSandboxEnvironment;
private bool? _usePrivateLinkForMetadataAndAuthorization;
/// <summary>
/// Gets and sets the property InstanceUrl.
/// <para>
/// The location of the Salesforce resource.
/// </para>
/// </summary>
[AWSProperty(Max=256)]
public string InstanceUrl
{
get { return this._instanceUrl; }
set { this._instanceUrl = value; }
}
// Check to see if InstanceUrl property is set
internal bool IsSetInstanceUrl()
{
return this._instanceUrl != null;
}
/// <summary>
/// Gets and sets the property IsSandboxEnvironment.
/// <para>
/// Indicates whether the connector profile applies to a sandbox or production environment.
///
/// </para>
/// </summary>
public bool IsSandboxEnvironment
{
get { return this._isSandboxEnvironment.GetValueOrDefault(); }
set { this._isSandboxEnvironment = value; }
}
// Check to see if IsSandboxEnvironment property is set
internal bool IsSetIsSandboxEnvironment()
{
return this._isSandboxEnvironment.HasValue;
}
/// <summary>
/// Gets and sets the property UsePrivateLinkForMetadataAndAuthorization.
/// <para>
/// If the connection mode for the connector profile is private, this parameter sets whether
/// Amazon AppFlow uses the private network to send metadata and authorization calls to
/// Salesforce. Amazon AppFlow sends private calls through Amazon Web Services PrivateLink.
/// These calls travel through Amazon Web Services infrastructure without being exposed
/// to the public internet.
/// </para>
///
/// <para>
/// Set either of the following values:
/// </para>
/// <dl> <dt>true</dt> <dd>
/// <para>
/// Amazon AppFlow sends all calls to Salesforce over the private network.
/// </para>
///
/// <para>
/// These private calls are:
/// </para>
/// <ul> <li>
/// <para>
/// Calls to get metadata about your Salesforce records. This metadata describes your
/// Salesforce objects and their fields.
/// </para>
/// </li> <li>
/// <para>
/// Calls to get or refresh access tokens that allow Amazon AppFlow to access your Salesforce
/// records.
/// </para>
/// </li> <li>
/// <para>
/// Calls to transfer your Salesforce records as part of a flow run.
/// </para>
/// </li> </ul> </dd> <dt>false</dt> <dd>
/// <para>
/// The default value. Amazon AppFlow sends some calls to Salesforce privately and other
/// calls over the public internet.
/// </para>
///
/// <para>
/// The public calls are:
/// </para>
/// <ul> <li>
/// <para>
/// Calls to get metadata about your Salesforce records.
/// </para>
/// </li> <li>
/// <para>
/// Calls to get or refresh access tokens.
/// </para>
/// </li> </ul>
/// <para>
/// The private calls are:
/// </para>
/// <ul> <li>
/// <para>
/// Calls to transfer your Salesforce records as part of a flow run.
/// </para>
/// </li> </ul> </dd> </dl>
/// </summary>
public bool UsePrivateLinkForMetadataAndAuthorization
{
get { return this._usePrivateLinkForMetadataAndAuthorization.GetValueOrDefault(); }
set { this._usePrivateLinkForMetadataAndAuthorization = value; }
}
// Check to see if UsePrivateLinkForMetadataAndAuthorization property is set
internal bool IsSetUsePrivateLinkForMetadataAndAuthorization()
{
return this._usePrivateLinkForMetadataAndAuthorization.HasValue;
}
}
} | 153 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The properties that are applied when Salesforce is being used as a destination.
/// </summary>
public partial class SalesforceDestinationProperties
{
private SalesforceDataTransferApi _dataTransferApi;
private ErrorHandlingConfig _errorHandlingConfig;
private List<string> _idFieldNames = new List<string>();
private string _object;
private WriteOperationType _writeOperationType;
/// <summary>
/// Gets and sets the property DataTransferApi.
/// <para>
/// Specifies which Salesforce API is used by Amazon AppFlow when your flow transfers
/// data to Salesforce.
/// </para>
/// <dl> <dt>AUTOMATIC</dt> <dd>
/// <para>
/// The default. Amazon AppFlow selects which API to use based on the number of records
/// that your flow transfers to Salesforce. If your flow transfers fewer than 1,000 records,
/// Amazon AppFlow uses Salesforce REST API. If your flow transfers 1,000 records or more,
/// Amazon AppFlow uses Salesforce Bulk API 2.0.
/// </para>
///
/// <para>
/// Each of these Salesforce APIs structures data differently. If Amazon AppFlow selects
/// the API automatically, be aware that, for recurring flows, the data output might vary
/// from one flow run to the next. For example, if a flow runs daily, it might use REST
/// API on one day to transfer 900 records, and it might use Bulk API 2.0 on the next
/// day to transfer 1,100 records. For each of these flow runs, the respective Salesforce
/// API formats the data differently. Some of the differences include how dates are formatted
/// and null values are represented. Also, Bulk API 2.0 doesn't transfer Salesforce compound
/// fields.
/// </para>
///
/// <para>
/// By choosing this option, you optimize flow performance for both small and large data
/// transfers, but the tradeoff is inconsistent formatting in the output.
/// </para>
/// </dd> <dt>BULKV2</dt> <dd>
/// <para>
/// Amazon AppFlow uses only Salesforce Bulk API 2.0. This API runs asynchronous data
/// transfers, and it's optimal for large sets of data. By choosing this option, you ensure
/// that your flow writes consistent output, but you optimize performance only for large
/// data transfers.
/// </para>
///
/// <para>
/// Note that Bulk API 2.0 does not transfer Salesforce compound fields.
/// </para>
/// </dd> <dt>REST_SYNC</dt> <dd>
/// <para>
/// Amazon AppFlow uses only Salesforce REST API. By choosing this option, you ensure
/// that your flow writes consistent output, but you decrease performance for large data
/// transfers that are better suited for Bulk API 2.0. In some cases, if your flow attempts
/// to transfer a vary large set of data, it might fail with a timed out error.
/// </para>
/// </dd> </dl>
/// </summary>
public SalesforceDataTransferApi DataTransferApi
{
get { return this._dataTransferApi; }
set { this._dataTransferApi = value; }
}
// Check to see if DataTransferApi property is set
internal bool IsSetDataTransferApi()
{
return this._dataTransferApi != null;
}
/// <summary>
/// Gets and sets the property ErrorHandlingConfig.
/// <para>
/// The settings that determine how Amazon AppFlow handles an error when placing data
/// in the Salesforce destination. For example, this setting would determine if the flow
/// should fail after one insertion error, or continue and attempt to insert every record
/// regardless of the initial failure. <code>ErrorHandlingConfig</code> is a part of the
/// destination connector details.
/// </para>
/// </summary>
public ErrorHandlingConfig ErrorHandlingConfig
{
get { return this._errorHandlingConfig; }
set { this._errorHandlingConfig = value; }
}
// Check to see if ErrorHandlingConfig property is set
internal bool IsSetErrorHandlingConfig()
{
return this._errorHandlingConfig != null;
}
/// <summary>
/// Gets and sets the property IdFieldNames.
/// <para>
/// The name of the field that Amazon AppFlow uses as an ID when performing a write operation
/// such as update or delete.
/// </para>
/// </summary>
[AWSProperty(Min=0)]
public List<string> IdFieldNames
{
get { return this._idFieldNames; }
set { this._idFieldNames = value; }
}
// Check to see if IdFieldNames property is set
internal bool IsSetIdFieldNames()
{
return this._idFieldNames != null && this._idFieldNames.Count > 0;
}
/// <summary>
/// Gets and sets the property Object.
/// <para>
/// The object specified in the Salesforce flow destination.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=512)]
public string Object
{
get { return this._object; }
set { this._object = value; }
}
// Check to see if Object property is set
internal bool IsSetObject()
{
return this._object != null;
}
/// <summary>
/// Gets and sets the property WriteOperationType.
/// <para>
/// This specifies the type of write operation to be performed in Salesforce. When the
/// value is <code>UPSERT</code>, then <code>idFieldNames</code> is required.
/// </para>
/// </summary>
public WriteOperationType WriteOperationType
{
get { return this._writeOperationType; }
set { this._writeOperationType = value; }
}
// Check to see if WriteOperationType property is set
internal bool IsSetWriteOperationType()
{
return this._writeOperationType != null;
}
}
} | 184 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The connector metadata specific to Salesforce.
/// </summary>
public partial class SalesforceMetadata
{
private List<string> _dataTransferApis = new List<string>();
private List<string> _oauth2GrantTypesSupported = new List<string>();
private List<string> _oAuthScopes = new List<string>();
/// <summary>
/// Gets and sets the property DataTransferApis.
/// <para>
/// The Salesforce APIs that you can have Amazon AppFlow use when your flows transfers
/// data to or from Salesforce.
/// </para>
/// </summary>
public List<string> DataTransferApis
{
get { return this._dataTransferApis; }
set { this._dataTransferApis = value; }
}
// Check to see if DataTransferApis property is set
internal bool IsSetDataTransferApis()
{
return this._dataTransferApis != null && this._dataTransferApis.Count > 0;
}
/// <summary>
/// Gets and sets the property Oauth2GrantTypesSupported.
/// <para>
/// The OAuth 2.0 grant types that Amazon AppFlow can use when it requests an access token
/// from Salesforce. Amazon AppFlow requires an access token each time it attempts to
/// access your Salesforce records.
/// </para>
/// <dl> <dt>AUTHORIZATION_CODE</dt> <dd>
/// <para>
/// Amazon AppFlow passes an authorization code when it requests the access token from
/// Salesforce. Amazon AppFlow receives the authorization code from Salesforce after you
/// log in to your Salesforce account and authorize Amazon AppFlow to access your records.
/// </para>
/// </dd> <dt>CLIENT_CREDENTIALS</dt> <dd>
/// <para>
/// Amazon AppFlow passes client credentials (a client ID and client secret) when it requests
/// the access token from Salesforce. You provide these credentials to Amazon AppFlow
/// when you define the connection to your Salesforce account.
/// </para>
/// </dd> <dt>JWT_BEARER</dt> <dd>
/// <para>
/// Amazon AppFlow passes a JSON web token (JWT) when it requests the access token from
/// Salesforce. You provide the JWT to Amazon AppFlow when you define the connection to
/// your Salesforce account. When you use this grant type, you don't need to log in to
/// your Salesforce account to authorize Amazon AppFlow to access your records.
/// </para>
/// </dd> </dl>
/// </summary>
public List<string> Oauth2GrantTypesSupported
{
get { return this._oauth2GrantTypesSupported; }
set { this._oauth2GrantTypesSupported = value; }
}
// Check to see if Oauth2GrantTypesSupported property is set
internal bool IsSetOauth2GrantTypesSupported()
{
return this._oauth2GrantTypesSupported != null && this._oauth2GrantTypesSupported.Count > 0;
}
/// <summary>
/// Gets and sets the property OAuthScopes.
/// <para>
/// The desired authorization scope for the Salesforce account.
/// </para>
/// </summary>
public List<string> OAuthScopes
{
get { return this._oAuthScopes; }
set { this._oAuthScopes = value; }
}
// Check to see if OAuthScopes property is set
internal bool IsSetOAuthScopes()
{
return this._oAuthScopes != null && this._oAuthScopes.Count > 0;
}
}
} | 118 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The properties that are applied when Salesforce is being used as a source.
/// </summary>
public partial class SalesforceSourceProperties
{
private SalesforceDataTransferApi _dataTransferApi;
private bool? _enableDynamicFieldUpdate;
private bool? _includeDeletedRecords;
private string _object;
/// <summary>
/// Gets and sets the property DataTransferApi.
/// <para>
/// Specifies which Salesforce API is used by Amazon AppFlow when your flow transfers
/// data from Salesforce.
/// </para>
/// <dl> <dt>AUTOMATIC</dt> <dd>
/// <para>
/// The default. Amazon AppFlow selects which API to use based on the number of records
/// that your flow transfers from Salesforce. If your flow transfers fewer than 1,000,000
/// records, Amazon AppFlow uses Salesforce REST API. If your flow transfers 1,000,000
/// records or more, Amazon AppFlow uses Salesforce Bulk API 2.0.
/// </para>
///
/// <para>
/// Each of these Salesforce APIs structures data differently. If Amazon AppFlow selects
/// the API automatically, be aware that, for recurring flows, the data output might vary
/// from one flow run to the next. For example, if a flow runs daily, it might use REST
/// API on one day to transfer 900,000 records, and it might use Bulk API 2.0 on the next
/// day to transfer 1,100,000 records. For each of these flow runs, the respective Salesforce
/// API formats the data differently. Some of the differences include how dates are formatted
/// and null values are represented. Also, Bulk API 2.0 doesn't transfer Salesforce compound
/// fields.
/// </para>
///
/// <para>
/// By choosing this option, you optimize flow performance for both small and large data
/// transfers, but the tradeoff is inconsistent formatting in the output.
/// </para>
/// </dd> <dt>BULKV2</dt> <dd>
/// <para>
/// Amazon AppFlow uses only Salesforce Bulk API 2.0. This API runs asynchronous data
/// transfers, and it's optimal for large sets of data. By choosing this option, you ensure
/// that your flow writes consistent output, but you optimize performance only for large
/// data transfers.
/// </para>
///
/// <para>
/// Note that Bulk API 2.0 does not transfer Salesforce compound fields.
/// </para>
/// </dd> <dt>REST_SYNC</dt> <dd>
/// <para>
/// Amazon AppFlow uses only Salesforce REST API. By choosing this option, you ensure
/// that your flow writes consistent output, but you decrease performance for large data
/// transfers that are better suited for Bulk API 2.0. In some cases, if your flow attempts
/// to transfer a vary large set of data, it might fail wituh a timed out error.
/// </para>
/// </dd> </dl>
/// </summary>
public SalesforceDataTransferApi DataTransferApi
{
get { return this._dataTransferApi; }
set { this._dataTransferApi = value; }
}
// Check to see if DataTransferApi property is set
internal bool IsSetDataTransferApi()
{
return this._dataTransferApi != null;
}
/// <summary>
/// Gets and sets the property EnableDynamicFieldUpdate.
/// <para>
/// The flag that enables dynamic fetching of new (recently added) fields in the Salesforce
/// objects while running a flow.
/// </para>
/// </summary>
public bool EnableDynamicFieldUpdate
{
get { return this._enableDynamicFieldUpdate.GetValueOrDefault(); }
set { this._enableDynamicFieldUpdate = value; }
}
// Check to see if EnableDynamicFieldUpdate property is set
internal bool IsSetEnableDynamicFieldUpdate()
{
return this._enableDynamicFieldUpdate.HasValue;
}
/// <summary>
/// Gets and sets the property IncludeDeletedRecords.
/// <para>
/// Indicates whether Amazon AppFlow includes deleted files in the flow run.
/// </para>
/// </summary>
public bool IncludeDeletedRecords
{
get { return this._includeDeletedRecords.GetValueOrDefault(); }
set { this._includeDeletedRecords = value; }
}
// Check to see if IncludeDeletedRecords property is set
internal bool IsSetIncludeDeletedRecords()
{
return this._includeDeletedRecords.HasValue;
}
/// <summary>
/// Gets and sets the property Object.
/// <para>
/// The object specified in the Salesforce flow source.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=512)]
public string Object
{
get { return this._object; }
set { this._object = value; }
}
// Check to see if Object property is set
internal bool IsSetObject()
{
return this._object != null;
}
}
} | 159 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The connector-specific profile credentials required when using SAPOData.
/// </summary>
public partial class SAPODataConnectorProfileCredentials
{
private BasicAuthCredentials _basicAuthCredentials;
private OAuthCredentials _oAuthCredentials;
/// <summary>
/// Gets and sets the property BasicAuthCredentials.
/// <para>
/// The SAPOData basic authentication credentials.
/// </para>
/// </summary>
public BasicAuthCredentials BasicAuthCredentials
{
get { return this._basicAuthCredentials; }
set { this._basicAuthCredentials = value; }
}
// Check to see if BasicAuthCredentials property is set
internal bool IsSetBasicAuthCredentials()
{
return this._basicAuthCredentials != null;
}
/// <summary>
/// Gets and sets the property OAuthCredentials.
/// <para>
/// The SAPOData OAuth type authentication credentials.
/// </para>
/// </summary>
public OAuthCredentials OAuthCredentials
{
get { return this._oAuthCredentials; }
set { this._oAuthCredentials = value; }
}
// Check to see if OAuthCredentials property is set
internal bool IsSetOAuthCredentials()
{
return this._oAuthCredentials != null;
}
}
} | 76 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The connector-specific profile properties required when using SAPOData.
/// </summary>
public partial class SAPODataConnectorProfileProperties
{
private string _applicationHostUrl;
private string _applicationServicePath;
private string _clientNumber;
private bool? _disablesso;
private string _logonLanguage;
private OAuthProperties _oAuthProperties;
private int? _portNumber;
private string _privateLinkServiceName;
/// <summary>
/// Gets and sets the property ApplicationHostUrl.
/// <para>
/// The location of the SAPOData resource.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=256)]
public string ApplicationHostUrl
{
get { return this._applicationHostUrl; }
set { this._applicationHostUrl = value; }
}
// Check to see if ApplicationHostUrl property is set
internal bool IsSetApplicationHostUrl()
{
return this._applicationHostUrl != null;
}
/// <summary>
/// Gets and sets the property ApplicationServicePath.
/// <para>
/// The application path to catalog service.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=512)]
public string ApplicationServicePath
{
get { return this._applicationServicePath; }
set { this._applicationServicePath = value; }
}
// Check to see if ApplicationServicePath property is set
internal bool IsSetApplicationServicePath()
{
return this._applicationServicePath != null;
}
/// <summary>
/// Gets and sets the property ClientNumber.
/// <para>
/// The client number for the client creating the connection.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=3, Max=3)]
public string ClientNumber
{
get { return this._clientNumber; }
set { this._clientNumber = value; }
}
// Check to see if ClientNumber property is set
internal bool IsSetClientNumber()
{
return this._clientNumber != null;
}
/// <summary>
/// Gets and sets the property DisableSSO.
/// <para>
/// If you set this parameter to <code>true</code>, Amazon AppFlow bypasses the single
/// sign-on (SSO) settings in your SAP account when it accesses your SAP OData instance.
/// </para>
///
/// <para>
/// Whether you need this option depends on the types of credentials that you applied
/// to your SAP OData connection profile. If your profile uses basic authentication credentials,
/// SAP SSO can prevent Amazon AppFlow from connecting to your account with your username
/// and password. In this case, bypassing SSO makes it possible for Amazon AppFlow to
/// connect successfully. However, if your profile uses OAuth credentials, this parameter
/// has no affect.
/// </para>
/// </summary>
public bool DisableSSO
{
get { return this._disablesso.GetValueOrDefault(); }
set { this._disablesso = value; }
}
// Check to see if DisableSSO property is set
internal bool IsSetDisableSSO()
{
return this._disablesso.HasValue;
}
/// <summary>
/// Gets and sets the property LogonLanguage.
/// <para>
/// The logon language of SAPOData instance.
/// </para>
/// </summary>
[AWSProperty(Max=2)]
public string LogonLanguage
{
get { return this._logonLanguage; }
set { this._logonLanguage = value; }
}
// Check to see if LogonLanguage property is set
internal bool IsSetLogonLanguage()
{
return this._logonLanguage != null;
}
/// <summary>
/// Gets and sets the property OAuthProperties.
/// <para>
/// The SAPOData OAuth properties required for OAuth type authentication.
/// </para>
/// </summary>
public OAuthProperties OAuthProperties
{
get { return this._oAuthProperties; }
set { this._oAuthProperties = value; }
}
// Check to see if OAuthProperties property is set
internal bool IsSetOAuthProperties()
{
return this._oAuthProperties != null;
}
/// <summary>
/// Gets and sets the property PortNumber.
/// <para>
/// The port number of the SAPOData instance.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=65535)]
public int PortNumber
{
get { return this._portNumber.GetValueOrDefault(); }
set { this._portNumber = value; }
}
// Check to see if PortNumber property is set
internal bool IsSetPortNumber()
{
return this._portNumber.HasValue;
}
/// <summary>
/// Gets and sets the property PrivateLinkServiceName.
/// <para>
/// The SAPOData Private Link service name to be used for private data transfers.
/// </para>
/// </summary>
[AWSProperty(Max=512)]
public string PrivateLinkServiceName
{
get { return this._privateLinkServiceName; }
set { this._privateLinkServiceName = value; }
}
// Check to see if PrivateLinkServiceName property is set
internal bool IsSetPrivateLinkServiceName()
{
return this._privateLinkServiceName != null;
}
}
} | 206 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The properties that are applied when using SAPOData as a flow destination
/// </summary>
public partial class SAPODataDestinationProperties
{
private ErrorHandlingConfig _errorHandlingConfig;
private List<string> _idFieldNames = new List<string>();
private string _objectPath;
private SuccessResponseHandlingConfig _successResponseHandlingConfig;
private WriteOperationType _writeOperationType;
/// <summary>
/// Gets and sets the property ErrorHandlingConfig.
/// </summary>
public ErrorHandlingConfig ErrorHandlingConfig
{
get { return this._errorHandlingConfig; }
set { this._errorHandlingConfig = value; }
}
// Check to see if ErrorHandlingConfig property is set
internal bool IsSetErrorHandlingConfig()
{
return this._errorHandlingConfig != null;
}
/// <summary>
/// Gets and sets the property IdFieldNames.
/// </summary>
[AWSProperty(Min=0)]
public List<string> IdFieldNames
{
get { return this._idFieldNames; }
set { this._idFieldNames = value; }
}
// Check to see if IdFieldNames property is set
internal bool IsSetIdFieldNames()
{
return this._idFieldNames != null && this._idFieldNames.Count > 0;
}
/// <summary>
/// Gets and sets the property ObjectPath.
/// <para>
/// The object path specified in the SAPOData flow destination.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=512)]
public string ObjectPath
{
get { return this._objectPath; }
set { this._objectPath = value; }
}
// Check to see if ObjectPath property is set
internal bool IsSetObjectPath()
{
return this._objectPath != null;
}
/// <summary>
/// Gets and sets the property SuccessResponseHandlingConfig.
/// <para>
/// Determines how Amazon AppFlow handles the success response that it gets from the connector
/// after placing data.
/// </para>
///
/// <para>
/// For example, this setting would determine where to write the response from a destination
/// connector upon a successful insert operation.
/// </para>
/// </summary>
public SuccessResponseHandlingConfig SuccessResponseHandlingConfig
{
get { return this._successResponseHandlingConfig; }
set { this._successResponseHandlingConfig = value; }
}
// Check to see if SuccessResponseHandlingConfig property is set
internal bool IsSetSuccessResponseHandlingConfig()
{
return this._successResponseHandlingConfig != null;
}
/// <summary>
/// Gets and sets the property WriteOperationType.
/// </summary>
public WriteOperationType WriteOperationType
{
get { return this._writeOperationType; }
set { this._writeOperationType = value; }
}
// Check to see if WriteOperationType property is set
internal bool IsSetWriteOperationType()
{
return this._writeOperationType != null;
}
}
} | 132 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The connector metadata specific to SAPOData.
/// </summary>
public partial class SAPODataMetadata
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The properties that are applied when using SAPOData as a flow source.
/// </summary>
public partial class SAPODataSourceProperties
{
private string _objectPath;
/// <summary>
/// Gets and sets the property ObjectPath.
/// <para>
/// The object path specified in the SAPOData flow source.
/// </para>
/// </summary>
[AWSProperty(Max=512)]
public string ObjectPath
{
get { return this._objectPath; }
set { this._objectPath = value; }
}
// Check to see if ObjectPath property is set
internal bool IsSetObjectPath()
{
return this._objectPath != null;
}
}
} | 58 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// Specifies the configuration details of a schedule-triggered flow as defined by the
/// user. Currently, these settings only apply to the <code>Scheduled</code> trigger type.
/// </summary>
public partial class ScheduledTriggerProperties
{
private DataPullMode _dataPullMode;
private DateTime? _firstExecutionFrom;
private int? _flowErrorDeactivationThreshold;
private DateTime? _scheduleEndTime;
private string _scheduleExpression;
private long? _scheduleOffset;
private DateTime? _scheduleStartTime;
private string _timezone;
/// <summary>
/// Gets and sets the property DataPullMode.
/// <para>
/// Specifies whether a scheduled flow has an incremental data transfer or a complete
/// data transfer for each flow run.
/// </para>
/// </summary>
public DataPullMode DataPullMode
{
get { return this._dataPullMode; }
set { this._dataPullMode = value; }
}
// Check to see if DataPullMode property is set
internal bool IsSetDataPullMode()
{
return this._dataPullMode != null;
}
/// <summary>
/// Gets and sets the property FirstExecutionFrom.
/// <para>
/// Specifies the date range for the records to import from the connector in the first
/// flow run.
/// </para>
/// </summary>
public DateTime FirstExecutionFrom
{
get { return this._firstExecutionFrom.GetValueOrDefault(); }
set { this._firstExecutionFrom = value; }
}
// Check to see if FirstExecutionFrom property is set
internal bool IsSetFirstExecutionFrom()
{
return this._firstExecutionFrom.HasValue;
}
/// <summary>
/// Gets and sets the property FlowErrorDeactivationThreshold.
/// <para>
/// Defines how many times a scheduled flow fails consecutively before Amazon AppFlow
/// deactivates it.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public int FlowErrorDeactivationThreshold
{
get { return this._flowErrorDeactivationThreshold.GetValueOrDefault(); }
set { this._flowErrorDeactivationThreshold = value; }
}
// Check to see if FlowErrorDeactivationThreshold property is set
internal bool IsSetFlowErrorDeactivationThreshold()
{
return this._flowErrorDeactivationThreshold.HasValue;
}
/// <summary>
/// Gets and sets the property ScheduleEndTime.
/// <para>
/// The time at which the scheduled flow ends. The time is formatted as a timestamp that
/// follows the ISO 8601 standard, such as <code>2022-04-27T13:00:00-07:00</code>.
/// </para>
/// </summary>
public DateTime ScheduleEndTime
{
get { return this._scheduleEndTime.GetValueOrDefault(); }
set { this._scheduleEndTime = value; }
}
// Check to see if ScheduleEndTime property is set
internal bool IsSetScheduleEndTime()
{
return this._scheduleEndTime.HasValue;
}
/// <summary>
/// Gets and sets the property ScheduleExpression.
/// <para>
/// The scheduling expression that determines the rate at which the schedule will run,
/// for example <code>rate(5minutes)</code>.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=256)]
public string ScheduleExpression
{
get { return this._scheduleExpression; }
set { this._scheduleExpression = value; }
}
// Check to see if ScheduleExpression property is set
internal bool IsSetScheduleExpression()
{
return this._scheduleExpression != null;
}
/// <summary>
/// Gets and sets the property ScheduleOffset.
/// <para>
/// Specifies the optional offset that is added to the time interval for a schedule-triggered
/// flow.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=36000)]
public long ScheduleOffset
{
get { return this._scheduleOffset.GetValueOrDefault(); }
set { this._scheduleOffset = value; }
}
// Check to see if ScheduleOffset property is set
internal bool IsSetScheduleOffset()
{
return this._scheduleOffset.HasValue;
}
/// <summary>
/// Gets and sets the property ScheduleStartTime.
/// <para>
/// The time at which the scheduled flow starts. The time is formatted as a timestamp
/// that follows the ISO 8601 standard, such as <code>2022-04-26T13:00:00-07:00</code>.
/// </para>
/// </summary>
public DateTime ScheduleStartTime
{
get { return this._scheduleStartTime.GetValueOrDefault(); }
set { this._scheduleStartTime = value; }
}
// Check to see if ScheduleStartTime property is set
internal bool IsSetScheduleStartTime()
{
return this._scheduleStartTime.HasValue;
}
/// <summary>
/// Gets and sets the property Timezone.
/// <para>
/// Specifies the time zone used when referring to the dates and times of a scheduled
/// flow, such as <code>America/New_York</code>. This time zone is only a descriptive
/// label. It doesn't affect how Amazon AppFlow interprets the timestamps that you specify
/// to schedule the flow.
/// </para>
///
/// <para>
/// If you want to schedule a flow by using times in a particular time zone, indicate
/// the time zone as a UTC offset in your timestamps. For example, the UTC offsets for
/// the <code>America/New_York</code> timezone are <code>-04:00</code> EDT and <code>-05:00
/// EST</code>.
/// </para>
/// </summary>
[AWSProperty(Max=256)]
public string Timezone
{
get { return this._timezone; }
set { this._timezone = value; }
}
// Check to see if Timezone property is set
internal bool IsSetTimezone()
{
return this._timezone != null;
}
}
} | 212 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The connector-specific profile credentials required when using ServiceNow.
/// </summary>
public partial class ServiceNowConnectorProfileCredentials
{
private string _password;
private string _username;
/// <summary>
/// Gets and sets the property Password.
/// <para>
/// The password that corresponds to the user name.
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true, Max=512)]
public string Password
{
get { return this._password; }
set { this._password = value; }
}
// Check to see if Password property is set
internal bool IsSetPassword()
{
return this._password != null;
}
/// <summary>
/// Gets and sets the property Username.
/// <para>
/// The name of the user.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=512)]
public string Username
{
get { return this._username; }
set { this._username = value; }
}
// Check to see if Username property is set
internal bool IsSetUsername()
{
return this._username != null;
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The connector-specific profile properties required when using ServiceNow.
/// </summary>
public partial class ServiceNowConnectorProfileProperties
{
private string _instanceUrl;
/// <summary>
/// Gets and sets the property InstanceUrl.
/// <para>
/// The location of the ServiceNow resource.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=256)]
public string InstanceUrl
{
get { return this._instanceUrl; }
set { this._instanceUrl = value; }
}
// Check to see if InstanceUrl property is set
internal bool IsSetInstanceUrl()
{
return this._instanceUrl != null;
}
}
} | 58 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The connector metadata specific to ServiceNow.
/// </summary>
public partial class ServiceNowMetadata
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The properties that are applied when ServiceNow is being used as a source.
/// </summary>
public partial class ServiceNowSourceProperties
{
private string _object;
/// <summary>
/// Gets and sets the property Object.
/// <para>
/// The object specified in the ServiceNow flow source.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=512)]
public string Object
{
get { return this._object; }
set { this._object = value; }
}
// Check to see if Object property is set
internal bool IsSetObject()
{
return this._object != null;
}
}
} | 58 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The request would cause a service quota (such as the number of flows) to be exceeded.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class ServiceQuotaExceededException : AmazonAppflowException
{
/// <summary>
/// Constructs a new ServiceQuotaExceededException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public ServiceQuotaExceededException(string message)
: base(message) {}
/// <summary>
/// Construct instance of ServiceQuotaExceededException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public ServiceQuotaExceededException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of ServiceQuotaExceededException
/// </summary>
/// <param name="innerException"></param>
public ServiceQuotaExceededException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of ServiceQuotaExceededException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ServiceQuotaExceededException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of ServiceQuotaExceededException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ServiceQuotaExceededException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the ServiceQuotaExceededException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected ServiceQuotaExceededException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 124 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The connector-specific profile credentials required when using Singular.
/// </summary>
public partial class SingularConnectorProfileCredentials
{
private string _apiKey;
/// <summary>
/// Gets and sets the property ApiKey.
/// <para>
/// A unique alphanumeric identifier used to authenticate a user, developer, or calling
/// program to your API.
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true, Max=256)]
public string ApiKey
{
get { return this._apiKey; }
set { this._apiKey = value; }
}
// Check to see if ApiKey property is set
internal bool IsSetApiKey()
{
return this._apiKey != null;
}
}
} | 59 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The connector-specific profile properties required when using Singular.
/// </summary>
public partial class SingularConnectorProfileProperties
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The connector metadata specific to Singular.
/// </summary>
public partial class SingularMetadata
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The properties that are applied when Singular is being used as a source.
/// </summary>
public partial class SingularSourceProperties
{
private string _object;
/// <summary>
/// Gets and sets the property Object.
/// <para>
/// The object specified in the Singular flow source.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=512)]
public string Object
{
get { return this._object; }
set { this._object = value; }
}
// Check to see if Object property is set
internal bool IsSetObject()
{
return this._object != null;
}
}
} | 58 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The connector-specific profile credentials required when using Slack.
/// </summary>
public partial class SlackConnectorProfileCredentials
{
private string _accessToken;
private string _clientId;
private string _clientSecret;
private ConnectorOAuthRequest _oAuthRequest;
/// <summary>
/// Gets and sets the property AccessToken.
/// <para>
/// The credentials used to access protected Slack resources.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Max=4096)]
public string AccessToken
{
get { return this._accessToken; }
set { this._accessToken = value; }
}
// Check to see if AccessToken property is set
internal bool IsSetAccessToken()
{
return this._accessToken != null;
}
/// <summary>
/// Gets and sets the property ClientId.
/// <para>
/// The identifier for the client.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=512)]
public string ClientId
{
get { return this._clientId; }
set { this._clientId = value; }
}
// Check to see if ClientId property is set
internal bool IsSetClientId()
{
return this._clientId != null;
}
/// <summary>
/// Gets and sets the property ClientSecret.
/// <para>
/// The client secret used by the OAuth client to authenticate to the authorization server.
///
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true, Max=512)]
public string ClientSecret
{
get { return this._clientSecret; }
set { this._clientSecret = value; }
}
// Check to see if ClientSecret property is set
internal bool IsSetClientSecret()
{
return this._clientSecret != null;
}
/// <summary>
/// Gets and sets the property OAuthRequest.
/// <para>
/// The OAuth requirement needed to request security tokens from the connector endpoint.
///
/// </para>
/// </summary>
public ConnectorOAuthRequest OAuthRequest
{
get { return this._oAuthRequest; }
set { this._oAuthRequest = value; }
}
// Check to see if OAuthRequest property is set
internal bool IsSetOAuthRequest()
{
return this._oAuthRequest != null;
}
}
} | 119 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The connector-specific profile properties required when using Slack.
/// </summary>
public partial class SlackConnectorProfileProperties
{
private string _instanceUrl;
/// <summary>
/// Gets and sets the property InstanceUrl.
/// <para>
/// The location of the Slack resource.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=256)]
public string InstanceUrl
{
get { return this._instanceUrl; }
set { this._instanceUrl = value; }
}
// Check to see if InstanceUrl property is set
internal bool IsSetInstanceUrl()
{
return this._instanceUrl != null;
}
}
} | 58 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The connector metadata specific to Slack.
/// </summary>
public partial class SlackMetadata
{
private List<string> _oAuthScopes = new List<string>();
/// <summary>
/// Gets and sets the property OAuthScopes.
/// <para>
/// The desired authorization scope for the Slack account.
/// </para>
/// </summary>
public List<string> OAuthScopes
{
get { return this._oAuthScopes; }
set { this._oAuthScopes = value; }
}
// Check to see if OAuthScopes property is set
internal bool IsSetOAuthScopes()
{
return this._oAuthScopes != null && this._oAuthScopes.Count > 0;
}
}
} | 57 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The properties that are applied when Slack is being used as a source.
/// </summary>
public partial class SlackSourceProperties
{
private string _object;
/// <summary>
/// Gets and sets the property Object.
/// <para>
/// The object specified in the Slack flow source.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=512)]
public string Object
{
get { return this._object; }
set { this._object = value; }
}
// Check to see if Object property is set
internal bool IsSetObject()
{
return this._object != null;
}
}
} | 58 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The connector-specific profile credentials required when using Snowflake.
/// </summary>
public partial class SnowflakeConnectorProfileCredentials
{
private string _password;
private string _username;
/// <summary>
/// Gets and sets the property Password.
/// <para>
/// The password that corresponds to the user name.
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true, Max=512)]
public string Password
{
get { return this._password; }
set { this._password = value; }
}
// Check to see if Password property is set
internal bool IsSetPassword()
{
return this._password != null;
}
/// <summary>
/// Gets and sets the property Username.
/// <para>
/// The name of the user.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=512)]
public string Username
{
get { return this._username; }
set { this._username = value; }
}
// Check to see if Username property is set
internal bool IsSetUsername()
{
return this._username != null;
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The connector-specific profile properties required when using Snowflake.
/// </summary>
public partial class SnowflakeConnectorProfileProperties
{
private string _accountName;
private string _bucketName;
private string _bucketPrefix;
private string _privateLinkServiceName;
private string _region;
private string _stage;
private string _warehouse;
/// <summary>
/// Gets and sets the property AccountName.
/// <para>
/// The name of the account.
/// </para>
/// </summary>
[AWSProperty(Max=512)]
public string AccountName
{
get { return this._accountName; }
set { this._accountName = value; }
}
// Check to see if AccountName property is set
internal bool IsSetAccountName()
{
return this._accountName != null;
}
/// <summary>
/// Gets and sets the property BucketName.
/// <para>
/// The name of the Amazon S3 bucket associated with Snowflake.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=3, Max=63)]
public string BucketName
{
get { return this._bucketName; }
set { this._bucketName = value; }
}
// Check to see if BucketName property is set
internal bool IsSetBucketName()
{
return this._bucketName != null;
}
/// <summary>
/// Gets and sets the property BucketPrefix.
/// <para>
/// The bucket path that refers to the Amazon S3 bucket associated with Snowflake.
/// </para>
/// </summary>
[AWSProperty(Max=512)]
public string BucketPrefix
{
get { return this._bucketPrefix; }
set { this._bucketPrefix = value; }
}
// Check to see if BucketPrefix property is set
internal bool IsSetBucketPrefix()
{
return this._bucketPrefix != null;
}
/// <summary>
/// Gets and sets the property PrivateLinkServiceName.
/// <para>
/// The Snowflake Private Link service name to be used for private data transfers.
/// </para>
/// </summary>
[AWSProperty(Max=512)]
public string PrivateLinkServiceName
{
get { return this._privateLinkServiceName; }
set { this._privateLinkServiceName = value; }
}
// Check to see if PrivateLinkServiceName property is set
internal bool IsSetPrivateLinkServiceName()
{
return this._privateLinkServiceName != null;
}
/// <summary>
/// Gets and sets the property Region.
/// <para>
/// The Amazon Web Services Region of the Snowflake account.
/// </para>
/// </summary>
[AWSProperty(Max=64)]
public string Region
{
get { return this._region; }
set { this._region = value; }
}
// Check to see if Region property is set
internal bool IsSetRegion()
{
return this._region != null;
}
/// <summary>
/// Gets and sets the property Stage.
/// <para>
/// The name of the Amazon S3 stage that was created while setting up an Amazon S3 stage
/// in the Snowflake account. This is written in the following format: < Database><
/// Schema><Stage Name>.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=512)]
public string Stage
{
get { return this._stage; }
set { this._stage = value; }
}
// Check to see if Stage property is set
internal bool IsSetStage()
{
return this._stage != null;
}
/// <summary>
/// Gets and sets the property Warehouse.
/// <para>
/// The name of the Snowflake warehouse.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=512)]
public string Warehouse
{
get { return this._warehouse; }
set { this._warehouse = value; }
}
// Check to see if Warehouse property is set
internal bool IsSetWarehouse()
{
return this._warehouse != null;
}
}
} | 180 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The properties that are applied when Snowflake is being used as a destination.
/// </summary>
public partial class SnowflakeDestinationProperties
{
private string _bucketPrefix;
private ErrorHandlingConfig _errorHandlingConfig;
private string _intermediateBucketName;
private string _object;
/// <summary>
/// Gets and sets the property BucketPrefix.
/// <para>
/// The object key for the destination bucket in which Amazon AppFlow places the files.
///
/// </para>
/// </summary>
[AWSProperty(Max=512)]
public string BucketPrefix
{
get { return this._bucketPrefix; }
set { this._bucketPrefix = value; }
}
// Check to see if BucketPrefix property is set
internal bool IsSetBucketPrefix()
{
return this._bucketPrefix != null;
}
/// <summary>
/// Gets and sets the property ErrorHandlingConfig.
/// <para>
/// The settings that determine how Amazon AppFlow handles an error when placing data
/// in the Snowflake destination. For example, this setting would determine if the flow
/// should fail after one insertion error, or continue and attempt to insert every record
/// regardless of the initial failure. <code>ErrorHandlingConfig</code> is a part of the
/// destination connector details.
/// </para>
/// </summary>
public ErrorHandlingConfig ErrorHandlingConfig
{
get { return this._errorHandlingConfig; }
set { this._errorHandlingConfig = value; }
}
// Check to see if ErrorHandlingConfig property is set
internal bool IsSetErrorHandlingConfig()
{
return this._errorHandlingConfig != null;
}
/// <summary>
/// Gets and sets the property IntermediateBucketName.
/// <para>
/// The intermediate bucket that Amazon AppFlow uses when moving data into Snowflake.
///
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=3, Max=63)]
public string IntermediateBucketName
{
get { return this._intermediateBucketName; }
set { this._intermediateBucketName = value; }
}
// Check to see if IntermediateBucketName property is set
internal bool IsSetIntermediateBucketName()
{
return this._intermediateBucketName != null;
}
/// <summary>
/// Gets and sets the property Object.
/// <para>
/// The object specified in the Snowflake flow destination.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=512)]
public string Object
{
get { return this._object; }
set { this._object = value; }
}
// Check to see if Object property is set
internal bool IsSetObject()
{
return this._object != null;
}
}
} | 123 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The connector metadata specific to Snowflake.
/// </summary>
public partial class SnowflakeMetadata
{
private List<string> _supportedRegions = new List<string>();
/// <summary>
/// Gets and sets the property SupportedRegions.
/// <para>
/// Specifies the supported Amazon Web Services Regions when using Snowflake.
/// </para>
/// </summary>
public List<string> SupportedRegions
{
get { return this._supportedRegions; }
set { this._supportedRegions = value; }
}
// Check to see if SupportedRegions property is set
internal bool IsSetSupportedRegions()
{
return this._supportedRegions != null && this._supportedRegions.Count > 0;
}
}
} | 57 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// Specifies the information that is required to query a particular connector.
/// </summary>
public partial class SourceConnectorProperties
{
private AmplitudeSourceProperties _amplitude;
private CustomConnectorSourceProperties _customConnector;
private DatadogSourceProperties _datadog;
private DynatraceSourceProperties _dynatrace;
private GoogleAnalyticsSourceProperties _googleAnalytics;
private InforNexusSourceProperties _inforNexus;
private MarketoSourceProperties _marketo;
private PardotSourceProperties _pardot;
private S3SourceProperties _s3;
private SalesforceSourceProperties _salesforce;
private SAPODataSourceProperties _sapoData;
private ServiceNowSourceProperties _serviceNow;
private SingularSourceProperties _singular;
private SlackSourceProperties _slack;
private TrendmicroSourceProperties _trendmicro;
private VeevaSourceProperties _veeva;
private ZendeskSourceProperties _zendesk;
/// <summary>
/// Gets and sets the property Amplitude.
/// <para>
/// Specifies the information that is required for querying Amplitude.
/// </para>
/// </summary>
public AmplitudeSourceProperties Amplitude
{
get { return this._amplitude; }
set { this._amplitude = value; }
}
// Check to see if Amplitude property is set
internal bool IsSetAmplitude()
{
return this._amplitude != null;
}
/// <summary>
/// Gets and sets the property CustomConnector.
/// </summary>
public CustomConnectorSourceProperties CustomConnector
{
get { return this._customConnector; }
set { this._customConnector = value; }
}
// Check to see if CustomConnector property is set
internal bool IsSetCustomConnector()
{
return this._customConnector != null;
}
/// <summary>
/// Gets and sets the property Datadog.
/// <para>
/// Specifies the information that is required for querying Datadog.
/// </para>
/// </summary>
public DatadogSourceProperties Datadog
{
get { return this._datadog; }
set { this._datadog = value; }
}
// Check to see if Datadog property is set
internal bool IsSetDatadog()
{
return this._datadog != null;
}
/// <summary>
/// Gets and sets the property Dynatrace.
/// <para>
/// Specifies the information that is required for querying Dynatrace.
/// </para>
/// </summary>
public DynatraceSourceProperties Dynatrace
{
get { return this._dynatrace; }
set { this._dynatrace = value; }
}
// Check to see if Dynatrace property is set
internal bool IsSetDynatrace()
{
return this._dynatrace != null;
}
/// <summary>
/// Gets and sets the property GoogleAnalytics.
/// <para>
/// Specifies the information that is required for querying Google Analytics.
/// </para>
/// </summary>
public GoogleAnalyticsSourceProperties GoogleAnalytics
{
get { return this._googleAnalytics; }
set { this._googleAnalytics = value; }
}
// Check to see if GoogleAnalytics property is set
internal bool IsSetGoogleAnalytics()
{
return this._googleAnalytics != null;
}
/// <summary>
/// Gets and sets the property InforNexus.
/// <para>
/// Specifies the information that is required for querying Infor Nexus.
/// </para>
/// </summary>
public InforNexusSourceProperties InforNexus
{
get { return this._inforNexus; }
set { this._inforNexus = value; }
}
// Check to see if InforNexus property is set
internal bool IsSetInforNexus()
{
return this._inforNexus != null;
}
/// <summary>
/// Gets and sets the property Marketo.
/// <para>
/// Specifies the information that is required for querying Marketo.
/// </para>
/// </summary>
public MarketoSourceProperties Marketo
{
get { return this._marketo; }
set { this._marketo = value; }
}
// Check to see if Marketo property is set
internal bool IsSetMarketo()
{
return this._marketo != null;
}
/// <summary>
/// Gets and sets the property Pardot.
/// <para>
/// Specifies the information that is required for querying Salesforce Pardot.
/// </para>
/// </summary>
public PardotSourceProperties Pardot
{
get { return this._pardot; }
set { this._pardot = value; }
}
// Check to see if Pardot property is set
internal bool IsSetPardot()
{
return this._pardot != null;
}
/// <summary>
/// Gets and sets the property S3.
/// <para>
/// Specifies the information that is required for querying Amazon S3.
/// </para>
/// </summary>
public S3SourceProperties S3
{
get { return this._s3; }
set { this._s3 = value; }
}
// Check to see if S3 property is set
internal bool IsSetS3()
{
return this._s3 != null;
}
/// <summary>
/// Gets and sets the property Salesforce.
/// <para>
/// Specifies the information that is required for querying Salesforce.
/// </para>
/// </summary>
public SalesforceSourceProperties Salesforce
{
get { return this._salesforce; }
set { this._salesforce = value; }
}
// Check to see if Salesforce property is set
internal bool IsSetSalesforce()
{
return this._salesforce != null;
}
/// <summary>
/// Gets and sets the property SAPOData.
/// </summary>
public SAPODataSourceProperties SAPOData
{
get { return this._sapoData; }
set { this._sapoData = value; }
}
// Check to see if SAPOData property is set
internal bool IsSetSAPOData()
{
return this._sapoData != null;
}
/// <summary>
/// Gets and sets the property ServiceNow.
/// <para>
/// Specifies the information that is required for querying ServiceNow.
/// </para>
/// </summary>
public ServiceNowSourceProperties ServiceNow
{
get { return this._serviceNow; }
set { this._serviceNow = value; }
}
// Check to see if ServiceNow property is set
internal bool IsSetServiceNow()
{
return this._serviceNow != null;
}
/// <summary>
/// Gets and sets the property Singular.
/// <para>
/// Specifies the information that is required for querying Singular.
/// </para>
/// </summary>
public SingularSourceProperties Singular
{
get { return this._singular; }
set { this._singular = value; }
}
// Check to see if Singular property is set
internal bool IsSetSingular()
{
return this._singular != null;
}
/// <summary>
/// Gets and sets the property Slack.
/// <para>
/// Specifies the information that is required for querying Slack.
/// </para>
/// </summary>
public SlackSourceProperties Slack
{
get { return this._slack; }
set { this._slack = value; }
}
// Check to see if Slack property is set
internal bool IsSetSlack()
{
return this._slack != null;
}
/// <summary>
/// Gets and sets the property Trendmicro.
/// <para>
/// Specifies the information that is required for querying Trend Micro.
/// </para>
/// </summary>
public TrendmicroSourceProperties Trendmicro
{
get { return this._trendmicro; }
set { this._trendmicro = value; }
}
// Check to see if Trendmicro property is set
internal bool IsSetTrendmicro()
{
return this._trendmicro != null;
}
/// <summary>
/// Gets and sets the property Veeva.
/// <para>
/// Specifies the information that is required for querying Veeva.
/// </para>
/// </summary>
public VeevaSourceProperties Veeva
{
get { return this._veeva; }
set { this._veeva = value; }
}
// Check to see if Veeva property is set
internal bool IsSetVeeva()
{
return this._veeva != null;
}
/// <summary>
/// Gets and sets the property Zendesk.
/// <para>
/// Specifies the information that is required for querying Zendesk.
/// </para>
/// </summary>
public ZendeskSourceProperties Zendesk
{
get { return this._zendesk; }
set { this._zendesk = value; }
}
// Check to see if Zendesk property is set
internal bool IsSetZendesk()
{
return this._zendesk != null;
}
}
} | 355 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The properties that can be applied to a field when the connector is being used as
/// a source.
/// </summary>
public partial class SourceFieldProperties
{
private bool? _isQueryable;
private bool? _isRetrievable;
private bool? _isTimestampFieldForIncrementalQueries;
/// <summary>
/// Gets and sets the property IsQueryable.
/// <para>
/// Indicates if the field can be queried.
/// </para>
/// </summary>
public bool IsQueryable
{
get { return this._isQueryable.GetValueOrDefault(); }
set { this._isQueryable = value; }
}
// Check to see if IsQueryable property is set
internal bool IsSetIsQueryable()
{
return this._isQueryable.HasValue;
}
/// <summary>
/// Gets and sets the property IsRetrievable.
/// <para>
/// Indicates whether the field can be returned in a search result.
/// </para>
/// </summary>
public bool IsRetrievable
{
get { return this._isRetrievable.GetValueOrDefault(); }
set { this._isRetrievable = value; }
}
// Check to see if IsRetrievable property is set
internal bool IsSetIsRetrievable()
{
return this._isRetrievable.HasValue;
}
/// <summary>
/// Gets and sets the property IsTimestampFieldForIncrementalQueries.
/// <para>
/// Indicates if this timestamp field can be used for incremental queries.
/// </para>
/// </summary>
public bool IsTimestampFieldForIncrementalQueries
{
get { return this._isTimestampFieldForIncrementalQueries.GetValueOrDefault(); }
set { this._isTimestampFieldForIncrementalQueries = value; }
}
// Check to see if IsTimestampFieldForIncrementalQueries property is set
internal bool IsSetIsTimestampFieldForIncrementalQueries()
{
return this._isTimestampFieldForIncrementalQueries.HasValue;
}
}
} | 96 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// Contains information about the configuration of the source connector used in the
/// flow.
/// </summary>
public partial class SourceFlowConfig
{
private string _apiVersion;
private string _connectorProfileName;
private ConnectorType _connectorType;
private IncrementalPullConfig _incrementalPullConfig;
private SourceConnectorProperties _sourceConnectorProperties;
/// <summary>
/// Gets and sets the property ApiVersion.
/// <para>
/// The API version of the connector when it's used as a source in the flow.
/// </para>
/// </summary>
[AWSProperty(Max=256)]
public string ApiVersion
{
get { return this._apiVersion; }
set { this._apiVersion = value; }
}
// Check to see if ApiVersion property is set
internal bool IsSetApiVersion()
{
return this._apiVersion != null;
}
/// <summary>
/// Gets and sets the property ConnectorProfileName.
/// <para>
/// The name of the connector profile. This name must be unique for each connector profile
/// in the Amazon Web Services account.
/// </para>
/// </summary>
[AWSProperty(Max=256)]
public string ConnectorProfileName
{
get { return this._connectorProfileName; }
set { this._connectorProfileName = value; }
}
// Check to see if ConnectorProfileName property is set
internal bool IsSetConnectorProfileName()
{
return this._connectorProfileName != null;
}
/// <summary>
/// Gets and sets the property ConnectorType.
/// <para>
/// The type of connector, such as Salesforce, Amplitude, and so on.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ConnectorType ConnectorType
{
get { return this._connectorType; }
set { this._connectorType = value; }
}
// Check to see if ConnectorType property is set
internal bool IsSetConnectorType()
{
return this._connectorType != null;
}
/// <summary>
/// Gets and sets the property IncrementalPullConfig.
/// <para>
/// Defines the configuration for a scheduled incremental data pull. If a valid configuration
/// is provided, the fields specified in the configuration are used when querying for
/// the incremental data pull.
/// </para>
/// </summary>
public IncrementalPullConfig IncrementalPullConfig
{
get { return this._incrementalPullConfig; }
set { this._incrementalPullConfig = value; }
}
// Check to see if IncrementalPullConfig property is set
internal bool IsSetIncrementalPullConfig()
{
return this._incrementalPullConfig != null;
}
/// <summary>
/// Gets and sets the property SourceConnectorProperties.
/// <para>
/// Specifies the information that is required to query a particular source connector.
///
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public SourceConnectorProperties SourceConnectorProperties
{
get { return this._sourceConnectorProperties; }
set { this._sourceConnectorProperties = value; }
}
// Check to see if SourceConnectorProperties property is set
internal bool IsSetSourceConnectorProperties()
{
return this._sourceConnectorProperties != null;
}
}
} | 142 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// Container for the parameters to the StartFlow operation.
/// Activates an existing flow. For on-demand flows, this operation runs the flow immediately.
/// For schedule and event-triggered flows, this operation activates the flow.
/// </summary>
public partial class StartFlowRequest : AmazonAppflowRequest
{
private string _clientToken;
private string _flowName;
/// <summary>
/// Gets and sets the property ClientToken.
/// <para>
/// The <code>clientToken</code> parameter is an idempotency token. It ensures that your
/// <code>StartFlow</code> request completes only once. You choose the value to pass.
/// For example, if you don't receive a response from your request, you can safely retry
/// the request with the same <code>clientToken</code> parameter value.
/// </para>
///
/// <para>
/// If you omit a <code>clientToken</code> value, the Amazon Web Services SDK that you
/// are using inserts a value for you. This way, the SDK can safely retry requests multiple
/// times after a network error. You must provide your own value for other use cases.
/// </para>
///
/// <para>
/// If you specify input parameters that differ from your first request, an error occurs
/// for flows that run on a schedule or based on an event. However, the error doesn't
/// occur for flows that run on demand. You set the conditions that initiate your flow
/// for the <code>triggerConfig</code> parameter.
/// </para>
///
/// <para>
/// If you use a different value for <code>clientToken</code>, Amazon AppFlow considers
/// it a new call to <code>StartFlow</code>. The token is active for 8 hours.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=256)]
public string ClientToken
{
get { return this._clientToken; }
set { this._clientToken = value; }
}
// Check to see if ClientToken property is set
internal bool IsSetClientToken()
{
return this._clientToken != null;
}
/// <summary>
/// Gets and sets the property FlowName.
/// <para>
/// The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens
/// (-) only.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=256)]
public string FlowName
{
get { return this._flowName; }
set { this._flowName = value; }
}
// Check to see if FlowName property is set
internal bool IsSetFlowName()
{
return this._flowName != null;
}
}
} | 102 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// This is the response object from the StartFlow operation.
/// </summary>
public partial class StartFlowResponse : AmazonWebServiceResponse
{
private string _executionId;
private string _flowArn;
private FlowStatus _flowStatus;
/// <summary>
/// Gets and sets the property ExecutionId.
/// <para>
/// Returns the internal execution ID of an on-demand flow when the flow is started.
/// For scheduled or event-triggered flows, this value is null.
/// </para>
/// </summary>
[AWSProperty(Max=256)]
public string ExecutionId
{
get { return this._executionId; }
set { this._executionId = value; }
}
// Check to see if ExecutionId property is set
internal bool IsSetExecutionId()
{
return this._executionId != null;
}
/// <summary>
/// Gets and sets the property FlowArn.
/// <para>
/// The flow's Amazon Resource Name (ARN).
/// </para>
/// </summary>
[AWSProperty(Max=512)]
public string FlowArn
{
get { return this._flowArn; }
set { this._flowArn = value; }
}
// Check to see if FlowArn property is set
internal bool IsSetFlowArn()
{
return this._flowArn != null;
}
/// <summary>
/// Gets and sets the property FlowStatus.
/// <para>
/// Indicates the current status of the flow.
/// </para>
/// </summary>
public FlowStatus FlowStatus
{
get { return this._flowStatus; }
set { this._flowStatus = value; }
}
// Check to see if FlowStatus property is set
internal bool IsSetFlowStatus()
{
return this._flowStatus != null;
}
}
} | 98 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// Container for the parameters to the StopFlow operation.
/// Deactivates the existing flow. For on-demand flows, this operation returns an <code>unsupportedOperationException</code>
/// error message. For schedule and event-triggered flows, this operation deactivates
/// the flow.
/// </summary>
public partial class StopFlowRequest : AmazonAppflowRequest
{
private string _flowName;
/// <summary>
/// Gets and sets the property FlowName.
/// <para>
/// The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens
/// (-) only.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=256)]
public string FlowName
{
get { return this._flowName; }
set { this._flowName = value; }
}
// Check to see if FlowName property is set
internal bool IsSetFlowName()
{
return this._flowName != null;
}
}
} | 62 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// This is the response object from the StopFlow operation.
/// </summary>
public partial class StopFlowResponse : AmazonWebServiceResponse
{
private string _flowArn;
private FlowStatus _flowStatus;
/// <summary>
/// Gets and sets the property FlowArn.
/// <para>
/// The flow's Amazon Resource Name (ARN).
/// </para>
/// </summary>
[AWSProperty(Max=512)]
public string FlowArn
{
get { return this._flowArn; }
set { this._flowArn = value; }
}
// Check to see if FlowArn property is set
internal bool IsSetFlowArn()
{
return this._flowArn != null;
}
/// <summary>
/// Gets and sets the property FlowStatus.
/// <para>
/// Indicates the current status of the flow.
/// </para>
/// </summary>
public FlowStatus FlowStatus
{
get { return this._flowStatus; }
set { this._flowStatus = value; }
}
// Check to see if FlowStatus property is set
internal bool IsSetFlowStatus()
{
return this._flowStatus != null;
}
}
} | 77 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// Determines how Amazon AppFlow handles the success response that it gets from the connector
/// after placing data.
///
///
/// <para>
/// For example, this setting would determine where to write the response from the destination
/// connector upon a successful insert operation.
/// </para>
/// </summary>
public partial class SuccessResponseHandlingConfig
{
private string _bucketName;
private string _bucketPrefix;
/// <summary>
/// Gets and sets the property BucketName.
/// <para>
/// The name of the Amazon S3 bucket.
/// </para>
/// </summary>
[AWSProperty(Min=3, Max=63)]
public string BucketName
{
get { return this._bucketName; }
set { this._bucketName = value; }
}
// Check to see if BucketName property is set
internal bool IsSetBucketName()
{
return this._bucketName != null;
}
/// <summary>
/// Gets and sets the property BucketPrefix.
/// <para>
/// The Amazon S3 bucket prefix.
/// </para>
/// </summary>
[AWSProperty(Max=512)]
public string BucketPrefix
{
get { return this._bucketPrefix; }
set { this._bucketPrefix = value; }
}
// Check to see if BucketPrefix property is set
internal bool IsSetBucketPrefix()
{
return this._bucketPrefix != null;
}
}
} | 85 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// Contains details regarding all the supported <code>FieldTypes</code> and their corresponding
/// <code>filterOperators</code> and <code>supportedValues</code>.
/// </summary>
public partial class SupportedFieldTypeDetails
{
private FieldTypeDetails _v1;
/// <summary>
/// Gets and sets the property V1.
/// <para>
/// The initial supported version for <code>fieldType</code>. If this is later changed
/// to a different version, v2 will be introduced.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public FieldTypeDetails V1
{
get { return this._v1; }
set { this._v1 = value; }
}
// Check to see if V1 property is set
internal bool IsSetV1()
{
return this._v1 != null;
}
}
} | 60 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// Container for the parameters to the TagResource operation.
/// Applies a tag to the specified flow.
/// </summary>
public partial class TagResourceRequest : AmazonAppflowRequest
{
private string _resourceArn;
private Dictionary<string, string> _tags = new Dictionary<string, string>();
/// <summary>
/// Gets and sets the property ResourceArn.
/// <para>
/// The Amazon Resource Name (ARN) of the flow that you want to tag.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=512)]
public string ResourceArn
{
get { return this._resourceArn; }
set { this._resourceArn = value; }
}
// Check to see if ResourceArn property is set
internal bool IsSetResourceArn()
{
return this._resourceArn != null;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// The tags used to organize, track, or control access for your flow.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=0, Max=50)]
public Dictionary<string, string> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
} | 79 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// This is the response object from the TagResource operation.
/// </summary>
public partial class TagResourceResponse : AmazonWebServiceResponse
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// A class for modeling different type of tasks. Task implementation varies based on
/// the <code>TaskType</code>.
/// </summary>
public partial class Task
{
private ConnectorOperator _connectorOperator;
private string _destinationField;
private List<string> _sourceFields = new List<string>();
private Dictionary<string, string> _taskProperties = new Dictionary<string, string>();
private TaskType _taskType;
/// <summary>
/// Gets and sets the property ConnectorOperator.
/// <para>
/// The operation to be performed on the provided source fields.
/// </para>
/// </summary>
public ConnectorOperator ConnectorOperator
{
get { return this._connectorOperator; }
set { this._connectorOperator = value; }
}
// Check to see if ConnectorOperator property is set
internal bool IsSetConnectorOperator()
{
return this._connectorOperator != null;
}
/// <summary>
/// Gets and sets the property DestinationField.
/// <para>
/// A field in a destination connector, or a field value against which Amazon AppFlow
/// validates a source field.
/// </para>
/// </summary>
[AWSProperty(Max=256)]
public string DestinationField
{
get { return this._destinationField; }
set { this._destinationField = value; }
}
// Check to see if DestinationField property is set
internal bool IsSetDestinationField()
{
return this._destinationField != null;
}
/// <summary>
/// Gets and sets the property SourceFields.
/// <para>
/// The source fields to which a particular task is applied.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<string> SourceFields
{
get { return this._sourceFields; }
set { this._sourceFields = value; }
}
// Check to see if SourceFields property is set
internal bool IsSetSourceFields()
{
return this._sourceFields != null && this._sourceFields.Count > 0;
}
/// <summary>
/// Gets and sets the property TaskProperties.
/// <para>
/// A map used to store task-related information. The execution service looks for particular
/// information based on the <code>TaskType</code>.
/// </para>
/// </summary>
public Dictionary<string, string> TaskProperties
{
get { return this._taskProperties; }
set { this._taskProperties = value; }
}
// Check to see if TaskProperties property is set
internal bool IsSetTaskProperties()
{
return this._taskProperties != null && this._taskProperties.Count > 0;
}
/// <summary>
/// Gets and sets the property TaskType.
/// <para>
/// Specifies the particular task implementation that Amazon AppFlow performs.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public TaskType TaskType
{
get { return this._taskType; }
set { this._taskType = value; }
}
// Check to see if TaskType property is set
internal bool IsSetTaskType()
{
return this._taskType != null;
}
}
} | 139 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// API calls have exceeded the maximum allowed API request rate per account and per Region.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class ThrottlingException : AmazonAppflowException
{
/// <summary>
/// Constructs a new ThrottlingException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public ThrottlingException(string message)
: base(message) {}
/// <summary>
/// Construct instance of ThrottlingException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public ThrottlingException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of ThrottlingException
/// </summary>
/// <param name="innerException"></param>
public ThrottlingException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of ThrottlingException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ThrottlingException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of ThrottlingException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ThrottlingException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the ThrottlingException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected ThrottlingException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 124 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The connector-specific profile credentials required when using Trend Micro.
/// </summary>
public partial class TrendmicroConnectorProfileCredentials
{
private string _apiSecretKey;
/// <summary>
/// Gets and sets the property ApiSecretKey.
/// <para>
/// The Secret Access Key portion of the credentials.
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true, Max=256)]
public string ApiSecretKey
{
get { return this._apiSecretKey; }
set { this._apiSecretKey = value; }
}
// Check to see if ApiSecretKey property is set
internal bool IsSetApiSecretKey()
{
return this._apiSecretKey != null;
}
}
} | 58 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The connector-specific profile properties required when using Trend Micro.
/// </summary>
public partial class TrendmicroConnectorProfileProperties
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The connector metadata specific to Trend Micro.
/// </summary>
public partial class TrendmicroMetadata
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The properties that are applied when using Trend Micro as a flow source.
/// </summary>
public partial class TrendmicroSourceProperties
{
private string _object;
/// <summary>
/// Gets and sets the property Object.
/// <para>
/// The object specified in the Trend Micro flow source.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=512)]
public string Object
{
get { return this._object; }
set { this._object = value; }
}
// Check to see if Object property is set
internal bool IsSetObject()
{
return this._object != null;
}
}
} | 58 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The trigger settings that determine how and when Amazon AppFlow runs the specified
/// flow.
/// </summary>
public partial class TriggerConfig
{
private TriggerProperties _triggerProperties;
private TriggerType _triggerType;
/// <summary>
/// Gets and sets the property TriggerProperties.
/// <para>
/// Specifies the configuration details of a schedule-triggered flow as defined by the
/// user. Currently, these settings only apply to the <code>Scheduled</code> trigger type.
///
/// </para>
/// </summary>
public TriggerProperties TriggerProperties
{
get { return this._triggerProperties; }
set { this._triggerProperties = value; }
}
// Check to see if TriggerProperties property is set
internal bool IsSetTriggerProperties()
{
return this._triggerProperties != null;
}
/// <summary>
/// Gets and sets the property TriggerType.
/// <para>
/// Specifies the type of flow trigger. This can be <code>OnDemand</code>, <code>Scheduled</code>,
/// or <code>Event</code>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public TriggerType TriggerType
{
get { return this._triggerType; }
set { this._triggerType = value; }
}
// Check to see if TriggerType property is set
internal bool IsSetTriggerType()
{
return this._triggerType != null;
}
}
} | 81 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// Specifies the configuration details that control the trigger for a flow. Currently,
/// these settings only apply to the <code>Scheduled</code> trigger type.
/// </summary>
public partial class TriggerProperties
{
private ScheduledTriggerProperties _scheduled;
/// <summary>
/// Gets and sets the property Scheduled.
/// <para>
/// Specifies the configuration details of a schedule-triggered flow as defined by the
/// user.
/// </para>
/// </summary>
public ScheduledTriggerProperties Scheduled
{
get { return this._scheduled; }
set { this._scheduled = value; }
}
// Check to see if Scheduled property is set
internal bool IsSetScheduled()
{
return this._scheduled != null;
}
}
} | 59 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// Container for the parameters to the UnregisterConnector operation.
/// Unregisters the custom connector registered in your account that matches the connector
/// label provided in the request.
/// </summary>
public partial class UnregisterConnectorRequest : AmazonAppflowRequest
{
private string _connectorLabel;
private bool? _forceDelete;
/// <summary>
/// Gets and sets the property ConnectorLabel.
/// <para>
/// The label of the connector. The label is unique for each <code>ConnectorRegistration</code>
/// in your Amazon Web Services account.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=256)]
public string ConnectorLabel
{
get { return this._connectorLabel; }
set { this._connectorLabel = value; }
}
// Check to see if ConnectorLabel property is set
internal bool IsSetConnectorLabel()
{
return this._connectorLabel != null;
}
/// <summary>
/// Gets and sets the property ForceDelete.
/// <para>
/// Indicates whether Amazon AppFlow should unregister the connector, even if it is currently
/// in use in one or more connector profiles. The default value is false.
/// </para>
/// </summary>
public bool ForceDelete
{
get { return this._forceDelete.GetValueOrDefault(); }
set { this._forceDelete = value; }
}
// Check to see if ForceDelete property is set
internal bool IsSetForceDelete()
{
return this._forceDelete.HasValue;
}
}
} | 81 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// This is the response object from the UnregisterConnector operation.
/// </summary>
public partial class UnregisterConnectorResponse : AmazonWebServiceResponse
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The requested operation is not supported for the current flow.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class UnsupportedOperationException : AmazonAppflowException
{
/// <summary>
/// Constructs a new UnsupportedOperationException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public UnsupportedOperationException(string message)
: base(message) {}
/// <summary>
/// Construct instance of UnsupportedOperationException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public UnsupportedOperationException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of UnsupportedOperationException
/// </summary>
/// <param name="innerException"></param>
public UnsupportedOperationException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of UnsupportedOperationException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public UnsupportedOperationException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of UnsupportedOperationException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public UnsupportedOperationException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the UnsupportedOperationException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected UnsupportedOperationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 124 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// Container for the parameters to the UntagResource operation.
/// Removes a tag from the specified flow.
/// </summary>
public partial class UntagResourceRequest : AmazonAppflowRequest
{
private string _resourceArn;
private List<string> _tagKeys = new List<string>();
/// <summary>
/// Gets and sets the property ResourceArn.
/// <para>
/// The Amazon Resource Name (ARN) of the flow that you want to untag.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=512)]
public string ResourceArn
{
get { return this._resourceArn; }
set { this._resourceArn = value; }
}
// Check to see if ResourceArn property is set
internal bool IsSetResourceArn()
{
return this._resourceArn != null;
}
/// <summary>
/// Gets and sets the property TagKeys.
/// <para>
/// The tag keys associated with the tag that you want to remove from your flow.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=0, Max=50)]
public List<string> TagKeys
{
get { return this._tagKeys; }
set { this._tagKeys = value; }
}
// Check to see if TagKeys property is set
internal bool IsSetTagKeys()
{
return this._tagKeys != null && this._tagKeys.Count > 0;
}
}
} | 79 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// This is the response object from the UntagResource operation.
/// </summary>
public partial class UntagResourceResponse : AmazonWebServiceResponse
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// Container for the parameters to the UpdateConnectorProfile operation.
/// Updates a given connector profile associated with your account.
/// </summary>
public partial class UpdateConnectorProfileRequest : AmazonAppflowRequest
{
private string _clientToken;
private ConnectionMode _connectionMode;
private ConnectorProfileConfig _connectorProfileConfig;
private string _connectorProfileName;
/// <summary>
/// Gets and sets the property ClientToken.
/// <para>
/// The <code>clientToken</code> parameter is an idempotency token. It ensures that your
/// <code>UpdateConnectorProfile</code> request completes only once. You choose the value
/// to pass. For example, if you don't receive a response from your request, you can safely
/// retry the request with the same <code>clientToken</code> parameter value.
/// </para>
///
/// <para>
/// If you omit a <code>clientToken</code> value, the Amazon Web Services SDK that you
/// are using inserts a value for you. This way, the SDK can safely retry requests multiple
/// times after a network error. You must provide your own value for other use cases.
/// </para>
///
/// <para>
/// If you specify input parameters that differ from your first request, an error occurs.
/// If you use a different value for <code>clientToken</code>, Amazon AppFlow considers
/// it a new call to <code>UpdateConnectorProfile</code>. The token is active for 8 hours.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=256)]
public string ClientToken
{
get { return this._clientToken; }
set { this._clientToken = value; }
}
// Check to see if ClientToken property is set
internal bool IsSetClientToken()
{
return this._clientToken != null;
}
/// <summary>
/// Gets and sets the property ConnectionMode.
/// <para>
/// Indicates the connection mode and if it is public or private.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ConnectionMode ConnectionMode
{
get { return this._connectionMode; }
set { this._connectionMode = value; }
}
// Check to see if ConnectionMode property is set
internal bool IsSetConnectionMode()
{
return this._connectionMode != null;
}
/// <summary>
/// Gets and sets the property ConnectorProfileConfig.
/// <para>
/// Defines the connector-specific profile configuration and credentials.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ConnectorProfileConfig ConnectorProfileConfig
{
get { return this._connectorProfileConfig; }
set { this._connectorProfileConfig = value; }
}
// Check to see if ConnectorProfileConfig property is set
internal bool IsSetConnectorProfileConfig()
{
return this._connectorProfileConfig != null;
}
/// <summary>
/// Gets and sets the property ConnectorProfileName.
/// <para>
/// The name of the connector profile and is unique for each <code>ConnectorProfile</code>
/// in the Amazon Web Services account.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=256)]
public string ConnectorProfileName
{
get { return this._connectorProfileName; }
set { this._connectorProfileName = value; }
}
// Check to see if ConnectorProfileName property is set
internal bool IsSetConnectorProfileName()
{
return this._connectorProfileName != null;
}
}
} | 135 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// This is the response object from the UpdateConnectorProfile operation.
/// </summary>
public partial class UpdateConnectorProfileResponse : AmazonWebServiceResponse
{
private string _connectorProfileArn;
/// <summary>
/// Gets and sets the property ConnectorProfileArn.
/// <para>
/// The Amazon Resource Name (ARN) of the connector profile.
/// </para>
/// </summary>
[AWSProperty(Max=512)]
public string ConnectorProfileArn
{
get { return this._connectorProfileArn; }
set { this._connectorProfileArn = value; }
}
// Check to see if ConnectorProfileArn property is set
internal bool IsSetConnectorProfileArn()
{
return this._connectorProfileArn != null;
}
}
} | 58 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// Container for the parameters to the UpdateConnectorRegistration operation.
/// Updates a custom connector that you've previously registered. This operation updates
/// the connector with one of the following:
///
/// <ul> <li>
/// <para>
/// The latest version of the AWS Lambda function that's assigned to the connector
/// </para>
/// </li> <li>
/// <para>
/// A new AWS Lambda function that you specify
/// </para>
/// </li> </ul>
/// </summary>
public partial class UpdateConnectorRegistrationRequest : AmazonAppflowRequest
{
private string _clientToken;
private string _connectorLabel;
private ConnectorProvisioningConfig _connectorProvisioningConfig;
private string _description;
/// <summary>
/// Gets and sets the property ClientToken.
/// <para>
/// The <code>clientToken</code> parameter is an idempotency token. It ensures that your
/// <code>UpdateConnectorRegistration</code> request completes only once. You choose the
/// value to pass. For example, if you don't receive a response from your request, you
/// can safely retry the request with the same <code>clientToken</code> parameter value.
/// </para>
///
/// <para>
/// If you omit a <code>clientToken</code> value, the Amazon Web Services SDK that you
/// are using inserts a value for you. This way, the SDK can safely retry requests multiple
/// times after a network error. You must provide your own value for other use cases.
/// </para>
///
/// <para>
/// If you specify input parameters that differ from your first request, an error occurs.
/// If you use a different value for <code>clientToken</code>, Amazon AppFlow considers
/// it a new call to <code>UpdateConnectorRegistration</code>. The token is active for
/// 8 hours.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=256)]
public string ClientToken
{
get { return this._clientToken; }
set { this._clientToken = value; }
}
// Check to see if ClientToken property is set
internal bool IsSetClientToken()
{
return this._clientToken != null;
}
/// <summary>
/// Gets and sets the property ConnectorLabel.
/// <para>
/// The name of the connector. The name is unique for each connector registration in your
/// AWS account.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=256)]
public string ConnectorLabel
{
get { return this._connectorLabel; }
set { this._connectorLabel = value; }
}
// Check to see if ConnectorLabel property is set
internal bool IsSetConnectorLabel()
{
return this._connectorLabel != null;
}
/// <summary>
/// Gets and sets the property ConnectorProvisioningConfig.
/// </summary>
public ConnectorProvisioningConfig ConnectorProvisioningConfig
{
get { return this._connectorProvisioningConfig; }
set { this._connectorProvisioningConfig = value; }
}
// Check to see if ConnectorProvisioningConfig property is set
internal bool IsSetConnectorProvisioningConfig()
{
return this._connectorProvisioningConfig != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// A description about the update that you're applying to the connector.
/// </para>
/// </summary>
[AWSProperty(Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
}
} | 143 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// This is the response object from the UpdateConnectorRegistration operation.
/// </summary>
public partial class UpdateConnectorRegistrationResponse : AmazonWebServiceResponse
{
private string _connectorArn;
/// <summary>
/// Gets and sets the property ConnectorArn.
/// <para>
/// The ARN of the connector being updated.
/// </para>
/// </summary>
[AWSProperty(Max=512)]
public string ConnectorArn
{
get { return this._connectorArn; }
set { this._connectorArn = value; }
}
// Check to see if ConnectorArn property is set
internal bool IsSetConnectorArn()
{
return this._connectorArn != null;
}
}
} | 58 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// Container for the parameters to the UpdateFlow operation.
/// Updates an existing flow.
/// </summary>
public partial class UpdateFlowRequest : AmazonAppflowRequest
{
private string _clientToken;
private string _description;
private List<DestinationFlowConfig> _destinationFlowConfigList = new List<DestinationFlowConfig>();
private string _flowName;
private MetadataCatalogConfig _metadataCatalogConfig;
private SourceFlowConfig _sourceFlowConfig;
private List<Task> _tasks = new List<Task>();
private TriggerConfig _triggerConfig;
/// <summary>
/// Gets and sets the property ClientToken.
/// <para>
/// The <code>clientToken</code> parameter is an idempotency token. It ensures that your
/// <code>UpdateFlow</code> request completes only once. You choose the value to pass.
/// For example, if you don't receive a response from your request, you can safely retry
/// the request with the same <code>clientToken</code> parameter value.
/// </para>
///
/// <para>
/// If you omit a <code>clientToken</code> value, the Amazon Web Services SDK that you
/// are using inserts a value for you. This way, the SDK can safely retry requests multiple
/// times after a network error. You must provide your own value for other use cases.
/// </para>
///
/// <para>
/// If you specify input parameters that differ from your first request, an error occurs.
/// If you use a different value for <code>clientToken</code>, Amazon AppFlow considers
/// it a new call to <code>UpdateFlow</code>. The token is active for 8 hours.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=256)]
public string ClientToken
{
get { return this._clientToken; }
set { this._clientToken = value; }
}
// Check to see if ClientToken property is set
internal bool IsSetClientToken()
{
return this._clientToken != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// A description of the flow.
/// </para>
/// </summary>
[AWSProperty(Max=2048)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property DestinationFlowConfigList.
/// <para>
/// The configuration that controls how Amazon AppFlow transfers data to the destination
/// connector.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<DestinationFlowConfig> DestinationFlowConfigList
{
get { return this._destinationFlowConfigList; }
set { this._destinationFlowConfigList = value; }
}
// Check to see if DestinationFlowConfigList property is set
internal bool IsSetDestinationFlowConfigList()
{
return this._destinationFlowConfigList != null && this._destinationFlowConfigList.Count > 0;
}
/// <summary>
/// Gets and sets the property FlowName.
/// <para>
/// The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens
/// (-) only.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=256)]
public string FlowName
{
get { return this._flowName; }
set { this._flowName = value; }
}
// Check to see if FlowName property is set
internal bool IsSetFlowName()
{
return this._flowName != null;
}
/// <summary>
/// Gets and sets the property MetadataCatalogConfig.
/// <para>
/// Specifies the configuration that Amazon AppFlow uses when it catalogs the data that's
/// transferred by the associated flow. When Amazon AppFlow catalogs the data from a flow,
/// it stores metadata in a data catalog.
/// </para>
/// </summary>
public MetadataCatalogConfig MetadataCatalogConfig
{
get { return this._metadataCatalogConfig; }
set { this._metadataCatalogConfig = value; }
}
// Check to see if MetadataCatalogConfig property is set
internal bool IsSetMetadataCatalogConfig()
{
return this._metadataCatalogConfig != null;
}
/// <summary>
/// Gets and sets the property SourceFlowConfig.
/// </summary>
[AWSProperty(Required=true)]
public SourceFlowConfig SourceFlowConfig
{
get { return this._sourceFlowConfig; }
set { this._sourceFlowConfig = value; }
}
// Check to see if SourceFlowConfig property is set
internal bool IsSetSourceFlowConfig()
{
return this._sourceFlowConfig != null;
}
/// <summary>
/// Gets and sets the property Tasks.
/// <para>
/// A list of tasks that Amazon AppFlow performs while transferring the data in the flow
/// run.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<Task> Tasks
{
get { return this._tasks; }
set { this._tasks = value; }
}
// Check to see if Tasks property is set
internal bool IsSetTasks()
{
return this._tasks != null && this._tasks.Count > 0;
}
/// <summary>
/// Gets and sets the property TriggerConfig.
/// <para>
/// The trigger settings that determine how and when the flow runs.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public TriggerConfig TriggerConfig
{
get { return this._triggerConfig; }
set { this._triggerConfig = value; }
}
// Check to see if TriggerConfig property is set
internal bool IsSetTriggerConfig()
{
return this._triggerConfig != null;
}
}
} | 215 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// This is the response object from the UpdateFlow operation.
/// </summary>
public partial class UpdateFlowResponse : AmazonWebServiceResponse
{
private FlowStatus _flowStatus;
/// <summary>
/// Gets and sets the property FlowStatus.
/// <para>
/// Indicates the current status of the flow.
/// </para>
/// </summary>
public FlowStatus FlowStatus
{
get { return this._flowStatus; }
set { this._flowStatus = value; }
}
// Check to see if FlowStatus property is set
internal bool IsSetFlowStatus()
{
return this._flowStatus != null;
}
}
} | 57 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The properties that are applied when Upsolver is used as a destination.
/// </summary>
public partial class UpsolverDestinationProperties
{
private string _bucketName;
private string _bucketPrefix;
private UpsolverS3OutputFormatConfig _s3OutputFormatConfig;
/// <summary>
/// Gets and sets the property BucketName.
/// <para>
/// The Upsolver Amazon S3 bucket name in which Amazon AppFlow places the transferred
/// data.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=16, Max=63)]
public string BucketName
{
get { return this._bucketName; }
set { this._bucketName = value; }
}
// Check to see if BucketName property is set
internal bool IsSetBucketName()
{
return this._bucketName != null;
}
/// <summary>
/// Gets and sets the property BucketPrefix.
/// <para>
/// The object key for the destination Upsolver Amazon S3 bucket in which Amazon AppFlow
/// places the files.
/// </para>
/// </summary>
[AWSProperty(Max=512)]
public string BucketPrefix
{
get { return this._bucketPrefix; }
set { this._bucketPrefix = value; }
}
// Check to see if BucketPrefix property is set
internal bool IsSetBucketPrefix()
{
return this._bucketPrefix != null;
}
/// <summary>
/// Gets and sets the property S3OutputFormatConfig.
/// <para>
/// The configuration that determines how data is formatted when Upsolver is used as
/// the flow destination.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public UpsolverS3OutputFormatConfig S3OutputFormatConfig
{
get { return this._s3OutputFormatConfig; }
set { this._s3OutputFormatConfig = value; }
}
// Check to see if S3OutputFormatConfig property is set
internal bool IsSetS3OutputFormatConfig()
{
return this._s3OutputFormatConfig != null;
}
}
} | 101 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The connector metadata specific to Upsolver.
/// </summary>
public partial class UpsolverMetadata
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The configuration that determines how Amazon AppFlow formats the flow output data
/// when Upsolver is used as the destination.
/// </summary>
public partial class UpsolverS3OutputFormatConfig
{
private AggregationConfig _aggregationConfig;
private FileType _fileType;
private PrefixConfig _prefixConfig;
/// <summary>
/// Gets and sets the property AggregationConfig.
/// </summary>
public AggregationConfig AggregationConfig
{
get { return this._aggregationConfig; }
set { this._aggregationConfig = value; }
}
// Check to see if AggregationConfig property is set
internal bool IsSetAggregationConfig()
{
return this._aggregationConfig != null;
}
/// <summary>
/// Gets and sets the property FileType.
/// <para>
/// Indicates the file type that Amazon AppFlow places in the Upsolver Amazon S3 bucket.
///
/// </para>
/// </summary>
public FileType FileType
{
get { return this._fileType; }
set { this._fileType = value; }
}
// Check to see if FileType property is set
internal bool IsSetFileType()
{
return this._fileType != null;
}
/// <summary>
/// Gets and sets the property PrefixConfig.
/// </summary>
[AWSProperty(Required=true)]
public PrefixConfig PrefixConfig
{
get { return this._prefixConfig; }
set { this._prefixConfig = value; }
}
// Check to see if PrefixConfig property is set
internal bool IsSetPrefixConfig()
{
return this._prefixConfig != null;
}
}
} | 92 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The request has invalid or missing parameters.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class ValidationException : AmazonAppflowException
{
/// <summary>
/// Constructs a new ValidationException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public ValidationException(string message)
: base(message) {}
/// <summary>
/// Construct instance of ValidationException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public ValidationException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of ValidationException
/// </summary>
/// <param name="innerException"></param>
public ValidationException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of ValidationException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ValidationException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of ValidationException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ValidationException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the ValidationException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected ValidationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 124 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The connector-specific profile credentials required when using Veeva.
/// </summary>
public partial class VeevaConnectorProfileCredentials
{
private string _password;
private string _username;
/// <summary>
/// Gets and sets the property Password.
/// <para>
/// The password that corresponds to the user name.
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true, Max=512)]
public string Password
{
get { return this._password; }
set { this._password = value; }
}
// Check to see if Password property is set
internal bool IsSetPassword()
{
return this._password != null;
}
/// <summary>
/// Gets and sets the property Username.
/// <para>
/// The name of the user.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=512)]
public string Username
{
get { return this._username; }
set { this._username = value; }
}
// Check to see if Username property is set
internal bool IsSetUsername()
{
return this._username != null;
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The connector-specific profile properties required when using Veeva.
/// </summary>
public partial class VeevaConnectorProfileProperties
{
private string _instanceUrl;
/// <summary>
/// Gets and sets the property InstanceUrl.
/// <para>
/// The location of the Veeva resource.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=256)]
public string InstanceUrl
{
get { return this._instanceUrl; }
set { this._instanceUrl = value; }
}
// Check to see if InstanceUrl property is set
internal bool IsSetInstanceUrl()
{
return this._instanceUrl != null;
}
}
} | 58 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The connector metadata specific to Veeva.
/// </summary>
public partial class VeevaMetadata
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The properties that are applied when using Veeva as a flow source.
/// </summary>
public partial class VeevaSourceProperties
{
private string _documentType;
private bool? _includeAllVersions;
private bool? _includeRenditions;
private bool? _includeSourceFiles;
private string _object;
/// <summary>
/// Gets and sets the property DocumentType.
/// <para>
/// The document type specified in the Veeva document extract flow.
/// </para>
/// </summary>
[AWSProperty(Max=512)]
public string DocumentType
{
get { return this._documentType; }
set { this._documentType = value; }
}
// Check to see if DocumentType property is set
internal bool IsSetDocumentType()
{
return this._documentType != null;
}
/// <summary>
/// Gets and sets the property IncludeAllVersions.
/// <para>
/// Boolean value to include All Versions of files in Veeva document extract flow.
/// </para>
/// </summary>
public bool IncludeAllVersions
{
get { return this._includeAllVersions.GetValueOrDefault(); }
set { this._includeAllVersions = value; }
}
// Check to see if IncludeAllVersions property is set
internal bool IsSetIncludeAllVersions()
{
return this._includeAllVersions.HasValue;
}
/// <summary>
/// Gets and sets the property IncludeRenditions.
/// <para>
/// Boolean value to include file renditions in Veeva document extract flow.
/// </para>
/// </summary>
public bool IncludeRenditions
{
get { return this._includeRenditions.GetValueOrDefault(); }
set { this._includeRenditions = value; }
}
// Check to see if IncludeRenditions property is set
internal bool IsSetIncludeRenditions()
{
return this._includeRenditions.HasValue;
}
/// <summary>
/// Gets and sets the property IncludeSourceFiles.
/// <para>
/// Boolean value to include source files in Veeva document extract flow.
/// </para>
/// </summary>
public bool IncludeSourceFiles
{
get { return this._includeSourceFiles.GetValueOrDefault(); }
set { this._includeSourceFiles = value; }
}
// Check to see if IncludeSourceFiles property is set
internal bool IsSetIncludeSourceFiles()
{
return this._includeSourceFiles.HasValue;
}
/// <summary>
/// Gets and sets the property Object.
/// <para>
/// The object specified in the Veeva flow source.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=512)]
public string Object
{
get { return this._object; }
set { this._object = value; }
}
// Check to see if Object property is set
internal bool IsSetObject()
{
return this._object != null;
}
}
} | 135 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The connector-specific profile credentials required when using Zendesk.
/// </summary>
public partial class ZendeskConnectorProfileCredentials
{
private string _accessToken;
private string _clientId;
private string _clientSecret;
private ConnectorOAuthRequest _oAuthRequest;
/// <summary>
/// Gets and sets the property AccessToken.
/// <para>
/// The credentials used to access protected Zendesk resources.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Max=4096)]
public string AccessToken
{
get { return this._accessToken; }
set { this._accessToken = value; }
}
// Check to see if AccessToken property is set
internal bool IsSetAccessToken()
{
return this._accessToken != null;
}
/// <summary>
/// Gets and sets the property ClientId.
/// <para>
/// The identifier for the desired client.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=512)]
public string ClientId
{
get { return this._clientId; }
set { this._clientId = value; }
}
// Check to see if ClientId property is set
internal bool IsSetClientId()
{
return this._clientId != null;
}
/// <summary>
/// Gets and sets the property ClientSecret.
/// <para>
/// The client secret used by the OAuth client to authenticate to the authorization server.
///
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true, Max=512)]
public string ClientSecret
{
get { return this._clientSecret; }
set { this._clientSecret = value; }
}
// Check to see if ClientSecret property is set
internal bool IsSetClientSecret()
{
return this._clientSecret != null;
}
/// <summary>
/// Gets and sets the property OAuthRequest.
/// <para>
/// The OAuth requirement needed to request security tokens from the connector endpoint.
///
/// </para>
/// </summary>
public ConnectorOAuthRequest OAuthRequest
{
get { return this._oAuthRequest; }
set { this._oAuthRequest = value; }
}
// Check to see if OAuthRequest property is set
internal bool IsSetOAuthRequest()
{
return this._oAuthRequest != null;
}
}
} | 119 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The connector-specific profile properties required when using Zendesk.
/// </summary>
public partial class ZendeskConnectorProfileProperties
{
private string _instanceUrl;
/// <summary>
/// Gets and sets the property InstanceUrl.
/// <para>
/// The location of the Zendesk resource.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=256)]
public string InstanceUrl
{
get { return this._instanceUrl; }
set { this._instanceUrl = value; }
}
// Check to see if InstanceUrl property is set
internal bool IsSetInstanceUrl()
{
return this._instanceUrl != null;
}
}
} | 58 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The properties that are applied when Zendesk is used as a destination.
/// </summary>
public partial class ZendeskDestinationProperties
{
private ErrorHandlingConfig _errorHandlingConfig;
private List<string> _idFieldNames = new List<string>();
private string _object;
private WriteOperationType _writeOperationType;
/// <summary>
/// Gets and sets the property ErrorHandlingConfig.
/// </summary>
public ErrorHandlingConfig ErrorHandlingConfig
{
get { return this._errorHandlingConfig; }
set { this._errorHandlingConfig = value; }
}
// Check to see if ErrorHandlingConfig property is set
internal bool IsSetErrorHandlingConfig()
{
return this._errorHandlingConfig != null;
}
/// <summary>
/// Gets and sets the property IdFieldNames.
/// </summary>
[AWSProperty(Min=0)]
public List<string> IdFieldNames
{
get { return this._idFieldNames; }
set { this._idFieldNames = value; }
}
// Check to see if IdFieldNames property is set
internal bool IsSetIdFieldNames()
{
return this._idFieldNames != null && this._idFieldNames.Count > 0;
}
/// <summary>
/// Gets and sets the property Object.
/// <para>
/// The object specified in the Zendesk flow destination.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=512)]
public string Object
{
get { return this._object; }
set { this._object = value; }
}
// Check to see if Object property is set
internal bool IsSetObject()
{
return this._object != null;
}
/// <summary>
/// Gets and sets the property WriteOperationType.
/// </summary>
public WriteOperationType WriteOperationType
{
get { return this._writeOperationType; }
set { this._writeOperationType = value; }
}
// Check to see if WriteOperationType property is set
internal bool IsSetWriteOperationType()
{
return this._writeOperationType != null;
}
}
} | 107 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The connector metadata specific to Zendesk.
/// </summary>
public partial class ZendeskMetadata
{
private List<string> _oAuthScopes = new List<string>();
/// <summary>
/// Gets and sets the property OAuthScopes.
/// <para>
/// The desired authorization scope for the Zendesk account.
/// </para>
/// </summary>
public List<string> OAuthScopes
{
get { return this._oAuthScopes; }
set { this._oAuthScopes = value; }
}
// Check to see if OAuthScopes property is set
internal bool IsSetOAuthScopes()
{
return this._oAuthScopes != null && this._oAuthScopes.Count > 0;
}
}
} | 57 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The properties that are applied when using Zendesk as a flow source.
/// </summary>
public partial class ZendeskSourceProperties
{
private string _object;
/// <summary>
/// Gets and sets the property Object.
/// <para>
/// The object specified in the Zendesk flow source.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=512)]
public string Object
{
get { return this._object; }
set { this._object = value; }
}
// Check to see if Object property is set
internal bool IsSetObject()
{
return this._object != null;
}
}
} | 58 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.Appflow.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.Appflow.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for AccessDeniedException Object
/// </summary>
public class AccessDeniedExceptionUnmarshaller : IErrorResponseUnmarshaller<AccessDeniedException, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public AccessDeniedException Unmarshall(JsonUnmarshallerContext context)
{
return this.Unmarshall(context, new Amazon.Runtime.Internal.ErrorResponse());
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <param name="errorResponse"></param>
/// <returns></returns>
public AccessDeniedException Unmarshall(JsonUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse)
{
context.Read();
AccessDeniedException unmarshalledObject = new AccessDeniedException(errorResponse.Message, errorResponse.InnerException,
errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
}
return unmarshalledObject;
}
private static AccessDeniedExceptionUnmarshaller _instance = new AccessDeniedExceptionUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static AccessDeniedExceptionUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 85 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.Appflow.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.Appflow.Model.Internal.MarshallTransformations
{
/// <summary>
/// AggregationConfig Marshaller
/// </summary>
public class AggregationConfigMarshaller : IRequestMarshaller<AggregationConfig, JsonMarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="requestObject"></param>
/// <param name="context"></param>
/// <returns></returns>
public void Marshall(AggregationConfig requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetAggregationType())
{
context.Writer.WritePropertyName("aggregationType");
context.Writer.Write(requestObject.AggregationType);
}
if(requestObject.IsSetTargetFileSize())
{
context.Writer.WritePropertyName("targetFileSize");
context.Writer.Write(requestObject.TargetFileSize);
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static AggregationConfigMarshaller Instance = new AggregationConfigMarshaller();
}
} | 68 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.Appflow.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.Appflow.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for AggregationConfig Object
/// </summary>
public class AggregationConfigUnmarshaller : IUnmarshaller<AggregationConfig, XmlUnmarshallerContext>, IUnmarshaller<AggregationConfig, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
AggregationConfig IUnmarshaller<AggregationConfig, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public AggregationConfig Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
AggregationConfig unmarshalledObject = new AggregationConfig();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("aggregationType", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.AggregationType = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("targetFileSize", targetDepth))
{
var unmarshaller = LongUnmarshaller.Instance;
unmarshalledObject.TargetFileSize = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static AggregationConfigUnmarshaller _instance = new AggregationConfigUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static AggregationConfigUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 98 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.Appflow.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.Appflow.Model.Internal.MarshallTransformations
{
/// <summary>
/// AmplitudeConnectorProfileCredentials Marshaller
/// </summary>
public class AmplitudeConnectorProfileCredentialsMarshaller : IRequestMarshaller<AmplitudeConnectorProfileCredentials, JsonMarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="requestObject"></param>
/// <param name="context"></param>
/// <returns></returns>
public void Marshall(AmplitudeConnectorProfileCredentials requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetApiKey())
{
context.Writer.WritePropertyName("apiKey");
context.Writer.Write(requestObject.ApiKey);
}
if(requestObject.IsSetSecretKey())
{
context.Writer.WritePropertyName("secretKey");
context.Writer.Write(requestObject.SecretKey);
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static AmplitudeConnectorProfileCredentialsMarshaller Instance = new AmplitudeConnectorProfileCredentialsMarshaller();
}
} | 68 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.Appflow.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.Appflow.Model.Internal.MarshallTransformations
{
/// <summary>
/// AmplitudeConnectorProfileProperties Marshaller
/// </summary>
public class AmplitudeConnectorProfilePropertiesMarshaller : IRequestMarshaller<AmplitudeConnectorProfileProperties, JsonMarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="requestObject"></param>
/// <param name="context"></param>
/// <returns></returns>
public void Marshall(AmplitudeConnectorProfileProperties requestObject, JsonMarshallerContext context)
{
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static AmplitudeConnectorProfilePropertiesMarshaller Instance = new AmplitudeConnectorProfilePropertiesMarshaller();
}
} | 56 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.Appflow.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.Appflow.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for AmplitudeConnectorProfileProperties Object
/// </summary>
public class AmplitudeConnectorProfilePropertiesUnmarshaller : IUnmarshaller<AmplitudeConnectorProfileProperties, XmlUnmarshallerContext>, IUnmarshaller<AmplitudeConnectorProfileProperties, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
AmplitudeConnectorProfileProperties IUnmarshaller<AmplitudeConnectorProfileProperties, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public AmplitudeConnectorProfileProperties Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
AmplitudeConnectorProfileProperties unmarshalledObject = new AmplitudeConnectorProfileProperties();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
}
return unmarshalledObject;
}
private static AmplitudeConnectorProfilePropertiesUnmarshaller _instance = new AmplitudeConnectorProfilePropertiesUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static AmplitudeConnectorProfilePropertiesUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 86 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.Appflow.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.Appflow.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for AmplitudeMetadata Object
/// </summary>
public class AmplitudeMetadataUnmarshaller : IUnmarshaller<AmplitudeMetadata, XmlUnmarshallerContext>, IUnmarshaller<AmplitudeMetadata, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
AmplitudeMetadata IUnmarshaller<AmplitudeMetadata, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public AmplitudeMetadata Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
AmplitudeMetadata unmarshalledObject = new AmplitudeMetadata();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
}
return unmarshalledObject;
}
private static AmplitudeMetadataUnmarshaller _instance = new AmplitudeMetadataUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static AmplitudeMetadataUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 86 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.Appflow.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.Appflow.Model.Internal.MarshallTransformations
{
/// <summary>
/// AmplitudeSourceProperties Marshaller
/// </summary>
public class AmplitudeSourcePropertiesMarshaller : IRequestMarshaller<AmplitudeSourceProperties, JsonMarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="requestObject"></param>
/// <param name="context"></param>
/// <returns></returns>
public void Marshall(AmplitudeSourceProperties requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetObject())
{
context.Writer.WritePropertyName("object");
context.Writer.Write(requestObject.Object);
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static AmplitudeSourcePropertiesMarshaller Instance = new AmplitudeSourcePropertiesMarshaller();
}
} | 62 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.Appflow.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.Appflow.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for AmplitudeSourceProperties Object
/// </summary>
public class AmplitudeSourcePropertiesUnmarshaller : IUnmarshaller<AmplitudeSourceProperties, XmlUnmarshallerContext>, IUnmarshaller<AmplitudeSourceProperties, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
AmplitudeSourceProperties IUnmarshaller<AmplitudeSourceProperties, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public AmplitudeSourceProperties Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
AmplitudeSourceProperties unmarshalledObject = new AmplitudeSourceProperties();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("object", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Object = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static AmplitudeSourcePropertiesUnmarshaller _instance = new AmplitudeSourcePropertiesUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static AmplitudeSourcePropertiesUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 92 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.Appflow.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.Appflow.Model.Internal.MarshallTransformations
{
/// <summary>
/// ApiKeyCredentials Marshaller
/// </summary>
public class ApiKeyCredentialsMarshaller : IRequestMarshaller<ApiKeyCredentials, JsonMarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="requestObject"></param>
/// <param name="context"></param>
/// <returns></returns>
public void Marshall(ApiKeyCredentials requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetApiKey())
{
context.Writer.WritePropertyName("apiKey");
context.Writer.Write(requestObject.ApiKey);
}
if(requestObject.IsSetApiSecretKey())
{
context.Writer.WritePropertyName("apiSecretKey");
context.Writer.Write(requestObject.ApiSecretKey);
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static ApiKeyCredentialsMarshaller Instance = new ApiKeyCredentialsMarshaller();
}
} | 68 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.