/*******************************************************************************
* Copyright 2012-2019 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.
* *****************************************************************************
*
* AWS Tools for Windows (TM) PowerShell (TM)
*
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Management.Automation;
using System.Text;
using Amazon.PowerShell.Common;
using Amazon.Runtime;
using Amazon.DatabaseMigrationService;
using Amazon.DatabaseMigrationService.Model;
namespace Amazon.PowerShell.Cmdlets.DMS
{
///
/// Modifies the specified endpoint.
///
///
/// For a MySQL source or target endpoint, don't explicitly specify the database using
/// the DatabaseName
request parameter on the ModifyEndpoint
/// API call. Specifying DatabaseName
when you modify a MySQL endpoint replicates
/// all the task tables to this single database. For MySQL endpoints, you specify the
/// database only when you specify the schema in the table-mapping rules of the DMS task.
///
///
[Cmdlet("Edit", "DMSEndpoint", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)]
[OutputType("Amazon.DatabaseMigrationService.Model.Endpoint")]
[AWSCmdlet("Calls the AWS Database Migration Service ModifyEndpoint API operation.", Operation = new[] {"ModifyEndpoint"}, SelectReturnType = typeof(Amazon.DatabaseMigrationService.Model.ModifyEndpointResponse))]
[AWSCmdletOutput("Amazon.DatabaseMigrationService.Model.Endpoint or Amazon.DatabaseMigrationService.Model.ModifyEndpointResponse",
"This cmdlet returns an Amazon.DatabaseMigrationService.Model.Endpoint object.",
"The service call response (type Amazon.DatabaseMigrationService.Model.ModifyEndpointResponse) can also be referenced from properties attached to the cmdlet entry in the $AWSHistory stack."
)]
public partial class EditDMSEndpointCmdlet : AmazonDatabaseMigrationServiceClientCmdlet, IExecutor
{
protected override bool IsSensitiveRequest { get; set; } = true;
protected override bool IsSensitiveResponse { get; set; } = true;
#region Parameter RedshiftSettings_AcceptAnyDate
///
///
/// A value that indicates to allow any date format, including invalid formats such as
/// 00/00/00 00:00:00, to be loaded without generating an error. You can choose true
/// or false
(the default).This parameter applies only to TIMESTAMP and DATE columns. Always use ACCEPTANYDATE
/// with the DATEFORMAT parameter. If the date format for the data doesn't match the DATEFORMAT
/// specification, Amazon Redshift inserts a NULL value into that field.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? RedshiftSettings_AcceptAnyDate { get; set; }
#endregion
#region Parameter OracleSettings_AccessAlternateDirectly
///
///
/// Set this attribute to false
in order to use the Binary Reader to capture
/// change data for an Amazon RDS for Oracle as the source. This tells the DMS instance
/// to not access redo logs through any specified path prefix replacement using direct
/// file access.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? OracleSettings_AccessAlternateDirectly { get; set; }
#endregion
#region Parameter S3Settings_AddColumnName
///
///
/// An optional parameter that, when set to true
or y
, you can
/// use to add column name information to the .csv output file.The default value is false
. Valid values are true
, false
,
/// y
, and n
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? S3Settings_AddColumnName { get; set; }
#endregion
#region Parameter OracleSettings_AdditionalArchivedLogDestId
///
///
/// Set this attribute with ArchivedLogDestId
in a primary/ standby setup.
/// This attribute is useful in the case of a switchover. In this case, DMS needs to know
/// which destination to get archive redo logs from to read changes. This need arises
/// because the previous primary instance is now a standby instance after switchover.Although DMS supports the use of the Oracle RESETLOGS
option to open
/// the database, never use RESETLOGS
unless necessary. For additional information
/// about RESETLOGS
, see RMAN
/// Data Repair Concepts in the Oracle Database Backup and Recovery User's Guide.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? OracleSettings_AdditionalArchivedLogDestId { get; set; }
#endregion
#region Parameter OracleSettings_AddSupplementalLogging
///
///
/// Set this attribute to set up table-level supplemental logging for the Oracle database.
/// This attribute enables PRIMARY KEY supplemental logging on all tables selected for
/// a migration task.If you use this option, you still need to enable database-level supplemental logging.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? OracleSettings_AddSupplementalLogging { get; set; }
#endregion
#region Parameter S3Settings_AddTrailingPaddingCharacter
///
///
/// Use the S3 target endpoint setting AddTrailingPaddingCharacter
to add
/// padding on string data. The default value is false
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? S3Settings_AddTrailingPaddingCharacter { get; set; }
#endregion
#region Parameter GcpMySQLSettings_AfterConnectScript
///
///
/// Specifies a script to run immediately after DMS connects to the endpoint. The migration
/// task continues running regardless if the SQL statement succeeds or fails.For this parameter, provide the code of the script itself, not the name of a file
/// containing the script.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String GcpMySQLSettings_AfterConnectScript { get; set; }
#endregion
#region Parameter MySQLSettings_AfterConnectScript
///
///
/// Specifies a script to run immediately after DMS connects to the endpoint. The migration
/// task continues running regardless if the SQL statement succeeds or fails.For this parameter, provide the code of the script itself, not the name of a file
/// containing the script.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String MySQLSettings_AfterConnectScript { get; set; }
#endregion
#region Parameter PostgreSQLSettings_AfterConnectScript
///
///
/// For use with change data capture (CDC) only, this attribute has DMS bypass foreign
/// keys and user triggers to reduce the time it takes to bulk load data.Example: afterConnectScript=SET session_replication_role='replica'
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String PostgreSQLSettings_AfterConnectScript { get; set; }
#endregion
#region Parameter RedshiftSettings_AfterConnectScript
///
///
/// Code to run after connecting. This parameter should contain the code itself, not the
/// name of a file containing the code.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String RedshiftSettings_AfterConnectScript { get; set; }
#endregion
#region Parameter OracleSettings_AllowSelectNestedTable
///
///
/// Set this attribute to true
to enable replication of Oracle tables containing
/// columns that are nested tables or defined types.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[Alias("OracleSettings_AllowSelectNestedTables")]
public System.Boolean? OracleSettings_AllowSelectNestedTable { get; set; }
#endregion
#region Parameter OracleSettings_ArchivedLogDestId
///
///
/// Specifies the ID of the destination for the archived redo logs. This value should
/// be the same as a number in the dest_id column of the v$archived_log view. If you work
/// with an additional redo log destination, use the AdditionalArchivedLogDestId
/// option to specify the additional destination ID. Doing this improves performance by
/// ensuring that the correct logs are accessed from the outset.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? OracleSettings_ArchivedLogDestId { get; set; }
#endregion
#region Parameter OracleSettings_ArchivedLogsOnly
///
///
/// When this field is set to Y
, DMS only accesses the archived redo logs.
/// If the archived redo logs are stored on Automatic Storage Management (ASM) only, the
/// DMS user account needs to be granted ASM privileges.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? OracleSettings_ArchivedLogsOnly { get; set; }
#endregion
#region Parameter OracleSettings_AsmPassword
///
///
/// For an Oracle source endpoint, your Oracle Automatic Storage Management (ASM) password.
/// You can set this value from the asm_user_password
value. You
/// set this value as part of the comma-separated value that you set to the Password
/// request parameter when you create the endpoint to access transaction logs using Binary
/// Reader. For more information, see Configuration
/// for change data capture (CDC) on an Oracle source database.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String OracleSettings_AsmPassword { get; set; }
#endregion
#region Parameter OracleSettings_AsmServer
///
///
/// For an Oracle source endpoint, your ASM server address. You can set this value from
/// the asm_server
value. You set asm_server
as part of the
/// extra connection attribute string to access an Oracle server with Binary Reader that
/// uses ASM. For more information, see Configuration
/// for change data capture (CDC) on an Oracle source database.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String OracleSettings_AsmServer { get; set; }
#endregion
#region Parameter OracleSettings_AsmUser
///
///
/// For an Oracle source endpoint, your ASM user name. You can set this value from the
/// asm_user
value. You set asm_user
as part of the extra connection
/// attribute string to access an Oracle server with Binary Reader that uses ASM. For
/// more information, see Configuration
/// for change data capture (CDC) on an Oracle source database.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String OracleSettings_AsmUser { get; set; }
#endregion
#region Parameter MongoDbSettings_AuthMechanism
///
///
/// The authentication mechanism you use to access the MongoDB source endpoint.For the default value, in MongoDB version 2.x, "default"
is "mongodb_cr"
.
/// For MongoDB version 3.x or later, "default"
is "scram_sha_1"
.
/// This setting isn't used when AuthType
is set to "no"
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[AWSConstantClassSource("Amazon.DatabaseMigrationService.AuthMechanismValue")]
public Amazon.DatabaseMigrationService.AuthMechanismValue MongoDbSettings_AuthMechanism { get; set; }
#endregion
#region Parameter RedisSettings_AuthPassword
///
///
/// The password provided with the auth-role
and auth-token
/// options of the AuthType
setting for a Redis target endpoint.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String RedisSettings_AuthPassword { get; set; }
#endregion
#region Parameter MongoDbSettings_AuthSource
///
///
/// The MongoDB database name. This setting isn't used when AuthType
is
/// set to "no"
. The default is "admin"
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String MongoDbSettings_AuthSource { get; set; }
#endregion
#region Parameter MongoDbSettings_AuthType
///
///
/// The authentication type you use to access the MongoDB source endpoint.When when set to "no"
, user name and password parameters are not used
/// and can be empty.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[AWSConstantClassSource("Amazon.DatabaseMigrationService.AuthTypeValue")]
public Amazon.DatabaseMigrationService.AuthTypeValue MongoDbSettings_AuthType { get; set; }
#endregion
#region Parameter RedisSettings_AuthType
///
///
/// The type of authentication to perform when connecting to a Redis target. Options include
/// none
, auth-token
, and auth-role
. The auth-token
/// option requires an AuthPassword
value to be provided. The auth-role
/// option requires AuthUserName
and AuthPassword
values to
/// be provided.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[AWSConstantClassSource("Amazon.DatabaseMigrationService.RedisAuthTypeValue")]
public Amazon.DatabaseMigrationService.RedisAuthTypeValue RedisSettings_AuthType { get; set; }
#endregion
#region Parameter RedisSettings_AuthUserName
///
///
/// The user name provided with the auth-role
option of the AuthType
/// setting for a Redis target endpoint.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String RedisSettings_AuthUserName { get; set; }
#endregion
#region Parameter PostgreSQLSettings_BabelfishDatabaseName
///
///
/// The Babelfish for Aurora PostgreSQL database name for the endpoint.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String PostgreSQLSettings_BabelfishDatabaseName { get; set; }
#endregion
#region Parameter MicrosoftSQLServerSettings_BcpPacketSize
///
///
/// The maximum size of the packets (in bytes) used to transfer data using BCP.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? MicrosoftSQLServerSettings_BcpPacketSize { get; set; }
#endregion
#region Parameter KafkaSettings_Broker
///
///
/// A comma-separated list of one or more broker locations in your Kafka cluster that
/// host your Kafka instance. Specify each broker location in the form broker-hostname-or-ip:port
. For example, "ec2-12-345-678-901.compute-1.amazonaws.com:2345"
.
/// For more information and examples of specifying a list of broker locations, see Using
/// Apache Kafka as a target for Database Migration Service in the Database Migration
/// Service User Guide.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String KafkaSettings_Broker { get; set; }
#endregion
#region Parameter RedshiftSettings_BucketFolder
///
///
/// An S3 folder where the comma-separated-value (.csv) files are stored before being
/// uploaded to the target Redshift cluster. For full load mode, DMS converts source records into .csv files and loads them to
/// the BucketFolder/TableID path. DMS uses the Redshift COPY
command
/// to upload the .csv files to the target table. The files are deleted once the COPY
/// operation has finished. For more information, see COPY
/// in the Amazon Redshift Database Developer Guide.For change-data-capture (CDC) mode, DMS creates a NetChanges table, and loads
/// the .csv files to this BucketFolder/NetChangesTableID path.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String RedshiftSettings_BucketFolder { get; set; }
#endregion
#region Parameter S3Settings_BucketFolder
///
///
/// An optional parameter to set a folder name in the S3 bucket. If provided, tables
/// are created in the path bucketFolder/schema_name/table_name/
.
/// If this parameter isn't specified, then the path used is schema_name/table_name/
.
///
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String S3Settings_BucketFolder { get; set; }
#endregion
#region Parameter DmsTransferSettings_BucketName
///
///
/// The name of the S3 bucket to use.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String DmsTransferSettings_BucketName { get; set; }
#endregion
#region Parameter RedshiftSettings_BucketName
///
///
/// The name of the intermediate S3 bucket used to store .csv files before uploading data
/// to Redshift.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String RedshiftSettings_BucketName { get; set; }
#endregion
#region Parameter S3Settings_BucketName
///
///
/// The name of the S3 bucket.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String S3Settings_BucketName { get; set; }
#endregion
#region Parameter S3Settings_CannedAclForObject
///
///
/// A value that enables DMS to specify a predefined (canned) access control list for
/// objects created in an Amazon S3 bucket as .csv or .parquet files. For more information
/// about Amazon S3 canned ACLs, see Canned
/// ACL in the Amazon S3 Developer Guide.The default value is NONE. Valid values include NONE, PRIVATE, PUBLIC_READ, PUBLIC_READ_WRITE,
/// AUTHENTICATED_READ, AWS_EXEC_READ, BUCKET_OWNER_READ, and BUCKET_OWNER_FULL_CONTROL.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[Alias("S3Settings_CannedAclForObjects")]
[AWSConstantClassSource("Amazon.DatabaseMigrationService.CannedAclForObjectsValue")]
public Amazon.DatabaseMigrationService.CannedAclForObjectsValue S3Settings_CannedAclForObject { get; set; }
#endregion
#region Parameter PostgreSQLSettings_CaptureDdl
///
///
/// To capture DDL events, DMS creates various artifacts in the PostgreSQL database when
/// the task starts. You can later remove these artifacts.If this value is set to N
, you don't have to create tables or triggers
/// on the source database.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[Alias("PostgreSQLSettings_CaptureDdls")]
public System.Boolean? PostgreSQLSettings_CaptureDdl { get; set; }
#endregion
#region Parameter RedshiftSettings_CaseSensitiveName
///
///
/// If Amazon Redshift is configured to support case sensitive schema names, set CaseSensitiveNames
/// to true
. The default is false
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[Alias("RedshiftSettings_CaseSensitiveNames")]
public System.Boolean? RedshiftSettings_CaseSensitiveName { get; set; }
#endregion
#region Parameter S3Settings_CdcInsertsAndUpdate
///
///
/// A value that enables a change data capture (CDC) load to write INSERT and UPDATE operations
/// to .csv or .parquet (columnar storage) output files. The default setting is false
,
/// but when CdcInsertsAndUpdates
is set to true
or y
,
/// only INSERTs and UPDATEs from the source database are migrated to the .csv or .parquet
/// file.DMS supports the use of the .parquet files in versions 3.4.7 and later.How these INSERTs and UPDATEs are recorded depends on the value of the IncludeOpForFullLoad
/// parameter. If IncludeOpForFullLoad
is set to true
, the first
/// field of every CDC record is set to either I
or U
to indicate
/// INSERT and UPDATE operations at the source. But if IncludeOpForFullLoad
/// is set to false
, CDC records are written without an indication of INSERT
/// or UPDATE operations at the source. For more information about how these settings
/// work together, see Indicating
/// Source DB Operations in Migrated S3 Data in the Database Migration Service
/// User Guide..DMS supports the use of the CdcInsertsAndUpdates
parameter in versions
/// 3.3.1 and later.CdcInsertsOnly
and CdcInsertsAndUpdates
can't both be set
/// to true
for the same endpoint. Set either CdcInsertsOnly
/// or CdcInsertsAndUpdates
to true
for the same endpoint, but
/// not both.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[Alias("S3Settings_CdcInsertsAndUpdates")]
public System.Boolean? S3Settings_CdcInsertsAndUpdate { get; set; }
#endregion
#region Parameter TimestreamSettings_CdcInsertsAndUpdate
///
///
/// Set this attribute to true
to specify that DMS only applies inserts and
/// updates, and not deletes. Amazon Timestream does not allow deleting records, so if
/// this value is false
, DMS nulls out the corresponding record in the Timestream
/// database rather than deleting it.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[Alias("TimestreamSettings_CdcInsertsAndUpdates")]
public System.Boolean? TimestreamSettings_CdcInsertsAndUpdate { get; set; }
#endregion
#region Parameter S3Settings_CdcInsertsOnly
///
///
/// A value that enables a change data capture (CDC) load to write only INSERT operations
/// to .csv or columnar storage (.parquet) output files. By default (the false
/// setting), the first field in a .csv or .parquet record contains the letter I (INSERT),
/// U (UPDATE), or D (DELETE). These values indicate whether the row was inserted, updated,
/// or deleted at the source database for a CDC load to the target.If CdcInsertsOnly
is set to true
or y
, only
/// INSERTs from the source database are migrated to the .csv or .parquet file. For .csv
/// format only, how these INSERTs are recorded depends on the value of IncludeOpForFullLoad
.
/// If IncludeOpForFullLoad
is set to true
, the first field
/// of every CDC record is set to I to indicate the INSERT operation at the source. If
/// IncludeOpForFullLoad
is set to false
, every CDC record is
/// written without a first field to indicate the INSERT operation at the source. For
/// more information about how these settings work together, see Indicating
/// Source DB Operations in Migrated S3 Data in the Database Migration Service
/// User Guide..DMS supports the interaction described preceding between the CdcInsertsOnly
/// and IncludeOpForFullLoad
parameters in versions 3.1.4 and later. CdcInsertsOnly
and CdcInsertsAndUpdates
can't both be set
/// to true
for the same endpoint. Set either CdcInsertsOnly
/// or CdcInsertsAndUpdates
to true
for the same endpoint, but
/// not both.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? S3Settings_CdcInsertsOnly { get; set; }
#endregion
#region Parameter S3Settings_CdcMaxBatchInterval
///
///
/// Maximum length of the interval, defined in seconds, after which to output a file to
/// Amazon S3.When CdcMaxBatchInterval
and CdcMinFileSize
are both specified,
/// the file write is triggered by whichever parameter condition is met first within an
/// DMS CloudFormation template.The default value is 60 seconds.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? S3Settings_CdcMaxBatchInterval { get; set; }
#endregion
#region Parameter S3Settings_CdcMinFileSize
///
///
/// Minimum file size, defined in kilobytes, to reach for a file output to Amazon S3.When CdcMinFileSize
and CdcMaxBatchInterval
are both specified,
/// the file write is triggered by whichever parameter condition is met first within an
/// DMS CloudFormation template.The default value is 32 MB.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? S3Settings_CdcMinFileSize { get; set; }
#endregion
#region Parameter S3Settings_CdcPath
///
///
/// Specifies the folder path of CDC files. For an S3 source, this setting is required
/// if a task captures change data; otherwise, it's optional. If CdcPath
/// is set, DMS reads CDC files from this path and replicates the data changes to the
/// target endpoint. For an S3 target if you set PreserveTransactions
to true
, DMS verifies that you
/// have set this parameter to a folder path on your S3 target where DMS can save the
/// transaction order for the CDC load. DMS creates this CDC folder path in either your
/// S3 target working directory or the S3 target location specified by BucketFolder
and BucketName
.For example, if you specify CdcPath
as MyChangedData
, and
/// you specify BucketName
as MyTargetBucket
but do not specify
/// BucketFolder
, DMS creates the CDC folder path following: MyTargetBucket/MyChangedData
.If you specify the same CdcPath
, and you specify BucketName
/// as MyTargetBucket
and BucketFolder
as MyTargetData
,
/// DMS creates the CDC folder path following: MyTargetBucket/MyTargetData/MyChangedData
.For more information on CDC including transaction order on an S3 target, see Capturing
/// data changes (CDC) including transaction order on the S3 target.This setting is supported in DMS versions 3.4.2 and later.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String S3Settings_CdcPath { get; set; }
#endregion
#region Parameter CertificateArn
///
///
/// The Amazon Resource Name (ARN) of the certificate used for SSL connection.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String CertificateArn { get; set; }
#endregion
#region Parameter OracleSettings_CharLengthSemantic
///
///
/// Specifies whether the length of a character column is in bytes or in characters. To
/// indicate that the character column length is in characters, set this attribute to
/// CHAR
. Otherwise, the character column length is in bytes.Example: charLengthSemantics=CHAR;
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[Alias("OracleSettings_CharLengthSemantics")]
[AWSConstantClassSource("Amazon.DatabaseMigrationService.CharLengthSemantics")]
public Amazon.DatabaseMigrationService.CharLengthSemantics OracleSettings_CharLengthSemantic { get; set; }
#endregion
#region Parameter GcpMySQLSettings_CleanSourceMetadataOnMismatch
///
///
/// Cleans and recreates table metadata information on the replication instance when a
/// mismatch occurs. For example, in a situation where running an alter DDL on the table
/// could result in different information about the table cached in the replication instance.
///
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? GcpMySQLSettings_CleanSourceMetadataOnMismatch { get; set; }
#endregion
#region Parameter MySQLSettings_CleanSourceMetadataOnMismatch
///
///
/// Cleans and recreates table metadata information on the replication instance when a
/// mismatch occurs. For example, in a situation where running an alter DDL on the table
/// could result in different information about the table cached in the replication instance.
///
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? MySQLSettings_CleanSourceMetadataOnMismatch { get; set; }
#endregion
#region Parameter S3Settings_CompressionType
///
///
/// An optional parameter to use GZIP to compress the target files. Set to GZIP to compress
/// the target files. Either set this parameter to NONE (the default) or don't use it
/// to leave the files uncompressed. This parameter applies to both .csv and .parquet
/// file formats.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[AWSConstantClassSource("Amazon.DatabaseMigrationService.CompressionTypeValue")]
public Amazon.DatabaseMigrationService.CompressionTypeValue S3Settings_CompressionType { get; set; }
#endregion
#region Parameter RedshiftSettings_CompUpdate
///
///
/// If you set CompUpdate
to true
Amazon Redshift applies automatic
/// compression if the table is empty. This applies even if the table columns already
/// have encodings other than RAW
. If you set CompUpdate
to
/// false
, automatic compression is disabled and existing column encodings
/// aren't changed. The default is true
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? RedshiftSettings_CompUpdate { get; set; }
#endregion
#region Parameter RedshiftSettings_ConnectionTimeout
///
///
/// A value that sets the amount of time to wait (in milliseconds) before timing out,
/// beginning from when you initially establish a connection.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? RedshiftSettings_ConnectionTimeout { get; set; }
#endregion
#region Parameter MicrosoftSQLServerSettings_ControlTablesFileGroup
///
///
/// Specifies a file group for the DMS internal tables. When the replication task starts,
/// all the internal DMS control tables (awsdms_ apply_exception, awsdms_apply, awsdms_changes)
/// are created for the specified file group.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String MicrosoftSQLServerSettings_ControlTablesFileGroup { get; set; }
#endregion
#region Parameter OracleSettings_ConvertTimestampWithZoneToUTC
///
///
/// When true, converts timestamps with the timezone
datatype to their UTC
/// value.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? OracleSettings_ConvertTimestampWithZoneToUTC { get; set; }
#endregion
#region Parameter S3Settings_CsvDelimiter
///
///
/// The delimiter used to separate columns in the .csv file for both source and target.
/// The default is a comma.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String S3Settings_CsvDelimiter { get; set; }
#endregion
#region Parameter S3Settings_CsvNoSupValue
///
///
/// This setting only applies if your Amazon S3 output files during a change data capture
/// (CDC) load are written in .csv format. If UseCsvNoSupValue
is set to true, specify a string value that you
/// want DMS to use for all columns not included in the supplemental log. If you do not
/// specify a string value, DMS uses the null value for these columns regardless of the
/// UseCsvNoSupValue
setting.This setting is supported in DMS versions 3.4.1 and later.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String S3Settings_CsvNoSupValue { get; set; }
#endregion
#region Parameter S3Settings_CsvNullValue
///
///
/// An optional parameter that specifies how DMS treats null values. While handling the
/// null value, you can use this parameter to pass a user-defined string as null when
/// writing to the target. For example, when target columns are not nullable, you can
/// use this option to differentiate between the empty string value and the null value.
/// So, if you set this parameter value to the empty string ("" or ''), DMS treats the
/// empty string as the null value instead of NULL
.The default value is NULL
. Valid values include any valid string.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String S3Settings_CsvNullValue { get; set; }
#endregion
#region Parameter S3Settings_CsvRowDelimiter
///
///
/// The delimiter used to separate rows in the .csv file for both source and target.
/// The default is a carriage return (\n
).
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String S3Settings_CsvRowDelimiter { get; set; }
#endregion
#region Parameter IBMDb2Settings_CurrentLsn
///
///
/// For ongoing replication (CDC), use CurrentLSN to specify a log sequence number (LSN)
/// where you want the replication to start.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String IBMDb2Settings_CurrentLsn { get; set; }
#endregion
#region Parameter PostgreSQLSettings_DatabaseMode
///
///
/// Specifies whether to use default or custom replication behavior for PostgreSQL-compatible
/// endpoints. You can use this setting to specify replication behavior for endpoints
/// that require additional configuration, such as Babelfish endpoints.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[AWSConstantClassSource("Amazon.DatabaseMigrationService.DatabaseMode")]
public Amazon.DatabaseMigrationService.DatabaseMode PostgreSQLSettings_DatabaseMode { get; set; }
#endregion
#region Parameter DatabaseName
///
///
/// The name of the endpoint database. For a MySQL source or target endpoint, do not specify
/// DatabaseName.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String DatabaseName { get; set; }
#endregion
#region Parameter DocDbSettings_DatabaseName
///
///
/// The database name on the DocumentDB source endpoint.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String DocDbSettings_DatabaseName { get; set; }
#endregion
#region Parameter GcpMySQLSettings_DatabaseName
///
///
/// Database name for the endpoint. For a MySQL source or target endpoint, don't explicitly
/// specify the database using the DatabaseName
request parameter on either
/// the CreateEndpoint
or ModifyEndpoint
API call. Specifying
/// DatabaseName
when you create or modify a MySQL endpoint replicates all
/// the task tables to this single database. For MySQL endpoints, you specify the database
/// only when you specify the schema in the table-mapping rules of the DMS task.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String GcpMySQLSettings_DatabaseName { get; set; }
#endregion
#region Parameter IBMDb2Settings_DatabaseName
///
///
/// Database name for the endpoint.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String IBMDb2Settings_DatabaseName { get; set; }
#endregion
#region Parameter MicrosoftSQLServerSettings_DatabaseName
///
///
/// Database name for the endpoint.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String MicrosoftSQLServerSettings_DatabaseName { get; set; }
#endregion
#region Parameter MongoDbSettings_DatabaseName
///
///
/// The database name on the MongoDB source endpoint.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String MongoDbSettings_DatabaseName { get; set; }
#endregion
#region Parameter MySQLSettings_DatabaseName
///
///
/// Database name for the endpoint. For a MySQL source or target endpoint, don't explicitly
/// specify the database using the DatabaseName
request parameter on either
/// the CreateEndpoint
or ModifyEndpoint
API call. Specifying
/// DatabaseName
when you create or modify a MySQL endpoint replicates all
/// the task tables to this single database. For MySQL endpoints, you specify the database
/// only when you specify the schema in the table-mapping rules of the DMS task.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String MySQLSettings_DatabaseName { get; set; }
#endregion
#region Parameter OracleSettings_DatabaseName
///
///
/// Database name for the endpoint.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String OracleSettings_DatabaseName { get; set; }
#endregion
#region Parameter PostgreSQLSettings_DatabaseName
///
///
/// Database name for the endpoint.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String PostgreSQLSettings_DatabaseName { get; set; }
#endregion
#region Parameter RedshiftSettings_DatabaseName
///
///
/// The name of the Amazon Redshift data warehouse (service) that you are working with.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String RedshiftSettings_DatabaseName { get; set; }
#endregion
#region Parameter SybaseSettings_DatabaseName
///
///
/// Database name for the endpoint.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String SybaseSettings_DatabaseName { get; set; }
#endregion
#region Parameter TimestreamSettings_DatabaseName
///
///
/// Database name for the endpoint.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String TimestreamSettings_DatabaseName { get; set; }
#endregion
#region Parameter S3Settings_DataFormat
///
///
/// The format of the data that you want to use for output. You can choose one of the
/// following: csv
: This is a row-based file format with comma-separated values (.csv).
/// parquet
: Apache Parquet (.parquet) is a columnar storage file format
/// that features efficient compression and provides faster query response.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[AWSConstantClassSource("Amazon.DatabaseMigrationService.DataFormatValue")]
public Amazon.DatabaseMigrationService.DataFormatValue S3Settings_DataFormat { get; set; }
#endregion
#region Parameter S3Settings_DataPageSize
///
///
/// The size of one data page in bytes. This parameter defaults to 1024 * 1024 bytes (1
/// MiB). This number is used for .parquet file format only.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? S3Settings_DataPageSize { get; set; }
#endregion
#region Parameter RedshiftSettings_DateFormat
///
///
/// The date format that you are using. Valid values are auto
(case-sensitive),
/// your date format string enclosed in quotes, or NULL. If this parameter is left unset
/// (NULL), it defaults to a format of 'YYYY-MM-DD'. Using auto
recognizes
/// most strings, even some that aren't supported when you use a date format string. If your date and time values use formats different from each other, set this to auto
.
///
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String RedshiftSettings_DateFormat { get; set; }
#endregion
#region Parameter S3Settings_DatePartitionDelimiter
///
///
/// Specifies a date separating delimiter to use during folder partitioning. The default
/// value is SLASH
. Use this parameter when DatePartitionedEnabled
/// is set to true
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[AWSConstantClassSource("Amazon.DatabaseMigrationService.DatePartitionDelimiterValue")]
public Amazon.DatabaseMigrationService.DatePartitionDelimiterValue S3Settings_DatePartitionDelimiter { get; set; }
#endregion
#region Parameter S3Settings_DatePartitionEnabled
///
///
/// When set to true
, this parameter partitions S3 bucket folders based on
/// transaction commit dates. The default value is false
. For more information
/// about date-based folder partitioning, see Using
/// date-based folder partitioning.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? S3Settings_DatePartitionEnabled { get; set; }
#endregion
#region Parameter S3Settings_DatePartitionSequence
///
///
/// Identifies the sequence of the date format to use during folder partitioning. The
/// default value is YYYYMMDD
. Use this parameter when DatePartitionedEnabled
/// is set to true
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[AWSConstantClassSource("Amazon.DatabaseMigrationService.DatePartitionSequenceValue")]
public Amazon.DatabaseMigrationService.DatePartitionSequenceValue S3Settings_DatePartitionSequence { get; set; }
#endregion
#region Parameter S3Settings_DatePartitionTimezone
///
///
/// When creating an S3 target endpoint, set DatePartitionTimezone
to convert
/// the current UTC time into a specified time zone. The conversion occurs when a date
/// partition folder is created and a CDC filename is generated. The time zone format
/// is Area/Location. Use this parameter when DatePartitionedEnabled
is set
/// to true
, as shown in the following example.s3-settings='{"DatePartitionEnabled": true, "DatePartitionSequence": "YYYYMMDDHH",
/// "DatePartitionDelimiter": "SLASH", "DatePartitionTimezone":"Asia/Seoul", "BucketName":
/// "dms-nattarat-test"}'
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String S3Settings_DatePartitionTimezone { get; set; }
#endregion
#region Parameter PostgreSQLSettings_DdlArtifactsSchema
///
///
/// The schema in which the operational DDL database artifacts are created.Example: ddlArtifactsSchema=xyzddlschema;
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String PostgreSQLSettings_DdlArtifactsSchema { get; set; }
#endregion
#region Parameter S3Settings_DictPageSizeLimit
///
///
/// The maximum size of an encoded dictionary page of a column. If the dictionary page
/// exceeds this, this column is stored using an encoding type of PLAIN
.
/// This parameter defaults to 1024 * 1024 bytes (1 MiB), the maximum size of a dictionary
/// page before it reverts to PLAIN
encoding. This size is used for .parquet
/// file format only.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? S3Settings_DictPageSizeLimit { get; set; }
#endregion
#region Parameter OracleSettings_DirectPathNoLog
///
///
/// When set to true
, this attribute helps to increase the commit rate on
/// the Oracle target database by writing directly to tables and not writing a trail to
/// database logs.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? OracleSettings_DirectPathNoLog { get; set; }
#endregion
#region Parameter OracleSettings_DirectPathParallelLoad
///
///
/// When set to true
, this attribute specifies a parallel load when useDirectPathFullLoad
/// is set to Y
. This attribute also only applies when you use the DMS parallel
/// load feature. Note that the target table cannot have any constraints or indexes.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? OracleSettings_DirectPathParallelLoad { get; set; }
#endregion
#region Parameter DocDbSettings_DocsToInvestigate
///
///
/// Indicates the number of documents to preview to determine the document organization.
/// Use this setting when NestingLevel
is set to "one"
. Must be a positive value greater than 0
. Default value is 1000
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? DocDbSettings_DocsToInvestigate { get; set; }
#endregion
#region Parameter MongoDbSettings_DocsToInvestigate
///
///
/// Indicates the number of documents to preview to determine the document organization.
/// Use this setting when NestingLevel
is set to "one"
. Must be a positive value greater than 0
. Default value is 1000
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String MongoDbSettings_DocsToInvestigate { get; set; }
#endregion
#region Parameter RedshiftSettings_EmptyAsNull
///
///
/// A value that specifies whether DMS should migrate empty CHAR and VARCHAR fields as
/// NULL. A value of true
sets empty CHAR and VARCHAR fields to null. The
/// default is false
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? RedshiftSettings_EmptyAsNull { get; set; }
#endregion
#region Parameter OracleSettings_EnableHomogenousTablespace
///
///
/// Set this attribute to enable homogenous tablespace replication and create existing
/// tables or indexes under the same tablespace on the target.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? OracleSettings_EnableHomogenousTablespace { get; set; }
#endregion
#region Parameter TimestreamSettings_EnableMagneticStoreWrite
///
///
/// Set this attribute to true
to enable memory store writes. When this value
/// is false
, DMS does not write records that are older in days than the
/// value specified in MagneticDuration
, because Amazon Timestream does not
/// allow memory writes by default. For more information, see Storage
/// in the Amazon
/// Timestream Developer Guide.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[Alias("TimestreamSettings_EnableMagneticStoreWrites")]
public System.Boolean? TimestreamSettings_EnableMagneticStoreWrite { get; set; }
#endregion
#region Parameter S3Settings_EnableStatistic
///
///
/// A value that enables statistics for Parquet pages and row groups. Choose true
/// to enable statistics, false
to disable. Statistics include NULL
,
/// DISTINCT
, MAX
, and MIN
values. This parameter
/// defaults to true
. This value is used for .parquet file format only.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[Alias("S3Settings_EnableStatistics")]
public System.Boolean? S3Settings_EnableStatistic { get; set; }
#endregion
#region Parameter S3Settings_EncodingType
///
///
/// The type of encoding you are using: RLE_DICTIONARY
uses a combination of bit-packing and run-length encoding
/// to store repeated values more efficiently. This is the default.PLAIN
doesn't use encoding at all. Values are stored as they are.PLAIN_DICTIONARY
builds a dictionary of the values encountered in a
/// given column. The dictionary is stored in a dictionary page for each column chunk.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[AWSConstantClassSource("Amazon.DatabaseMigrationService.EncodingTypeValue")]
public Amazon.DatabaseMigrationService.EncodingTypeValue S3Settings_EncodingType { get; set; }
#endregion
#region Parameter RedshiftSettings_EncryptionMode
///
///
/// The type of server-side encryption that you want to use for your data. This encryption
/// type is part of the endpoint settings or the extra connections attributes for Amazon
/// S3. You can choose either SSE_S3
(the default) or SSE_KMS
.
/// For the ModifyEndpoint
operation, you can change the existing value of
/// the EncryptionMode
parameter from SSE_KMS
to SSE_S3
.
/// But you can’t change the existing value from SSE_S3
to SSE_KMS
.To use SSE_S3
, create an Identity and Access Management (IAM) role with
/// a policy that allows "arn:aws:s3:::*"
to use the following actions: "s3:PutObject",
/// "s3:ListBucket"
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[AWSConstantClassSource("Amazon.DatabaseMigrationService.EncryptionModeValue")]
public Amazon.DatabaseMigrationService.EncryptionModeValue RedshiftSettings_EncryptionMode { get; set; }
#endregion
#region Parameter S3Settings_EncryptionMode
///
///
/// The type of server-side encryption that you want to use for your data. This encryption
/// type is part of the endpoint settings or the extra connections attributes for Amazon
/// S3. You can choose either SSE_S3
(the default) or SSE_KMS
.
/// For the ModifyEndpoint
operation, you can change the existing value of
/// the EncryptionMode
parameter from SSE_KMS
to SSE_S3
.
/// But you can’t change the existing value from SSE_S3
to SSE_KMS
.To use SSE_S3
, you need an Identity and Access Management (IAM) role
/// with permission to allow "arn:aws:s3:::dms-*"
to use the following actions:s3:CreateBucket
s3:ListBucket
s3:DeleteBucket
s3:GetBucketLocation
s3:GetObject
s3:PutObject
s3:DeleteObject
s3:GetObjectVersion
s3:GetBucketPolicy
s3:PutBucketPolicy
s3:DeleteBucketPolicy
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[AWSConstantClassSource("Amazon.DatabaseMigrationService.EncryptionModeValue")]
public Amazon.DatabaseMigrationService.EncryptionModeValue S3Settings_EncryptionMode { get; set; }
#endregion
#region Parameter EndpointArn
///
///
/// The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
///
///
#if !MODULAR
[System.Management.Automation.Parameter(Position = 0, ValueFromPipelineByPropertyName = true, ValueFromPipeline = true)]
#else
[System.Management.Automation.Parameter(Position = 0, ValueFromPipelineByPropertyName = true, ValueFromPipeline = true, Mandatory = true)]
[System.Management.Automation.AllowEmptyString]
[System.Management.Automation.AllowNull]
#endif
[Amazon.PowerShell.Common.AWSRequiredParameter]
public System.String EndpointArn { get; set; }
#endregion
#region Parameter EndpointIdentifier
///
///
/// The database endpoint identifier. Identifiers must begin with a letter and must contain
/// only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two
/// consecutive hyphens.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String EndpointIdentifier { get; set; }
#endregion
#region Parameter EndpointType
///
///
/// The type of endpoint. Valid values are source
and target
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[AWSConstantClassSource("Amazon.DatabaseMigrationService.ReplicationEndpointTypeValue")]
public Amazon.DatabaseMigrationService.ReplicationEndpointTypeValue EndpointType { get; set; }
#endregion
#region Parameter ElasticsearchSettings_EndpointUri
///
///
/// The endpoint for the OpenSearch cluster. DMS uses HTTPS if a transport protocol (http/https)
/// is not specified.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String ElasticsearchSettings_EndpointUri { get; set; }
#endregion
#region Parameter EngineName
///
///
/// The database engine name. Valid values, depending on the EndpointType, include "mysql"
,
/// "oracle"
, "postgres"
, "mariadb"
, "aurora"
,
/// "aurora-postgresql"
, "redshift"
, "s3"
, "db2"
,
/// "db2-zos"
, "azuredb"
, "sybase"
, "dynamodb"
,
/// "mongodb"
, "kinesis"
, "kafka"
, "elasticsearch"
,
/// "documentdb"
, "sqlserver"
, "neptune"
, and "babelfish"
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String EngineName { get; set; }
#endregion
#region Parameter ElasticsearchSettings_ErrorRetryDuration
///
///
/// The maximum number of seconds for which DMS retries failed API requests to the OpenSearch
/// cluster.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? ElasticsearchSettings_ErrorRetryDuration { get; set; }
#endregion
#region Parameter NeptuneSettings_ErrorRetryDuration
///
///
/// The number of milliseconds for DMS to wait to retry a bulk-load of migrated graph
/// data to the Neptune target database before raising an error. The default is 250.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? NeptuneSettings_ErrorRetryDuration { get; set; }
#endregion
#region Parameter GcpMySQLSettings_EventsPollInterval
///
///
/// Specifies how often to check the binary log for new changes/events when the database
/// is idle. The default is five seconds.Example: eventsPollInterval=5;
In the example, DMS checks for changes in the binary logs every five seconds.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? GcpMySQLSettings_EventsPollInterval { get; set; }
#endregion
#region Parameter MySQLSettings_EventsPollInterval
///
///
/// Specifies how often to check the binary log for new changes/events when the database
/// is idle. The default is five seconds.Example: eventsPollInterval=5;
In the example, DMS checks for changes in the binary logs every five seconds.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? MySQLSettings_EventsPollInterval { get; set; }
#endregion
#region Parameter ExactSetting
///
///
/// If this attribute is Y, the current call to ModifyEndpoint
replaces all
/// existing endpoint settings with the exact settings that you specify in this call.
/// If this attribute is N, the current call to ModifyEndpoint
does two things:
/// - It replaces any endpoint settings that already exist with new values, for settings
/// with the same names.
- It creates new endpoint settings that you specify in the call, for settings with different
/// names.
For example, if you call create-endpoint ... --endpoint-settings '{"a":1}' ...
,
/// the endpoint has the following endpoint settings: '{"a":1}'
. If you then
/// call modify-endpoint ... --endpoint-settings '{"b":2}' ...
for the same
/// endpoint, the endpoint has the following settings: '{"a":1,"b":2}'
. However, suppose that you follow this with a call to modify-endpoint ... --endpoint-settings
/// '{"b":2}' --exact-settings ...
for that same endpoint again. Then the endpoint
/// has the following settings: '{"b":2}'
. All existing settings are replaced
/// with the exact settings that you specify.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[Alias("ExactSettings")]
public System.Boolean? ExactSetting { get; set; }
#endregion
#region Parameter PostgreSQLSettings_ExecuteTimeout
///
///
/// Sets the client statement timeout for the PostgreSQL instance, in seconds. The default
/// value is 60 seconds.Example: executeTimeout=100;
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? PostgreSQLSettings_ExecuteTimeout { get; set; }
#endregion
#region Parameter S3Settings_ExpectedBucketOwner
///
///
/// To specify a bucket owner and prevent sniping, you can use the ExpectedBucketOwner
/// endpoint setting. Example: --s3-settings='{"ExpectedBucketOwner": "AWS_Account_ID"}'
When you make a request to test a connection or perform a migration, S3 checks the
/// account ID of the bucket owner against the specified parameter.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String S3Settings_ExpectedBucketOwner { get; set; }
#endregion
#region Parameter RedshiftSettings_ExplicitId
///
///
/// This setting is only valid for a full-load migration task. Set ExplicitIds
/// to true
to have tables with IDENTITY
columns override their
/// auto-generated values with explicit values loaded from the source data files used
/// to populate the tables. The default is false
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[Alias("RedshiftSettings_ExplicitIds")]
public System.Boolean? RedshiftSettings_ExplicitId { get; set; }
#endregion
#region Parameter ExternalTableDefinition
///
///
/// The external table definition.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String ExternalTableDefinition { get; set; }
#endregion
#region Parameter S3Settings_ExternalTableDefinition
///
///
/// Specifies how tables are defined in the S3 source files only.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String S3Settings_ExternalTableDefinition { get; set; }
#endregion
#region Parameter OracleSettings_ExtraArchivedLogDestId
///
///
/// Specifies the IDs of one more destinations for one or more archived redo logs. These
/// IDs are the values of the dest_id
column in the v$archived_log
/// view. Use this setting with the archivedLogDestId
extra connection attribute
/// in a primary-to-single setup or a primary-to-multiple-standby setup. This setting is useful in a switchover when you use an Oracle Data Guard database
/// as a source. In this case, DMS needs information about what destination to get archive
/// redo logs from to read changes. DMS needs this because after the switchover the previous
/// primary is a standby instance. For example, in a primary-to-single standby setup you
/// might apply the following settings. archivedLogDestId=1; ExtraArchivedLogDestIds=[2]
In a primary-to-multiple-standby setup, you might apply the following settings.archivedLogDestId=1; ExtraArchivedLogDestIds=[2,3,4]
Although DMS supports the use of the Oracle RESETLOGS
option to open
/// the database, never use RESETLOGS
unless it's necessary. For more information
/// about RESETLOGS
, see
/// RMAN Data Repair Concepts in the Oracle Database Backup and Recovery User's
/// Guide.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[Alias("OracleSettings_ExtraArchivedLogDestIds")]
public System.Int32[] OracleSettings_ExtraArchivedLogDestId { get; set; }
#endregion
#region Parameter ExtraConnectionAttribute
///
///
/// Additional attributes associated with the connection. To reset this parameter, pass
/// the empty string ("") as an argument.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[Alias("ExtraConnectionAttributes")]
public System.String ExtraConnectionAttribute { get; set; }
#endregion
#region Parameter DocDbSettings_ExtractDocId
///
///
/// Specifies the document ID. Use this setting when NestingLevel
is set
/// to "none"
. Default value is "false"
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? DocDbSettings_ExtractDocId { get; set; }
#endregion
#region Parameter MongoDbSettings_ExtractDocId
///
///
/// Specifies the document ID. Use this setting when NestingLevel
is set
/// to "none"
. Default value is "false"
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String MongoDbSettings_ExtractDocId { get; set; }
#endregion
#region Parameter OracleSettings_FailTasksOnLobTruncation
///
///
/// When set to true
, this attribute causes a task to fail if the actual
/// size of an LOB column is greater than the specified LobMaxSize
.If a task is set to limited LOB mode and this option is set to true
,
/// the task fails instead of truncating the LOB data.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? OracleSettings_FailTasksOnLobTruncation { get; set; }
#endregion
#region Parameter PostgreSQLSettings_FailTasksOnLobTruncation
///
///
/// When set to true
, this value causes a task to fail if the actual size
/// of a LOB column is greater than the specified LobMaxSize
.If task is set to Limited LOB mode and this option is set to true, the task fails
/// instead of truncating the LOB data.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? PostgreSQLSettings_FailTasksOnLobTruncation { get; set; }
#endregion
#region Parameter RedshiftSettings_FileTransferUploadStream
///
///
/// The number of threads used to upload a single file. This parameter accepts a value
/// from 1 through 64. It defaults to 10.The number of parallel streams used to upload a single .csv file to an S3 bucket using
/// S3 Multipart Upload. For more information, see Multipart
/// upload overview. FileTransferUploadStreams
accepts a value from 1 through 64. It defaults
/// to 10.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[Alias("RedshiftSettings_FileTransferUploadStreams")]
public System.Int32? RedshiftSettings_FileTransferUploadStream { get; set; }
#endregion
#region Parameter MicrosoftSQLServerSettings_ForceLobLookup
///
///
/// Forces LOB lookup on inline LOB.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? MicrosoftSQLServerSettings_ForceLobLookup { get; set; }
#endregion
#region Parameter ElasticsearchSettings_FullLoadErrorPercentage
///
///
/// The maximum percentage of records that can fail to be written before a full load operation
/// stops.To avoid early failure, this counter is only effective after 1000 records are transferred.
/// OpenSearch also has the concept of error monitoring during the last 10 minutes of
/// an Observation Window. If transfer of all records fail in the last 10 minutes, the
/// full load operation stops.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? ElasticsearchSettings_FullLoadErrorPercentage { get; set; }
#endregion
#region Parameter S3Settings_GlueCatalogGeneration
///
///
/// When true, allows Glue to catalog your S3 bucket. Creating an Glue catalog lets you
/// use Athena to query your data.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? S3Settings_GlueCatalogGeneration { get; set; }
#endregion
#region Parameter PostgreSQLSettings_HeartbeatEnable
///
///
/// The write-ahead log (WAL) heartbeat feature mimics a dummy transaction. By doing this,
/// it prevents idle logical replication slots from holding onto old WAL logs, which can
/// result in storage full situations on the source. This heartbeat keeps restart_lsn
/// moving and prevents storage full scenarios.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? PostgreSQLSettings_HeartbeatEnable { get; set; }
#endregion
#region Parameter PostgreSQLSettings_HeartbeatFrequency
///
///
/// Sets the WAL heartbeat frequency (in minutes).
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? PostgreSQLSettings_HeartbeatFrequency { get; set; }
#endregion
#region Parameter PostgreSQLSettings_HeartbeatSchema
///
///
/// Sets the schema in which the heartbeat artifacts are created.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String PostgreSQLSettings_HeartbeatSchema { get; set; }
#endregion
#region Parameter NeptuneSettings_IamAuthEnabled
///
///
/// If you want Identity and Access Management (IAM) authorization enabled for this endpoint,
/// set this parameter to true
. Then attach the appropriate IAM policy document
/// to your service role specified by ServiceAccessRoleArn
. The default is
/// false
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? NeptuneSettings_IamAuthEnabled { get; set; }
#endregion
#region Parameter S3Settings_IgnoreHeaderRow
///
///
/// When this value is set to 1, DMS ignores the first row header in a .csv file. A value
/// of 1 turns on the feature; a value of 0 turns off the feature.The default is 0.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[Alias("S3Settings_IgnoreHeaderRows")]
public System.Int32? S3Settings_IgnoreHeaderRow { get; set; }
#endregion
#region Parameter KafkaSettings_IncludeControlDetail
///
///
/// Shows detailed control information for table definition, column definition, and table
/// and column changes in the Kafka message output. The default is false
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[Alias("KafkaSettings_IncludeControlDetails")]
public System.Boolean? KafkaSettings_IncludeControlDetail { get; set; }
#endregion
#region Parameter KinesisSettings_IncludeControlDetail
///
///
/// Shows detailed control information for table definition, column definition, and table
/// and column changes in the Kinesis message output. The default is false
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[Alias("KinesisSettings_IncludeControlDetails")]
public System.Boolean? KinesisSettings_IncludeControlDetail { get; set; }
#endregion
#region Parameter KafkaSettings_IncludeNullAndEmpty
///
///
/// Include NULL and empty columns for records migrated to the endpoint. The default is
/// false
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? KafkaSettings_IncludeNullAndEmpty { get; set; }
#endregion
#region Parameter KinesisSettings_IncludeNullAndEmpty
///
///
/// Include NULL and empty columns for records migrated to the endpoint. The default is
/// false
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? KinesisSettings_IncludeNullAndEmpty { get; set; }
#endregion
#region Parameter S3Settings_IncludeOpForFullLoad
///
///
/// A value that enables a full load to write INSERT operations to the comma-separated
/// value (.csv) or .parquet output files only to indicate how the rows were added to
/// the source database.DMS supports the IncludeOpForFullLoad
parameter in versions 3.1.4 and
/// later.DMS supports the use of the .parquet files with the IncludeOpForFullLoad
/// parameter in versions 3.4.7 and later.For full load, records can only be inserted. By default (the false
setting),
/// no information is recorded in these output files for a full load to indicate that
/// the rows were inserted at the source database. If IncludeOpForFullLoad
/// is set to true
or y
, the INSERT is recorded as an I annotation
/// in the first field of the .csv file. This allows the format of your target records
/// from a full load to be consistent with the target records from a CDC load.This setting works together with the CdcInsertsOnly
and the CdcInsertsAndUpdates
/// parameters for output to .csv files only. For more information about how these settings
/// work together, see Indicating
/// Source DB Operations in Migrated S3 Data in the Database Migration Service
/// User Guide..
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? S3Settings_IncludeOpForFullLoad { get; set; }
#endregion
#region Parameter KafkaSettings_IncludePartitionValue
///
///
/// Shows the partition value within the Kafka message output unless the partition type
/// is schema-table-type
. The default is false
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? KafkaSettings_IncludePartitionValue { get; set; }
#endregion
#region Parameter KinesisSettings_IncludePartitionValue
///
///
/// Shows the partition value within the Kinesis message output, unless the partition
/// type is schema-table-type
. The default is false
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? KinesisSettings_IncludePartitionValue { get; set; }
#endregion
#region Parameter KafkaSettings_IncludeTableAlterOperation
///
///
/// Includes any data definition language (DDL) operations that change the table in the
/// control data, such as rename-table
, drop-table
, add-column
,
/// drop-column
, and rename-column
. The default is false
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[Alias("KafkaSettings_IncludeTableAlterOperations")]
public System.Boolean? KafkaSettings_IncludeTableAlterOperation { get; set; }
#endregion
#region Parameter KinesisSettings_IncludeTableAlterOperation
///
///
/// Includes any data definition language (DDL) operations that change the table in the
/// control data, such as rename-table
, drop-table
, add-column
,
/// drop-column
, and rename-column
. The default is false
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[Alias("KinesisSettings_IncludeTableAlterOperations")]
public System.Boolean? KinesisSettings_IncludeTableAlterOperation { get; set; }
#endregion
#region Parameter KafkaSettings_IncludeTransactionDetail
///
///
/// Provides detailed transaction information from the source database. This information
/// includes a commit timestamp, a log position, and values for transaction_id
,
/// previous transaction_id
, and transaction_record_id
(the
/// record offset within a transaction). The default is false
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[Alias("KafkaSettings_IncludeTransactionDetails")]
public System.Boolean? KafkaSettings_IncludeTransactionDetail { get; set; }
#endregion
#region Parameter KinesisSettings_IncludeTransactionDetail
///
///
/// Provides detailed transaction information from the source database. This information
/// includes a commit timestamp, a log position, and values for transaction_id
,
/// previous transaction_id
, and transaction_record_id
(the
/// record offset within a transaction). The default is false
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[Alias("KinesisSettings_IncludeTransactionDetails")]
public System.Boolean? KinesisSettings_IncludeTransactionDetail { get; set; }
#endregion
#region Parameter DocDbSettings_KmsKeyId
///
///
/// The KMS key identifier that is used to encrypt the content on the replication instance.
/// If you don't specify a value for the KmsKeyId
parameter, then DMS uses
/// your default encryption key. KMS creates the default encryption key for your Amazon
/// Web Services account. Your Amazon Web Services account has a different default encryption
/// key for each Amazon Web Services Region.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String DocDbSettings_KmsKeyId { get; set; }
#endregion
#region Parameter MongoDbSettings_KmsKeyId
///
///
/// The KMS key identifier that is used to encrypt the content on the replication instance.
/// If you don't specify a value for the KmsKeyId
parameter, then DMS uses
/// your default encryption key. KMS creates the default encryption key for your Amazon
/// Web Services account. Your Amazon Web Services account has a different default encryption
/// key for each Amazon Web Services Region.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String MongoDbSettings_KmsKeyId { get; set; }
#endregion
#region Parameter RedshiftSettings_LoadTimeout
///
///
/// The amount of time to wait (in milliseconds) before timing out of operations performed
/// by DMS on a Redshift cluster, such as Redshift COPY, INSERT, DELETE, and UPDATE.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? RedshiftSettings_LoadTimeout { get; set; }
#endregion
#region Parameter TimestreamSettings_MagneticDuration
///
///
/// Set this attribute to specify the default magnetic duration applied to the Amazon
/// Timestream tables in days. This is the number of days that records remain in magnetic
/// store before being discarded. For more information, see Storage
/// in the Amazon
/// Timestream Developer Guide.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? TimestreamSettings_MagneticDuration { get; set; }
#endregion
#region Parameter PostgreSQLSettings_MapBooleanAsBoolean
///
///
/// When true, lets PostgreSQL migrate the boolean type as boolean. By default, PostgreSQL
/// migrates booleans as varchar(5)
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? PostgreSQLSettings_MapBooleanAsBoolean { get; set; }
#endregion
#region Parameter RedshiftSettings_MapBooleanAsBoolean
///
///
/// When true, lets Redshift migrate the boolean type as boolean. By default, Redshift
/// migrates booleans as varchar(1)
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? RedshiftSettings_MapBooleanAsBoolean { get; set; }
#endregion
#region Parameter PostgreSQLSettings_MapJsonbAsClob
///
///
/// When true, DMS migrates JSONB values as CLOB.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? PostgreSQLSettings_MapJsonbAsClob { get; set; }
#endregion
#region Parameter PostgreSQLSettings_MapLongVarcharAs
///
///
/// When true, DMS migrates LONG values as VARCHAR.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[AWSConstantClassSource("Amazon.DatabaseMigrationService.LongVarcharMappingType")]
public Amazon.DatabaseMigrationService.LongVarcharMappingType PostgreSQLSettings_MapLongVarcharAs { get; set; }
#endregion
#region Parameter GcpMySQLSettings_MaxFileSize
///
///
/// Specifies the maximum size (in KB) of any .csv file used to transfer data to a MySQL-compatible
/// database.Example: maxFileSize=512
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? GcpMySQLSettings_MaxFileSize { get; set; }
#endregion
#region Parameter MySQLSettings_MaxFileSize
///
///
/// Specifies the maximum size (in KB) of any .csv file used to transfer data to a MySQL-compatible
/// database.Example: maxFileSize=512
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? MySQLSettings_MaxFileSize { get; set; }
#endregion
#region Parameter NeptuneSettings_MaxFileSize
///
///
/// The maximum size in kilobytes of migrated graph data stored in a .csv file before
/// DMS bulk-loads the data to the Neptune target database. The default is 1,048,576 KB.
/// If the bulk load is successful, DMS clears the bucket, ready to store the next batch
/// of migrated graph data.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? NeptuneSettings_MaxFileSize { get; set; }
#endregion
#region Parameter PostgreSQLSettings_MaxFileSize
///
///
/// Specifies the maximum size (in KB) of any .csv file used to transfer data to PostgreSQL.Example: maxFileSize=512
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? PostgreSQLSettings_MaxFileSize { get; set; }
#endregion
#region Parameter RedshiftSettings_MaxFileSize
///
///
/// The maximum size (in KB) of any .csv file used to load data on an S3 bucket and transfer
/// data to Amazon Redshift. It defaults to 1048576KB (1 GB).
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? RedshiftSettings_MaxFileSize { get; set; }
#endregion
#region Parameter S3Settings_MaxFileSize
///
///
/// A value that specifies the maximum size (in KB) of any .csv file to be created while
/// migrating to an S3 target during full load.The default value is 1,048,576 KB (1 GB). Valid values include 1 to 1,048,576.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? S3Settings_MaxFileSize { get; set; }
#endregion
#region Parameter IBMDb2Settings_MaxKBytesPerRead
///
///
/// Maximum number of bytes per read, as a NUMBER value. The default is 64 KB.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? IBMDb2Settings_MaxKBytesPerRead { get; set; }
#endregion
#region Parameter NeptuneSettings_MaxRetryCount
///
///
/// The number of times for DMS to retry a bulk load of migrated graph data to the Neptune
/// target database before raising an error. The default is 5.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? NeptuneSettings_MaxRetryCount { get; set; }
#endregion
#region Parameter TimestreamSettings_MemoryDuration
///
///
/// Set this attribute to specify the length of time to store all of the tables in memory
/// that are migrated into Amazon Timestream from the source database. Time is measured
/// in units of hours. When Timestream data comes in, it first resides in memory for the
/// specified duration, which allows quick access to it.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? TimestreamSettings_MemoryDuration { get; set; }
#endregion
#region Parameter KafkaSettings_MessageFormat
///
///
/// The output format for the records created on the endpoint. The message format is JSON
/// (default) or JSON_UNFORMATTED
(a single line with no tab).
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[AWSConstantClassSource("Amazon.DatabaseMigrationService.MessageFormatValue")]
public Amazon.DatabaseMigrationService.MessageFormatValue KafkaSettings_MessageFormat { get; set; }
#endregion
#region Parameter KinesisSettings_MessageFormat
///
///
/// The output format for the records created on the endpoint. The message format is JSON
/// (default) or JSON_UNFORMATTED
(a single line with no tab).
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[AWSConstantClassSource("Amazon.DatabaseMigrationService.MessageFormatValue")]
public Amazon.DatabaseMigrationService.MessageFormatValue KinesisSettings_MessageFormat { get; set; }
#endregion
#region Parameter KafkaSettings_MessageMaxByte
///
///
/// The maximum size in bytes for records created on the endpoint The default is 1,000,000.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[Alias("KafkaSettings_MessageMaxBytes")]
public System.Int32? KafkaSettings_MessageMaxByte { get; set; }
#endregion
#region Parameter DocDbSettings_NestingLevel
///
///
/// Specifies either document or table mode. Default value is "none"
. Specify "none"
to use document
/// mode. Specify "one"
to use table mode.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[AWSConstantClassSource("Amazon.DatabaseMigrationService.NestingLevelValue")]
public Amazon.DatabaseMigrationService.NestingLevelValue DocDbSettings_NestingLevel { get; set; }
#endregion
#region Parameter MongoDbSettings_NestingLevel
///
///
/// Specifies either document or table mode. Default value is "none"
. Specify "none"
to use document
/// mode. Specify "one"
to use table mode.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[AWSConstantClassSource("Amazon.DatabaseMigrationService.NestingLevelValue")]
public Amazon.DatabaseMigrationService.NestingLevelValue MongoDbSettings_NestingLevel { get; set; }
#endregion
#region Parameter KafkaSettings_NoHexPrefix
///
///
/// Set this optional parameter to true
to avoid adding a '0x' prefix to
/// raw data in hexadecimal format. For example, by default, DMS adds a '0x' prefix to
/// the LOB column type in hexadecimal format moving from an Oracle source to a Kafka
/// target. Use the NoHexPrefix
endpoint setting to enable migration of RAW
/// data type columns without adding the '0x' prefix.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? KafkaSettings_NoHexPrefix { get; set; }
#endregion
#region Parameter KinesisSettings_NoHexPrefix
///
///
/// Set this optional parameter to true
to avoid adding a '0x' prefix to
/// raw data in hexadecimal format. For example, by default, DMS adds a '0x' prefix to
/// the LOB column type in hexadecimal format moving from an Oracle source to an Amazon
/// Kinesis target. Use the NoHexPrefix
endpoint setting to enable migration
/// of RAW data type columns without adding the '0x' prefix.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? KinesisSettings_NoHexPrefix { get; set; }
#endregion
#region Parameter OracleSettings_NumberDatatypeScale
///
///
/// Specifies the number scale. You can select a scale up to 38, or you can select FLOAT.
/// By default, the NUMBER data type is converted to precision 38, scale 10.Example: numberDataTypeScale=12
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? OracleSettings_NumberDatatypeScale { get; set; }
#endregion
#region Parameter OracleSettings_OpenTransactionWindow
///
///
/// The timeframe in minutes to check for open transactions for a CDC-only task.You can specify an integer value between 0 (the default) and 240 (the maximum). This parameter is only valid in DMS version 3.5.0 and later. DMS supports a window
/// of up to 9.5 hours including the value for OpenTransactionWindow
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? OracleSettings_OpenTransactionWindow { get; set; }
#endregion
#region Parameter OracleSettings_OraclePathPrefix
///
///
/// Set this string attribute to the required value in order to use the Binary Reader
/// to capture change data for an Amazon RDS for Oracle as the source. This value specifies
/// the default Oracle root used to access the redo logs.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String OracleSettings_OraclePathPrefix { get; set; }
#endregion
#region Parameter OracleSettings_ParallelAsmReadThread
///
///
/// Set this attribute to change the number of threads that DMS configures to perform
/// a change data capture (CDC) load using Oracle Automatic Storage Management (ASM).
/// You can specify an integer value between 2 (the default) and 8 (the maximum). Use
/// this attribute together with the readAheadBlocks
attribute.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[Alias("OracleSettings_ParallelAsmReadThreads")]
public System.Int32? OracleSettings_ParallelAsmReadThread { get; set; }
#endregion
#region Parameter GcpMySQLSettings_ParallelLoadThread
///
///
/// Improves performance when loading data into the MySQL-compatible target database.
/// Specifies how many threads to use to load the data into the MySQL-compatible target
/// database. Setting a large number of threads can have an adverse effect on database
/// performance, because a separate connection is required for each thread. The default
/// is one.Example: parallelLoadThreads=1
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[Alias("GcpMySQLSettings_ParallelLoadThreads")]
public System.Int32? GcpMySQLSettings_ParallelLoadThread { get; set; }
#endregion
#region Parameter MySQLSettings_ParallelLoadThread
///
///
/// Improves performance when loading data into the MySQL-compatible target database.
/// Specifies how many threads to use to load the data into the MySQL-compatible target
/// database. Setting a large number of threads can have an adverse effect on database
/// performance, because a separate connection is required for each thread. The default
/// is one.Example: parallelLoadThreads=1
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[Alias("MySQLSettings_ParallelLoadThreads")]
public System.Int32? MySQLSettings_ParallelLoadThread { get; set; }
#endregion
#region Parameter S3Settings_ParquetTimestampInMillisecond
///
///
/// A value that specifies the precision of any TIMESTAMP
column values that
/// are written to an Amazon S3 object file in .parquet format.DMS supports the ParquetTimestampInMillisecond
parameter in versions
/// 3.1.4 and later.When ParquetTimestampInMillisecond
is set to true
or y
,
/// DMS writes all TIMESTAMP
columns in a .parquet formatted file with millisecond
/// precision. Otherwise, DMS writes them with microsecond precision.Currently, Amazon Athena and Glue can handle only millisecond precision for TIMESTAMP
/// values. Set this parameter to true
for S3 endpoint object files that
/// are .parquet formatted only if you plan to query or process the data with Athena or
/// Glue.DMS writes any TIMESTAMP
column values written to an S3 file in .csv
/// format with microsecond precision.Setting ParquetTimestampInMillisecond
has no effect on the string format
/// of the timestamp column value that is inserted by setting the TimestampColumnName
/// parameter.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? S3Settings_ParquetTimestampInMillisecond { get; set; }
#endregion
#region Parameter S3Settings_ParquetVersion
///
///
/// The version of the Apache Parquet format that you want to use: parquet_1_0
/// (the default) or parquet_2_0
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[AWSConstantClassSource("Amazon.DatabaseMigrationService.ParquetVersionValue")]
public Amazon.DatabaseMigrationService.ParquetVersionValue S3Settings_ParquetVersion { get; set; }
#endregion
#region Parameter KafkaSettings_PartitionIncludeSchemaTable
///
///
/// Prefixes schema and table names to partition values, when the partition type is primary-key-type
.
/// Doing this increases data distribution among Kafka partitions. For example, suppose
/// that a SysBench schema has thousands of tables and each table has only limited range
/// for a primary key. In this case, the same primary key is sent from thousands of tables
/// to the same partition, which causes throttling. The default is false
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? KafkaSettings_PartitionIncludeSchemaTable { get; set; }
#endregion
#region Parameter KinesisSettings_PartitionIncludeSchemaTable
///
///
/// Prefixes schema and table names to partition values, when the partition type is primary-key-type
.
/// Doing this increases data distribution among Kinesis shards. For example, suppose
/// that a SysBench schema has thousands of tables and each table has only limited range
/// for a primary key. In this case, the same primary key is sent from thousands of tables
/// to the same shard, which causes throttling. The default is false
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? KinesisSettings_PartitionIncludeSchemaTable { get; set; }
#endregion
#region Parameter DocDbSettings_Password
///
///
/// The password for the user account you use to access the DocumentDB source endpoint.
///
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String DocDbSettings_Password { get; set; }
#endregion
#region Parameter GcpMySQLSettings_Password
///
///
/// Endpoint connection password.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String GcpMySQLSettings_Password { get; set; }
#endregion
#region Parameter IBMDb2Settings_Password
///
///
/// Endpoint connection password.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String IBMDb2Settings_Password { get; set; }
#endregion
#region Parameter MicrosoftSQLServerSettings_Password
///
///
/// Endpoint connection password.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String MicrosoftSQLServerSettings_Password { get; set; }
#endregion
#region Parameter MongoDbSettings_Password
///
///
/// The password for the user account you use to access the MongoDB source endpoint.
///
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String MongoDbSettings_Password { get; set; }
#endregion
#region Parameter MySQLSettings_Password
///
///
/// Endpoint connection password.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String MySQLSettings_Password { get; set; }
#endregion
#region Parameter OracleSettings_Password
///
///
/// Endpoint connection password.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String OracleSettings_Password { get; set; }
#endregion
#region Parameter Password
///
///
/// The password to be used to login to the endpoint database.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String Password { get; set; }
#endregion
#region Parameter PostgreSQLSettings_Password
///
///
/// Endpoint connection password.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String PostgreSQLSettings_Password { get; set; }
#endregion
#region Parameter RedshiftSettings_Password
///
///
/// The password for the user named in the username
property.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String RedshiftSettings_Password { get; set; }
#endregion
#region Parameter SybaseSettings_Password
///
///
/// Endpoint connection password.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String SybaseSettings_Password { get; set; }
#endregion
#region Parameter PostgreSQLSettings_PluginName
///
///
/// Specifies the plugin to use to create a replication slot.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[AWSConstantClassSource("Amazon.DatabaseMigrationService.PluginNameValue")]
public Amazon.DatabaseMigrationService.PluginNameValue PostgreSQLSettings_PluginName { get; set; }
#endregion
#region Parameter DocDbSettings_Port
///
///
/// The port value for the DocumentDB source endpoint.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? DocDbSettings_Port { get; set; }
#endregion
#region Parameter GcpMySQLSettings_Port
///
///
/// Endpoint TCP port.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? GcpMySQLSettings_Port { get; set; }
#endregion
#region Parameter IBMDb2Settings_Port
///
///
/// Endpoint TCP port. The default value is 50000.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? IBMDb2Settings_Port { get; set; }
#endregion
#region Parameter MicrosoftSQLServerSettings_Port
///
///
/// Endpoint TCP port.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? MicrosoftSQLServerSettings_Port { get; set; }
#endregion
#region Parameter MongoDbSettings_Port
///
///
/// The port value for the MongoDB source endpoint.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? MongoDbSettings_Port { get; set; }
#endregion
#region Parameter MySQLSettings_Port
///
///
/// Endpoint TCP port.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? MySQLSettings_Port { get; set; }
#endregion
#region Parameter OracleSettings_Port
///
///
/// Endpoint TCP port.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? OracleSettings_Port { get; set; }
#endregion
#region Parameter Port
///
///
/// The port used by the endpoint database.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? Port { get; set; }
#endregion
#region Parameter PostgreSQLSettings_Port
///
///
/// Endpoint TCP port. The default is 5432.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? PostgreSQLSettings_Port { get; set; }
#endregion
#region Parameter RedisSettings_Port
///
///
/// Transmission Control Protocol (TCP) port for the endpoint.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? RedisSettings_Port { get; set; }
#endregion
#region Parameter RedshiftSettings_Port
///
///
/// The port number for Amazon Redshift. The default value is 5439.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? RedshiftSettings_Port { get; set; }
#endregion
#region Parameter SybaseSettings_Port
///
///
/// Endpoint TCP port. The default is 5000.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? SybaseSettings_Port { get; set; }
#endregion
#region Parameter S3Settings_PreserveTransaction
///
///
/// If set to true
, DMS saves the transaction order for a change data capture
/// (CDC) load on the Amazon S3 target specified by CdcPath
. For more information, see Capturing
/// data changes (CDC) including transaction order on the S3 target.This setting is supported in DMS versions 3.4.2 and later.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[Alias("S3Settings_PreserveTransactions")]
public System.Boolean? S3Settings_PreserveTransaction { get; set; }
#endregion
#region Parameter MicrosoftSQLServerSettings_QuerySingleAlwaysOnNode
///
///
/// Cleans and recreates table metadata information on the replication instance when a
/// mismatch occurs. An example is a situation where running an alter DDL statement on
/// a table might result in different information about the table cached in the replication
/// instance.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? MicrosoftSQLServerSettings_QuerySingleAlwaysOnNode { get; set; }
#endregion
#region Parameter OracleSettings_ReadAheadBlock
///
///
/// Set this attribute to change the number of read-ahead blocks that DMS configures to
/// perform a change data capture (CDC) load using Oracle Automatic Storage Management
/// (ASM). You can specify an integer value between 1000 (the default) and 200,000 (the
/// maximum).
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[Alias("OracleSettings_ReadAheadBlocks")]
public System.Int32? OracleSettings_ReadAheadBlock { get; set; }
#endregion
#region Parameter MicrosoftSQLServerSettings_ReadBackupOnly
///
///
/// When this attribute is set to Y
, DMS only reads changes from transaction
/// log backups and doesn't read from the active transaction log file during ongoing replication.
/// Setting this parameter to Y
enables you to control active transaction
/// log file growth during full load and ongoing replication tasks. However, it can add
/// some source latency to ongoing replication.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? MicrosoftSQLServerSettings_ReadBackupOnly { get; set; }
#endregion
#region Parameter OracleSettings_ReadTableSpaceName
///
///
/// When set to true
, this attribute supports tablespace replication.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? OracleSettings_ReadTableSpaceName { get; set; }
#endregion
#region Parameter RedshiftSettings_RemoveQuote
///
///
/// A value that specifies to remove surrounding quotation marks from strings in the incoming
/// data. All characters within the quotation marks, including delimiters, are retained.
/// Choose true
to remove quotation marks. The default is false
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[Alias("RedshiftSettings_RemoveQuotes")]
public System.Boolean? RedshiftSettings_RemoveQuote { get; set; }
#endregion
#region Parameter RedshiftSettings_ReplaceChar
///
///
/// A value that specifies to replaces the invalid characters specified in ReplaceInvalidChars
,
/// substituting the specified characters instead. The default is "?"
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[Alias("RedshiftSettings_ReplaceChars")]
public System.String RedshiftSettings_ReplaceChar { get; set; }
#endregion
#region Parameter RedshiftSettings_ReplaceInvalidChar
///
///
/// A list of characters that you want to replace. Use with ReplaceChars
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[Alias("RedshiftSettings_ReplaceInvalidChars")]
public System.String RedshiftSettings_ReplaceInvalidChar { get; set; }
#endregion
#region Parameter OracleSettings_ReplacePathPrefix
///
///
/// Set this attribute to true in order to use the Binary Reader to capture change data
/// for an Amazon RDS for Oracle as the source. This setting tells DMS instance to replace
/// the default Oracle root with the specified usePathPrefix
setting to access
/// the redo logs.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? OracleSettings_ReplacePathPrefix { get; set; }
#endregion
#region Parameter DocDbSettings_ReplicateShardCollection
///
///
/// If true
, DMS replicates data to shard collections. DMS only uses this
/// setting if the target endpoint is a DocumentDB elastic cluster.When this setting is true
, note the following:- You must set
TargetTablePrepMode
to nothing
. - DMS automatically sets
useUpdateLookup
to false
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[Alias("DocDbSettings_ReplicateShardCollections")]
public System.Boolean? DocDbSettings_ReplicateShardCollection { get; set; }
#endregion
#region Parameter MongoDbSettings_ReplicateShardCollection
///
///
/// If true
, DMS replicates data to shard collections. DMS only uses this
/// setting if the target endpoint is a DocumentDB elastic cluster.When this setting is true
, note the following:- You must set
TargetTablePrepMode
to nothing
. - DMS automatically sets
useUpdateLookup
to false
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[Alias("MongoDbSettings_ReplicateShardCollections")]
public System.Boolean? MongoDbSettings_ReplicateShardCollection { get; set; }
#endregion
#region Parameter OracleSettings_RetryInterval
///
///
/// Specifies the number of seconds that the system waits before resending a query.Example: retryInterval=6;
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? OracleSettings_RetryInterval { get; set; }
#endregion
#region Parameter S3Settings_Rfc4180
///
///
/// For an S3 source, when this value is set to true
or y
, each
/// leading double quotation mark has to be followed by an ending double quotation mark.
/// This formatting complies with RFC 4180. When this value is set to false
/// or n
, string literals are copied to the target as is. In this case, a
/// delimiter (row or column) signals the end of the field. Thus, you can't use a delimiter
/// as part of the string, because it signals the end of the value.For an S3 target, an optional parameter used to set behavior to comply with RFC 4180
/// for data migrated to Amazon S3 using .csv file format only. When this value is set
/// to true
or y
using Amazon S3 as a target, if the data has
/// quotation marks or newline characters in it, DMS encloses the entire column with an
/// additional pair of double quotation marks ("). Every quotation mark within the data
/// is repeated twice.The default value is true
. Valid values include true
, false
,
/// y
, and n
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? S3Settings_Rfc4180 { get; set; }
#endregion
#region Parameter S3Settings_RowGroupLength
///
///
/// The number of rows in a row group. A smaller row group size provides faster reads.
/// But as the number of row groups grows, the slower writes become. This parameter defaults
/// to 10,000 rows. This number is used for .parquet file format only. If you choose a value larger than the maximum, RowGroupLength
is set
/// to the max row group length in bytes (64 * 1024 * 1024).
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? S3Settings_RowGroupLength { get; set; }
#endregion
#region Parameter NeptuneSettings_S3BucketFolder
///
///
/// A folder path where you want DMS to store migrated graph data in the S3 bucket specified
/// by S3BucketName
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String NeptuneSettings_S3BucketFolder { get; set; }
#endregion
#region Parameter NeptuneSettings_S3BucketName
///
///
/// The name of the Amazon S3 bucket where DMS can temporarily store migrated graph data
/// in .csv files before bulk-loading it to the Neptune target database. DMS maps the
/// SQL source data to graph data before storing it in these .csv files.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String NeptuneSettings_S3BucketName { get; set; }
#endregion
#region Parameter MicrosoftSQLServerSettings_SafeguardPolicy
///
///
/// Use this attribute to minimize the need to access the backup log and enable DMS to
/// prevent truncation using one of the following two methods.Start transactions in the database: This is the default method. When this
/// method is used, DMS prevents TLOG truncation by mimicking a transaction in the database.
/// As long as such a transaction is open, changes that appear after the transaction started
/// aren't truncated. If you need Microsoft Replication to be enabled in your database,
/// then you must choose this method.Exclusively use sp_repldone within a single task: When this method is used,
/// DMS reads the changes and then uses sp_repldone to mark the TLOG transactions as ready
/// for truncation. Although this method doesn't involve any transactional activities,
/// it can only be used when Microsoft Replication isn't running. Also, when using this
/// method, only one DMS task can access the database at any given time. Therefore, if
/// you need to run parallel DMS tasks against the same database, use the default method.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[AWSConstantClassSource("Amazon.DatabaseMigrationService.SafeguardPolicy")]
public Amazon.DatabaseMigrationService.SafeguardPolicy MicrosoftSQLServerSettings_SafeguardPolicy { get; set; }
#endregion
#region Parameter KafkaSettings_SaslMechanism
///
///
/// For SASL/SSL authentication, DMS supports the SCRAM-SHA-512
mechanism
/// by default. DMS versions 3.5.0 and later also support the PLAIN
mechanism.
/// To use the PLAIN
mechanism, set this parameter to PLAIN.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[AWSConstantClassSource("Amazon.DatabaseMigrationService.KafkaSaslMechanism")]
public Amazon.DatabaseMigrationService.KafkaSaslMechanism KafkaSettings_SaslMechanism { get; set; }
#endregion
#region Parameter KafkaSettings_SaslPassword
///
///
/// The secure password you created when you first set up your MSK cluster to validate
/// a client identity and make an encrypted connection between server and client using
/// SASL-SSL authentication.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String KafkaSettings_SaslPassword { get; set; }
#endregion
#region Parameter KafkaSettings_SaslUsername
///
///
/// The secure user name you created when you first set up your MSK cluster to validate
/// a client identity and make an encrypted connection between server and client using
/// SASL-SSL authentication.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String KafkaSettings_SaslUsername { get; set; }
#endregion
#region Parameter DocDbSettings_SecretsManagerAccessRoleArn
///
///
/// The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted
/// entity and grants the required permissions to access the value in SecretsManagerSecret
.
/// The role must allow the iam:PassRole
action. SecretsManagerSecret
/// has the value of the Amazon Web Services Secrets Manager secret that allows access
/// to the DocumentDB endpoint.You can specify one of two sets of values for these permissions. You can specify the
/// values for this setting and SecretsManagerSecretId
. Or you can specify
/// clear-text values for UserName
, Password
, ServerName
,
/// and Port
. You can't specify both. For more information on creating this
/// SecretsManagerSecret
and the SecretsManagerAccessRoleArn
/// and SecretsManagerSecretId
required to access it, see Using
/// secrets to access Database Migration Service resources in the Database Migration
/// Service User Guide.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String DocDbSettings_SecretsManagerAccessRoleArn { get; set; }
#endregion
#region Parameter GcpMySQLSettings_SecretsManagerAccessRoleArn
///
///
/// The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted
/// entity and grants the required permissions to access the value in SecretsManagerSecret.
/// The role must allow the iam:PassRole
action. SecretsManagerSecret
/// has the value of the Amazon Web Services Secrets Manager secret that allows access
/// to the MySQL endpoint.You can specify one of two sets of values for these permissions. You can specify the
/// values for this setting and SecretsManagerSecretId
. Or you can specify
/// clear-text values for UserName
, Password
, ServerName
,
/// and Port
. You can't specify both. For more information on creating this
/// SecretsManagerSecret
and the SecretsManagerAccessRoleArn
/// and SecretsManagerSecretId
required to access it, see Using
/// secrets to access Database Migration Service resources in the Database Migration
/// Service User Guide.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String GcpMySQLSettings_SecretsManagerAccessRoleArn { get; set; }
#endregion
#region Parameter IBMDb2Settings_SecretsManagerAccessRoleArn
///
///
/// The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted
/// entity and grants the required permissions to access the value in SecretsManagerSecret
.
/// The role must allow the iam:PassRole
action. SecretsManagerSecret
/// has the value of the Amazon Web Services Secrets Manager secret that allows access
/// to the Db2 LUW endpoint. You can specify one of two sets of values for these permissions. You can specify the
/// values for this setting and SecretsManagerSecretId
. Or you can specify
/// clear-text values for UserName
, Password
, ServerName
,
/// and Port
. You can't specify both. For more information on creating this
/// SecretsManagerSecret
and the SecretsManagerAccessRoleArn
/// and SecretsManagerSecretId
required to access it, see Using
/// secrets to access Database Migration Service resources in the Database Migration
/// Service User Guide.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String IBMDb2Settings_SecretsManagerAccessRoleArn { get; set; }
#endregion
#region Parameter MicrosoftSQLServerSettings_SecretsManagerAccessRoleArn
///
///
/// The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted
/// entity and grants the required permissions to access the value in SecretsManagerSecret
.
/// The role must allow the iam:PassRole
action. SecretsManagerSecret
/// has the value of the Amazon Web Services Secrets Manager secret that allows access
/// to the SQL Server endpoint.You can specify one of two sets of values for these permissions. You can specify the
/// values for this setting and SecretsManagerSecretId
. Or you can specify
/// clear-text values for UserName
, Password
, ServerName
,
/// and Port
. You can't specify both. For more information on creating this
/// SecretsManagerSecret
and the SecretsManagerAccessRoleArn
/// and SecretsManagerSecretId
required to access it, see Using
/// secrets to access Database Migration Service resources in the Database Migration
/// Service User Guide.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String MicrosoftSQLServerSettings_SecretsManagerAccessRoleArn { get; set; }
#endregion
#region Parameter MongoDbSettings_SecretsManagerAccessRoleArn
///
///
/// The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted
/// entity and grants the required permissions to access the value in SecretsManagerSecret
.
/// The role must allow the iam:PassRole
action. SecretsManagerSecret
/// has the value of the Amazon Web Services Secrets Manager secret that allows access
/// to the MongoDB endpoint.You can specify one of two sets of values for these permissions. You can specify the
/// values for this setting and SecretsManagerSecretId
. Or you can specify
/// clear-text values for UserName
, Password
, ServerName
,
/// and Port
. You can't specify both. For more information on creating this
/// SecretsManagerSecret
and the SecretsManagerAccessRoleArn
/// and SecretsManagerSecretId
required to access it, see Using
/// secrets to access Database Migration Service resources in the Database Migration
/// Service User Guide.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String MongoDbSettings_SecretsManagerAccessRoleArn { get; set; }
#endregion
#region Parameter MySQLSettings_SecretsManagerAccessRoleArn
///
///
/// The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted
/// entity and grants the required permissions to access the value in SecretsManagerSecret
.
/// The role must allow the iam:PassRole
action. SecretsManagerSecret
/// has the value of the Amazon Web Services Secrets Manager secret that allows access
/// to the MySQL endpoint.You can specify one of two sets of values for these permissions. You can specify the
/// values for this setting and SecretsManagerSecretId
. Or you can specify
/// clear-text values for UserName
, Password
, ServerName
,
/// and Port
. You can't specify both. For more information on creating this
/// SecretsManagerSecret
and the SecretsManagerAccessRoleArn
/// and SecretsManagerSecretId
required to access it, see Using
/// secrets to access Database Migration Service resources in the Database Migration
/// Service User Guide.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String MySQLSettings_SecretsManagerAccessRoleArn { get; set; }
#endregion
#region Parameter OracleSettings_SecretsManagerAccessRoleArn
///
///
/// The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted
/// entity and grants the required permissions to access the value in SecretsManagerSecret
.
/// The role must allow the iam:PassRole
action. SecretsManagerSecret
/// has the value of the Amazon Web Services Secrets Manager secret that allows access
/// to the Oracle endpoint.You can specify one of two sets of values for these permissions. You can specify the
/// values for this setting and SecretsManagerSecretId
. Or you can specify
/// clear-text values for UserName
, Password
, ServerName
,
/// and Port
. You can't specify both. For more information on creating this
/// SecretsManagerSecret
and the SecretsManagerAccessRoleArn
/// and SecretsManagerSecretId
required to access it, see Using
/// secrets to access Database Migration Service resources in the Database Migration
/// Service User Guide.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String OracleSettings_SecretsManagerAccessRoleArn { get; set; }
#endregion
#region Parameter PostgreSQLSettings_SecretsManagerAccessRoleArn
///
///
/// The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted
/// entity and grants the required permissions to access the value in SecretsManagerSecret
.
/// The role must allow the iam:PassRole
action. SecretsManagerSecret
/// has the value of the Amazon Web Services Secrets Manager secret that allows access
/// to the PostgreSQL endpoint.You can specify one of two sets of values for these permissions. You can specify the
/// values for this setting and SecretsManagerSecretId
. Or you can specify
/// clear-text values for UserName
, Password
, ServerName
,
/// and Port
. You can't specify both. For more information on creating this
/// SecretsManagerSecret
and the SecretsManagerAccessRoleArn
/// and SecretsManagerSecretId
required to access it, see Using
/// secrets to access Database Migration Service resources in the Database Migration
/// Service User Guide.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String PostgreSQLSettings_SecretsManagerAccessRoleArn { get; set; }
#endregion
#region Parameter RedshiftSettings_SecretsManagerAccessRoleArn
///
///
/// The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted
/// entity and grants the required permissions to access the value in SecretsManagerSecret
.
/// The role must allow the iam:PassRole
action. SecretsManagerSecret
/// has the value of the Amazon Web Services Secrets Manager secret that allows access
/// to the Amazon Redshift endpoint.You can specify one of two sets of values for these permissions. You can specify the
/// values for this setting and SecretsManagerSecretId
. Or you can specify
/// clear-text values for UserName
, Password
, ServerName
,
/// and Port
. You can't specify both. For more information on creating this
/// SecretsManagerSecret
and the SecretsManagerAccessRoleArn
/// and SecretsManagerSecretId
required to access it, see Using
/// secrets to access Database Migration Service resources in the Database Migration
/// Service User Guide.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String RedshiftSettings_SecretsManagerAccessRoleArn { get; set; }
#endregion
#region Parameter SybaseSettings_SecretsManagerAccessRoleArn
///
///
/// The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted
/// entity and grants the required permissions to access the value in SecretsManagerSecret
.
/// The role must allow the iam:PassRole
action. SecretsManagerSecret
/// has the value of the Amazon Web Services Secrets Manager secret that allows access
/// to the SAP ASE endpoint.You can specify one of two sets of values for these permissions. You can specify the
/// values for this setting and SecretsManagerSecretId
. Or you can specify
/// clear-text values for UserName
, Password
, ServerName
,
/// and Port
. You can't specify both. For more information on creating this
/// SecretsManagerSecret
and the SecretsManagerAccessRoleArn
/// and SecretsManagerSecretId
required to access it, see Using
/// secrets to access Database Migration Service resources in the Database Migration
/// Service User Guide.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String SybaseSettings_SecretsManagerAccessRoleArn { get; set; }
#endregion
#region Parameter OracleSettings_SecretsManagerOracleAsmAccessRoleArn
///
///
/// Required only if your Oracle endpoint uses Automatic Storage Management (ASM). The
/// full ARN of the IAM role that specifies DMS as the trusted entity and grants the required
/// permissions to access the SecretsManagerOracleAsmSecret
. This SecretsManagerOracleAsmSecret
/// has the secret value that allows access to the Oracle ASM of the endpoint.You can specify one of two sets of values for these permissions. You can specify the
/// values for this setting and SecretsManagerOracleAsmSecretId
. Or you can
/// specify clear-text values for AsmUserName
, AsmPassword
,
/// and AsmServerName
. You can't specify both. For more information on creating
/// this SecretsManagerOracleAsmSecret
and the SecretsManagerOracleAsmAccessRoleArn
/// and SecretsManagerOracleAsmSecretId
required to access it, see Using
/// secrets to access Database Migration Service resources in the Database Migration
/// Service User Guide.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String OracleSettings_SecretsManagerOracleAsmAccessRoleArn { get; set; }
#endregion
#region Parameter OracleSettings_SecretsManagerOracleAsmSecretId
///
///
/// Required only if your Oracle endpoint uses Automatic Storage Management (ASM). The
/// full ARN, partial ARN, or friendly name of the SecretsManagerOracleAsmSecret
/// that contains the Oracle ASM connection details for the Oracle endpoint.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String OracleSettings_SecretsManagerOracleAsmSecretId { get; set; }
#endregion
#region Parameter DocDbSettings_SecretsManagerSecretId
///
///
/// The full ARN, partial ARN, or friendly name of the SecretsManagerSecret
/// that contains the DocumentDB endpoint connection details.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String DocDbSettings_SecretsManagerSecretId { get; set; }
#endregion
#region Parameter GcpMySQLSettings_SecretsManagerSecretId
///
///
/// The full ARN, partial ARN, or friendly name of the SecretsManagerSecret
/// that contains the MySQL endpoint connection details.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String GcpMySQLSettings_SecretsManagerSecretId { get; set; }
#endregion
#region Parameter IBMDb2Settings_SecretsManagerSecretId
///
///
/// The full ARN, partial ARN, or friendly name of the SecretsManagerSecret
/// that contains the Db2 LUW endpoint connection details.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String IBMDb2Settings_SecretsManagerSecretId { get; set; }
#endregion
#region Parameter MicrosoftSQLServerSettings_SecretsManagerSecretId
///
///
/// The full ARN, partial ARN, or friendly name of the SecretsManagerSecret
/// that contains the SQL Server endpoint connection details.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String MicrosoftSQLServerSettings_SecretsManagerSecretId { get; set; }
#endregion
#region Parameter MongoDbSettings_SecretsManagerSecretId
///
///
/// The full ARN, partial ARN, or friendly name of the SecretsManagerSecret
/// that contains the MongoDB endpoint connection details.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String MongoDbSettings_SecretsManagerSecretId { get; set; }
#endregion
#region Parameter MySQLSettings_SecretsManagerSecretId
///
///
/// The full ARN, partial ARN, or friendly name of the SecretsManagerSecret
/// that contains the MySQL endpoint connection details.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String MySQLSettings_SecretsManagerSecretId { get; set; }
#endregion
#region Parameter OracleSettings_SecretsManagerSecretId
///
///
/// The full ARN, partial ARN, or friendly name of the SecretsManagerSecret
/// that contains the Oracle endpoint connection details.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String OracleSettings_SecretsManagerSecretId { get; set; }
#endregion
#region Parameter PostgreSQLSettings_SecretsManagerSecretId
///
///
/// The full ARN, partial ARN, or friendly name of the SecretsManagerSecret
/// that contains the PostgreSQL endpoint connection details.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String PostgreSQLSettings_SecretsManagerSecretId { get; set; }
#endregion
#region Parameter RedshiftSettings_SecretsManagerSecretId
///
///
/// The full ARN, partial ARN, or friendly name of the SecretsManagerSecret
/// that contains the Amazon Redshift endpoint connection details.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String RedshiftSettings_SecretsManagerSecretId { get; set; }
#endregion
#region Parameter SybaseSettings_SecretsManagerSecretId
///
///
/// The full ARN, partial ARN, or friendly name of the SecretsManagerSecret
/// that contains the SAP SAE endpoint connection details.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String SybaseSettings_SecretsManagerSecretId { get; set; }
#endregion
#region Parameter OracleSettings_SecurityDbEncryption
///
///
/// For an Oracle source endpoint, the transparent data encryption (TDE) password required
/// by AWM DMS to access Oracle redo logs encrypted by TDE using Binary Reader. It is
/// also the TDE_Password
part of the comma-separated value you
/// set to the Password
request parameter when you create the endpoint. The
/// SecurityDbEncryptian
setting is related to this SecurityDbEncryptionName
/// setting. For more information, see
/// Supported encryption methods for using Oracle as a source for DMS in the Database
/// Migration Service User Guide.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String OracleSettings_SecurityDbEncryption { get; set; }
#endregion
#region Parameter OracleSettings_SecurityDbEncryptionName
///
///
/// For an Oracle source endpoint, the name of a key used for the transparent data encryption
/// (TDE) of the columns and tablespaces in an Oracle source database that is encrypted
/// using TDE. The key value is the value of the SecurityDbEncryption
setting.
/// For more information on setting the key name value of SecurityDbEncryptionName
,
/// see the information and example for setting the securityDbEncryptionName
/// extra connection attribute in
/// Supported encryption methods for using Oracle as a source for DMS in the Database
/// Migration Service User Guide.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String OracleSettings_SecurityDbEncryptionName { get; set; }
#endregion
#region Parameter KafkaSettings_SecurityProtocol
///
///
/// Set secure connection to a Kafka target endpoint using Transport Layer Security (TLS).
/// Options include ssl-encryption
, ssl-authentication
, and
/// sasl-ssl
. sasl-ssl
requires SaslUsername
and
/// SaslPassword
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[AWSConstantClassSource("Amazon.DatabaseMigrationService.KafkaSecurityProtocol")]
public Amazon.DatabaseMigrationService.KafkaSecurityProtocol KafkaSettings_SecurityProtocol { get; set; }
#endregion
#region Parameter DocDbSettings_ServerName
///
///
/// The name of the server on the DocumentDB source endpoint.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String DocDbSettings_ServerName { get; set; }
#endregion
#region Parameter GcpMySQLSettings_ServerName
///
///
/// The MySQL host name.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String GcpMySQLSettings_ServerName { get; set; }
#endregion
#region Parameter IBMDb2Settings_ServerName
///
///
/// Fully qualified domain name of the endpoint.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String IBMDb2Settings_ServerName { get; set; }
#endregion
#region Parameter MicrosoftSQLServerSettings_ServerName
///
///
/// Fully qualified domain name of the endpoint. For an Amazon RDS SQL Server instance,
/// this is the output of DescribeDBInstances,
/// in the Endpoint.Address
/// field.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String MicrosoftSQLServerSettings_ServerName { get; set; }
#endregion
#region Parameter MongoDbSettings_ServerName
///
///
/// The name of the server on the MongoDB source endpoint.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String MongoDbSettings_ServerName { get; set; }
#endregion
#region Parameter MySQLSettings_ServerName
///
///
/// The host name of the endpoint database. For an Amazon RDS MySQL instance, this is the output of DescribeDBInstances,
/// in the Endpoint.Address
/// field.For an Aurora MySQL instance, this is the output of DescribeDBClusters,
/// in the Endpoint
field.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String MySQLSettings_ServerName { get; set; }
#endregion
#region Parameter OracleSettings_ServerName
///
///
/// Fully qualified domain name of the endpoint.For an Amazon RDS Oracle instance, this is the output of DescribeDBInstances,
/// in the Endpoint.Address
/// field.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String OracleSettings_ServerName { get; set; }
#endregion
#region Parameter PostgreSQLSettings_ServerName
///
///
/// The host name of the endpoint database. For an Amazon RDS PostgreSQL instance, this is the output of DescribeDBInstances,
/// in the Endpoint.Address
/// field.For an Aurora PostgreSQL instance, this is the output of DescribeDBClusters,
/// in the Endpoint
field.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String PostgreSQLSettings_ServerName { get; set; }
#endregion
#region Parameter RedisSettings_ServerName
///
///
/// Fully qualified domain name of the endpoint.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String RedisSettings_ServerName { get; set; }
#endregion
#region Parameter RedshiftSettings_ServerName
///
///
/// The name of the Amazon Redshift cluster you are using.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String RedshiftSettings_ServerName { get; set; }
#endregion
#region Parameter ServerName
///
///
/// The name of the server where the endpoint database resides.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String ServerName { get; set; }
#endregion
#region Parameter SybaseSettings_ServerName
///
///
/// Fully qualified domain name of the endpoint.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String SybaseSettings_ServerName { get; set; }
#endregion
#region Parameter RedshiftSettings_ServerSideEncryptionKmsKeyId
///
///
/// The KMS key ID. If you are using SSE_KMS
for the EncryptionMode
,
/// provide this key ID. The key that you use needs an attached policy that enables IAM
/// user permissions and allows use of the key.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String RedshiftSettings_ServerSideEncryptionKmsKeyId { get; set; }
#endregion
#region Parameter S3Settings_ServerSideEncryptionKmsKeyId
///
///
/// If you are using SSE_KMS
for the EncryptionMode
, provide
/// the KMS key ID. The key that you use needs an attached policy that enables Identity
/// and Access Management (IAM) user permissions and allows use of the key.Here is a CLI example: aws dms create-endpoint --endpoint-identifier value
/// --endpoint-type target --engine-name s3 --s3-settings ServiceAccessRoleArn=value,BucketFolder=value,BucketName=value,EncryptionMode=SSE_KMS,ServerSideEncryptionKmsKeyId=value
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String S3Settings_ServerSideEncryptionKmsKeyId { get; set; }
#endregion
#region Parameter GcpMySQLSettings_ServerTimezone
///
///
/// Specifies the time zone for the source MySQL database.Example: serverTimezone=US/Pacific;
Note: Do not enclose time zones in single quotes.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String GcpMySQLSettings_ServerTimezone { get; set; }
#endregion
#region Parameter MySQLSettings_ServerTimezone
///
///
/// Specifies the time zone for the source MySQL database.Example: serverTimezone=US/Pacific;
Note: Do not enclose time zones in single quotes.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String MySQLSettings_ServerTimezone { get; set; }
#endregion
#region Parameter DmsTransferSettings_ServiceAccessRoleArn
///
///
/// The Amazon Resource Name (ARN) used by the service access IAM role. The role must
/// allow the iam:PassRole
action.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String DmsTransferSettings_ServiceAccessRoleArn { get; set; }
#endregion
#region Parameter DynamoDbSettings_ServiceAccessRoleArn
///
///
/// The Amazon Resource Name (ARN) used by the service to access the IAM role. The role
/// must allow the iam:PassRole
action.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String DynamoDbSettings_ServiceAccessRoleArn { get; set; }
#endregion
#region Parameter ElasticsearchSettings_ServiceAccessRoleArn
///
///
/// The Amazon Resource Name (ARN) used by the service to access the IAM role. The role
/// must allow the iam:PassRole
action.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String ElasticsearchSettings_ServiceAccessRoleArn { get; set; }
#endregion
#region Parameter KinesisSettings_ServiceAccessRoleArn
///
///
/// The Amazon Resource Name (ARN) for the IAM role that DMS uses to write to the Kinesis
/// data stream. The role must allow the iam:PassRole
action.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String KinesisSettings_ServiceAccessRoleArn { get; set; }
#endregion
#region Parameter NeptuneSettings_ServiceAccessRoleArn
///
///
/// The Amazon Resource Name (ARN) of the service role that you created for the Neptune
/// target endpoint. The role must allow the iam:PassRole
action. For more
/// information, see Creating
/// an IAM Service Role for Accessing Amazon Neptune as a Target in the Database
/// Migration Service User Guide.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String NeptuneSettings_ServiceAccessRoleArn { get; set; }
#endregion
#region Parameter RedshiftSettings_ServiceAccessRoleArn
///
///
/// The Amazon Resource Name (ARN) of the IAM role that has access to the Amazon Redshift
/// service. The role must allow the iam:PassRole
action.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String RedshiftSettings_ServiceAccessRoleArn { get; set; }
#endregion
#region Parameter S3Settings_ServiceAccessRoleArn
///
///
/// The Amazon Resource Name (ARN) used by the service to access the IAM role. The role
/// must allow the iam:PassRole
action. It is a required parameter that enables
/// DMS to write and read objects from an S3 bucket.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String S3Settings_ServiceAccessRoleArn { get; set; }
#endregion
#region Parameter ServiceAccessRoleArn
///
///
/// The Amazon Resource Name (ARN) for the IAM role you want to use to modify the endpoint.
/// The role must allow the iam:PassRole
action.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String ServiceAccessRoleArn { get; set; }
#endregion
#region Parameter IBMDb2Settings_SetDataCaptureChange
///
///
/// Enables ongoing replication (CDC) as a BOOLEAN value. The default is true.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[Alias("IBMDb2Settings_SetDataCaptureChanges")]
public System.Boolean? IBMDb2Settings_SetDataCaptureChange { get; set; }
#endregion
#region Parameter PostgreSQLSettings_SlotName
///
///
/// Sets the name of a previously created logical replication slot for a change data capture
/// (CDC) load of the PostgreSQL source instance. When used with the CdcStartPosition
request parameter for the DMS API
/// , this attribute also makes it possible to use native CDC start points. DMS verifies
/// that the specified logical replication slot exists before starting the CDC load task.
/// It also verifies that the task was created with a valid setting of CdcStartPosition
.
/// If the specified slot doesn't exist or the task doesn't have a valid CdcStartPosition
/// setting, DMS raises an error.For more information about setting the CdcStartPosition
request parameter,
/// see Determining
/// a CDC native start point in the Database Migration Service User Guide.
/// For more information about using CdcStartPosition
, see CreateReplicationTask,
/// StartReplicationTask,
/// and ModifyReplicationTask.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String PostgreSQLSettings_SlotName { get; set; }
#endregion
#region Parameter OracleSettings_SpatialDataOptionToGeoJsonFunctionName
///
///
/// Use this attribute to convert SDO_GEOMETRY
to GEOJSON
format.
/// By default, DMS calls the SDO2GEOJSON
custom function if present and
/// accessible. Or you can create your own custom function that mimics the operation of
/// SDOGEOJSON
and set SpatialDataOptionToGeoJsonFunctionName
/// to call it instead.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String OracleSettings_SpatialDataOptionToGeoJsonFunctionName { get; set; }
#endregion
#region Parameter KafkaSettings_SslCaCertificateArn
///
///
/// The Amazon Resource Name (ARN) for the private certificate authority (CA) cert that
/// DMS uses to securely connect to your Kafka target endpoint.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String KafkaSettings_SslCaCertificateArn { get; set; }
#endregion
#region Parameter RedisSettings_SslCaCertificateArn
///
///
/// The Amazon Resource Name (ARN) for the certificate authority (CA) that DMS uses to
/// connect to your Redis target endpoint.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String RedisSettings_SslCaCertificateArn { get; set; }
#endregion
#region Parameter KafkaSettings_SslClientCertificateArn
///
///
/// The Amazon Resource Name (ARN) of the client certificate used to securely connect
/// to a Kafka target endpoint.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String KafkaSettings_SslClientCertificateArn { get; set; }
#endregion
#region Parameter KafkaSettings_SslClientKeyArn
///
///
/// The Amazon Resource Name (ARN) for the client private key used to securely connect
/// to a Kafka target endpoint.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String KafkaSettings_SslClientKeyArn { get; set; }
#endregion
#region Parameter KafkaSettings_SslClientKeyPassword
///
///
/// The password for the client private key used to securely connect to a Kafka target
/// endpoint.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String KafkaSettings_SslClientKeyPassword { get; set; }
#endregion
#region Parameter KafkaSettings_SslEndpointIdentificationAlgorithm
///
///
/// Sets hostname verification for the certificate. This setting is supported in DMS version
/// 3.5.1 and later.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[AWSConstantClassSource("Amazon.DatabaseMigrationService.KafkaSslEndpointIdentificationAlgorithm")]
public Amazon.DatabaseMigrationService.KafkaSslEndpointIdentificationAlgorithm KafkaSettings_SslEndpointIdentificationAlgorithm { get; set; }
#endregion
#region Parameter SslMode
///
///
/// The SSL mode used to connect to the endpoint. The default value is none
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[AWSConstantClassSource("Amazon.DatabaseMigrationService.DmsSslModeValue")]
public Amazon.DatabaseMigrationService.DmsSslModeValue SslMode { get; set; }
#endregion
#region Parameter RedisSettings_SslSecurityProtocol
///
///
/// The connection to a Redis target endpoint using Transport Layer Security (TLS). Valid
/// values include plaintext
and ssl-encryption
. The default
/// is ssl-encryption
. The ssl-encryption
option makes an encrypted
/// connection. Optionally, you can identify an Amazon Resource Name (ARN) for an SSL
/// certificate authority (CA) using the SslCaCertificateArn
setting. If
/// an ARN isn't given for a CA, DMS uses the Amazon root CA.The plaintext
option doesn't provide Transport Layer Security (TLS) encryption
/// for traffic between endpoint and database.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[AWSConstantClassSource("Amazon.DatabaseMigrationService.SslSecurityProtocolValue")]
public Amazon.DatabaseMigrationService.SslSecurityProtocolValue RedisSettings_SslSecurityProtocol { get; set; }
#endregion
#region Parameter OracleSettings_StandbyDelayTime
///
///
/// Use this attribute to specify a time in minutes for the delay in standby sync. If
/// the source is an Oracle Active Data Guard standby database, use this attribute to
/// specify the time lag between primary and standby databases.In DMS, you can create an Oracle CDC task that uses an Active Data Guard standby instance
/// as a source for replicating ongoing changes. Doing this eliminates the need to connect
/// to an active database that might be in production.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? OracleSettings_StandbyDelayTime { get; set; }
#endregion
#region Parameter KinesisSettings_StreamArn
///
///
/// The Amazon Resource Name (ARN) for the Amazon Kinesis Data Streams endpoint.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String KinesisSettings_StreamArn { get; set; }
#endregion
#region Parameter GcpMySQLSettings_TargetDbType
///
///
/// Specifies where to migrate source tables on the target, either to a single database
/// or multiple databases.Example: targetDbType=MULTIPLE_DATABASES
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[AWSConstantClassSource("Amazon.DatabaseMigrationService.TargetDbType")]
public Amazon.DatabaseMigrationService.TargetDbType GcpMySQLSettings_TargetDbType { get; set; }
#endregion
#region Parameter MySQLSettings_TargetDbType
///
///
/// Specifies where to migrate source tables on the target, either to a single database
/// or multiple databases. If you specify SPECIFIC_DATABASE
, specify the
/// database name using the DatabaseName
parameter of the Endpoint
/// object.Example: targetDbType=MULTIPLE_DATABASES
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[AWSConstantClassSource("Amazon.DatabaseMigrationService.TargetDbType")]
public Amazon.DatabaseMigrationService.TargetDbType MySQLSettings_TargetDbType { get; set; }
#endregion
#region Parameter RedshiftSettings_TimeFormat
///
///
/// The time format that you want to use. Valid values are auto
(case-sensitive),
/// 'timeformat_string'
, 'epochsecs'
, or 'epochmillisecs'
.
/// It defaults to 10. Using auto
recognizes most strings, even some that
/// aren't supported when you use a time format string. If your date and time values use formats different from each other, set this parameter
/// to auto
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String RedshiftSettings_TimeFormat { get; set; }
#endregion
#region Parameter S3Settings_TimestampColumnName
///
///
/// A value that when nonblank causes DMS to add a column with timestamp information to
/// the endpoint data for an Amazon S3 target.DMS supports the TimestampColumnName
parameter in versions 3.1.4 and
/// later.DMS includes an additional STRING
column in the .csv or .parquet object
/// files of your migrated data when you set TimestampColumnName
to a nonblank
/// value.For a full load, each row of this timestamp column contains a timestamp for when the
/// data was transferred from the source to the target by DMS. For a change data capture (CDC) load, each row of the timestamp column contains the
/// timestamp for the commit of that row in the source database.The string format for this timestamp column value is yyyy-MM-dd HH:mm:ss.SSSSSS
.
/// By default, the precision of this value is in microseconds. For a CDC load, the rounding
/// of the precision depends on the commit timestamp supported by DMS for the source database.When the AddColumnName
parameter is set to true
, DMS also
/// includes a name for the timestamp column that you set with TimestampColumnName
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String S3Settings_TimestampColumnName { get; set; }
#endregion
#region Parameter MicrosoftSQLServerSettings_TlogAccessMode
///
///
/// Indicates the mode used to fetch CDC data.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[AWSConstantClassSource("Amazon.DatabaseMigrationService.TlogAccessMode")]
public Amazon.DatabaseMigrationService.TlogAccessMode MicrosoftSQLServerSettings_TlogAccessMode { get; set; }
#endregion
#region Parameter KafkaSettings_Topic
///
///
/// The topic to which you migrate the data. If you don't specify a topic, DMS specifies
/// "kafka-default-topic"
as the migration topic.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String KafkaSettings_Topic { get; set; }
#endregion
#region Parameter RedshiftSettings_TrimBlank
///
///
/// A value that specifies to remove the trailing white space characters from a VARCHAR
/// string. This parameter applies only to columns with a VARCHAR data type. Choose true
/// to remove unneeded white space. The default is false
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[Alias("RedshiftSettings_TrimBlanks")]
public System.Boolean? RedshiftSettings_TrimBlank { get; set; }
#endregion
#region Parameter MicrosoftSQLServerSettings_TrimSpaceInChar
///
///
/// Use the TrimSpaceInChar
source endpoint setting to trim data on CHAR
/// and NCHAR data types during migration. The default value is true
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? MicrosoftSQLServerSettings_TrimSpaceInChar { get; set; }
#endregion
#region Parameter OracleSettings_TrimSpaceInChar
///
///
/// Use the TrimSpaceInChar
source endpoint setting to trim data on CHAR
/// and NCHAR data types during migration. The default value is true
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? OracleSettings_TrimSpaceInChar { get; set; }
#endregion
#region Parameter PostgreSQLSettings_TrimSpaceInChar
///
///
/// Use the TrimSpaceInChar
source endpoint setting to trim data on CHAR
/// and NCHAR data types during migration. The default value is true
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? PostgreSQLSettings_TrimSpaceInChar { get; set; }
#endregion
#region Parameter RedshiftSettings_TruncateColumn
///
///
/// A value that specifies to truncate data in columns to the appropriate number of characters,
/// so that the data fits in the column. This parameter applies only to columns with a
/// VARCHAR or CHAR data type, and rows with a size of 4 MB or less. Choose true
/// to truncate data. The default is false
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[Alias("RedshiftSettings_TruncateColumns")]
public System.Boolean? RedshiftSettings_TruncateColumn { get; set; }
#endregion
#region Parameter OracleSettings_UseAlternateFolderForOnline
///
///
/// Set this attribute to true
in order to use the Binary Reader to capture
/// change data for an Amazon RDS for Oracle as the source. This tells the DMS instance
/// to use any specified prefix replacement to access all online redo logs.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? OracleSettings_UseAlternateFolderForOnline { get; set; }
#endregion
#region Parameter MicrosoftSQLServerSettings_UseBcpFullLoad
///
///
/// Use this to attribute to transfer data for full-load operations using BCP. When the
/// target table contains an identity column that does not exist in the source table,
/// you must disable the use BCP for loading table option.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? MicrosoftSQLServerSettings_UseBcpFullLoad { get; set; }
#endregion
#region Parameter OracleSettings_UseBFile
///
///
/// Set this attribute to Y to capture change data using the Binary Reader utility. Set
/// UseLogminerReader
to N to set this attribute to Y. To use Binary Reader
/// with Amazon RDS for Oracle as the source, you set additional attributes. For more
/// information about using this setting with Oracle Automatic Storage Management (ASM),
/// see
/// Using Oracle LogMiner or DMS Binary Reader for CDC.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? OracleSettings_UseBFile { get; set; }
#endregion
#region Parameter S3Settings_UseCsvNoSupValue
///
///
/// This setting applies if the S3 output files during a change data capture (CDC) load
/// are written in .csv format. If set to true
for columns not included in
/// the supplemental log, DMS uses the value specified by CsvNoSupValue
. If not set or set to false
, DMS uses
/// the null value for these columns.This setting is supported in DMS versions 3.4.1 and later.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? S3Settings_UseCsvNoSupValue { get; set; }
#endregion
#region Parameter OracleSettings_UseDirectPathFullLoad
///
///
/// Set this attribute to Y to have DMS use a direct path full load. Specify this value
/// to use the direct path protocol in the Oracle Call Interface (OCI). By using this
/// OCI protocol, you can bulk-load Oracle target tables during a full load.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? OracleSettings_UseDirectPathFullLoad { get; set; }
#endregion
#region Parameter OracleSettings_UseLogminerReader
///
///
/// Set this attribute to Y to capture change data using the Oracle LogMiner utility (the
/// default). Set this attribute to N if you want to access the redo logs as a binary
/// file. When you set UseLogminerReader
to N, also set UseBfile
/// to Y. For more information on this setting and using Oracle ASM, see
/// Using Oracle LogMiner or DMS Binary Reader for CDC in the DMS User Guide.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? OracleSettings_UseLogminerReader { get; set; }
#endregion
#region Parameter ElasticsearchSettings_UseNewMappingType
///
///
/// Set this option to true
for DMS to migrate documentation using the documentation
/// type _doc
. OpenSearch and an Elasticsearch cluster only support the _doc
/// documentation type in versions 7. x and later. The default value is false
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? ElasticsearchSettings_UseNewMappingType { get; set; }
#endregion
#region Parameter OracleSettings_UsePathPrefix
///
///
/// Set this string attribute to the required value in order to use the Binary Reader
/// to capture change data for an Amazon RDS for Oracle as the source. This value specifies
/// the path prefix used to replace the default Oracle root to access the redo logs.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String OracleSettings_UsePathPrefix { get; set; }
#endregion
#region Parameter DocDbSettings_Username
///
///
/// The user name you use to access the DocumentDB source endpoint.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String DocDbSettings_Username { get; set; }
#endregion
#region Parameter GcpMySQLSettings_Username
///
///
/// Endpoint connection user name.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String GcpMySQLSettings_Username { get; set; }
#endregion
#region Parameter IBMDb2Settings_Username
///
///
/// Endpoint connection user name.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String IBMDb2Settings_Username { get; set; }
#endregion
#region Parameter MicrosoftSQLServerSettings_Username
///
///
/// Endpoint connection user name.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String MicrosoftSQLServerSettings_Username { get; set; }
#endregion
#region Parameter MongoDbSettings_Username
///
///
/// The user name you use to access the MongoDB source endpoint.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String MongoDbSettings_Username { get; set; }
#endregion
#region Parameter MySQLSettings_Username
///
///
/// Endpoint connection user name.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String MySQLSettings_Username { get; set; }
#endregion
#region Parameter OracleSettings_Username
///
///
/// Endpoint connection user name.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String OracleSettings_Username { get; set; }
#endregion
#region Parameter PostgreSQLSettings_Username
///
///
/// Endpoint connection user name.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String PostgreSQLSettings_Username { get; set; }
#endregion
#region Parameter RedshiftSettings_Username
///
///
/// An Amazon Redshift user name for a registered user.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String RedshiftSettings_Username { get; set; }
#endregion
#region Parameter SybaseSettings_Username
///
///
/// Endpoint connection user name.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String SybaseSettings_Username { get; set; }
#endregion
#region Parameter Username
///
///
/// The user name to be used to login to the endpoint database.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.String Username { get; set; }
#endregion
#region Parameter S3Settings_UseTaskStartTimeForFullLoadTimestamp
///
///
/// When set to true, this parameter uses the task start time as the timestamp column
/// value instead of the time data is written to target. For full load, when useTaskStartTimeForFullLoadTimestamp
/// is set to true
, each row of the timestamp column contains the task start
/// time. For CDC loads, each row of the timestamp column contains the transaction commit
/// time.When useTaskStartTimeForFullLoadTimestamp
is set to false
,
/// the full load timestamp in the timestamp column increments with the time data arrives
/// at the target.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? S3Settings_UseTaskStartTimeForFullLoadTimestamp { get; set; }
#endregion
#region Parameter MicrosoftSQLServerSettings_UseThirdPartyBackupDevice
///
///
/// When this attribute is set to Y
, DMS processes third-party transaction
/// log backups if they are created in native format.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? MicrosoftSQLServerSettings_UseThirdPartyBackupDevice { get; set; }
#endregion
#region Parameter DocDbSettings_UseUpdateLookUp
///
///
/// If true
, DMS retrieves the entire document from the DocumentDB source
/// during migration. This may cause a migration failure if the server response exceeds
/// bandwidth limits. To fetch only updates and deletes during migration, set this parameter
/// to false
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? DocDbSettings_UseUpdateLookUp { get; set; }
#endregion
#region Parameter MongoDbSettings_UseUpdateLookUp
///
///
/// If true
, DMS retrieves the entire document from the MongoDB source during
/// migration. This may cause a migration failure if the server response exceeds bandwidth
/// limits. To fetch only updates and deletes during migration, set this parameter to
/// false
.
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? MongoDbSettings_UseUpdateLookUp { get; set; }
#endregion
#region Parameter RedshiftSettings_WriteBufferSize
///
///
/// The size (in KB) of the in-memory file write buffer used when generating .csv files
/// on the local disk at the DMS replication instance. The default value is 1000 (buffer
/// size is 1000KB).
///
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Int32? RedshiftSettings_WriteBufferSize { get; set; }
#endregion
#region Parameter Select
///
/// Use the -Select parameter to control the cmdlet output. The default value is 'Endpoint'.
/// Specifying -Select '*' will result in the cmdlet returning the whole service response (Amazon.DatabaseMigrationService.Model.ModifyEndpointResponse).
/// Specifying the name of a property of type Amazon.DatabaseMigrationService.Model.ModifyEndpointResponse will result in that property being returned.
/// Specifying -Select '^ParameterName' will result in the cmdlet returning the selected cmdlet parameter value.
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public string Select { get; set; } = "Endpoint";
#endregion
#region Parameter PassThru
///
/// Changes the cmdlet behavior to return the value passed to the EndpointArn parameter.
/// The -PassThru parameter is deprecated, use -Select '^EndpointArn' instead. This parameter will be removed in a future version.
///
[System.Obsolete("The -PassThru parameter is deprecated, use -Select '^EndpointArn' instead. This parameter will be removed in a future version.")]
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public SwitchParameter PassThru { get; set; }
#endregion
#region Parameter Force
///
/// This parameter overrides confirmation prompts to force
/// the cmdlet to continue its operation. This parameter should always
/// be used with caution.
///
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public SwitchParameter Force { get; set; }
#endregion
protected override void ProcessRecord()
{
this._AWSSignerType = "v4";
base.ProcessRecord();
var resourceIdentifiersText = FormatParameterValuesForConfirmationMsg(nameof(this.EndpointArn), MyInvocation.BoundParameters);
if (!ConfirmShouldProceed(this.Force.IsPresent, resourceIdentifiersText, "Edit-DMSEndpoint (ModifyEndpoint)"))
{
return;
}
var context = new CmdletContext();
// allow for manipulation of parameters prior to loading into context
PreExecutionContextLoad(context);
#pragma warning disable CS0618, CS0612 //A class member was marked with the Obsolete attribute
if (ParameterWasBound(nameof(this.Select)))
{
context.Select = CreateSelectDelegate(Select) ??
throw new System.ArgumentException("Invalid value for -Select parameter.", nameof(this.Select));
if (this.PassThru.IsPresent)
{
throw new System.ArgumentException("-PassThru cannot be used when -Select is specified.", nameof(this.Select));
}
}
else if (this.PassThru.IsPresent)
{
context.Select = (response, cmdlet) => this.EndpointArn;
}
#pragma warning restore CS0618, CS0612 //A class member was marked with the Obsolete attribute
context.CertificateArn = this.CertificateArn;
context.DatabaseName = this.DatabaseName;
context.DmsTransferSettings_BucketName = this.DmsTransferSettings_BucketName;
context.DmsTransferSettings_ServiceAccessRoleArn = this.DmsTransferSettings_ServiceAccessRoleArn;
context.DocDbSettings_DatabaseName = this.DocDbSettings_DatabaseName;
context.DocDbSettings_DocsToInvestigate = this.DocDbSettings_DocsToInvestigate;
context.DocDbSettings_ExtractDocId = this.DocDbSettings_ExtractDocId;
context.DocDbSettings_KmsKeyId = this.DocDbSettings_KmsKeyId;
context.DocDbSettings_NestingLevel = this.DocDbSettings_NestingLevel;
context.DocDbSettings_Password = this.DocDbSettings_Password;
context.DocDbSettings_Port = this.DocDbSettings_Port;
context.DocDbSettings_ReplicateShardCollection = this.DocDbSettings_ReplicateShardCollection;
context.DocDbSettings_SecretsManagerAccessRoleArn = this.DocDbSettings_SecretsManagerAccessRoleArn;
context.DocDbSettings_SecretsManagerSecretId = this.DocDbSettings_SecretsManagerSecretId;
context.DocDbSettings_ServerName = this.DocDbSettings_ServerName;
context.DocDbSettings_Username = this.DocDbSettings_Username;
context.DocDbSettings_UseUpdateLookUp = this.DocDbSettings_UseUpdateLookUp;
context.DynamoDbSettings_ServiceAccessRoleArn = this.DynamoDbSettings_ServiceAccessRoleArn;
context.ElasticsearchSettings_EndpointUri = this.ElasticsearchSettings_EndpointUri;
context.ElasticsearchSettings_ErrorRetryDuration = this.ElasticsearchSettings_ErrorRetryDuration;
context.ElasticsearchSettings_FullLoadErrorPercentage = this.ElasticsearchSettings_FullLoadErrorPercentage;
context.ElasticsearchSettings_ServiceAccessRoleArn = this.ElasticsearchSettings_ServiceAccessRoleArn;
context.ElasticsearchSettings_UseNewMappingType = this.ElasticsearchSettings_UseNewMappingType;
context.EndpointArn = this.EndpointArn;
#if MODULAR
if (this.EndpointArn == null && ParameterWasBound(nameof(this.EndpointArn)))
{
WriteWarning("You are passing $null as a value for parameter EndpointArn which is marked as required. In case you believe this parameter was incorrectly marked as required, report this by opening an issue at https://github.com/aws/aws-tools-for-powershell/issues.");
}
#endif
context.EndpointIdentifier = this.EndpointIdentifier;
context.EndpointType = this.EndpointType;
context.EngineName = this.EngineName;
context.ExactSetting = this.ExactSetting;
context.ExternalTableDefinition = this.ExternalTableDefinition;
context.ExtraConnectionAttribute = this.ExtraConnectionAttribute;
context.GcpMySQLSettings_AfterConnectScript = this.GcpMySQLSettings_AfterConnectScript;
context.GcpMySQLSettings_CleanSourceMetadataOnMismatch = this.GcpMySQLSettings_CleanSourceMetadataOnMismatch;
context.GcpMySQLSettings_DatabaseName = this.GcpMySQLSettings_DatabaseName;
context.GcpMySQLSettings_EventsPollInterval = this.GcpMySQLSettings_EventsPollInterval;
context.GcpMySQLSettings_MaxFileSize = this.GcpMySQLSettings_MaxFileSize;
context.GcpMySQLSettings_ParallelLoadThread = this.GcpMySQLSettings_ParallelLoadThread;
context.GcpMySQLSettings_Password = this.GcpMySQLSettings_Password;
context.GcpMySQLSettings_Port = this.GcpMySQLSettings_Port;
context.GcpMySQLSettings_SecretsManagerAccessRoleArn = this.GcpMySQLSettings_SecretsManagerAccessRoleArn;
context.GcpMySQLSettings_SecretsManagerSecretId = this.GcpMySQLSettings_SecretsManagerSecretId;
context.GcpMySQLSettings_ServerName = this.GcpMySQLSettings_ServerName;
context.GcpMySQLSettings_ServerTimezone = this.GcpMySQLSettings_ServerTimezone;
context.GcpMySQLSettings_TargetDbType = this.GcpMySQLSettings_TargetDbType;
context.GcpMySQLSettings_Username = this.GcpMySQLSettings_Username;
context.IBMDb2Settings_CurrentLsn = this.IBMDb2Settings_CurrentLsn;
context.IBMDb2Settings_DatabaseName = this.IBMDb2Settings_DatabaseName;
context.IBMDb2Settings_MaxKBytesPerRead = this.IBMDb2Settings_MaxKBytesPerRead;
context.IBMDb2Settings_Password = this.IBMDb2Settings_Password;
context.IBMDb2Settings_Port = this.IBMDb2Settings_Port;
context.IBMDb2Settings_SecretsManagerAccessRoleArn = this.IBMDb2Settings_SecretsManagerAccessRoleArn;
context.IBMDb2Settings_SecretsManagerSecretId = this.IBMDb2Settings_SecretsManagerSecretId;
context.IBMDb2Settings_ServerName = this.IBMDb2Settings_ServerName;
context.IBMDb2Settings_SetDataCaptureChange = this.IBMDb2Settings_SetDataCaptureChange;
context.IBMDb2Settings_Username = this.IBMDb2Settings_Username;
context.KafkaSettings_Broker = this.KafkaSettings_Broker;
context.KafkaSettings_IncludeControlDetail = this.KafkaSettings_IncludeControlDetail;
context.KafkaSettings_IncludeNullAndEmpty = this.KafkaSettings_IncludeNullAndEmpty;
context.KafkaSettings_IncludePartitionValue = this.KafkaSettings_IncludePartitionValue;
context.KafkaSettings_IncludeTableAlterOperation = this.KafkaSettings_IncludeTableAlterOperation;
context.KafkaSettings_IncludeTransactionDetail = this.KafkaSettings_IncludeTransactionDetail;
context.KafkaSettings_MessageFormat = this.KafkaSettings_MessageFormat;
context.KafkaSettings_MessageMaxByte = this.KafkaSettings_MessageMaxByte;
context.KafkaSettings_NoHexPrefix = this.KafkaSettings_NoHexPrefix;
context.KafkaSettings_PartitionIncludeSchemaTable = this.KafkaSettings_PartitionIncludeSchemaTable;
context.KafkaSettings_SaslMechanism = this.KafkaSettings_SaslMechanism;
context.KafkaSettings_SaslPassword = this.KafkaSettings_SaslPassword;
context.KafkaSettings_SaslUsername = this.KafkaSettings_SaslUsername;
context.KafkaSettings_SecurityProtocol = this.KafkaSettings_SecurityProtocol;
context.KafkaSettings_SslCaCertificateArn = this.KafkaSettings_SslCaCertificateArn;
context.KafkaSettings_SslClientCertificateArn = this.KafkaSettings_SslClientCertificateArn;
context.KafkaSettings_SslClientKeyArn = this.KafkaSettings_SslClientKeyArn;
context.KafkaSettings_SslClientKeyPassword = this.KafkaSettings_SslClientKeyPassword;
context.KafkaSettings_SslEndpointIdentificationAlgorithm = this.KafkaSettings_SslEndpointIdentificationAlgorithm;
context.KafkaSettings_Topic = this.KafkaSettings_Topic;
context.KinesisSettings_IncludeControlDetail = this.KinesisSettings_IncludeControlDetail;
context.KinesisSettings_IncludeNullAndEmpty = this.KinesisSettings_IncludeNullAndEmpty;
context.KinesisSettings_IncludePartitionValue = this.KinesisSettings_IncludePartitionValue;
context.KinesisSettings_IncludeTableAlterOperation = this.KinesisSettings_IncludeTableAlterOperation;
context.KinesisSettings_IncludeTransactionDetail = this.KinesisSettings_IncludeTransactionDetail;
context.KinesisSettings_MessageFormat = this.KinesisSettings_MessageFormat;
context.KinesisSettings_NoHexPrefix = this.KinesisSettings_NoHexPrefix;
context.KinesisSettings_PartitionIncludeSchemaTable = this.KinesisSettings_PartitionIncludeSchemaTable;
context.KinesisSettings_ServiceAccessRoleArn = this.KinesisSettings_ServiceAccessRoleArn;
context.KinesisSettings_StreamArn = this.KinesisSettings_StreamArn;
context.MicrosoftSQLServerSettings_BcpPacketSize = this.MicrosoftSQLServerSettings_BcpPacketSize;
context.MicrosoftSQLServerSettings_ControlTablesFileGroup = this.MicrosoftSQLServerSettings_ControlTablesFileGroup;
context.MicrosoftSQLServerSettings_DatabaseName = this.MicrosoftSQLServerSettings_DatabaseName;
context.MicrosoftSQLServerSettings_ForceLobLookup = this.MicrosoftSQLServerSettings_ForceLobLookup;
context.MicrosoftSQLServerSettings_Password = this.MicrosoftSQLServerSettings_Password;
context.MicrosoftSQLServerSettings_Port = this.MicrosoftSQLServerSettings_Port;
context.MicrosoftSQLServerSettings_QuerySingleAlwaysOnNode = this.MicrosoftSQLServerSettings_QuerySingleAlwaysOnNode;
context.MicrosoftSQLServerSettings_ReadBackupOnly = this.MicrosoftSQLServerSettings_ReadBackupOnly;
context.MicrosoftSQLServerSettings_SafeguardPolicy = this.MicrosoftSQLServerSettings_SafeguardPolicy;
context.MicrosoftSQLServerSettings_SecretsManagerAccessRoleArn = this.MicrosoftSQLServerSettings_SecretsManagerAccessRoleArn;
context.MicrosoftSQLServerSettings_SecretsManagerSecretId = this.MicrosoftSQLServerSettings_SecretsManagerSecretId;
context.MicrosoftSQLServerSettings_ServerName = this.MicrosoftSQLServerSettings_ServerName;
context.MicrosoftSQLServerSettings_TlogAccessMode = this.MicrosoftSQLServerSettings_TlogAccessMode;
context.MicrosoftSQLServerSettings_TrimSpaceInChar = this.MicrosoftSQLServerSettings_TrimSpaceInChar;
context.MicrosoftSQLServerSettings_UseBcpFullLoad = this.MicrosoftSQLServerSettings_UseBcpFullLoad;
context.MicrosoftSQLServerSettings_Username = this.MicrosoftSQLServerSettings_Username;
context.MicrosoftSQLServerSettings_UseThirdPartyBackupDevice = this.MicrosoftSQLServerSettings_UseThirdPartyBackupDevice;
context.MongoDbSettings_AuthMechanism = this.MongoDbSettings_AuthMechanism;
context.MongoDbSettings_AuthSource = this.MongoDbSettings_AuthSource;
context.MongoDbSettings_AuthType = this.MongoDbSettings_AuthType;
context.MongoDbSettings_DatabaseName = this.MongoDbSettings_DatabaseName;
context.MongoDbSettings_DocsToInvestigate = this.MongoDbSettings_DocsToInvestigate;
context.MongoDbSettings_ExtractDocId = this.MongoDbSettings_ExtractDocId;
context.MongoDbSettings_KmsKeyId = this.MongoDbSettings_KmsKeyId;
context.MongoDbSettings_NestingLevel = this.MongoDbSettings_NestingLevel;
context.MongoDbSettings_Password = this.MongoDbSettings_Password;
context.MongoDbSettings_Port = this.MongoDbSettings_Port;
context.MongoDbSettings_ReplicateShardCollection = this.MongoDbSettings_ReplicateShardCollection;
context.MongoDbSettings_SecretsManagerAccessRoleArn = this.MongoDbSettings_SecretsManagerAccessRoleArn;
context.MongoDbSettings_SecretsManagerSecretId = this.MongoDbSettings_SecretsManagerSecretId;
context.MongoDbSettings_ServerName = this.MongoDbSettings_ServerName;
context.MongoDbSettings_Username = this.MongoDbSettings_Username;
context.MongoDbSettings_UseUpdateLookUp = this.MongoDbSettings_UseUpdateLookUp;
context.MySQLSettings_AfterConnectScript = this.MySQLSettings_AfterConnectScript;
context.MySQLSettings_CleanSourceMetadataOnMismatch = this.MySQLSettings_CleanSourceMetadataOnMismatch;
context.MySQLSettings_DatabaseName = this.MySQLSettings_DatabaseName;
context.MySQLSettings_EventsPollInterval = this.MySQLSettings_EventsPollInterval;
context.MySQLSettings_MaxFileSize = this.MySQLSettings_MaxFileSize;
context.MySQLSettings_ParallelLoadThread = this.MySQLSettings_ParallelLoadThread;
context.MySQLSettings_Password = this.MySQLSettings_Password;
context.MySQLSettings_Port = this.MySQLSettings_Port;
context.MySQLSettings_SecretsManagerAccessRoleArn = this.MySQLSettings_SecretsManagerAccessRoleArn;
context.MySQLSettings_SecretsManagerSecretId = this.MySQLSettings_SecretsManagerSecretId;
context.MySQLSettings_ServerName = this.MySQLSettings_ServerName;
context.MySQLSettings_ServerTimezone = this.MySQLSettings_ServerTimezone;
context.MySQLSettings_TargetDbType = this.MySQLSettings_TargetDbType;
context.MySQLSettings_Username = this.MySQLSettings_Username;
context.NeptuneSettings_ErrorRetryDuration = this.NeptuneSettings_ErrorRetryDuration;
context.NeptuneSettings_IamAuthEnabled = this.NeptuneSettings_IamAuthEnabled;
context.NeptuneSettings_MaxFileSize = this.NeptuneSettings_MaxFileSize;
context.NeptuneSettings_MaxRetryCount = this.NeptuneSettings_MaxRetryCount;
context.NeptuneSettings_S3BucketFolder = this.NeptuneSettings_S3BucketFolder;
context.NeptuneSettings_S3BucketName = this.NeptuneSettings_S3BucketName;
context.NeptuneSettings_ServiceAccessRoleArn = this.NeptuneSettings_ServiceAccessRoleArn;
context.OracleSettings_AccessAlternateDirectly = this.OracleSettings_AccessAlternateDirectly;
context.OracleSettings_AdditionalArchivedLogDestId = this.OracleSettings_AdditionalArchivedLogDestId;
context.OracleSettings_AddSupplementalLogging = this.OracleSettings_AddSupplementalLogging;
context.OracleSettings_AllowSelectNestedTable = this.OracleSettings_AllowSelectNestedTable;
context.OracleSettings_ArchivedLogDestId = this.OracleSettings_ArchivedLogDestId;
context.OracleSettings_ArchivedLogsOnly = this.OracleSettings_ArchivedLogsOnly;
context.OracleSettings_AsmPassword = this.OracleSettings_AsmPassword;
context.OracleSettings_AsmServer = this.OracleSettings_AsmServer;
context.OracleSettings_AsmUser = this.OracleSettings_AsmUser;
context.OracleSettings_CharLengthSemantic = this.OracleSettings_CharLengthSemantic;
context.OracleSettings_ConvertTimestampWithZoneToUTC = this.OracleSettings_ConvertTimestampWithZoneToUTC;
context.OracleSettings_DatabaseName = this.OracleSettings_DatabaseName;
context.OracleSettings_DirectPathNoLog = this.OracleSettings_DirectPathNoLog;
context.OracleSettings_DirectPathParallelLoad = this.OracleSettings_DirectPathParallelLoad;
context.OracleSettings_EnableHomogenousTablespace = this.OracleSettings_EnableHomogenousTablespace;
if (this.OracleSettings_ExtraArchivedLogDestId != null)
{
context.OracleSettings_ExtraArchivedLogDestId = new List(this.OracleSettings_ExtraArchivedLogDestId);
}
context.OracleSettings_FailTasksOnLobTruncation = this.OracleSettings_FailTasksOnLobTruncation;
context.OracleSettings_NumberDatatypeScale = this.OracleSettings_NumberDatatypeScale;
context.OracleSettings_OpenTransactionWindow = this.OracleSettings_OpenTransactionWindow;
context.OracleSettings_OraclePathPrefix = this.OracleSettings_OraclePathPrefix;
context.OracleSettings_ParallelAsmReadThread = this.OracleSettings_ParallelAsmReadThread;
context.OracleSettings_Password = this.OracleSettings_Password;
context.OracleSettings_Port = this.OracleSettings_Port;
context.OracleSettings_ReadAheadBlock = this.OracleSettings_ReadAheadBlock;
context.OracleSettings_ReadTableSpaceName = this.OracleSettings_ReadTableSpaceName;
context.OracleSettings_ReplacePathPrefix = this.OracleSettings_ReplacePathPrefix;
context.OracleSettings_RetryInterval = this.OracleSettings_RetryInterval;
context.OracleSettings_SecretsManagerAccessRoleArn = this.OracleSettings_SecretsManagerAccessRoleArn;
context.OracleSettings_SecretsManagerOracleAsmAccessRoleArn = this.OracleSettings_SecretsManagerOracleAsmAccessRoleArn;
context.OracleSettings_SecretsManagerOracleAsmSecretId = this.OracleSettings_SecretsManagerOracleAsmSecretId;
context.OracleSettings_SecretsManagerSecretId = this.OracleSettings_SecretsManagerSecretId;
context.OracleSettings_SecurityDbEncryption = this.OracleSettings_SecurityDbEncryption;
context.OracleSettings_SecurityDbEncryptionName = this.OracleSettings_SecurityDbEncryptionName;
context.OracleSettings_ServerName = this.OracleSettings_ServerName;
context.OracleSettings_SpatialDataOptionToGeoJsonFunctionName = this.OracleSettings_SpatialDataOptionToGeoJsonFunctionName;
context.OracleSettings_StandbyDelayTime = this.OracleSettings_StandbyDelayTime;
context.OracleSettings_TrimSpaceInChar = this.OracleSettings_TrimSpaceInChar;
context.OracleSettings_UseAlternateFolderForOnline = this.OracleSettings_UseAlternateFolderForOnline;
context.OracleSettings_UseBFile = this.OracleSettings_UseBFile;
context.OracleSettings_UseDirectPathFullLoad = this.OracleSettings_UseDirectPathFullLoad;
context.OracleSettings_UseLogminerReader = this.OracleSettings_UseLogminerReader;
context.OracleSettings_UsePathPrefix = this.OracleSettings_UsePathPrefix;
context.OracleSettings_Username = this.OracleSettings_Username;
context.Password = this.Password;
context.Port = this.Port;
context.PostgreSQLSettings_AfterConnectScript = this.PostgreSQLSettings_AfterConnectScript;
context.PostgreSQLSettings_BabelfishDatabaseName = this.PostgreSQLSettings_BabelfishDatabaseName;
context.PostgreSQLSettings_CaptureDdl = this.PostgreSQLSettings_CaptureDdl;
context.PostgreSQLSettings_DatabaseMode = this.PostgreSQLSettings_DatabaseMode;
context.PostgreSQLSettings_DatabaseName = this.PostgreSQLSettings_DatabaseName;
context.PostgreSQLSettings_DdlArtifactsSchema = this.PostgreSQLSettings_DdlArtifactsSchema;
context.PostgreSQLSettings_ExecuteTimeout = this.PostgreSQLSettings_ExecuteTimeout;
context.PostgreSQLSettings_FailTasksOnLobTruncation = this.PostgreSQLSettings_FailTasksOnLobTruncation;
context.PostgreSQLSettings_HeartbeatEnable = this.PostgreSQLSettings_HeartbeatEnable;
context.PostgreSQLSettings_HeartbeatFrequency = this.PostgreSQLSettings_HeartbeatFrequency;
context.PostgreSQLSettings_HeartbeatSchema = this.PostgreSQLSettings_HeartbeatSchema;
context.PostgreSQLSettings_MapBooleanAsBoolean = this.PostgreSQLSettings_MapBooleanAsBoolean;
context.PostgreSQLSettings_MapJsonbAsClob = this.PostgreSQLSettings_MapJsonbAsClob;
context.PostgreSQLSettings_MapLongVarcharAs = this.PostgreSQLSettings_MapLongVarcharAs;
context.PostgreSQLSettings_MaxFileSize = this.PostgreSQLSettings_MaxFileSize;
context.PostgreSQLSettings_Password = this.PostgreSQLSettings_Password;
context.PostgreSQLSettings_PluginName = this.PostgreSQLSettings_PluginName;
context.PostgreSQLSettings_Port = this.PostgreSQLSettings_Port;
context.PostgreSQLSettings_SecretsManagerAccessRoleArn = this.PostgreSQLSettings_SecretsManagerAccessRoleArn;
context.PostgreSQLSettings_SecretsManagerSecretId = this.PostgreSQLSettings_SecretsManagerSecretId;
context.PostgreSQLSettings_ServerName = this.PostgreSQLSettings_ServerName;
context.PostgreSQLSettings_SlotName = this.PostgreSQLSettings_SlotName;
context.PostgreSQLSettings_TrimSpaceInChar = this.PostgreSQLSettings_TrimSpaceInChar;
context.PostgreSQLSettings_Username = this.PostgreSQLSettings_Username;
context.RedisSettings_AuthPassword = this.RedisSettings_AuthPassword;
context.RedisSettings_AuthType = this.RedisSettings_AuthType;
context.RedisSettings_AuthUserName = this.RedisSettings_AuthUserName;
context.RedisSettings_Port = this.RedisSettings_Port;
context.RedisSettings_ServerName = this.RedisSettings_ServerName;
context.RedisSettings_SslCaCertificateArn = this.RedisSettings_SslCaCertificateArn;
context.RedisSettings_SslSecurityProtocol = this.RedisSettings_SslSecurityProtocol;
context.RedshiftSettings_AcceptAnyDate = this.RedshiftSettings_AcceptAnyDate;
context.RedshiftSettings_AfterConnectScript = this.RedshiftSettings_AfterConnectScript;
context.RedshiftSettings_BucketFolder = this.RedshiftSettings_BucketFolder;
context.RedshiftSettings_BucketName = this.RedshiftSettings_BucketName;
context.RedshiftSettings_CaseSensitiveName = this.RedshiftSettings_CaseSensitiveName;
context.RedshiftSettings_CompUpdate = this.RedshiftSettings_CompUpdate;
context.RedshiftSettings_ConnectionTimeout = this.RedshiftSettings_ConnectionTimeout;
context.RedshiftSettings_DatabaseName = this.RedshiftSettings_DatabaseName;
context.RedshiftSettings_DateFormat = this.RedshiftSettings_DateFormat;
context.RedshiftSettings_EmptyAsNull = this.RedshiftSettings_EmptyAsNull;
context.RedshiftSettings_EncryptionMode = this.RedshiftSettings_EncryptionMode;
context.RedshiftSettings_ExplicitId = this.RedshiftSettings_ExplicitId;
context.RedshiftSettings_FileTransferUploadStream = this.RedshiftSettings_FileTransferUploadStream;
context.RedshiftSettings_LoadTimeout = this.RedshiftSettings_LoadTimeout;
context.RedshiftSettings_MapBooleanAsBoolean = this.RedshiftSettings_MapBooleanAsBoolean;
context.RedshiftSettings_MaxFileSize = this.RedshiftSettings_MaxFileSize;
context.RedshiftSettings_Password = this.RedshiftSettings_Password;
context.RedshiftSettings_Port = this.RedshiftSettings_Port;
context.RedshiftSettings_RemoveQuote = this.RedshiftSettings_RemoveQuote;
context.RedshiftSettings_ReplaceChar = this.RedshiftSettings_ReplaceChar;
context.RedshiftSettings_ReplaceInvalidChar = this.RedshiftSettings_ReplaceInvalidChar;
context.RedshiftSettings_SecretsManagerAccessRoleArn = this.RedshiftSettings_SecretsManagerAccessRoleArn;
context.RedshiftSettings_SecretsManagerSecretId = this.RedshiftSettings_SecretsManagerSecretId;
context.RedshiftSettings_ServerName = this.RedshiftSettings_ServerName;
context.RedshiftSettings_ServerSideEncryptionKmsKeyId = this.RedshiftSettings_ServerSideEncryptionKmsKeyId;
context.RedshiftSettings_ServiceAccessRoleArn = this.RedshiftSettings_ServiceAccessRoleArn;
context.RedshiftSettings_TimeFormat = this.RedshiftSettings_TimeFormat;
context.RedshiftSettings_TrimBlank = this.RedshiftSettings_TrimBlank;
context.RedshiftSettings_TruncateColumn = this.RedshiftSettings_TruncateColumn;
context.RedshiftSettings_Username = this.RedshiftSettings_Username;
context.RedshiftSettings_WriteBufferSize = this.RedshiftSettings_WriteBufferSize;
context.S3Settings_AddColumnName = this.S3Settings_AddColumnName;
context.S3Settings_AddTrailingPaddingCharacter = this.S3Settings_AddTrailingPaddingCharacter;
context.S3Settings_BucketFolder = this.S3Settings_BucketFolder;
context.S3Settings_BucketName = this.S3Settings_BucketName;
context.S3Settings_CannedAclForObject = this.S3Settings_CannedAclForObject;
context.S3Settings_CdcInsertsAndUpdate = this.S3Settings_CdcInsertsAndUpdate;
context.S3Settings_CdcInsertsOnly = this.S3Settings_CdcInsertsOnly;
context.S3Settings_CdcMaxBatchInterval = this.S3Settings_CdcMaxBatchInterval;
context.S3Settings_CdcMinFileSize = this.S3Settings_CdcMinFileSize;
context.S3Settings_CdcPath = this.S3Settings_CdcPath;
context.S3Settings_CompressionType = this.S3Settings_CompressionType;
context.S3Settings_CsvDelimiter = this.S3Settings_CsvDelimiter;
context.S3Settings_CsvNoSupValue = this.S3Settings_CsvNoSupValue;
context.S3Settings_CsvNullValue = this.S3Settings_CsvNullValue;
context.S3Settings_CsvRowDelimiter = this.S3Settings_CsvRowDelimiter;
context.S3Settings_DataFormat = this.S3Settings_DataFormat;
context.S3Settings_DataPageSize = this.S3Settings_DataPageSize;
context.S3Settings_DatePartitionDelimiter = this.S3Settings_DatePartitionDelimiter;
context.S3Settings_DatePartitionEnabled = this.S3Settings_DatePartitionEnabled;
context.S3Settings_DatePartitionSequence = this.S3Settings_DatePartitionSequence;
context.S3Settings_DatePartitionTimezone = this.S3Settings_DatePartitionTimezone;
context.S3Settings_DictPageSizeLimit = this.S3Settings_DictPageSizeLimit;
context.S3Settings_EnableStatistic = this.S3Settings_EnableStatistic;
context.S3Settings_EncodingType = this.S3Settings_EncodingType;
context.S3Settings_EncryptionMode = this.S3Settings_EncryptionMode;
context.S3Settings_ExpectedBucketOwner = this.S3Settings_ExpectedBucketOwner;
context.S3Settings_ExternalTableDefinition = this.S3Settings_ExternalTableDefinition;
context.S3Settings_GlueCatalogGeneration = this.S3Settings_GlueCatalogGeneration;
context.S3Settings_IgnoreHeaderRow = this.S3Settings_IgnoreHeaderRow;
context.S3Settings_IncludeOpForFullLoad = this.S3Settings_IncludeOpForFullLoad;
context.S3Settings_MaxFileSize = this.S3Settings_MaxFileSize;
context.S3Settings_ParquetTimestampInMillisecond = this.S3Settings_ParquetTimestampInMillisecond;
context.S3Settings_ParquetVersion = this.S3Settings_ParquetVersion;
context.S3Settings_PreserveTransaction = this.S3Settings_PreserveTransaction;
context.S3Settings_Rfc4180 = this.S3Settings_Rfc4180;
context.S3Settings_RowGroupLength = this.S3Settings_RowGroupLength;
context.S3Settings_ServerSideEncryptionKmsKeyId = this.S3Settings_ServerSideEncryptionKmsKeyId;
context.S3Settings_ServiceAccessRoleArn = this.S3Settings_ServiceAccessRoleArn;
context.S3Settings_TimestampColumnName = this.S3Settings_TimestampColumnName;
context.S3Settings_UseCsvNoSupValue = this.S3Settings_UseCsvNoSupValue;
context.S3Settings_UseTaskStartTimeForFullLoadTimestamp = this.S3Settings_UseTaskStartTimeForFullLoadTimestamp;
context.ServerName = this.ServerName;
context.ServiceAccessRoleArn = this.ServiceAccessRoleArn;
context.SslMode = this.SslMode;
context.SybaseSettings_DatabaseName = this.SybaseSettings_DatabaseName;
context.SybaseSettings_Password = this.SybaseSettings_Password;
context.SybaseSettings_Port = this.SybaseSettings_Port;
context.SybaseSettings_SecretsManagerAccessRoleArn = this.SybaseSettings_SecretsManagerAccessRoleArn;
context.SybaseSettings_SecretsManagerSecretId = this.SybaseSettings_SecretsManagerSecretId;
context.SybaseSettings_ServerName = this.SybaseSettings_ServerName;
context.SybaseSettings_Username = this.SybaseSettings_Username;
context.TimestreamSettings_CdcInsertsAndUpdate = this.TimestreamSettings_CdcInsertsAndUpdate;
context.TimestreamSettings_DatabaseName = this.TimestreamSettings_DatabaseName;
context.TimestreamSettings_EnableMagneticStoreWrite = this.TimestreamSettings_EnableMagneticStoreWrite;
context.TimestreamSettings_MagneticDuration = this.TimestreamSettings_MagneticDuration;
context.TimestreamSettings_MemoryDuration = this.TimestreamSettings_MemoryDuration;
context.Username = this.Username;
// allow further manipulation of loaded context prior to processing
PostExecutionContextLoad(context);
var output = Execute(context) as CmdletOutput;
ProcessOutput(output);
}
#region IExecutor Members
public object Execute(ExecutorContext context)
{
var cmdletContext = context as CmdletContext;
// create request
var request = new Amazon.DatabaseMigrationService.Model.ModifyEndpointRequest();
if (cmdletContext.CertificateArn != null)
{
request.CertificateArn = cmdletContext.CertificateArn;
}
if (cmdletContext.DatabaseName != null)
{
request.DatabaseName = cmdletContext.DatabaseName;
}
// populate DmsTransferSettings
var requestDmsTransferSettingsIsNull = true;
request.DmsTransferSettings = new Amazon.DatabaseMigrationService.Model.DmsTransferSettings();
System.String requestDmsTransferSettings_dmsTransferSettings_BucketName = null;
if (cmdletContext.DmsTransferSettings_BucketName != null)
{
requestDmsTransferSettings_dmsTransferSettings_BucketName = cmdletContext.DmsTransferSettings_BucketName;
}
if (requestDmsTransferSettings_dmsTransferSettings_BucketName != null)
{
request.DmsTransferSettings.BucketName = requestDmsTransferSettings_dmsTransferSettings_BucketName;
requestDmsTransferSettingsIsNull = false;
}
System.String requestDmsTransferSettings_dmsTransferSettings_ServiceAccessRoleArn = null;
if (cmdletContext.DmsTransferSettings_ServiceAccessRoleArn != null)
{
requestDmsTransferSettings_dmsTransferSettings_ServiceAccessRoleArn = cmdletContext.DmsTransferSettings_ServiceAccessRoleArn;
}
if (requestDmsTransferSettings_dmsTransferSettings_ServiceAccessRoleArn != null)
{
request.DmsTransferSettings.ServiceAccessRoleArn = requestDmsTransferSettings_dmsTransferSettings_ServiceAccessRoleArn;
requestDmsTransferSettingsIsNull = false;
}
// determine if request.DmsTransferSettings should be set to null
if (requestDmsTransferSettingsIsNull)
{
request.DmsTransferSettings = null;
}
// populate DocDbSettings
var requestDocDbSettingsIsNull = true;
request.DocDbSettings = new Amazon.DatabaseMigrationService.Model.DocDbSettings();
System.String requestDocDbSettings_docDbSettings_DatabaseName = null;
if (cmdletContext.DocDbSettings_DatabaseName != null)
{
requestDocDbSettings_docDbSettings_DatabaseName = cmdletContext.DocDbSettings_DatabaseName;
}
if (requestDocDbSettings_docDbSettings_DatabaseName != null)
{
request.DocDbSettings.DatabaseName = requestDocDbSettings_docDbSettings_DatabaseName;
requestDocDbSettingsIsNull = false;
}
System.Int32? requestDocDbSettings_docDbSettings_DocsToInvestigate = null;
if (cmdletContext.DocDbSettings_DocsToInvestigate != null)
{
requestDocDbSettings_docDbSettings_DocsToInvestigate = cmdletContext.DocDbSettings_DocsToInvestigate.Value;
}
if (requestDocDbSettings_docDbSettings_DocsToInvestigate != null)
{
request.DocDbSettings.DocsToInvestigate = requestDocDbSettings_docDbSettings_DocsToInvestigate.Value;
requestDocDbSettingsIsNull = false;
}
System.Boolean? requestDocDbSettings_docDbSettings_ExtractDocId = null;
if (cmdletContext.DocDbSettings_ExtractDocId != null)
{
requestDocDbSettings_docDbSettings_ExtractDocId = cmdletContext.DocDbSettings_ExtractDocId.Value;
}
if (requestDocDbSettings_docDbSettings_ExtractDocId != null)
{
request.DocDbSettings.ExtractDocId = requestDocDbSettings_docDbSettings_ExtractDocId.Value;
requestDocDbSettingsIsNull = false;
}
System.String requestDocDbSettings_docDbSettings_KmsKeyId = null;
if (cmdletContext.DocDbSettings_KmsKeyId != null)
{
requestDocDbSettings_docDbSettings_KmsKeyId = cmdletContext.DocDbSettings_KmsKeyId;
}
if (requestDocDbSettings_docDbSettings_KmsKeyId != null)
{
request.DocDbSettings.KmsKeyId = requestDocDbSettings_docDbSettings_KmsKeyId;
requestDocDbSettingsIsNull = false;
}
Amazon.DatabaseMigrationService.NestingLevelValue requestDocDbSettings_docDbSettings_NestingLevel = null;
if (cmdletContext.DocDbSettings_NestingLevel != null)
{
requestDocDbSettings_docDbSettings_NestingLevel = cmdletContext.DocDbSettings_NestingLevel;
}
if (requestDocDbSettings_docDbSettings_NestingLevel != null)
{
request.DocDbSettings.NestingLevel = requestDocDbSettings_docDbSettings_NestingLevel;
requestDocDbSettingsIsNull = false;
}
System.String requestDocDbSettings_docDbSettings_Password = null;
if (cmdletContext.DocDbSettings_Password != null)
{
requestDocDbSettings_docDbSettings_Password = cmdletContext.DocDbSettings_Password;
}
if (requestDocDbSettings_docDbSettings_Password != null)
{
request.DocDbSettings.Password = requestDocDbSettings_docDbSettings_Password;
requestDocDbSettingsIsNull = false;
}
System.Int32? requestDocDbSettings_docDbSettings_Port = null;
if (cmdletContext.DocDbSettings_Port != null)
{
requestDocDbSettings_docDbSettings_Port = cmdletContext.DocDbSettings_Port.Value;
}
if (requestDocDbSettings_docDbSettings_Port != null)
{
request.DocDbSettings.Port = requestDocDbSettings_docDbSettings_Port.Value;
requestDocDbSettingsIsNull = false;
}
System.Boolean? requestDocDbSettings_docDbSettings_ReplicateShardCollection = null;
if (cmdletContext.DocDbSettings_ReplicateShardCollection != null)
{
requestDocDbSettings_docDbSettings_ReplicateShardCollection = cmdletContext.DocDbSettings_ReplicateShardCollection.Value;
}
if (requestDocDbSettings_docDbSettings_ReplicateShardCollection != null)
{
request.DocDbSettings.ReplicateShardCollections = requestDocDbSettings_docDbSettings_ReplicateShardCollection.Value;
requestDocDbSettingsIsNull = false;
}
System.String requestDocDbSettings_docDbSettings_SecretsManagerAccessRoleArn = null;
if (cmdletContext.DocDbSettings_SecretsManagerAccessRoleArn != null)
{
requestDocDbSettings_docDbSettings_SecretsManagerAccessRoleArn = cmdletContext.DocDbSettings_SecretsManagerAccessRoleArn;
}
if (requestDocDbSettings_docDbSettings_SecretsManagerAccessRoleArn != null)
{
request.DocDbSettings.SecretsManagerAccessRoleArn = requestDocDbSettings_docDbSettings_SecretsManagerAccessRoleArn;
requestDocDbSettingsIsNull = false;
}
System.String requestDocDbSettings_docDbSettings_SecretsManagerSecretId = null;
if (cmdletContext.DocDbSettings_SecretsManagerSecretId != null)
{
requestDocDbSettings_docDbSettings_SecretsManagerSecretId = cmdletContext.DocDbSettings_SecretsManagerSecretId;
}
if (requestDocDbSettings_docDbSettings_SecretsManagerSecretId != null)
{
request.DocDbSettings.SecretsManagerSecretId = requestDocDbSettings_docDbSettings_SecretsManagerSecretId;
requestDocDbSettingsIsNull = false;
}
System.String requestDocDbSettings_docDbSettings_ServerName = null;
if (cmdletContext.DocDbSettings_ServerName != null)
{
requestDocDbSettings_docDbSettings_ServerName = cmdletContext.DocDbSettings_ServerName;
}
if (requestDocDbSettings_docDbSettings_ServerName != null)
{
request.DocDbSettings.ServerName = requestDocDbSettings_docDbSettings_ServerName;
requestDocDbSettingsIsNull = false;
}
System.String requestDocDbSettings_docDbSettings_Username = null;
if (cmdletContext.DocDbSettings_Username != null)
{
requestDocDbSettings_docDbSettings_Username = cmdletContext.DocDbSettings_Username;
}
if (requestDocDbSettings_docDbSettings_Username != null)
{
request.DocDbSettings.Username = requestDocDbSettings_docDbSettings_Username;
requestDocDbSettingsIsNull = false;
}
System.Boolean? requestDocDbSettings_docDbSettings_UseUpdateLookUp = null;
if (cmdletContext.DocDbSettings_UseUpdateLookUp != null)
{
requestDocDbSettings_docDbSettings_UseUpdateLookUp = cmdletContext.DocDbSettings_UseUpdateLookUp.Value;
}
if (requestDocDbSettings_docDbSettings_UseUpdateLookUp != null)
{
request.DocDbSettings.UseUpdateLookUp = requestDocDbSettings_docDbSettings_UseUpdateLookUp.Value;
requestDocDbSettingsIsNull = false;
}
// determine if request.DocDbSettings should be set to null
if (requestDocDbSettingsIsNull)
{
request.DocDbSettings = null;
}
// populate DynamoDbSettings
var requestDynamoDbSettingsIsNull = true;
request.DynamoDbSettings = new Amazon.DatabaseMigrationService.Model.DynamoDbSettings();
System.String requestDynamoDbSettings_dynamoDbSettings_ServiceAccessRoleArn = null;
if (cmdletContext.DynamoDbSettings_ServiceAccessRoleArn != null)
{
requestDynamoDbSettings_dynamoDbSettings_ServiceAccessRoleArn = cmdletContext.DynamoDbSettings_ServiceAccessRoleArn;
}
if (requestDynamoDbSettings_dynamoDbSettings_ServiceAccessRoleArn != null)
{
request.DynamoDbSettings.ServiceAccessRoleArn = requestDynamoDbSettings_dynamoDbSettings_ServiceAccessRoleArn;
requestDynamoDbSettingsIsNull = false;
}
// determine if request.DynamoDbSettings should be set to null
if (requestDynamoDbSettingsIsNull)
{
request.DynamoDbSettings = null;
}
// populate ElasticsearchSettings
var requestElasticsearchSettingsIsNull = true;
request.ElasticsearchSettings = new Amazon.DatabaseMigrationService.Model.ElasticsearchSettings();
System.String requestElasticsearchSettings_elasticsearchSettings_EndpointUri = null;
if (cmdletContext.ElasticsearchSettings_EndpointUri != null)
{
requestElasticsearchSettings_elasticsearchSettings_EndpointUri = cmdletContext.ElasticsearchSettings_EndpointUri;
}
if (requestElasticsearchSettings_elasticsearchSettings_EndpointUri != null)
{
request.ElasticsearchSettings.EndpointUri = requestElasticsearchSettings_elasticsearchSettings_EndpointUri;
requestElasticsearchSettingsIsNull = false;
}
System.Int32? requestElasticsearchSettings_elasticsearchSettings_ErrorRetryDuration = null;
if (cmdletContext.ElasticsearchSettings_ErrorRetryDuration != null)
{
requestElasticsearchSettings_elasticsearchSettings_ErrorRetryDuration = cmdletContext.ElasticsearchSettings_ErrorRetryDuration.Value;
}
if (requestElasticsearchSettings_elasticsearchSettings_ErrorRetryDuration != null)
{
request.ElasticsearchSettings.ErrorRetryDuration = requestElasticsearchSettings_elasticsearchSettings_ErrorRetryDuration.Value;
requestElasticsearchSettingsIsNull = false;
}
System.Int32? requestElasticsearchSettings_elasticsearchSettings_FullLoadErrorPercentage = null;
if (cmdletContext.ElasticsearchSettings_FullLoadErrorPercentage != null)
{
requestElasticsearchSettings_elasticsearchSettings_FullLoadErrorPercentage = cmdletContext.ElasticsearchSettings_FullLoadErrorPercentage.Value;
}
if (requestElasticsearchSettings_elasticsearchSettings_FullLoadErrorPercentage != null)
{
request.ElasticsearchSettings.FullLoadErrorPercentage = requestElasticsearchSettings_elasticsearchSettings_FullLoadErrorPercentage.Value;
requestElasticsearchSettingsIsNull = false;
}
System.String requestElasticsearchSettings_elasticsearchSettings_ServiceAccessRoleArn = null;
if (cmdletContext.ElasticsearchSettings_ServiceAccessRoleArn != null)
{
requestElasticsearchSettings_elasticsearchSettings_ServiceAccessRoleArn = cmdletContext.ElasticsearchSettings_ServiceAccessRoleArn;
}
if (requestElasticsearchSettings_elasticsearchSettings_ServiceAccessRoleArn != null)
{
request.ElasticsearchSettings.ServiceAccessRoleArn = requestElasticsearchSettings_elasticsearchSettings_ServiceAccessRoleArn;
requestElasticsearchSettingsIsNull = false;
}
System.Boolean? requestElasticsearchSettings_elasticsearchSettings_UseNewMappingType = null;
if (cmdletContext.ElasticsearchSettings_UseNewMappingType != null)
{
requestElasticsearchSettings_elasticsearchSettings_UseNewMappingType = cmdletContext.ElasticsearchSettings_UseNewMappingType.Value;
}
if (requestElasticsearchSettings_elasticsearchSettings_UseNewMappingType != null)
{
request.ElasticsearchSettings.UseNewMappingType = requestElasticsearchSettings_elasticsearchSettings_UseNewMappingType.Value;
requestElasticsearchSettingsIsNull = false;
}
// determine if request.ElasticsearchSettings should be set to null
if (requestElasticsearchSettingsIsNull)
{
request.ElasticsearchSettings = null;
}
if (cmdletContext.EndpointArn != null)
{
request.EndpointArn = cmdletContext.EndpointArn;
}
if (cmdletContext.EndpointIdentifier != null)
{
request.EndpointIdentifier = cmdletContext.EndpointIdentifier;
}
if (cmdletContext.EndpointType != null)
{
request.EndpointType = cmdletContext.EndpointType;
}
if (cmdletContext.EngineName != null)
{
request.EngineName = cmdletContext.EngineName;
}
if (cmdletContext.ExactSetting != null)
{
request.ExactSettings = cmdletContext.ExactSetting.Value;
}
if (cmdletContext.ExternalTableDefinition != null)
{
request.ExternalTableDefinition = cmdletContext.ExternalTableDefinition;
}
if (cmdletContext.ExtraConnectionAttribute != null)
{
request.ExtraConnectionAttributes = cmdletContext.ExtraConnectionAttribute;
}
// populate GcpMySQLSettings
var requestGcpMySQLSettingsIsNull = true;
request.GcpMySQLSettings = new Amazon.DatabaseMigrationService.Model.GcpMySQLSettings();
System.String requestGcpMySQLSettings_gcpMySQLSettings_AfterConnectScript = null;
if (cmdletContext.GcpMySQLSettings_AfterConnectScript != null)
{
requestGcpMySQLSettings_gcpMySQLSettings_AfterConnectScript = cmdletContext.GcpMySQLSettings_AfterConnectScript;
}
if (requestGcpMySQLSettings_gcpMySQLSettings_AfterConnectScript != null)
{
request.GcpMySQLSettings.AfterConnectScript = requestGcpMySQLSettings_gcpMySQLSettings_AfterConnectScript;
requestGcpMySQLSettingsIsNull = false;
}
System.Boolean? requestGcpMySQLSettings_gcpMySQLSettings_CleanSourceMetadataOnMismatch = null;
if (cmdletContext.GcpMySQLSettings_CleanSourceMetadataOnMismatch != null)
{
requestGcpMySQLSettings_gcpMySQLSettings_CleanSourceMetadataOnMismatch = cmdletContext.GcpMySQLSettings_CleanSourceMetadataOnMismatch.Value;
}
if (requestGcpMySQLSettings_gcpMySQLSettings_CleanSourceMetadataOnMismatch != null)
{
request.GcpMySQLSettings.CleanSourceMetadataOnMismatch = requestGcpMySQLSettings_gcpMySQLSettings_CleanSourceMetadataOnMismatch.Value;
requestGcpMySQLSettingsIsNull = false;
}
System.String requestGcpMySQLSettings_gcpMySQLSettings_DatabaseName = null;
if (cmdletContext.GcpMySQLSettings_DatabaseName != null)
{
requestGcpMySQLSettings_gcpMySQLSettings_DatabaseName = cmdletContext.GcpMySQLSettings_DatabaseName;
}
if (requestGcpMySQLSettings_gcpMySQLSettings_DatabaseName != null)
{
request.GcpMySQLSettings.DatabaseName = requestGcpMySQLSettings_gcpMySQLSettings_DatabaseName;
requestGcpMySQLSettingsIsNull = false;
}
System.Int32? requestGcpMySQLSettings_gcpMySQLSettings_EventsPollInterval = null;
if (cmdletContext.GcpMySQLSettings_EventsPollInterval != null)
{
requestGcpMySQLSettings_gcpMySQLSettings_EventsPollInterval = cmdletContext.GcpMySQLSettings_EventsPollInterval.Value;
}
if (requestGcpMySQLSettings_gcpMySQLSettings_EventsPollInterval != null)
{
request.GcpMySQLSettings.EventsPollInterval = requestGcpMySQLSettings_gcpMySQLSettings_EventsPollInterval.Value;
requestGcpMySQLSettingsIsNull = false;
}
System.Int32? requestGcpMySQLSettings_gcpMySQLSettings_MaxFileSize = null;
if (cmdletContext.GcpMySQLSettings_MaxFileSize != null)
{
requestGcpMySQLSettings_gcpMySQLSettings_MaxFileSize = cmdletContext.GcpMySQLSettings_MaxFileSize.Value;
}
if (requestGcpMySQLSettings_gcpMySQLSettings_MaxFileSize != null)
{
request.GcpMySQLSettings.MaxFileSize = requestGcpMySQLSettings_gcpMySQLSettings_MaxFileSize.Value;
requestGcpMySQLSettingsIsNull = false;
}
System.Int32? requestGcpMySQLSettings_gcpMySQLSettings_ParallelLoadThread = null;
if (cmdletContext.GcpMySQLSettings_ParallelLoadThread != null)
{
requestGcpMySQLSettings_gcpMySQLSettings_ParallelLoadThread = cmdletContext.GcpMySQLSettings_ParallelLoadThread.Value;
}
if (requestGcpMySQLSettings_gcpMySQLSettings_ParallelLoadThread != null)
{
request.GcpMySQLSettings.ParallelLoadThreads = requestGcpMySQLSettings_gcpMySQLSettings_ParallelLoadThread.Value;
requestGcpMySQLSettingsIsNull = false;
}
System.String requestGcpMySQLSettings_gcpMySQLSettings_Password = null;
if (cmdletContext.GcpMySQLSettings_Password != null)
{
requestGcpMySQLSettings_gcpMySQLSettings_Password = cmdletContext.GcpMySQLSettings_Password;
}
if (requestGcpMySQLSettings_gcpMySQLSettings_Password != null)
{
request.GcpMySQLSettings.Password = requestGcpMySQLSettings_gcpMySQLSettings_Password;
requestGcpMySQLSettingsIsNull = false;
}
System.Int32? requestGcpMySQLSettings_gcpMySQLSettings_Port = null;
if (cmdletContext.GcpMySQLSettings_Port != null)
{
requestGcpMySQLSettings_gcpMySQLSettings_Port = cmdletContext.GcpMySQLSettings_Port.Value;
}
if (requestGcpMySQLSettings_gcpMySQLSettings_Port != null)
{
request.GcpMySQLSettings.Port = requestGcpMySQLSettings_gcpMySQLSettings_Port.Value;
requestGcpMySQLSettingsIsNull = false;
}
System.String requestGcpMySQLSettings_gcpMySQLSettings_SecretsManagerAccessRoleArn = null;
if (cmdletContext.GcpMySQLSettings_SecretsManagerAccessRoleArn != null)
{
requestGcpMySQLSettings_gcpMySQLSettings_SecretsManagerAccessRoleArn = cmdletContext.GcpMySQLSettings_SecretsManagerAccessRoleArn;
}
if (requestGcpMySQLSettings_gcpMySQLSettings_SecretsManagerAccessRoleArn != null)
{
request.GcpMySQLSettings.SecretsManagerAccessRoleArn = requestGcpMySQLSettings_gcpMySQLSettings_SecretsManagerAccessRoleArn;
requestGcpMySQLSettingsIsNull = false;
}
System.String requestGcpMySQLSettings_gcpMySQLSettings_SecretsManagerSecretId = null;
if (cmdletContext.GcpMySQLSettings_SecretsManagerSecretId != null)
{
requestGcpMySQLSettings_gcpMySQLSettings_SecretsManagerSecretId = cmdletContext.GcpMySQLSettings_SecretsManagerSecretId;
}
if (requestGcpMySQLSettings_gcpMySQLSettings_SecretsManagerSecretId != null)
{
request.GcpMySQLSettings.SecretsManagerSecretId = requestGcpMySQLSettings_gcpMySQLSettings_SecretsManagerSecretId;
requestGcpMySQLSettingsIsNull = false;
}
System.String requestGcpMySQLSettings_gcpMySQLSettings_ServerName = null;
if (cmdletContext.GcpMySQLSettings_ServerName != null)
{
requestGcpMySQLSettings_gcpMySQLSettings_ServerName = cmdletContext.GcpMySQLSettings_ServerName;
}
if (requestGcpMySQLSettings_gcpMySQLSettings_ServerName != null)
{
request.GcpMySQLSettings.ServerName = requestGcpMySQLSettings_gcpMySQLSettings_ServerName;
requestGcpMySQLSettingsIsNull = false;
}
System.String requestGcpMySQLSettings_gcpMySQLSettings_ServerTimezone = null;
if (cmdletContext.GcpMySQLSettings_ServerTimezone != null)
{
requestGcpMySQLSettings_gcpMySQLSettings_ServerTimezone = cmdletContext.GcpMySQLSettings_ServerTimezone;
}
if (requestGcpMySQLSettings_gcpMySQLSettings_ServerTimezone != null)
{
request.GcpMySQLSettings.ServerTimezone = requestGcpMySQLSettings_gcpMySQLSettings_ServerTimezone;
requestGcpMySQLSettingsIsNull = false;
}
Amazon.DatabaseMigrationService.TargetDbType requestGcpMySQLSettings_gcpMySQLSettings_TargetDbType = null;
if (cmdletContext.GcpMySQLSettings_TargetDbType != null)
{
requestGcpMySQLSettings_gcpMySQLSettings_TargetDbType = cmdletContext.GcpMySQLSettings_TargetDbType;
}
if (requestGcpMySQLSettings_gcpMySQLSettings_TargetDbType != null)
{
request.GcpMySQLSettings.TargetDbType = requestGcpMySQLSettings_gcpMySQLSettings_TargetDbType;
requestGcpMySQLSettingsIsNull = false;
}
System.String requestGcpMySQLSettings_gcpMySQLSettings_Username = null;
if (cmdletContext.GcpMySQLSettings_Username != null)
{
requestGcpMySQLSettings_gcpMySQLSettings_Username = cmdletContext.GcpMySQLSettings_Username;
}
if (requestGcpMySQLSettings_gcpMySQLSettings_Username != null)
{
request.GcpMySQLSettings.Username = requestGcpMySQLSettings_gcpMySQLSettings_Username;
requestGcpMySQLSettingsIsNull = false;
}
// determine if request.GcpMySQLSettings should be set to null
if (requestGcpMySQLSettingsIsNull)
{
request.GcpMySQLSettings = null;
}
// populate IBMDb2Settings
var requestIBMDb2SettingsIsNull = true;
request.IBMDb2Settings = new Amazon.DatabaseMigrationService.Model.IBMDb2Settings();
System.String requestIBMDb2Settings_iBMDb2Settings_CurrentLsn = null;
if (cmdletContext.IBMDb2Settings_CurrentLsn != null)
{
requestIBMDb2Settings_iBMDb2Settings_CurrentLsn = cmdletContext.IBMDb2Settings_CurrentLsn;
}
if (requestIBMDb2Settings_iBMDb2Settings_CurrentLsn != null)
{
request.IBMDb2Settings.CurrentLsn = requestIBMDb2Settings_iBMDb2Settings_CurrentLsn;
requestIBMDb2SettingsIsNull = false;
}
System.String requestIBMDb2Settings_iBMDb2Settings_DatabaseName = null;
if (cmdletContext.IBMDb2Settings_DatabaseName != null)
{
requestIBMDb2Settings_iBMDb2Settings_DatabaseName = cmdletContext.IBMDb2Settings_DatabaseName;
}
if (requestIBMDb2Settings_iBMDb2Settings_DatabaseName != null)
{
request.IBMDb2Settings.DatabaseName = requestIBMDb2Settings_iBMDb2Settings_DatabaseName;
requestIBMDb2SettingsIsNull = false;
}
System.Int32? requestIBMDb2Settings_iBMDb2Settings_MaxKBytesPerRead = null;
if (cmdletContext.IBMDb2Settings_MaxKBytesPerRead != null)
{
requestIBMDb2Settings_iBMDb2Settings_MaxKBytesPerRead = cmdletContext.IBMDb2Settings_MaxKBytesPerRead.Value;
}
if (requestIBMDb2Settings_iBMDb2Settings_MaxKBytesPerRead != null)
{
request.IBMDb2Settings.MaxKBytesPerRead = requestIBMDb2Settings_iBMDb2Settings_MaxKBytesPerRead.Value;
requestIBMDb2SettingsIsNull = false;
}
System.String requestIBMDb2Settings_iBMDb2Settings_Password = null;
if (cmdletContext.IBMDb2Settings_Password != null)
{
requestIBMDb2Settings_iBMDb2Settings_Password = cmdletContext.IBMDb2Settings_Password;
}
if (requestIBMDb2Settings_iBMDb2Settings_Password != null)
{
request.IBMDb2Settings.Password = requestIBMDb2Settings_iBMDb2Settings_Password;
requestIBMDb2SettingsIsNull = false;
}
System.Int32? requestIBMDb2Settings_iBMDb2Settings_Port = null;
if (cmdletContext.IBMDb2Settings_Port != null)
{
requestIBMDb2Settings_iBMDb2Settings_Port = cmdletContext.IBMDb2Settings_Port.Value;
}
if (requestIBMDb2Settings_iBMDb2Settings_Port != null)
{
request.IBMDb2Settings.Port = requestIBMDb2Settings_iBMDb2Settings_Port.Value;
requestIBMDb2SettingsIsNull = false;
}
System.String requestIBMDb2Settings_iBMDb2Settings_SecretsManagerAccessRoleArn = null;
if (cmdletContext.IBMDb2Settings_SecretsManagerAccessRoleArn != null)
{
requestIBMDb2Settings_iBMDb2Settings_SecretsManagerAccessRoleArn = cmdletContext.IBMDb2Settings_SecretsManagerAccessRoleArn;
}
if (requestIBMDb2Settings_iBMDb2Settings_SecretsManagerAccessRoleArn != null)
{
request.IBMDb2Settings.SecretsManagerAccessRoleArn = requestIBMDb2Settings_iBMDb2Settings_SecretsManagerAccessRoleArn;
requestIBMDb2SettingsIsNull = false;
}
System.String requestIBMDb2Settings_iBMDb2Settings_SecretsManagerSecretId = null;
if (cmdletContext.IBMDb2Settings_SecretsManagerSecretId != null)
{
requestIBMDb2Settings_iBMDb2Settings_SecretsManagerSecretId = cmdletContext.IBMDb2Settings_SecretsManagerSecretId;
}
if (requestIBMDb2Settings_iBMDb2Settings_SecretsManagerSecretId != null)
{
request.IBMDb2Settings.SecretsManagerSecretId = requestIBMDb2Settings_iBMDb2Settings_SecretsManagerSecretId;
requestIBMDb2SettingsIsNull = false;
}
System.String requestIBMDb2Settings_iBMDb2Settings_ServerName = null;
if (cmdletContext.IBMDb2Settings_ServerName != null)
{
requestIBMDb2Settings_iBMDb2Settings_ServerName = cmdletContext.IBMDb2Settings_ServerName;
}
if (requestIBMDb2Settings_iBMDb2Settings_ServerName != null)
{
request.IBMDb2Settings.ServerName = requestIBMDb2Settings_iBMDb2Settings_ServerName;
requestIBMDb2SettingsIsNull = false;
}
System.Boolean? requestIBMDb2Settings_iBMDb2Settings_SetDataCaptureChange = null;
if (cmdletContext.IBMDb2Settings_SetDataCaptureChange != null)
{
requestIBMDb2Settings_iBMDb2Settings_SetDataCaptureChange = cmdletContext.IBMDb2Settings_SetDataCaptureChange.Value;
}
if (requestIBMDb2Settings_iBMDb2Settings_SetDataCaptureChange != null)
{
request.IBMDb2Settings.SetDataCaptureChanges = requestIBMDb2Settings_iBMDb2Settings_SetDataCaptureChange.Value;
requestIBMDb2SettingsIsNull = false;
}
System.String requestIBMDb2Settings_iBMDb2Settings_Username = null;
if (cmdletContext.IBMDb2Settings_Username != null)
{
requestIBMDb2Settings_iBMDb2Settings_Username = cmdletContext.IBMDb2Settings_Username;
}
if (requestIBMDb2Settings_iBMDb2Settings_Username != null)
{
request.IBMDb2Settings.Username = requestIBMDb2Settings_iBMDb2Settings_Username;
requestIBMDb2SettingsIsNull = false;
}
// determine if request.IBMDb2Settings should be set to null
if (requestIBMDb2SettingsIsNull)
{
request.IBMDb2Settings = null;
}
// populate KafkaSettings
var requestKafkaSettingsIsNull = true;
request.KafkaSettings = new Amazon.DatabaseMigrationService.Model.KafkaSettings();
System.String requestKafkaSettings_kafkaSettings_Broker = null;
if (cmdletContext.KafkaSettings_Broker != null)
{
requestKafkaSettings_kafkaSettings_Broker = cmdletContext.KafkaSettings_Broker;
}
if (requestKafkaSettings_kafkaSettings_Broker != null)
{
request.KafkaSettings.Broker = requestKafkaSettings_kafkaSettings_Broker;
requestKafkaSettingsIsNull = false;
}
System.Boolean? requestKafkaSettings_kafkaSettings_IncludeControlDetail = null;
if (cmdletContext.KafkaSettings_IncludeControlDetail != null)
{
requestKafkaSettings_kafkaSettings_IncludeControlDetail = cmdletContext.KafkaSettings_IncludeControlDetail.Value;
}
if (requestKafkaSettings_kafkaSettings_IncludeControlDetail != null)
{
request.KafkaSettings.IncludeControlDetails = requestKafkaSettings_kafkaSettings_IncludeControlDetail.Value;
requestKafkaSettingsIsNull = false;
}
System.Boolean? requestKafkaSettings_kafkaSettings_IncludeNullAndEmpty = null;
if (cmdletContext.KafkaSettings_IncludeNullAndEmpty != null)
{
requestKafkaSettings_kafkaSettings_IncludeNullAndEmpty = cmdletContext.KafkaSettings_IncludeNullAndEmpty.Value;
}
if (requestKafkaSettings_kafkaSettings_IncludeNullAndEmpty != null)
{
request.KafkaSettings.IncludeNullAndEmpty = requestKafkaSettings_kafkaSettings_IncludeNullAndEmpty.Value;
requestKafkaSettingsIsNull = false;
}
System.Boolean? requestKafkaSettings_kafkaSettings_IncludePartitionValue = null;
if (cmdletContext.KafkaSettings_IncludePartitionValue != null)
{
requestKafkaSettings_kafkaSettings_IncludePartitionValue = cmdletContext.KafkaSettings_IncludePartitionValue.Value;
}
if (requestKafkaSettings_kafkaSettings_IncludePartitionValue != null)
{
request.KafkaSettings.IncludePartitionValue = requestKafkaSettings_kafkaSettings_IncludePartitionValue.Value;
requestKafkaSettingsIsNull = false;
}
System.Boolean? requestKafkaSettings_kafkaSettings_IncludeTableAlterOperation = null;
if (cmdletContext.KafkaSettings_IncludeTableAlterOperation != null)
{
requestKafkaSettings_kafkaSettings_IncludeTableAlterOperation = cmdletContext.KafkaSettings_IncludeTableAlterOperation.Value;
}
if (requestKafkaSettings_kafkaSettings_IncludeTableAlterOperation != null)
{
request.KafkaSettings.IncludeTableAlterOperations = requestKafkaSettings_kafkaSettings_IncludeTableAlterOperation.Value;
requestKafkaSettingsIsNull = false;
}
System.Boolean? requestKafkaSettings_kafkaSettings_IncludeTransactionDetail = null;
if (cmdletContext.KafkaSettings_IncludeTransactionDetail != null)
{
requestKafkaSettings_kafkaSettings_IncludeTransactionDetail = cmdletContext.KafkaSettings_IncludeTransactionDetail.Value;
}
if (requestKafkaSettings_kafkaSettings_IncludeTransactionDetail != null)
{
request.KafkaSettings.IncludeTransactionDetails = requestKafkaSettings_kafkaSettings_IncludeTransactionDetail.Value;
requestKafkaSettingsIsNull = false;
}
Amazon.DatabaseMigrationService.MessageFormatValue requestKafkaSettings_kafkaSettings_MessageFormat = null;
if (cmdletContext.KafkaSettings_MessageFormat != null)
{
requestKafkaSettings_kafkaSettings_MessageFormat = cmdletContext.KafkaSettings_MessageFormat;
}
if (requestKafkaSettings_kafkaSettings_MessageFormat != null)
{
request.KafkaSettings.MessageFormat = requestKafkaSettings_kafkaSettings_MessageFormat;
requestKafkaSettingsIsNull = false;
}
System.Int32? requestKafkaSettings_kafkaSettings_MessageMaxByte = null;
if (cmdletContext.KafkaSettings_MessageMaxByte != null)
{
requestKafkaSettings_kafkaSettings_MessageMaxByte = cmdletContext.KafkaSettings_MessageMaxByte.Value;
}
if (requestKafkaSettings_kafkaSettings_MessageMaxByte != null)
{
request.KafkaSettings.MessageMaxBytes = requestKafkaSettings_kafkaSettings_MessageMaxByte.Value;
requestKafkaSettingsIsNull = false;
}
System.Boolean? requestKafkaSettings_kafkaSettings_NoHexPrefix = null;
if (cmdletContext.KafkaSettings_NoHexPrefix != null)
{
requestKafkaSettings_kafkaSettings_NoHexPrefix = cmdletContext.KafkaSettings_NoHexPrefix.Value;
}
if (requestKafkaSettings_kafkaSettings_NoHexPrefix != null)
{
request.KafkaSettings.NoHexPrefix = requestKafkaSettings_kafkaSettings_NoHexPrefix.Value;
requestKafkaSettingsIsNull = false;
}
System.Boolean? requestKafkaSettings_kafkaSettings_PartitionIncludeSchemaTable = null;
if (cmdletContext.KafkaSettings_PartitionIncludeSchemaTable != null)
{
requestKafkaSettings_kafkaSettings_PartitionIncludeSchemaTable = cmdletContext.KafkaSettings_PartitionIncludeSchemaTable.Value;
}
if (requestKafkaSettings_kafkaSettings_PartitionIncludeSchemaTable != null)
{
request.KafkaSettings.PartitionIncludeSchemaTable = requestKafkaSettings_kafkaSettings_PartitionIncludeSchemaTable.Value;
requestKafkaSettingsIsNull = false;
}
Amazon.DatabaseMigrationService.KafkaSaslMechanism requestKafkaSettings_kafkaSettings_SaslMechanism = null;
if (cmdletContext.KafkaSettings_SaslMechanism != null)
{
requestKafkaSettings_kafkaSettings_SaslMechanism = cmdletContext.KafkaSettings_SaslMechanism;
}
if (requestKafkaSettings_kafkaSettings_SaslMechanism != null)
{
request.KafkaSettings.SaslMechanism = requestKafkaSettings_kafkaSettings_SaslMechanism;
requestKafkaSettingsIsNull = false;
}
System.String requestKafkaSettings_kafkaSettings_SaslPassword = null;
if (cmdletContext.KafkaSettings_SaslPassword != null)
{
requestKafkaSettings_kafkaSettings_SaslPassword = cmdletContext.KafkaSettings_SaslPassword;
}
if (requestKafkaSettings_kafkaSettings_SaslPassword != null)
{
request.KafkaSettings.SaslPassword = requestKafkaSettings_kafkaSettings_SaslPassword;
requestKafkaSettingsIsNull = false;
}
System.String requestKafkaSettings_kafkaSettings_SaslUsername = null;
if (cmdletContext.KafkaSettings_SaslUsername != null)
{
requestKafkaSettings_kafkaSettings_SaslUsername = cmdletContext.KafkaSettings_SaslUsername;
}
if (requestKafkaSettings_kafkaSettings_SaslUsername != null)
{
request.KafkaSettings.SaslUsername = requestKafkaSettings_kafkaSettings_SaslUsername;
requestKafkaSettingsIsNull = false;
}
Amazon.DatabaseMigrationService.KafkaSecurityProtocol requestKafkaSettings_kafkaSettings_SecurityProtocol = null;
if (cmdletContext.KafkaSettings_SecurityProtocol != null)
{
requestKafkaSettings_kafkaSettings_SecurityProtocol = cmdletContext.KafkaSettings_SecurityProtocol;
}
if (requestKafkaSettings_kafkaSettings_SecurityProtocol != null)
{
request.KafkaSettings.SecurityProtocol = requestKafkaSettings_kafkaSettings_SecurityProtocol;
requestKafkaSettingsIsNull = false;
}
System.String requestKafkaSettings_kafkaSettings_SslCaCertificateArn = null;
if (cmdletContext.KafkaSettings_SslCaCertificateArn != null)
{
requestKafkaSettings_kafkaSettings_SslCaCertificateArn = cmdletContext.KafkaSettings_SslCaCertificateArn;
}
if (requestKafkaSettings_kafkaSettings_SslCaCertificateArn != null)
{
request.KafkaSettings.SslCaCertificateArn = requestKafkaSettings_kafkaSettings_SslCaCertificateArn;
requestKafkaSettingsIsNull = false;
}
System.String requestKafkaSettings_kafkaSettings_SslClientCertificateArn = null;
if (cmdletContext.KafkaSettings_SslClientCertificateArn != null)
{
requestKafkaSettings_kafkaSettings_SslClientCertificateArn = cmdletContext.KafkaSettings_SslClientCertificateArn;
}
if (requestKafkaSettings_kafkaSettings_SslClientCertificateArn != null)
{
request.KafkaSettings.SslClientCertificateArn = requestKafkaSettings_kafkaSettings_SslClientCertificateArn;
requestKafkaSettingsIsNull = false;
}
System.String requestKafkaSettings_kafkaSettings_SslClientKeyArn = null;
if (cmdletContext.KafkaSettings_SslClientKeyArn != null)
{
requestKafkaSettings_kafkaSettings_SslClientKeyArn = cmdletContext.KafkaSettings_SslClientKeyArn;
}
if (requestKafkaSettings_kafkaSettings_SslClientKeyArn != null)
{
request.KafkaSettings.SslClientKeyArn = requestKafkaSettings_kafkaSettings_SslClientKeyArn;
requestKafkaSettingsIsNull = false;
}
System.String requestKafkaSettings_kafkaSettings_SslClientKeyPassword = null;
if (cmdletContext.KafkaSettings_SslClientKeyPassword != null)
{
requestKafkaSettings_kafkaSettings_SslClientKeyPassword = cmdletContext.KafkaSettings_SslClientKeyPassword;
}
if (requestKafkaSettings_kafkaSettings_SslClientKeyPassword != null)
{
request.KafkaSettings.SslClientKeyPassword = requestKafkaSettings_kafkaSettings_SslClientKeyPassword;
requestKafkaSettingsIsNull = false;
}
Amazon.DatabaseMigrationService.KafkaSslEndpointIdentificationAlgorithm requestKafkaSettings_kafkaSettings_SslEndpointIdentificationAlgorithm = null;
if (cmdletContext.KafkaSettings_SslEndpointIdentificationAlgorithm != null)
{
requestKafkaSettings_kafkaSettings_SslEndpointIdentificationAlgorithm = cmdletContext.KafkaSettings_SslEndpointIdentificationAlgorithm;
}
if (requestKafkaSettings_kafkaSettings_SslEndpointIdentificationAlgorithm != null)
{
request.KafkaSettings.SslEndpointIdentificationAlgorithm = requestKafkaSettings_kafkaSettings_SslEndpointIdentificationAlgorithm;
requestKafkaSettingsIsNull = false;
}
System.String requestKafkaSettings_kafkaSettings_Topic = null;
if (cmdletContext.KafkaSettings_Topic != null)
{
requestKafkaSettings_kafkaSettings_Topic = cmdletContext.KafkaSettings_Topic;
}
if (requestKafkaSettings_kafkaSettings_Topic != null)
{
request.KafkaSettings.Topic = requestKafkaSettings_kafkaSettings_Topic;
requestKafkaSettingsIsNull = false;
}
// determine if request.KafkaSettings should be set to null
if (requestKafkaSettingsIsNull)
{
request.KafkaSettings = null;
}
// populate KinesisSettings
var requestKinesisSettingsIsNull = true;
request.KinesisSettings = new Amazon.DatabaseMigrationService.Model.KinesisSettings();
System.Boolean? requestKinesisSettings_kinesisSettings_IncludeControlDetail = null;
if (cmdletContext.KinesisSettings_IncludeControlDetail != null)
{
requestKinesisSettings_kinesisSettings_IncludeControlDetail = cmdletContext.KinesisSettings_IncludeControlDetail.Value;
}
if (requestKinesisSettings_kinesisSettings_IncludeControlDetail != null)
{
request.KinesisSettings.IncludeControlDetails = requestKinesisSettings_kinesisSettings_IncludeControlDetail.Value;
requestKinesisSettingsIsNull = false;
}
System.Boolean? requestKinesisSettings_kinesisSettings_IncludeNullAndEmpty = null;
if (cmdletContext.KinesisSettings_IncludeNullAndEmpty != null)
{
requestKinesisSettings_kinesisSettings_IncludeNullAndEmpty = cmdletContext.KinesisSettings_IncludeNullAndEmpty.Value;
}
if (requestKinesisSettings_kinesisSettings_IncludeNullAndEmpty != null)
{
request.KinesisSettings.IncludeNullAndEmpty = requestKinesisSettings_kinesisSettings_IncludeNullAndEmpty.Value;
requestKinesisSettingsIsNull = false;
}
System.Boolean? requestKinesisSettings_kinesisSettings_IncludePartitionValue = null;
if (cmdletContext.KinesisSettings_IncludePartitionValue != null)
{
requestKinesisSettings_kinesisSettings_IncludePartitionValue = cmdletContext.KinesisSettings_IncludePartitionValue.Value;
}
if (requestKinesisSettings_kinesisSettings_IncludePartitionValue != null)
{
request.KinesisSettings.IncludePartitionValue = requestKinesisSettings_kinesisSettings_IncludePartitionValue.Value;
requestKinesisSettingsIsNull = false;
}
System.Boolean? requestKinesisSettings_kinesisSettings_IncludeTableAlterOperation = null;
if (cmdletContext.KinesisSettings_IncludeTableAlterOperation != null)
{
requestKinesisSettings_kinesisSettings_IncludeTableAlterOperation = cmdletContext.KinesisSettings_IncludeTableAlterOperation.Value;
}
if (requestKinesisSettings_kinesisSettings_IncludeTableAlterOperation != null)
{
request.KinesisSettings.IncludeTableAlterOperations = requestKinesisSettings_kinesisSettings_IncludeTableAlterOperation.Value;
requestKinesisSettingsIsNull = false;
}
System.Boolean? requestKinesisSettings_kinesisSettings_IncludeTransactionDetail = null;
if (cmdletContext.KinesisSettings_IncludeTransactionDetail != null)
{
requestKinesisSettings_kinesisSettings_IncludeTransactionDetail = cmdletContext.KinesisSettings_IncludeTransactionDetail.Value;
}
if (requestKinesisSettings_kinesisSettings_IncludeTransactionDetail != null)
{
request.KinesisSettings.IncludeTransactionDetails = requestKinesisSettings_kinesisSettings_IncludeTransactionDetail.Value;
requestKinesisSettingsIsNull = false;
}
Amazon.DatabaseMigrationService.MessageFormatValue requestKinesisSettings_kinesisSettings_MessageFormat = null;
if (cmdletContext.KinesisSettings_MessageFormat != null)
{
requestKinesisSettings_kinesisSettings_MessageFormat = cmdletContext.KinesisSettings_MessageFormat;
}
if (requestKinesisSettings_kinesisSettings_MessageFormat != null)
{
request.KinesisSettings.MessageFormat = requestKinesisSettings_kinesisSettings_MessageFormat;
requestKinesisSettingsIsNull = false;
}
System.Boolean? requestKinesisSettings_kinesisSettings_NoHexPrefix = null;
if (cmdletContext.KinesisSettings_NoHexPrefix != null)
{
requestKinesisSettings_kinesisSettings_NoHexPrefix = cmdletContext.KinesisSettings_NoHexPrefix.Value;
}
if (requestKinesisSettings_kinesisSettings_NoHexPrefix != null)
{
request.KinesisSettings.NoHexPrefix = requestKinesisSettings_kinesisSettings_NoHexPrefix.Value;
requestKinesisSettingsIsNull = false;
}
System.Boolean? requestKinesisSettings_kinesisSettings_PartitionIncludeSchemaTable = null;
if (cmdletContext.KinesisSettings_PartitionIncludeSchemaTable != null)
{
requestKinesisSettings_kinesisSettings_PartitionIncludeSchemaTable = cmdletContext.KinesisSettings_PartitionIncludeSchemaTable.Value;
}
if (requestKinesisSettings_kinesisSettings_PartitionIncludeSchemaTable != null)
{
request.KinesisSettings.PartitionIncludeSchemaTable = requestKinesisSettings_kinesisSettings_PartitionIncludeSchemaTable.Value;
requestKinesisSettingsIsNull = false;
}
System.String requestKinesisSettings_kinesisSettings_ServiceAccessRoleArn = null;
if (cmdletContext.KinesisSettings_ServiceAccessRoleArn != null)
{
requestKinesisSettings_kinesisSettings_ServiceAccessRoleArn = cmdletContext.KinesisSettings_ServiceAccessRoleArn;
}
if (requestKinesisSettings_kinesisSettings_ServiceAccessRoleArn != null)
{
request.KinesisSettings.ServiceAccessRoleArn = requestKinesisSettings_kinesisSettings_ServiceAccessRoleArn;
requestKinesisSettingsIsNull = false;
}
System.String requestKinesisSettings_kinesisSettings_StreamArn = null;
if (cmdletContext.KinesisSettings_StreamArn != null)
{
requestKinesisSettings_kinesisSettings_StreamArn = cmdletContext.KinesisSettings_StreamArn;
}
if (requestKinesisSettings_kinesisSettings_StreamArn != null)
{
request.KinesisSettings.StreamArn = requestKinesisSettings_kinesisSettings_StreamArn;
requestKinesisSettingsIsNull = false;
}
// determine if request.KinesisSettings should be set to null
if (requestKinesisSettingsIsNull)
{
request.KinesisSettings = null;
}
// populate MicrosoftSQLServerSettings
var requestMicrosoftSQLServerSettingsIsNull = true;
request.MicrosoftSQLServerSettings = new Amazon.DatabaseMigrationService.Model.MicrosoftSQLServerSettings();
System.Int32? requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_BcpPacketSize = null;
if (cmdletContext.MicrosoftSQLServerSettings_BcpPacketSize != null)
{
requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_BcpPacketSize = cmdletContext.MicrosoftSQLServerSettings_BcpPacketSize.Value;
}
if (requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_BcpPacketSize != null)
{
request.MicrosoftSQLServerSettings.BcpPacketSize = requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_BcpPacketSize.Value;
requestMicrosoftSQLServerSettingsIsNull = false;
}
System.String requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_ControlTablesFileGroup = null;
if (cmdletContext.MicrosoftSQLServerSettings_ControlTablesFileGroup != null)
{
requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_ControlTablesFileGroup = cmdletContext.MicrosoftSQLServerSettings_ControlTablesFileGroup;
}
if (requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_ControlTablesFileGroup != null)
{
request.MicrosoftSQLServerSettings.ControlTablesFileGroup = requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_ControlTablesFileGroup;
requestMicrosoftSQLServerSettingsIsNull = false;
}
System.String requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_DatabaseName = null;
if (cmdletContext.MicrosoftSQLServerSettings_DatabaseName != null)
{
requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_DatabaseName = cmdletContext.MicrosoftSQLServerSettings_DatabaseName;
}
if (requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_DatabaseName != null)
{
request.MicrosoftSQLServerSettings.DatabaseName = requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_DatabaseName;
requestMicrosoftSQLServerSettingsIsNull = false;
}
System.Boolean? requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_ForceLobLookup = null;
if (cmdletContext.MicrosoftSQLServerSettings_ForceLobLookup != null)
{
requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_ForceLobLookup = cmdletContext.MicrosoftSQLServerSettings_ForceLobLookup.Value;
}
if (requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_ForceLobLookup != null)
{
request.MicrosoftSQLServerSettings.ForceLobLookup = requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_ForceLobLookup.Value;
requestMicrosoftSQLServerSettingsIsNull = false;
}
System.String requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_Password = null;
if (cmdletContext.MicrosoftSQLServerSettings_Password != null)
{
requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_Password = cmdletContext.MicrosoftSQLServerSettings_Password;
}
if (requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_Password != null)
{
request.MicrosoftSQLServerSettings.Password = requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_Password;
requestMicrosoftSQLServerSettingsIsNull = false;
}
System.Int32? requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_Port = null;
if (cmdletContext.MicrosoftSQLServerSettings_Port != null)
{
requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_Port = cmdletContext.MicrosoftSQLServerSettings_Port.Value;
}
if (requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_Port != null)
{
request.MicrosoftSQLServerSettings.Port = requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_Port.Value;
requestMicrosoftSQLServerSettingsIsNull = false;
}
System.Boolean? requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_QuerySingleAlwaysOnNode = null;
if (cmdletContext.MicrosoftSQLServerSettings_QuerySingleAlwaysOnNode != null)
{
requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_QuerySingleAlwaysOnNode = cmdletContext.MicrosoftSQLServerSettings_QuerySingleAlwaysOnNode.Value;
}
if (requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_QuerySingleAlwaysOnNode != null)
{
request.MicrosoftSQLServerSettings.QuerySingleAlwaysOnNode = requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_QuerySingleAlwaysOnNode.Value;
requestMicrosoftSQLServerSettingsIsNull = false;
}
System.Boolean? requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_ReadBackupOnly = null;
if (cmdletContext.MicrosoftSQLServerSettings_ReadBackupOnly != null)
{
requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_ReadBackupOnly = cmdletContext.MicrosoftSQLServerSettings_ReadBackupOnly.Value;
}
if (requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_ReadBackupOnly != null)
{
request.MicrosoftSQLServerSettings.ReadBackupOnly = requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_ReadBackupOnly.Value;
requestMicrosoftSQLServerSettingsIsNull = false;
}
Amazon.DatabaseMigrationService.SafeguardPolicy requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_SafeguardPolicy = null;
if (cmdletContext.MicrosoftSQLServerSettings_SafeguardPolicy != null)
{
requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_SafeguardPolicy = cmdletContext.MicrosoftSQLServerSettings_SafeguardPolicy;
}
if (requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_SafeguardPolicy != null)
{
request.MicrosoftSQLServerSettings.SafeguardPolicy = requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_SafeguardPolicy;
requestMicrosoftSQLServerSettingsIsNull = false;
}
System.String requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_SecretsManagerAccessRoleArn = null;
if (cmdletContext.MicrosoftSQLServerSettings_SecretsManagerAccessRoleArn != null)
{
requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_SecretsManagerAccessRoleArn = cmdletContext.MicrosoftSQLServerSettings_SecretsManagerAccessRoleArn;
}
if (requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_SecretsManagerAccessRoleArn != null)
{
request.MicrosoftSQLServerSettings.SecretsManagerAccessRoleArn = requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_SecretsManagerAccessRoleArn;
requestMicrosoftSQLServerSettingsIsNull = false;
}
System.String requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_SecretsManagerSecretId = null;
if (cmdletContext.MicrosoftSQLServerSettings_SecretsManagerSecretId != null)
{
requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_SecretsManagerSecretId = cmdletContext.MicrosoftSQLServerSettings_SecretsManagerSecretId;
}
if (requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_SecretsManagerSecretId != null)
{
request.MicrosoftSQLServerSettings.SecretsManagerSecretId = requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_SecretsManagerSecretId;
requestMicrosoftSQLServerSettingsIsNull = false;
}
System.String requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_ServerName = null;
if (cmdletContext.MicrosoftSQLServerSettings_ServerName != null)
{
requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_ServerName = cmdletContext.MicrosoftSQLServerSettings_ServerName;
}
if (requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_ServerName != null)
{
request.MicrosoftSQLServerSettings.ServerName = requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_ServerName;
requestMicrosoftSQLServerSettingsIsNull = false;
}
Amazon.DatabaseMigrationService.TlogAccessMode requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_TlogAccessMode = null;
if (cmdletContext.MicrosoftSQLServerSettings_TlogAccessMode != null)
{
requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_TlogAccessMode = cmdletContext.MicrosoftSQLServerSettings_TlogAccessMode;
}
if (requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_TlogAccessMode != null)
{
request.MicrosoftSQLServerSettings.TlogAccessMode = requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_TlogAccessMode;
requestMicrosoftSQLServerSettingsIsNull = false;
}
System.Boolean? requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_TrimSpaceInChar = null;
if (cmdletContext.MicrosoftSQLServerSettings_TrimSpaceInChar != null)
{
requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_TrimSpaceInChar = cmdletContext.MicrosoftSQLServerSettings_TrimSpaceInChar.Value;
}
if (requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_TrimSpaceInChar != null)
{
request.MicrosoftSQLServerSettings.TrimSpaceInChar = requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_TrimSpaceInChar.Value;
requestMicrosoftSQLServerSettingsIsNull = false;
}
System.Boolean? requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_UseBcpFullLoad = null;
if (cmdletContext.MicrosoftSQLServerSettings_UseBcpFullLoad != null)
{
requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_UseBcpFullLoad = cmdletContext.MicrosoftSQLServerSettings_UseBcpFullLoad.Value;
}
if (requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_UseBcpFullLoad != null)
{
request.MicrosoftSQLServerSettings.UseBcpFullLoad = requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_UseBcpFullLoad.Value;
requestMicrosoftSQLServerSettingsIsNull = false;
}
System.String requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_Username = null;
if (cmdletContext.MicrosoftSQLServerSettings_Username != null)
{
requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_Username = cmdletContext.MicrosoftSQLServerSettings_Username;
}
if (requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_Username != null)
{
request.MicrosoftSQLServerSettings.Username = requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_Username;
requestMicrosoftSQLServerSettingsIsNull = false;
}
System.Boolean? requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_UseThirdPartyBackupDevice = null;
if (cmdletContext.MicrosoftSQLServerSettings_UseThirdPartyBackupDevice != null)
{
requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_UseThirdPartyBackupDevice = cmdletContext.MicrosoftSQLServerSettings_UseThirdPartyBackupDevice.Value;
}
if (requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_UseThirdPartyBackupDevice != null)
{
request.MicrosoftSQLServerSettings.UseThirdPartyBackupDevice = requestMicrosoftSQLServerSettings_microsoftSQLServerSettings_UseThirdPartyBackupDevice.Value;
requestMicrosoftSQLServerSettingsIsNull = false;
}
// determine if request.MicrosoftSQLServerSettings should be set to null
if (requestMicrosoftSQLServerSettingsIsNull)
{
request.MicrosoftSQLServerSettings = null;
}
// populate MongoDbSettings
var requestMongoDbSettingsIsNull = true;
request.MongoDbSettings = new Amazon.DatabaseMigrationService.Model.MongoDbSettings();
Amazon.DatabaseMigrationService.AuthMechanismValue requestMongoDbSettings_mongoDbSettings_AuthMechanism = null;
if (cmdletContext.MongoDbSettings_AuthMechanism != null)
{
requestMongoDbSettings_mongoDbSettings_AuthMechanism = cmdletContext.MongoDbSettings_AuthMechanism;
}
if (requestMongoDbSettings_mongoDbSettings_AuthMechanism != null)
{
request.MongoDbSettings.AuthMechanism = requestMongoDbSettings_mongoDbSettings_AuthMechanism;
requestMongoDbSettingsIsNull = false;
}
System.String requestMongoDbSettings_mongoDbSettings_AuthSource = null;
if (cmdletContext.MongoDbSettings_AuthSource != null)
{
requestMongoDbSettings_mongoDbSettings_AuthSource = cmdletContext.MongoDbSettings_AuthSource;
}
if (requestMongoDbSettings_mongoDbSettings_AuthSource != null)
{
request.MongoDbSettings.AuthSource = requestMongoDbSettings_mongoDbSettings_AuthSource;
requestMongoDbSettingsIsNull = false;
}
Amazon.DatabaseMigrationService.AuthTypeValue requestMongoDbSettings_mongoDbSettings_AuthType = null;
if (cmdletContext.MongoDbSettings_AuthType != null)
{
requestMongoDbSettings_mongoDbSettings_AuthType = cmdletContext.MongoDbSettings_AuthType;
}
if (requestMongoDbSettings_mongoDbSettings_AuthType != null)
{
request.MongoDbSettings.AuthType = requestMongoDbSettings_mongoDbSettings_AuthType;
requestMongoDbSettingsIsNull = false;
}
System.String requestMongoDbSettings_mongoDbSettings_DatabaseName = null;
if (cmdletContext.MongoDbSettings_DatabaseName != null)
{
requestMongoDbSettings_mongoDbSettings_DatabaseName = cmdletContext.MongoDbSettings_DatabaseName;
}
if (requestMongoDbSettings_mongoDbSettings_DatabaseName != null)
{
request.MongoDbSettings.DatabaseName = requestMongoDbSettings_mongoDbSettings_DatabaseName;
requestMongoDbSettingsIsNull = false;
}
System.String requestMongoDbSettings_mongoDbSettings_DocsToInvestigate = null;
if (cmdletContext.MongoDbSettings_DocsToInvestigate != null)
{
requestMongoDbSettings_mongoDbSettings_DocsToInvestigate = cmdletContext.MongoDbSettings_DocsToInvestigate;
}
if (requestMongoDbSettings_mongoDbSettings_DocsToInvestigate != null)
{
request.MongoDbSettings.DocsToInvestigate = requestMongoDbSettings_mongoDbSettings_DocsToInvestigate;
requestMongoDbSettingsIsNull = false;
}
System.String requestMongoDbSettings_mongoDbSettings_ExtractDocId = null;
if (cmdletContext.MongoDbSettings_ExtractDocId != null)
{
requestMongoDbSettings_mongoDbSettings_ExtractDocId = cmdletContext.MongoDbSettings_ExtractDocId;
}
if (requestMongoDbSettings_mongoDbSettings_ExtractDocId != null)
{
request.MongoDbSettings.ExtractDocId = requestMongoDbSettings_mongoDbSettings_ExtractDocId;
requestMongoDbSettingsIsNull = false;
}
System.String requestMongoDbSettings_mongoDbSettings_KmsKeyId = null;
if (cmdletContext.MongoDbSettings_KmsKeyId != null)
{
requestMongoDbSettings_mongoDbSettings_KmsKeyId = cmdletContext.MongoDbSettings_KmsKeyId;
}
if (requestMongoDbSettings_mongoDbSettings_KmsKeyId != null)
{
request.MongoDbSettings.KmsKeyId = requestMongoDbSettings_mongoDbSettings_KmsKeyId;
requestMongoDbSettingsIsNull = false;
}
Amazon.DatabaseMigrationService.NestingLevelValue requestMongoDbSettings_mongoDbSettings_NestingLevel = null;
if (cmdletContext.MongoDbSettings_NestingLevel != null)
{
requestMongoDbSettings_mongoDbSettings_NestingLevel = cmdletContext.MongoDbSettings_NestingLevel;
}
if (requestMongoDbSettings_mongoDbSettings_NestingLevel != null)
{
request.MongoDbSettings.NestingLevel = requestMongoDbSettings_mongoDbSettings_NestingLevel;
requestMongoDbSettingsIsNull = false;
}
System.String requestMongoDbSettings_mongoDbSettings_Password = null;
if (cmdletContext.MongoDbSettings_Password != null)
{
requestMongoDbSettings_mongoDbSettings_Password = cmdletContext.MongoDbSettings_Password;
}
if (requestMongoDbSettings_mongoDbSettings_Password != null)
{
request.MongoDbSettings.Password = requestMongoDbSettings_mongoDbSettings_Password;
requestMongoDbSettingsIsNull = false;
}
System.Int32? requestMongoDbSettings_mongoDbSettings_Port = null;
if (cmdletContext.MongoDbSettings_Port != null)
{
requestMongoDbSettings_mongoDbSettings_Port = cmdletContext.MongoDbSettings_Port.Value;
}
if (requestMongoDbSettings_mongoDbSettings_Port != null)
{
request.MongoDbSettings.Port = requestMongoDbSettings_mongoDbSettings_Port.Value;
requestMongoDbSettingsIsNull = false;
}
System.Boolean? requestMongoDbSettings_mongoDbSettings_ReplicateShardCollection = null;
if (cmdletContext.MongoDbSettings_ReplicateShardCollection != null)
{
requestMongoDbSettings_mongoDbSettings_ReplicateShardCollection = cmdletContext.MongoDbSettings_ReplicateShardCollection.Value;
}
if (requestMongoDbSettings_mongoDbSettings_ReplicateShardCollection != null)
{
request.MongoDbSettings.ReplicateShardCollections = requestMongoDbSettings_mongoDbSettings_ReplicateShardCollection.Value;
requestMongoDbSettingsIsNull = false;
}
System.String requestMongoDbSettings_mongoDbSettings_SecretsManagerAccessRoleArn = null;
if (cmdletContext.MongoDbSettings_SecretsManagerAccessRoleArn != null)
{
requestMongoDbSettings_mongoDbSettings_SecretsManagerAccessRoleArn = cmdletContext.MongoDbSettings_SecretsManagerAccessRoleArn;
}
if (requestMongoDbSettings_mongoDbSettings_SecretsManagerAccessRoleArn != null)
{
request.MongoDbSettings.SecretsManagerAccessRoleArn = requestMongoDbSettings_mongoDbSettings_SecretsManagerAccessRoleArn;
requestMongoDbSettingsIsNull = false;
}
System.String requestMongoDbSettings_mongoDbSettings_SecretsManagerSecretId = null;
if (cmdletContext.MongoDbSettings_SecretsManagerSecretId != null)
{
requestMongoDbSettings_mongoDbSettings_SecretsManagerSecretId = cmdletContext.MongoDbSettings_SecretsManagerSecretId;
}
if (requestMongoDbSettings_mongoDbSettings_SecretsManagerSecretId != null)
{
request.MongoDbSettings.SecretsManagerSecretId = requestMongoDbSettings_mongoDbSettings_SecretsManagerSecretId;
requestMongoDbSettingsIsNull = false;
}
System.String requestMongoDbSettings_mongoDbSettings_ServerName = null;
if (cmdletContext.MongoDbSettings_ServerName != null)
{
requestMongoDbSettings_mongoDbSettings_ServerName = cmdletContext.MongoDbSettings_ServerName;
}
if (requestMongoDbSettings_mongoDbSettings_ServerName != null)
{
request.MongoDbSettings.ServerName = requestMongoDbSettings_mongoDbSettings_ServerName;
requestMongoDbSettingsIsNull = false;
}
System.String requestMongoDbSettings_mongoDbSettings_Username = null;
if (cmdletContext.MongoDbSettings_Username != null)
{
requestMongoDbSettings_mongoDbSettings_Username = cmdletContext.MongoDbSettings_Username;
}
if (requestMongoDbSettings_mongoDbSettings_Username != null)
{
request.MongoDbSettings.Username = requestMongoDbSettings_mongoDbSettings_Username;
requestMongoDbSettingsIsNull = false;
}
System.Boolean? requestMongoDbSettings_mongoDbSettings_UseUpdateLookUp = null;
if (cmdletContext.MongoDbSettings_UseUpdateLookUp != null)
{
requestMongoDbSettings_mongoDbSettings_UseUpdateLookUp = cmdletContext.MongoDbSettings_UseUpdateLookUp.Value;
}
if (requestMongoDbSettings_mongoDbSettings_UseUpdateLookUp != null)
{
request.MongoDbSettings.UseUpdateLookUp = requestMongoDbSettings_mongoDbSettings_UseUpdateLookUp.Value;
requestMongoDbSettingsIsNull = false;
}
// determine if request.MongoDbSettings should be set to null
if (requestMongoDbSettingsIsNull)
{
request.MongoDbSettings = null;
}
// populate MySQLSettings
var requestMySQLSettingsIsNull = true;
request.MySQLSettings = new Amazon.DatabaseMigrationService.Model.MySQLSettings();
System.String requestMySQLSettings_mySQLSettings_AfterConnectScript = null;
if (cmdletContext.MySQLSettings_AfterConnectScript != null)
{
requestMySQLSettings_mySQLSettings_AfterConnectScript = cmdletContext.MySQLSettings_AfterConnectScript;
}
if (requestMySQLSettings_mySQLSettings_AfterConnectScript != null)
{
request.MySQLSettings.AfterConnectScript = requestMySQLSettings_mySQLSettings_AfterConnectScript;
requestMySQLSettingsIsNull = false;
}
System.Boolean? requestMySQLSettings_mySQLSettings_CleanSourceMetadataOnMismatch = null;
if (cmdletContext.MySQLSettings_CleanSourceMetadataOnMismatch != null)
{
requestMySQLSettings_mySQLSettings_CleanSourceMetadataOnMismatch = cmdletContext.MySQLSettings_CleanSourceMetadataOnMismatch.Value;
}
if (requestMySQLSettings_mySQLSettings_CleanSourceMetadataOnMismatch != null)
{
request.MySQLSettings.CleanSourceMetadataOnMismatch = requestMySQLSettings_mySQLSettings_CleanSourceMetadataOnMismatch.Value;
requestMySQLSettingsIsNull = false;
}
System.String requestMySQLSettings_mySQLSettings_DatabaseName = null;
if (cmdletContext.MySQLSettings_DatabaseName != null)
{
requestMySQLSettings_mySQLSettings_DatabaseName = cmdletContext.MySQLSettings_DatabaseName;
}
if (requestMySQLSettings_mySQLSettings_DatabaseName != null)
{
request.MySQLSettings.DatabaseName = requestMySQLSettings_mySQLSettings_DatabaseName;
requestMySQLSettingsIsNull = false;
}
System.Int32? requestMySQLSettings_mySQLSettings_EventsPollInterval = null;
if (cmdletContext.MySQLSettings_EventsPollInterval != null)
{
requestMySQLSettings_mySQLSettings_EventsPollInterval = cmdletContext.MySQLSettings_EventsPollInterval.Value;
}
if (requestMySQLSettings_mySQLSettings_EventsPollInterval != null)
{
request.MySQLSettings.EventsPollInterval = requestMySQLSettings_mySQLSettings_EventsPollInterval.Value;
requestMySQLSettingsIsNull = false;
}
System.Int32? requestMySQLSettings_mySQLSettings_MaxFileSize = null;
if (cmdletContext.MySQLSettings_MaxFileSize != null)
{
requestMySQLSettings_mySQLSettings_MaxFileSize = cmdletContext.MySQLSettings_MaxFileSize.Value;
}
if (requestMySQLSettings_mySQLSettings_MaxFileSize != null)
{
request.MySQLSettings.MaxFileSize = requestMySQLSettings_mySQLSettings_MaxFileSize.Value;
requestMySQLSettingsIsNull = false;
}
System.Int32? requestMySQLSettings_mySQLSettings_ParallelLoadThread = null;
if (cmdletContext.MySQLSettings_ParallelLoadThread != null)
{
requestMySQLSettings_mySQLSettings_ParallelLoadThread = cmdletContext.MySQLSettings_ParallelLoadThread.Value;
}
if (requestMySQLSettings_mySQLSettings_ParallelLoadThread != null)
{
request.MySQLSettings.ParallelLoadThreads = requestMySQLSettings_mySQLSettings_ParallelLoadThread.Value;
requestMySQLSettingsIsNull = false;
}
System.String requestMySQLSettings_mySQLSettings_Password = null;
if (cmdletContext.MySQLSettings_Password != null)
{
requestMySQLSettings_mySQLSettings_Password = cmdletContext.MySQLSettings_Password;
}
if (requestMySQLSettings_mySQLSettings_Password != null)
{
request.MySQLSettings.Password = requestMySQLSettings_mySQLSettings_Password;
requestMySQLSettingsIsNull = false;
}
System.Int32? requestMySQLSettings_mySQLSettings_Port = null;
if (cmdletContext.MySQLSettings_Port != null)
{
requestMySQLSettings_mySQLSettings_Port = cmdletContext.MySQLSettings_Port.Value;
}
if (requestMySQLSettings_mySQLSettings_Port != null)
{
request.MySQLSettings.Port = requestMySQLSettings_mySQLSettings_Port.Value;
requestMySQLSettingsIsNull = false;
}
System.String requestMySQLSettings_mySQLSettings_SecretsManagerAccessRoleArn = null;
if (cmdletContext.MySQLSettings_SecretsManagerAccessRoleArn != null)
{
requestMySQLSettings_mySQLSettings_SecretsManagerAccessRoleArn = cmdletContext.MySQLSettings_SecretsManagerAccessRoleArn;
}
if (requestMySQLSettings_mySQLSettings_SecretsManagerAccessRoleArn != null)
{
request.MySQLSettings.SecretsManagerAccessRoleArn = requestMySQLSettings_mySQLSettings_SecretsManagerAccessRoleArn;
requestMySQLSettingsIsNull = false;
}
System.String requestMySQLSettings_mySQLSettings_SecretsManagerSecretId = null;
if (cmdletContext.MySQLSettings_SecretsManagerSecretId != null)
{
requestMySQLSettings_mySQLSettings_SecretsManagerSecretId = cmdletContext.MySQLSettings_SecretsManagerSecretId;
}
if (requestMySQLSettings_mySQLSettings_SecretsManagerSecretId != null)
{
request.MySQLSettings.SecretsManagerSecretId = requestMySQLSettings_mySQLSettings_SecretsManagerSecretId;
requestMySQLSettingsIsNull = false;
}
System.String requestMySQLSettings_mySQLSettings_ServerName = null;
if (cmdletContext.MySQLSettings_ServerName != null)
{
requestMySQLSettings_mySQLSettings_ServerName = cmdletContext.MySQLSettings_ServerName;
}
if (requestMySQLSettings_mySQLSettings_ServerName != null)
{
request.MySQLSettings.ServerName = requestMySQLSettings_mySQLSettings_ServerName;
requestMySQLSettingsIsNull = false;
}
System.String requestMySQLSettings_mySQLSettings_ServerTimezone = null;
if (cmdletContext.MySQLSettings_ServerTimezone != null)
{
requestMySQLSettings_mySQLSettings_ServerTimezone = cmdletContext.MySQLSettings_ServerTimezone;
}
if (requestMySQLSettings_mySQLSettings_ServerTimezone != null)
{
request.MySQLSettings.ServerTimezone = requestMySQLSettings_mySQLSettings_ServerTimezone;
requestMySQLSettingsIsNull = false;
}
Amazon.DatabaseMigrationService.TargetDbType requestMySQLSettings_mySQLSettings_TargetDbType = null;
if (cmdletContext.MySQLSettings_TargetDbType != null)
{
requestMySQLSettings_mySQLSettings_TargetDbType = cmdletContext.MySQLSettings_TargetDbType;
}
if (requestMySQLSettings_mySQLSettings_TargetDbType != null)
{
request.MySQLSettings.TargetDbType = requestMySQLSettings_mySQLSettings_TargetDbType;
requestMySQLSettingsIsNull = false;
}
System.String requestMySQLSettings_mySQLSettings_Username = null;
if (cmdletContext.MySQLSettings_Username != null)
{
requestMySQLSettings_mySQLSettings_Username = cmdletContext.MySQLSettings_Username;
}
if (requestMySQLSettings_mySQLSettings_Username != null)
{
request.MySQLSettings.Username = requestMySQLSettings_mySQLSettings_Username;
requestMySQLSettingsIsNull = false;
}
// determine if request.MySQLSettings should be set to null
if (requestMySQLSettingsIsNull)
{
request.MySQLSettings = null;
}
// populate NeptuneSettings
var requestNeptuneSettingsIsNull = true;
request.NeptuneSettings = new Amazon.DatabaseMigrationService.Model.NeptuneSettings();
System.Int32? requestNeptuneSettings_neptuneSettings_ErrorRetryDuration = null;
if (cmdletContext.NeptuneSettings_ErrorRetryDuration != null)
{
requestNeptuneSettings_neptuneSettings_ErrorRetryDuration = cmdletContext.NeptuneSettings_ErrorRetryDuration.Value;
}
if (requestNeptuneSettings_neptuneSettings_ErrorRetryDuration != null)
{
request.NeptuneSettings.ErrorRetryDuration = requestNeptuneSettings_neptuneSettings_ErrorRetryDuration.Value;
requestNeptuneSettingsIsNull = false;
}
System.Boolean? requestNeptuneSettings_neptuneSettings_IamAuthEnabled = null;
if (cmdletContext.NeptuneSettings_IamAuthEnabled != null)
{
requestNeptuneSettings_neptuneSettings_IamAuthEnabled = cmdletContext.NeptuneSettings_IamAuthEnabled.Value;
}
if (requestNeptuneSettings_neptuneSettings_IamAuthEnabled != null)
{
request.NeptuneSettings.IamAuthEnabled = requestNeptuneSettings_neptuneSettings_IamAuthEnabled.Value;
requestNeptuneSettingsIsNull = false;
}
System.Int32? requestNeptuneSettings_neptuneSettings_MaxFileSize = null;
if (cmdletContext.NeptuneSettings_MaxFileSize != null)
{
requestNeptuneSettings_neptuneSettings_MaxFileSize = cmdletContext.NeptuneSettings_MaxFileSize.Value;
}
if (requestNeptuneSettings_neptuneSettings_MaxFileSize != null)
{
request.NeptuneSettings.MaxFileSize = requestNeptuneSettings_neptuneSettings_MaxFileSize.Value;
requestNeptuneSettingsIsNull = false;
}
System.Int32? requestNeptuneSettings_neptuneSettings_MaxRetryCount = null;
if (cmdletContext.NeptuneSettings_MaxRetryCount != null)
{
requestNeptuneSettings_neptuneSettings_MaxRetryCount = cmdletContext.NeptuneSettings_MaxRetryCount.Value;
}
if (requestNeptuneSettings_neptuneSettings_MaxRetryCount != null)
{
request.NeptuneSettings.MaxRetryCount = requestNeptuneSettings_neptuneSettings_MaxRetryCount.Value;
requestNeptuneSettingsIsNull = false;
}
System.String requestNeptuneSettings_neptuneSettings_S3BucketFolder = null;
if (cmdletContext.NeptuneSettings_S3BucketFolder != null)
{
requestNeptuneSettings_neptuneSettings_S3BucketFolder = cmdletContext.NeptuneSettings_S3BucketFolder;
}
if (requestNeptuneSettings_neptuneSettings_S3BucketFolder != null)
{
request.NeptuneSettings.S3BucketFolder = requestNeptuneSettings_neptuneSettings_S3BucketFolder;
requestNeptuneSettingsIsNull = false;
}
System.String requestNeptuneSettings_neptuneSettings_S3BucketName = null;
if (cmdletContext.NeptuneSettings_S3BucketName != null)
{
requestNeptuneSettings_neptuneSettings_S3BucketName = cmdletContext.NeptuneSettings_S3BucketName;
}
if (requestNeptuneSettings_neptuneSettings_S3BucketName != null)
{
request.NeptuneSettings.S3BucketName = requestNeptuneSettings_neptuneSettings_S3BucketName;
requestNeptuneSettingsIsNull = false;
}
System.String requestNeptuneSettings_neptuneSettings_ServiceAccessRoleArn = null;
if (cmdletContext.NeptuneSettings_ServiceAccessRoleArn != null)
{
requestNeptuneSettings_neptuneSettings_ServiceAccessRoleArn = cmdletContext.NeptuneSettings_ServiceAccessRoleArn;
}
if (requestNeptuneSettings_neptuneSettings_ServiceAccessRoleArn != null)
{
request.NeptuneSettings.ServiceAccessRoleArn = requestNeptuneSettings_neptuneSettings_ServiceAccessRoleArn;
requestNeptuneSettingsIsNull = false;
}
// determine if request.NeptuneSettings should be set to null
if (requestNeptuneSettingsIsNull)
{
request.NeptuneSettings = null;
}
// populate OracleSettings
var requestOracleSettingsIsNull = true;
request.OracleSettings = new Amazon.DatabaseMigrationService.Model.OracleSettings();
System.Boolean? requestOracleSettings_oracleSettings_AccessAlternateDirectly = null;
if (cmdletContext.OracleSettings_AccessAlternateDirectly != null)
{
requestOracleSettings_oracleSettings_AccessAlternateDirectly = cmdletContext.OracleSettings_AccessAlternateDirectly.Value;
}
if (requestOracleSettings_oracleSettings_AccessAlternateDirectly != null)
{
request.OracleSettings.AccessAlternateDirectly = requestOracleSettings_oracleSettings_AccessAlternateDirectly.Value;
requestOracleSettingsIsNull = false;
}
System.Int32? requestOracleSettings_oracleSettings_AdditionalArchivedLogDestId = null;
if (cmdletContext.OracleSettings_AdditionalArchivedLogDestId != null)
{
requestOracleSettings_oracleSettings_AdditionalArchivedLogDestId = cmdletContext.OracleSettings_AdditionalArchivedLogDestId.Value;
}
if (requestOracleSettings_oracleSettings_AdditionalArchivedLogDestId != null)
{
request.OracleSettings.AdditionalArchivedLogDestId = requestOracleSettings_oracleSettings_AdditionalArchivedLogDestId.Value;
requestOracleSettingsIsNull = false;
}
System.Boolean? requestOracleSettings_oracleSettings_AddSupplementalLogging = null;
if (cmdletContext.OracleSettings_AddSupplementalLogging != null)
{
requestOracleSettings_oracleSettings_AddSupplementalLogging = cmdletContext.OracleSettings_AddSupplementalLogging.Value;
}
if (requestOracleSettings_oracleSettings_AddSupplementalLogging != null)
{
request.OracleSettings.AddSupplementalLogging = requestOracleSettings_oracleSettings_AddSupplementalLogging.Value;
requestOracleSettingsIsNull = false;
}
System.Boolean? requestOracleSettings_oracleSettings_AllowSelectNestedTable = null;
if (cmdletContext.OracleSettings_AllowSelectNestedTable != null)
{
requestOracleSettings_oracleSettings_AllowSelectNestedTable = cmdletContext.OracleSettings_AllowSelectNestedTable.Value;
}
if (requestOracleSettings_oracleSettings_AllowSelectNestedTable != null)
{
request.OracleSettings.AllowSelectNestedTables = requestOracleSettings_oracleSettings_AllowSelectNestedTable.Value;
requestOracleSettingsIsNull = false;
}
System.Int32? requestOracleSettings_oracleSettings_ArchivedLogDestId = null;
if (cmdletContext.OracleSettings_ArchivedLogDestId != null)
{
requestOracleSettings_oracleSettings_ArchivedLogDestId = cmdletContext.OracleSettings_ArchivedLogDestId.Value;
}
if (requestOracleSettings_oracleSettings_ArchivedLogDestId != null)
{
request.OracleSettings.ArchivedLogDestId = requestOracleSettings_oracleSettings_ArchivedLogDestId.Value;
requestOracleSettingsIsNull = false;
}
System.Boolean? requestOracleSettings_oracleSettings_ArchivedLogsOnly = null;
if (cmdletContext.OracleSettings_ArchivedLogsOnly != null)
{
requestOracleSettings_oracleSettings_ArchivedLogsOnly = cmdletContext.OracleSettings_ArchivedLogsOnly.Value;
}
if (requestOracleSettings_oracleSettings_ArchivedLogsOnly != null)
{
request.OracleSettings.ArchivedLogsOnly = requestOracleSettings_oracleSettings_ArchivedLogsOnly.Value;
requestOracleSettingsIsNull = false;
}
System.String requestOracleSettings_oracleSettings_AsmPassword = null;
if (cmdletContext.OracleSettings_AsmPassword != null)
{
requestOracleSettings_oracleSettings_AsmPassword = cmdletContext.OracleSettings_AsmPassword;
}
if (requestOracleSettings_oracleSettings_AsmPassword != null)
{
request.OracleSettings.AsmPassword = requestOracleSettings_oracleSettings_AsmPassword;
requestOracleSettingsIsNull = false;
}
System.String requestOracleSettings_oracleSettings_AsmServer = null;
if (cmdletContext.OracleSettings_AsmServer != null)
{
requestOracleSettings_oracleSettings_AsmServer = cmdletContext.OracleSettings_AsmServer;
}
if (requestOracleSettings_oracleSettings_AsmServer != null)
{
request.OracleSettings.AsmServer = requestOracleSettings_oracleSettings_AsmServer;
requestOracleSettingsIsNull = false;
}
System.String requestOracleSettings_oracleSettings_AsmUser = null;
if (cmdletContext.OracleSettings_AsmUser != null)
{
requestOracleSettings_oracleSettings_AsmUser = cmdletContext.OracleSettings_AsmUser;
}
if (requestOracleSettings_oracleSettings_AsmUser != null)
{
request.OracleSettings.AsmUser = requestOracleSettings_oracleSettings_AsmUser;
requestOracleSettingsIsNull = false;
}
Amazon.DatabaseMigrationService.CharLengthSemantics requestOracleSettings_oracleSettings_CharLengthSemantic = null;
if (cmdletContext.OracleSettings_CharLengthSemantic != null)
{
requestOracleSettings_oracleSettings_CharLengthSemantic = cmdletContext.OracleSettings_CharLengthSemantic;
}
if (requestOracleSettings_oracleSettings_CharLengthSemantic != null)
{
request.OracleSettings.CharLengthSemantics = requestOracleSettings_oracleSettings_CharLengthSemantic;
requestOracleSettingsIsNull = false;
}
System.Boolean? requestOracleSettings_oracleSettings_ConvertTimestampWithZoneToUTC = null;
if (cmdletContext.OracleSettings_ConvertTimestampWithZoneToUTC != null)
{
requestOracleSettings_oracleSettings_ConvertTimestampWithZoneToUTC = cmdletContext.OracleSettings_ConvertTimestampWithZoneToUTC.Value;
}
if (requestOracleSettings_oracleSettings_ConvertTimestampWithZoneToUTC != null)
{
request.OracleSettings.ConvertTimestampWithZoneToUTC = requestOracleSettings_oracleSettings_ConvertTimestampWithZoneToUTC.Value;
requestOracleSettingsIsNull = false;
}
System.String requestOracleSettings_oracleSettings_DatabaseName = null;
if (cmdletContext.OracleSettings_DatabaseName != null)
{
requestOracleSettings_oracleSettings_DatabaseName = cmdletContext.OracleSettings_DatabaseName;
}
if (requestOracleSettings_oracleSettings_DatabaseName != null)
{
request.OracleSettings.DatabaseName = requestOracleSettings_oracleSettings_DatabaseName;
requestOracleSettingsIsNull = false;
}
System.Boolean? requestOracleSettings_oracleSettings_DirectPathNoLog = null;
if (cmdletContext.OracleSettings_DirectPathNoLog != null)
{
requestOracleSettings_oracleSettings_DirectPathNoLog = cmdletContext.OracleSettings_DirectPathNoLog.Value;
}
if (requestOracleSettings_oracleSettings_DirectPathNoLog != null)
{
request.OracleSettings.DirectPathNoLog = requestOracleSettings_oracleSettings_DirectPathNoLog.Value;
requestOracleSettingsIsNull = false;
}
System.Boolean? requestOracleSettings_oracleSettings_DirectPathParallelLoad = null;
if (cmdletContext.OracleSettings_DirectPathParallelLoad != null)
{
requestOracleSettings_oracleSettings_DirectPathParallelLoad = cmdletContext.OracleSettings_DirectPathParallelLoad.Value;
}
if (requestOracleSettings_oracleSettings_DirectPathParallelLoad != null)
{
request.OracleSettings.DirectPathParallelLoad = requestOracleSettings_oracleSettings_DirectPathParallelLoad.Value;
requestOracleSettingsIsNull = false;
}
System.Boolean? requestOracleSettings_oracleSettings_EnableHomogenousTablespace = null;
if (cmdletContext.OracleSettings_EnableHomogenousTablespace != null)
{
requestOracleSettings_oracleSettings_EnableHomogenousTablespace = cmdletContext.OracleSettings_EnableHomogenousTablespace.Value;
}
if (requestOracleSettings_oracleSettings_EnableHomogenousTablespace != null)
{
request.OracleSettings.EnableHomogenousTablespace = requestOracleSettings_oracleSettings_EnableHomogenousTablespace.Value;
requestOracleSettingsIsNull = false;
}
List requestOracleSettings_oracleSettings_ExtraArchivedLogDestId = null;
if (cmdletContext.OracleSettings_ExtraArchivedLogDestId != null)
{
requestOracleSettings_oracleSettings_ExtraArchivedLogDestId = cmdletContext.OracleSettings_ExtraArchivedLogDestId;
}
if (requestOracleSettings_oracleSettings_ExtraArchivedLogDestId != null)
{
request.OracleSettings.ExtraArchivedLogDestIds = requestOracleSettings_oracleSettings_ExtraArchivedLogDestId;
requestOracleSettingsIsNull = false;
}
System.Boolean? requestOracleSettings_oracleSettings_FailTasksOnLobTruncation = null;
if (cmdletContext.OracleSettings_FailTasksOnLobTruncation != null)
{
requestOracleSettings_oracleSettings_FailTasksOnLobTruncation = cmdletContext.OracleSettings_FailTasksOnLobTruncation.Value;
}
if (requestOracleSettings_oracleSettings_FailTasksOnLobTruncation != null)
{
request.OracleSettings.FailTasksOnLobTruncation = requestOracleSettings_oracleSettings_FailTasksOnLobTruncation.Value;
requestOracleSettingsIsNull = false;
}
System.Int32? requestOracleSettings_oracleSettings_NumberDatatypeScale = null;
if (cmdletContext.OracleSettings_NumberDatatypeScale != null)
{
requestOracleSettings_oracleSettings_NumberDatatypeScale = cmdletContext.OracleSettings_NumberDatatypeScale.Value;
}
if (requestOracleSettings_oracleSettings_NumberDatatypeScale != null)
{
request.OracleSettings.NumberDatatypeScale = requestOracleSettings_oracleSettings_NumberDatatypeScale.Value;
requestOracleSettingsIsNull = false;
}
System.Int32? requestOracleSettings_oracleSettings_OpenTransactionWindow = null;
if (cmdletContext.OracleSettings_OpenTransactionWindow != null)
{
requestOracleSettings_oracleSettings_OpenTransactionWindow = cmdletContext.OracleSettings_OpenTransactionWindow.Value;
}
if (requestOracleSettings_oracleSettings_OpenTransactionWindow != null)
{
request.OracleSettings.OpenTransactionWindow = requestOracleSettings_oracleSettings_OpenTransactionWindow.Value;
requestOracleSettingsIsNull = false;
}
System.String requestOracleSettings_oracleSettings_OraclePathPrefix = null;
if (cmdletContext.OracleSettings_OraclePathPrefix != null)
{
requestOracleSettings_oracleSettings_OraclePathPrefix = cmdletContext.OracleSettings_OraclePathPrefix;
}
if (requestOracleSettings_oracleSettings_OraclePathPrefix != null)
{
request.OracleSettings.OraclePathPrefix = requestOracleSettings_oracleSettings_OraclePathPrefix;
requestOracleSettingsIsNull = false;
}
System.Int32? requestOracleSettings_oracleSettings_ParallelAsmReadThread = null;
if (cmdletContext.OracleSettings_ParallelAsmReadThread != null)
{
requestOracleSettings_oracleSettings_ParallelAsmReadThread = cmdletContext.OracleSettings_ParallelAsmReadThread.Value;
}
if (requestOracleSettings_oracleSettings_ParallelAsmReadThread != null)
{
request.OracleSettings.ParallelAsmReadThreads = requestOracleSettings_oracleSettings_ParallelAsmReadThread.Value;
requestOracleSettingsIsNull = false;
}
System.String requestOracleSettings_oracleSettings_Password = null;
if (cmdletContext.OracleSettings_Password != null)
{
requestOracleSettings_oracleSettings_Password = cmdletContext.OracleSettings_Password;
}
if (requestOracleSettings_oracleSettings_Password != null)
{
request.OracleSettings.Password = requestOracleSettings_oracleSettings_Password;
requestOracleSettingsIsNull = false;
}
System.Int32? requestOracleSettings_oracleSettings_Port = null;
if (cmdletContext.OracleSettings_Port != null)
{
requestOracleSettings_oracleSettings_Port = cmdletContext.OracleSettings_Port.Value;
}
if (requestOracleSettings_oracleSettings_Port != null)
{
request.OracleSettings.Port = requestOracleSettings_oracleSettings_Port.Value;
requestOracleSettingsIsNull = false;
}
System.Int32? requestOracleSettings_oracleSettings_ReadAheadBlock = null;
if (cmdletContext.OracleSettings_ReadAheadBlock != null)
{
requestOracleSettings_oracleSettings_ReadAheadBlock = cmdletContext.OracleSettings_ReadAheadBlock.Value;
}
if (requestOracleSettings_oracleSettings_ReadAheadBlock != null)
{
request.OracleSettings.ReadAheadBlocks = requestOracleSettings_oracleSettings_ReadAheadBlock.Value;
requestOracleSettingsIsNull = false;
}
System.Boolean? requestOracleSettings_oracleSettings_ReadTableSpaceName = null;
if (cmdletContext.OracleSettings_ReadTableSpaceName != null)
{
requestOracleSettings_oracleSettings_ReadTableSpaceName = cmdletContext.OracleSettings_ReadTableSpaceName.Value;
}
if (requestOracleSettings_oracleSettings_ReadTableSpaceName != null)
{
request.OracleSettings.ReadTableSpaceName = requestOracleSettings_oracleSettings_ReadTableSpaceName.Value;
requestOracleSettingsIsNull = false;
}
System.Boolean? requestOracleSettings_oracleSettings_ReplacePathPrefix = null;
if (cmdletContext.OracleSettings_ReplacePathPrefix != null)
{
requestOracleSettings_oracleSettings_ReplacePathPrefix = cmdletContext.OracleSettings_ReplacePathPrefix.Value;
}
if (requestOracleSettings_oracleSettings_ReplacePathPrefix != null)
{
request.OracleSettings.ReplacePathPrefix = requestOracleSettings_oracleSettings_ReplacePathPrefix.Value;
requestOracleSettingsIsNull = false;
}
System.Int32? requestOracleSettings_oracleSettings_RetryInterval = null;
if (cmdletContext.OracleSettings_RetryInterval != null)
{
requestOracleSettings_oracleSettings_RetryInterval = cmdletContext.OracleSettings_RetryInterval.Value;
}
if (requestOracleSettings_oracleSettings_RetryInterval != null)
{
request.OracleSettings.RetryInterval = requestOracleSettings_oracleSettings_RetryInterval.Value;
requestOracleSettingsIsNull = false;
}
System.String requestOracleSettings_oracleSettings_SecretsManagerAccessRoleArn = null;
if (cmdletContext.OracleSettings_SecretsManagerAccessRoleArn != null)
{
requestOracleSettings_oracleSettings_SecretsManagerAccessRoleArn = cmdletContext.OracleSettings_SecretsManagerAccessRoleArn;
}
if (requestOracleSettings_oracleSettings_SecretsManagerAccessRoleArn != null)
{
request.OracleSettings.SecretsManagerAccessRoleArn = requestOracleSettings_oracleSettings_SecretsManagerAccessRoleArn;
requestOracleSettingsIsNull = false;
}
System.String requestOracleSettings_oracleSettings_SecretsManagerOracleAsmAccessRoleArn = null;
if (cmdletContext.OracleSettings_SecretsManagerOracleAsmAccessRoleArn != null)
{
requestOracleSettings_oracleSettings_SecretsManagerOracleAsmAccessRoleArn = cmdletContext.OracleSettings_SecretsManagerOracleAsmAccessRoleArn;
}
if (requestOracleSettings_oracleSettings_SecretsManagerOracleAsmAccessRoleArn != null)
{
request.OracleSettings.SecretsManagerOracleAsmAccessRoleArn = requestOracleSettings_oracleSettings_SecretsManagerOracleAsmAccessRoleArn;
requestOracleSettingsIsNull = false;
}
System.String requestOracleSettings_oracleSettings_SecretsManagerOracleAsmSecretId = null;
if (cmdletContext.OracleSettings_SecretsManagerOracleAsmSecretId != null)
{
requestOracleSettings_oracleSettings_SecretsManagerOracleAsmSecretId = cmdletContext.OracleSettings_SecretsManagerOracleAsmSecretId;
}
if (requestOracleSettings_oracleSettings_SecretsManagerOracleAsmSecretId != null)
{
request.OracleSettings.SecretsManagerOracleAsmSecretId = requestOracleSettings_oracleSettings_SecretsManagerOracleAsmSecretId;
requestOracleSettingsIsNull = false;
}
System.String requestOracleSettings_oracleSettings_SecretsManagerSecretId = null;
if (cmdletContext.OracleSettings_SecretsManagerSecretId != null)
{
requestOracleSettings_oracleSettings_SecretsManagerSecretId = cmdletContext.OracleSettings_SecretsManagerSecretId;
}
if (requestOracleSettings_oracleSettings_SecretsManagerSecretId != null)
{
request.OracleSettings.SecretsManagerSecretId = requestOracleSettings_oracleSettings_SecretsManagerSecretId;
requestOracleSettingsIsNull = false;
}
System.String requestOracleSettings_oracleSettings_SecurityDbEncryption = null;
if (cmdletContext.OracleSettings_SecurityDbEncryption != null)
{
requestOracleSettings_oracleSettings_SecurityDbEncryption = cmdletContext.OracleSettings_SecurityDbEncryption;
}
if (requestOracleSettings_oracleSettings_SecurityDbEncryption != null)
{
request.OracleSettings.SecurityDbEncryption = requestOracleSettings_oracleSettings_SecurityDbEncryption;
requestOracleSettingsIsNull = false;
}
System.String requestOracleSettings_oracleSettings_SecurityDbEncryptionName = null;
if (cmdletContext.OracleSettings_SecurityDbEncryptionName != null)
{
requestOracleSettings_oracleSettings_SecurityDbEncryptionName = cmdletContext.OracleSettings_SecurityDbEncryptionName;
}
if (requestOracleSettings_oracleSettings_SecurityDbEncryptionName != null)
{
request.OracleSettings.SecurityDbEncryptionName = requestOracleSettings_oracleSettings_SecurityDbEncryptionName;
requestOracleSettingsIsNull = false;
}
System.String requestOracleSettings_oracleSettings_ServerName = null;
if (cmdletContext.OracleSettings_ServerName != null)
{
requestOracleSettings_oracleSettings_ServerName = cmdletContext.OracleSettings_ServerName;
}
if (requestOracleSettings_oracleSettings_ServerName != null)
{
request.OracleSettings.ServerName = requestOracleSettings_oracleSettings_ServerName;
requestOracleSettingsIsNull = false;
}
System.String requestOracleSettings_oracleSettings_SpatialDataOptionToGeoJsonFunctionName = null;
if (cmdletContext.OracleSettings_SpatialDataOptionToGeoJsonFunctionName != null)
{
requestOracleSettings_oracleSettings_SpatialDataOptionToGeoJsonFunctionName = cmdletContext.OracleSettings_SpatialDataOptionToGeoJsonFunctionName;
}
if (requestOracleSettings_oracleSettings_SpatialDataOptionToGeoJsonFunctionName != null)
{
request.OracleSettings.SpatialDataOptionToGeoJsonFunctionName = requestOracleSettings_oracleSettings_SpatialDataOptionToGeoJsonFunctionName;
requestOracleSettingsIsNull = false;
}
System.Int32? requestOracleSettings_oracleSettings_StandbyDelayTime = null;
if (cmdletContext.OracleSettings_StandbyDelayTime != null)
{
requestOracleSettings_oracleSettings_StandbyDelayTime = cmdletContext.OracleSettings_StandbyDelayTime.Value;
}
if (requestOracleSettings_oracleSettings_StandbyDelayTime != null)
{
request.OracleSettings.StandbyDelayTime = requestOracleSettings_oracleSettings_StandbyDelayTime.Value;
requestOracleSettingsIsNull = false;
}
System.Boolean? requestOracleSettings_oracleSettings_TrimSpaceInChar = null;
if (cmdletContext.OracleSettings_TrimSpaceInChar != null)
{
requestOracleSettings_oracleSettings_TrimSpaceInChar = cmdletContext.OracleSettings_TrimSpaceInChar.Value;
}
if (requestOracleSettings_oracleSettings_TrimSpaceInChar != null)
{
request.OracleSettings.TrimSpaceInChar = requestOracleSettings_oracleSettings_TrimSpaceInChar.Value;
requestOracleSettingsIsNull = false;
}
System.Boolean? requestOracleSettings_oracleSettings_UseAlternateFolderForOnline = null;
if (cmdletContext.OracleSettings_UseAlternateFolderForOnline != null)
{
requestOracleSettings_oracleSettings_UseAlternateFolderForOnline = cmdletContext.OracleSettings_UseAlternateFolderForOnline.Value;
}
if (requestOracleSettings_oracleSettings_UseAlternateFolderForOnline != null)
{
request.OracleSettings.UseAlternateFolderForOnline = requestOracleSettings_oracleSettings_UseAlternateFolderForOnline.Value;
requestOracleSettingsIsNull = false;
}
System.Boolean? requestOracleSettings_oracleSettings_UseBFile = null;
if (cmdletContext.OracleSettings_UseBFile != null)
{
requestOracleSettings_oracleSettings_UseBFile = cmdletContext.OracleSettings_UseBFile.Value;
}
if (requestOracleSettings_oracleSettings_UseBFile != null)
{
request.OracleSettings.UseBFile = requestOracleSettings_oracleSettings_UseBFile.Value;
requestOracleSettingsIsNull = false;
}
System.Boolean? requestOracleSettings_oracleSettings_UseDirectPathFullLoad = null;
if (cmdletContext.OracleSettings_UseDirectPathFullLoad != null)
{
requestOracleSettings_oracleSettings_UseDirectPathFullLoad = cmdletContext.OracleSettings_UseDirectPathFullLoad.Value;
}
if (requestOracleSettings_oracleSettings_UseDirectPathFullLoad != null)
{
request.OracleSettings.UseDirectPathFullLoad = requestOracleSettings_oracleSettings_UseDirectPathFullLoad.Value;
requestOracleSettingsIsNull = false;
}
System.Boolean? requestOracleSettings_oracleSettings_UseLogminerReader = null;
if (cmdletContext.OracleSettings_UseLogminerReader != null)
{
requestOracleSettings_oracleSettings_UseLogminerReader = cmdletContext.OracleSettings_UseLogminerReader.Value;
}
if (requestOracleSettings_oracleSettings_UseLogminerReader != null)
{
request.OracleSettings.UseLogminerReader = requestOracleSettings_oracleSettings_UseLogminerReader.Value;
requestOracleSettingsIsNull = false;
}
System.String requestOracleSettings_oracleSettings_UsePathPrefix = null;
if (cmdletContext.OracleSettings_UsePathPrefix != null)
{
requestOracleSettings_oracleSettings_UsePathPrefix = cmdletContext.OracleSettings_UsePathPrefix;
}
if (requestOracleSettings_oracleSettings_UsePathPrefix != null)
{
request.OracleSettings.UsePathPrefix = requestOracleSettings_oracleSettings_UsePathPrefix;
requestOracleSettingsIsNull = false;
}
System.String requestOracleSettings_oracleSettings_Username = null;
if (cmdletContext.OracleSettings_Username != null)
{
requestOracleSettings_oracleSettings_Username = cmdletContext.OracleSettings_Username;
}
if (requestOracleSettings_oracleSettings_Username != null)
{
request.OracleSettings.Username = requestOracleSettings_oracleSettings_Username;
requestOracleSettingsIsNull = false;
}
// determine if request.OracleSettings should be set to null
if (requestOracleSettingsIsNull)
{
request.OracleSettings = null;
}
if (cmdletContext.Password != null)
{
request.Password = cmdletContext.Password;
}
if (cmdletContext.Port != null)
{
request.Port = cmdletContext.Port.Value;
}
// populate PostgreSQLSettings
var requestPostgreSQLSettingsIsNull = true;
request.PostgreSQLSettings = new Amazon.DatabaseMigrationService.Model.PostgreSQLSettings();
System.String requestPostgreSQLSettings_postgreSQLSettings_AfterConnectScript = null;
if (cmdletContext.PostgreSQLSettings_AfterConnectScript != null)
{
requestPostgreSQLSettings_postgreSQLSettings_AfterConnectScript = cmdletContext.PostgreSQLSettings_AfterConnectScript;
}
if (requestPostgreSQLSettings_postgreSQLSettings_AfterConnectScript != null)
{
request.PostgreSQLSettings.AfterConnectScript = requestPostgreSQLSettings_postgreSQLSettings_AfterConnectScript;
requestPostgreSQLSettingsIsNull = false;
}
System.String requestPostgreSQLSettings_postgreSQLSettings_BabelfishDatabaseName = null;
if (cmdletContext.PostgreSQLSettings_BabelfishDatabaseName != null)
{
requestPostgreSQLSettings_postgreSQLSettings_BabelfishDatabaseName = cmdletContext.PostgreSQLSettings_BabelfishDatabaseName;
}
if (requestPostgreSQLSettings_postgreSQLSettings_BabelfishDatabaseName != null)
{
request.PostgreSQLSettings.BabelfishDatabaseName = requestPostgreSQLSettings_postgreSQLSettings_BabelfishDatabaseName;
requestPostgreSQLSettingsIsNull = false;
}
System.Boolean? requestPostgreSQLSettings_postgreSQLSettings_CaptureDdl = null;
if (cmdletContext.PostgreSQLSettings_CaptureDdl != null)
{
requestPostgreSQLSettings_postgreSQLSettings_CaptureDdl = cmdletContext.PostgreSQLSettings_CaptureDdl.Value;
}
if (requestPostgreSQLSettings_postgreSQLSettings_CaptureDdl != null)
{
request.PostgreSQLSettings.CaptureDdls = requestPostgreSQLSettings_postgreSQLSettings_CaptureDdl.Value;
requestPostgreSQLSettingsIsNull = false;
}
Amazon.DatabaseMigrationService.DatabaseMode requestPostgreSQLSettings_postgreSQLSettings_DatabaseMode = null;
if (cmdletContext.PostgreSQLSettings_DatabaseMode != null)
{
requestPostgreSQLSettings_postgreSQLSettings_DatabaseMode = cmdletContext.PostgreSQLSettings_DatabaseMode;
}
if (requestPostgreSQLSettings_postgreSQLSettings_DatabaseMode != null)
{
request.PostgreSQLSettings.DatabaseMode = requestPostgreSQLSettings_postgreSQLSettings_DatabaseMode;
requestPostgreSQLSettingsIsNull = false;
}
System.String requestPostgreSQLSettings_postgreSQLSettings_DatabaseName = null;
if (cmdletContext.PostgreSQLSettings_DatabaseName != null)
{
requestPostgreSQLSettings_postgreSQLSettings_DatabaseName = cmdletContext.PostgreSQLSettings_DatabaseName;
}
if (requestPostgreSQLSettings_postgreSQLSettings_DatabaseName != null)
{
request.PostgreSQLSettings.DatabaseName = requestPostgreSQLSettings_postgreSQLSettings_DatabaseName;
requestPostgreSQLSettingsIsNull = false;
}
System.String requestPostgreSQLSettings_postgreSQLSettings_DdlArtifactsSchema = null;
if (cmdletContext.PostgreSQLSettings_DdlArtifactsSchema != null)
{
requestPostgreSQLSettings_postgreSQLSettings_DdlArtifactsSchema = cmdletContext.PostgreSQLSettings_DdlArtifactsSchema;
}
if (requestPostgreSQLSettings_postgreSQLSettings_DdlArtifactsSchema != null)
{
request.PostgreSQLSettings.DdlArtifactsSchema = requestPostgreSQLSettings_postgreSQLSettings_DdlArtifactsSchema;
requestPostgreSQLSettingsIsNull = false;
}
System.Int32? requestPostgreSQLSettings_postgreSQLSettings_ExecuteTimeout = null;
if (cmdletContext.PostgreSQLSettings_ExecuteTimeout != null)
{
requestPostgreSQLSettings_postgreSQLSettings_ExecuteTimeout = cmdletContext.PostgreSQLSettings_ExecuteTimeout.Value;
}
if (requestPostgreSQLSettings_postgreSQLSettings_ExecuteTimeout != null)
{
request.PostgreSQLSettings.ExecuteTimeout = requestPostgreSQLSettings_postgreSQLSettings_ExecuteTimeout.Value;
requestPostgreSQLSettingsIsNull = false;
}
System.Boolean? requestPostgreSQLSettings_postgreSQLSettings_FailTasksOnLobTruncation = null;
if (cmdletContext.PostgreSQLSettings_FailTasksOnLobTruncation != null)
{
requestPostgreSQLSettings_postgreSQLSettings_FailTasksOnLobTruncation = cmdletContext.PostgreSQLSettings_FailTasksOnLobTruncation.Value;
}
if (requestPostgreSQLSettings_postgreSQLSettings_FailTasksOnLobTruncation != null)
{
request.PostgreSQLSettings.FailTasksOnLobTruncation = requestPostgreSQLSettings_postgreSQLSettings_FailTasksOnLobTruncation.Value;
requestPostgreSQLSettingsIsNull = false;
}
System.Boolean? requestPostgreSQLSettings_postgreSQLSettings_HeartbeatEnable = null;
if (cmdletContext.PostgreSQLSettings_HeartbeatEnable != null)
{
requestPostgreSQLSettings_postgreSQLSettings_HeartbeatEnable = cmdletContext.PostgreSQLSettings_HeartbeatEnable.Value;
}
if (requestPostgreSQLSettings_postgreSQLSettings_HeartbeatEnable != null)
{
request.PostgreSQLSettings.HeartbeatEnable = requestPostgreSQLSettings_postgreSQLSettings_HeartbeatEnable.Value;
requestPostgreSQLSettingsIsNull = false;
}
System.Int32? requestPostgreSQLSettings_postgreSQLSettings_HeartbeatFrequency = null;
if (cmdletContext.PostgreSQLSettings_HeartbeatFrequency != null)
{
requestPostgreSQLSettings_postgreSQLSettings_HeartbeatFrequency = cmdletContext.PostgreSQLSettings_HeartbeatFrequency.Value;
}
if (requestPostgreSQLSettings_postgreSQLSettings_HeartbeatFrequency != null)
{
request.PostgreSQLSettings.HeartbeatFrequency = requestPostgreSQLSettings_postgreSQLSettings_HeartbeatFrequency.Value;
requestPostgreSQLSettingsIsNull = false;
}
System.String requestPostgreSQLSettings_postgreSQLSettings_HeartbeatSchema = null;
if (cmdletContext.PostgreSQLSettings_HeartbeatSchema != null)
{
requestPostgreSQLSettings_postgreSQLSettings_HeartbeatSchema = cmdletContext.PostgreSQLSettings_HeartbeatSchema;
}
if (requestPostgreSQLSettings_postgreSQLSettings_HeartbeatSchema != null)
{
request.PostgreSQLSettings.HeartbeatSchema = requestPostgreSQLSettings_postgreSQLSettings_HeartbeatSchema;
requestPostgreSQLSettingsIsNull = false;
}
System.Boolean? requestPostgreSQLSettings_postgreSQLSettings_MapBooleanAsBoolean = null;
if (cmdletContext.PostgreSQLSettings_MapBooleanAsBoolean != null)
{
requestPostgreSQLSettings_postgreSQLSettings_MapBooleanAsBoolean = cmdletContext.PostgreSQLSettings_MapBooleanAsBoolean.Value;
}
if (requestPostgreSQLSettings_postgreSQLSettings_MapBooleanAsBoolean != null)
{
request.PostgreSQLSettings.MapBooleanAsBoolean = requestPostgreSQLSettings_postgreSQLSettings_MapBooleanAsBoolean.Value;
requestPostgreSQLSettingsIsNull = false;
}
System.Boolean? requestPostgreSQLSettings_postgreSQLSettings_MapJsonbAsClob = null;
if (cmdletContext.PostgreSQLSettings_MapJsonbAsClob != null)
{
requestPostgreSQLSettings_postgreSQLSettings_MapJsonbAsClob = cmdletContext.PostgreSQLSettings_MapJsonbAsClob.Value;
}
if (requestPostgreSQLSettings_postgreSQLSettings_MapJsonbAsClob != null)
{
request.PostgreSQLSettings.MapJsonbAsClob = requestPostgreSQLSettings_postgreSQLSettings_MapJsonbAsClob.Value;
requestPostgreSQLSettingsIsNull = false;
}
Amazon.DatabaseMigrationService.LongVarcharMappingType requestPostgreSQLSettings_postgreSQLSettings_MapLongVarcharAs = null;
if (cmdletContext.PostgreSQLSettings_MapLongVarcharAs != null)
{
requestPostgreSQLSettings_postgreSQLSettings_MapLongVarcharAs = cmdletContext.PostgreSQLSettings_MapLongVarcharAs;
}
if (requestPostgreSQLSettings_postgreSQLSettings_MapLongVarcharAs != null)
{
request.PostgreSQLSettings.MapLongVarcharAs = requestPostgreSQLSettings_postgreSQLSettings_MapLongVarcharAs;
requestPostgreSQLSettingsIsNull = false;
}
System.Int32? requestPostgreSQLSettings_postgreSQLSettings_MaxFileSize = null;
if (cmdletContext.PostgreSQLSettings_MaxFileSize != null)
{
requestPostgreSQLSettings_postgreSQLSettings_MaxFileSize = cmdletContext.PostgreSQLSettings_MaxFileSize.Value;
}
if (requestPostgreSQLSettings_postgreSQLSettings_MaxFileSize != null)
{
request.PostgreSQLSettings.MaxFileSize = requestPostgreSQLSettings_postgreSQLSettings_MaxFileSize.Value;
requestPostgreSQLSettingsIsNull = false;
}
System.String requestPostgreSQLSettings_postgreSQLSettings_Password = null;
if (cmdletContext.PostgreSQLSettings_Password != null)
{
requestPostgreSQLSettings_postgreSQLSettings_Password = cmdletContext.PostgreSQLSettings_Password;
}
if (requestPostgreSQLSettings_postgreSQLSettings_Password != null)
{
request.PostgreSQLSettings.Password = requestPostgreSQLSettings_postgreSQLSettings_Password;
requestPostgreSQLSettingsIsNull = false;
}
Amazon.DatabaseMigrationService.PluginNameValue requestPostgreSQLSettings_postgreSQLSettings_PluginName = null;
if (cmdletContext.PostgreSQLSettings_PluginName != null)
{
requestPostgreSQLSettings_postgreSQLSettings_PluginName = cmdletContext.PostgreSQLSettings_PluginName;
}
if (requestPostgreSQLSettings_postgreSQLSettings_PluginName != null)
{
request.PostgreSQLSettings.PluginName = requestPostgreSQLSettings_postgreSQLSettings_PluginName;
requestPostgreSQLSettingsIsNull = false;
}
System.Int32? requestPostgreSQLSettings_postgreSQLSettings_Port = null;
if (cmdletContext.PostgreSQLSettings_Port != null)
{
requestPostgreSQLSettings_postgreSQLSettings_Port = cmdletContext.PostgreSQLSettings_Port.Value;
}
if (requestPostgreSQLSettings_postgreSQLSettings_Port != null)
{
request.PostgreSQLSettings.Port = requestPostgreSQLSettings_postgreSQLSettings_Port.Value;
requestPostgreSQLSettingsIsNull = false;
}
System.String requestPostgreSQLSettings_postgreSQLSettings_SecretsManagerAccessRoleArn = null;
if (cmdletContext.PostgreSQLSettings_SecretsManagerAccessRoleArn != null)
{
requestPostgreSQLSettings_postgreSQLSettings_SecretsManagerAccessRoleArn = cmdletContext.PostgreSQLSettings_SecretsManagerAccessRoleArn;
}
if (requestPostgreSQLSettings_postgreSQLSettings_SecretsManagerAccessRoleArn != null)
{
request.PostgreSQLSettings.SecretsManagerAccessRoleArn = requestPostgreSQLSettings_postgreSQLSettings_SecretsManagerAccessRoleArn;
requestPostgreSQLSettingsIsNull = false;
}
System.String requestPostgreSQLSettings_postgreSQLSettings_SecretsManagerSecretId = null;
if (cmdletContext.PostgreSQLSettings_SecretsManagerSecretId != null)
{
requestPostgreSQLSettings_postgreSQLSettings_SecretsManagerSecretId = cmdletContext.PostgreSQLSettings_SecretsManagerSecretId;
}
if (requestPostgreSQLSettings_postgreSQLSettings_SecretsManagerSecretId != null)
{
request.PostgreSQLSettings.SecretsManagerSecretId = requestPostgreSQLSettings_postgreSQLSettings_SecretsManagerSecretId;
requestPostgreSQLSettingsIsNull = false;
}
System.String requestPostgreSQLSettings_postgreSQLSettings_ServerName = null;
if (cmdletContext.PostgreSQLSettings_ServerName != null)
{
requestPostgreSQLSettings_postgreSQLSettings_ServerName = cmdletContext.PostgreSQLSettings_ServerName;
}
if (requestPostgreSQLSettings_postgreSQLSettings_ServerName != null)
{
request.PostgreSQLSettings.ServerName = requestPostgreSQLSettings_postgreSQLSettings_ServerName;
requestPostgreSQLSettingsIsNull = false;
}
System.String requestPostgreSQLSettings_postgreSQLSettings_SlotName = null;
if (cmdletContext.PostgreSQLSettings_SlotName != null)
{
requestPostgreSQLSettings_postgreSQLSettings_SlotName = cmdletContext.PostgreSQLSettings_SlotName;
}
if (requestPostgreSQLSettings_postgreSQLSettings_SlotName != null)
{
request.PostgreSQLSettings.SlotName = requestPostgreSQLSettings_postgreSQLSettings_SlotName;
requestPostgreSQLSettingsIsNull = false;
}
System.Boolean? requestPostgreSQLSettings_postgreSQLSettings_TrimSpaceInChar = null;
if (cmdletContext.PostgreSQLSettings_TrimSpaceInChar != null)
{
requestPostgreSQLSettings_postgreSQLSettings_TrimSpaceInChar = cmdletContext.PostgreSQLSettings_TrimSpaceInChar.Value;
}
if (requestPostgreSQLSettings_postgreSQLSettings_TrimSpaceInChar != null)
{
request.PostgreSQLSettings.TrimSpaceInChar = requestPostgreSQLSettings_postgreSQLSettings_TrimSpaceInChar.Value;
requestPostgreSQLSettingsIsNull = false;
}
System.String requestPostgreSQLSettings_postgreSQLSettings_Username = null;
if (cmdletContext.PostgreSQLSettings_Username != null)
{
requestPostgreSQLSettings_postgreSQLSettings_Username = cmdletContext.PostgreSQLSettings_Username;
}
if (requestPostgreSQLSettings_postgreSQLSettings_Username != null)
{
request.PostgreSQLSettings.Username = requestPostgreSQLSettings_postgreSQLSettings_Username;
requestPostgreSQLSettingsIsNull = false;
}
// determine if request.PostgreSQLSettings should be set to null
if (requestPostgreSQLSettingsIsNull)
{
request.PostgreSQLSettings = null;
}
// populate RedisSettings
var requestRedisSettingsIsNull = true;
request.RedisSettings = new Amazon.DatabaseMigrationService.Model.RedisSettings();
System.String requestRedisSettings_redisSettings_AuthPassword = null;
if (cmdletContext.RedisSettings_AuthPassword != null)
{
requestRedisSettings_redisSettings_AuthPassword = cmdletContext.RedisSettings_AuthPassword;
}
if (requestRedisSettings_redisSettings_AuthPassword != null)
{
request.RedisSettings.AuthPassword = requestRedisSettings_redisSettings_AuthPassword;
requestRedisSettingsIsNull = false;
}
Amazon.DatabaseMigrationService.RedisAuthTypeValue requestRedisSettings_redisSettings_AuthType = null;
if (cmdletContext.RedisSettings_AuthType != null)
{
requestRedisSettings_redisSettings_AuthType = cmdletContext.RedisSettings_AuthType;
}
if (requestRedisSettings_redisSettings_AuthType != null)
{
request.RedisSettings.AuthType = requestRedisSettings_redisSettings_AuthType;
requestRedisSettingsIsNull = false;
}
System.String requestRedisSettings_redisSettings_AuthUserName = null;
if (cmdletContext.RedisSettings_AuthUserName != null)
{
requestRedisSettings_redisSettings_AuthUserName = cmdletContext.RedisSettings_AuthUserName;
}
if (requestRedisSettings_redisSettings_AuthUserName != null)
{
request.RedisSettings.AuthUserName = requestRedisSettings_redisSettings_AuthUserName;
requestRedisSettingsIsNull = false;
}
System.Int32? requestRedisSettings_redisSettings_Port = null;
if (cmdletContext.RedisSettings_Port != null)
{
requestRedisSettings_redisSettings_Port = cmdletContext.RedisSettings_Port.Value;
}
if (requestRedisSettings_redisSettings_Port != null)
{
request.RedisSettings.Port = requestRedisSettings_redisSettings_Port.Value;
requestRedisSettingsIsNull = false;
}
System.String requestRedisSettings_redisSettings_ServerName = null;
if (cmdletContext.RedisSettings_ServerName != null)
{
requestRedisSettings_redisSettings_ServerName = cmdletContext.RedisSettings_ServerName;
}
if (requestRedisSettings_redisSettings_ServerName != null)
{
request.RedisSettings.ServerName = requestRedisSettings_redisSettings_ServerName;
requestRedisSettingsIsNull = false;
}
System.String requestRedisSettings_redisSettings_SslCaCertificateArn = null;
if (cmdletContext.RedisSettings_SslCaCertificateArn != null)
{
requestRedisSettings_redisSettings_SslCaCertificateArn = cmdletContext.RedisSettings_SslCaCertificateArn;
}
if (requestRedisSettings_redisSettings_SslCaCertificateArn != null)
{
request.RedisSettings.SslCaCertificateArn = requestRedisSettings_redisSettings_SslCaCertificateArn;
requestRedisSettingsIsNull = false;
}
Amazon.DatabaseMigrationService.SslSecurityProtocolValue requestRedisSettings_redisSettings_SslSecurityProtocol = null;
if (cmdletContext.RedisSettings_SslSecurityProtocol != null)
{
requestRedisSettings_redisSettings_SslSecurityProtocol = cmdletContext.RedisSettings_SslSecurityProtocol;
}
if (requestRedisSettings_redisSettings_SslSecurityProtocol != null)
{
request.RedisSettings.SslSecurityProtocol = requestRedisSettings_redisSettings_SslSecurityProtocol;
requestRedisSettingsIsNull = false;
}
// determine if request.RedisSettings should be set to null
if (requestRedisSettingsIsNull)
{
request.RedisSettings = null;
}
// populate RedshiftSettings
var requestRedshiftSettingsIsNull = true;
request.RedshiftSettings = new Amazon.DatabaseMigrationService.Model.RedshiftSettings();
System.Boolean? requestRedshiftSettings_redshiftSettings_AcceptAnyDate = null;
if (cmdletContext.RedshiftSettings_AcceptAnyDate != null)
{
requestRedshiftSettings_redshiftSettings_AcceptAnyDate = cmdletContext.RedshiftSettings_AcceptAnyDate.Value;
}
if (requestRedshiftSettings_redshiftSettings_AcceptAnyDate != null)
{
request.RedshiftSettings.AcceptAnyDate = requestRedshiftSettings_redshiftSettings_AcceptAnyDate.Value;
requestRedshiftSettingsIsNull = false;
}
System.String requestRedshiftSettings_redshiftSettings_AfterConnectScript = null;
if (cmdletContext.RedshiftSettings_AfterConnectScript != null)
{
requestRedshiftSettings_redshiftSettings_AfterConnectScript = cmdletContext.RedshiftSettings_AfterConnectScript;
}
if (requestRedshiftSettings_redshiftSettings_AfterConnectScript != null)
{
request.RedshiftSettings.AfterConnectScript = requestRedshiftSettings_redshiftSettings_AfterConnectScript;
requestRedshiftSettingsIsNull = false;
}
System.String requestRedshiftSettings_redshiftSettings_BucketFolder = null;
if (cmdletContext.RedshiftSettings_BucketFolder != null)
{
requestRedshiftSettings_redshiftSettings_BucketFolder = cmdletContext.RedshiftSettings_BucketFolder;
}
if (requestRedshiftSettings_redshiftSettings_BucketFolder != null)
{
request.RedshiftSettings.BucketFolder = requestRedshiftSettings_redshiftSettings_BucketFolder;
requestRedshiftSettingsIsNull = false;
}
System.String requestRedshiftSettings_redshiftSettings_BucketName = null;
if (cmdletContext.RedshiftSettings_BucketName != null)
{
requestRedshiftSettings_redshiftSettings_BucketName = cmdletContext.RedshiftSettings_BucketName;
}
if (requestRedshiftSettings_redshiftSettings_BucketName != null)
{
request.RedshiftSettings.BucketName = requestRedshiftSettings_redshiftSettings_BucketName;
requestRedshiftSettingsIsNull = false;
}
System.Boolean? requestRedshiftSettings_redshiftSettings_CaseSensitiveName = null;
if (cmdletContext.RedshiftSettings_CaseSensitiveName != null)
{
requestRedshiftSettings_redshiftSettings_CaseSensitiveName = cmdletContext.RedshiftSettings_CaseSensitiveName.Value;
}
if (requestRedshiftSettings_redshiftSettings_CaseSensitiveName != null)
{
request.RedshiftSettings.CaseSensitiveNames = requestRedshiftSettings_redshiftSettings_CaseSensitiveName.Value;
requestRedshiftSettingsIsNull = false;
}
System.Boolean? requestRedshiftSettings_redshiftSettings_CompUpdate = null;
if (cmdletContext.RedshiftSettings_CompUpdate != null)
{
requestRedshiftSettings_redshiftSettings_CompUpdate = cmdletContext.RedshiftSettings_CompUpdate.Value;
}
if (requestRedshiftSettings_redshiftSettings_CompUpdate != null)
{
request.RedshiftSettings.CompUpdate = requestRedshiftSettings_redshiftSettings_CompUpdate.Value;
requestRedshiftSettingsIsNull = false;
}
System.Int32? requestRedshiftSettings_redshiftSettings_ConnectionTimeout = null;
if (cmdletContext.RedshiftSettings_ConnectionTimeout != null)
{
requestRedshiftSettings_redshiftSettings_ConnectionTimeout = cmdletContext.RedshiftSettings_ConnectionTimeout.Value;
}
if (requestRedshiftSettings_redshiftSettings_ConnectionTimeout != null)
{
request.RedshiftSettings.ConnectionTimeout = requestRedshiftSettings_redshiftSettings_ConnectionTimeout.Value;
requestRedshiftSettingsIsNull = false;
}
System.String requestRedshiftSettings_redshiftSettings_DatabaseName = null;
if (cmdletContext.RedshiftSettings_DatabaseName != null)
{
requestRedshiftSettings_redshiftSettings_DatabaseName = cmdletContext.RedshiftSettings_DatabaseName;
}
if (requestRedshiftSettings_redshiftSettings_DatabaseName != null)
{
request.RedshiftSettings.DatabaseName = requestRedshiftSettings_redshiftSettings_DatabaseName;
requestRedshiftSettingsIsNull = false;
}
System.String requestRedshiftSettings_redshiftSettings_DateFormat = null;
if (cmdletContext.RedshiftSettings_DateFormat != null)
{
requestRedshiftSettings_redshiftSettings_DateFormat = cmdletContext.RedshiftSettings_DateFormat;
}
if (requestRedshiftSettings_redshiftSettings_DateFormat != null)
{
request.RedshiftSettings.DateFormat = requestRedshiftSettings_redshiftSettings_DateFormat;
requestRedshiftSettingsIsNull = false;
}
System.Boolean? requestRedshiftSettings_redshiftSettings_EmptyAsNull = null;
if (cmdletContext.RedshiftSettings_EmptyAsNull != null)
{
requestRedshiftSettings_redshiftSettings_EmptyAsNull = cmdletContext.RedshiftSettings_EmptyAsNull.Value;
}
if (requestRedshiftSettings_redshiftSettings_EmptyAsNull != null)
{
request.RedshiftSettings.EmptyAsNull = requestRedshiftSettings_redshiftSettings_EmptyAsNull.Value;
requestRedshiftSettingsIsNull = false;
}
Amazon.DatabaseMigrationService.EncryptionModeValue requestRedshiftSettings_redshiftSettings_EncryptionMode = null;
if (cmdletContext.RedshiftSettings_EncryptionMode != null)
{
requestRedshiftSettings_redshiftSettings_EncryptionMode = cmdletContext.RedshiftSettings_EncryptionMode;
}
if (requestRedshiftSettings_redshiftSettings_EncryptionMode != null)
{
request.RedshiftSettings.EncryptionMode = requestRedshiftSettings_redshiftSettings_EncryptionMode;
requestRedshiftSettingsIsNull = false;
}
System.Boolean? requestRedshiftSettings_redshiftSettings_ExplicitId = null;
if (cmdletContext.RedshiftSettings_ExplicitId != null)
{
requestRedshiftSettings_redshiftSettings_ExplicitId = cmdletContext.RedshiftSettings_ExplicitId.Value;
}
if (requestRedshiftSettings_redshiftSettings_ExplicitId != null)
{
request.RedshiftSettings.ExplicitIds = requestRedshiftSettings_redshiftSettings_ExplicitId.Value;
requestRedshiftSettingsIsNull = false;
}
System.Int32? requestRedshiftSettings_redshiftSettings_FileTransferUploadStream = null;
if (cmdletContext.RedshiftSettings_FileTransferUploadStream != null)
{
requestRedshiftSettings_redshiftSettings_FileTransferUploadStream = cmdletContext.RedshiftSettings_FileTransferUploadStream.Value;
}
if (requestRedshiftSettings_redshiftSettings_FileTransferUploadStream != null)
{
request.RedshiftSettings.FileTransferUploadStreams = requestRedshiftSettings_redshiftSettings_FileTransferUploadStream.Value;
requestRedshiftSettingsIsNull = false;
}
System.Int32? requestRedshiftSettings_redshiftSettings_LoadTimeout = null;
if (cmdletContext.RedshiftSettings_LoadTimeout != null)
{
requestRedshiftSettings_redshiftSettings_LoadTimeout = cmdletContext.RedshiftSettings_LoadTimeout.Value;
}
if (requestRedshiftSettings_redshiftSettings_LoadTimeout != null)
{
request.RedshiftSettings.LoadTimeout = requestRedshiftSettings_redshiftSettings_LoadTimeout.Value;
requestRedshiftSettingsIsNull = false;
}
System.Boolean? requestRedshiftSettings_redshiftSettings_MapBooleanAsBoolean = null;
if (cmdletContext.RedshiftSettings_MapBooleanAsBoolean != null)
{
requestRedshiftSettings_redshiftSettings_MapBooleanAsBoolean = cmdletContext.RedshiftSettings_MapBooleanAsBoolean.Value;
}
if (requestRedshiftSettings_redshiftSettings_MapBooleanAsBoolean != null)
{
request.RedshiftSettings.MapBooleanAsBoolean = requestRedshiftSettings_redshiftSettings_MapBooleanAsBoolean.Value;
requestRedshiftSettingsIsNull = false;
}
System.Int32? requestRedshiftSettings_redshiftSettings_MaxFileSize = null;
if (cmdletContext.RedshiftSettings_MaxFileSize != null)
{
requestRedshiftSettings_redshiftSettings_MaxFileSize = cmdletContext.RedshiftSettings_MaxFileSize.Value;
}
if (requestRedshiftSettings_redshiftSettings_MaxFileSize != null)
{
request.RedshiftSettings.MaxFileSize = requestRedshiftSettings_redshiftSettings_MaxFileSize.Value;
requestRedshiftSettingsIsNull = false;
}
System.String requestRedshiftSettings_redshiftSettings_Password = null;
if (cmdletContext.RedshiftSettings_Password != null)
{
requestRedshiftSettings_redshiftSettings_Password = cmdletContext.RedshiftSettings_Password;
}
if (requestRedshiftSettings_redshiftSettings_Password != null)
{
request.RedshiftSettings.Password = requestRedshiftSettings_redshiftSettings_Password;
requestRedshiftSettingsIsNull = false;
}
System.Int32? requestRedshiftSettings_redshiftSettings_Port = null;
if (cmdletContext.RedshiftSettings_Port != null)
{
requestRedshiftSettings_redshiftSettings_Port = cmdletContext.RedshiftSettings_Port.Value;
}
if (requestRedshiftSettings_redshiftSettings_Port != null)
{
request.RedshiftSettings.Port = requestRedshiftSettings_redshiftSettings_Port.Value;
requestRedshiftSettingsIsNull = false;
}
System.Boolean? requestRedshiftSettings_redshiftSettings_RemoveQuote = null;
if (cmdletContext.RedshiftSettings_RemoveQuote != null)
{
requestRedshiftSettings_redshiftSettings_RemoveQuote = cmdletContext.RedshiftSettings_RemoveQuote.Value;
}
if (requestRedshiftSettings_redshiftSettings_RemoveQuote != null)
{
request.RedshiftSettings.RemoveQuotes = requestRedshiftSettings_redshiftSettings_RemoveQuote.Value;
requestRedshiftSettingsIsNull = false;
}
System.String requestRedshiftSettings_redshiftSettings_ReplaceChar = null;
if (cmdletContext.RedshiftSettings_ReplaceChar != null)
{
requestRedshiftSettings_redshiftSettings_ReplaceChar = cmdletContext.RedshiftSettings_ReplaceChar;
}
if (requestRedshiftSettings_redshiftSettings_ReplaceChar != null)
{
request.RedshiftSettings.ReplaceChars = requestRedshiftSettings_redshiftSettings_ReplaceChar;
requestRedshiftSettingsIsNull = false;
}
System.String requestRedshiftSettings_redshiftSettings_ReplaceInvalidChar = null;
if (cmdletContext.RedshiftSettings_ReplaceInvalidChar != null)
{
requestRedshiftSettings_redshiftSettings_ReplaceInvalidChar = cmdletContext.RedshiftSettings_ReplaceInvalidChar;
}
if (requestRedshiftSettings_redshiftSettings_ReplaceInvalidChar != null)
{
request.RedshiftSettings.ReplaceInvalidChars = requestRedshiftSettings_redshiftSettings_ReplaceInvalidChar;
requestRedshiftSettingsIsNull = false;
}
System.String requestRedshiftSettings_redshiftSettings_SecretsManagerAccessRoleArn = null;
if (cmdletContext.RedshiftSettings_SecretsManagerAccessRoleArn != null)
{
requestRedshiftSettings_redshiftSettings_SecretsManagerAccessRoleArn = cmdletContext.RedshiftSettings_SecretsManagerAccessRoleArn;
}
if (requestRedshiftSettings_redshiftSettings_SecretsManagerAccessRoleArn != null)
{
request.RedshiftSettings.SecretsManagerAccessRoleArn = requestRedshiftSettings_redshiftSettings_SecretsManagerAccessRoleArn;
requestRedshiftSettingsIsNull = false;
}
System.String requestRedshiftSettings_redshiftSettings_SecretsManagerSecretId = null;
if (cmdletContext.RedshiftSettings_SecretsManagerSecretId != null)
{
requestRedshiftSettings_redshiftSettings_SecretsManagerSecretId = cmdletContext.RedshiftSettings_SecretsManagerSecretId;
}
if (requestRedshiftSettings_redshiftSettings_SecretsManagerSecretId != null)
{
request.RedshiftSettings.SecretsManagerSecretId = requestRedshiftSettings_redshiftSettings_SecretsManagerSecretId;
requestRedshiftSettingsIsNull = false;
}
System.String requestRedshiftSettings_redshiftSettings_ServerName = null;
if (cmdletContext.RedshiftSettings_ServerName != null)
{
requestRedshiftSettings_redshiftSettings_ServerName = cmdletContext.RedshiftSettings_ServerName;
}
if (requestRedshiftSettings_redshiftSettings_ServerName != null)
{
request.RedshiftSettings.ServerName = requestRedshiftSettings_redshiftSettings_ServerName;
requestRedshiftSettingsIsNull = false;
}
System.String requestRedshiftSettings_redshiftSettings_ServerSideEncryptionKmsKeyId = null;
if (cmdletContext.RedshiftSettings_ServerSideEncryptionKmsKeyId != null)
{
requestRedshiftSettings_redshiftSettings_ServerSideEncryptionKmsKeyId = cmdletContext.RedshiftSettings_ServerSideEncryptionKmsKeyId;
}
if (requestRedshiftSettings_redshiftSettings_ServerSideEncryptionKmsKeyId != null)
{
request.RedshiftSettings.ServerSideEncryptionKmsKeyId = requestRedshiftSettings_redshiftSettings_ServerSideEncryptionKmsKeyId;
requestRedshiftSettingsIsNull = false;
}
System.String requestRedshiftSettings_redshiftSettings_ServiceAccessRoleArn = null;
if (cmdletContext.RedshiftSettings_ServiceAccessRoleArn != null)
{
requestRedshiftSettings_redshiftSettings_ServiceAccessRoleArn = cmdletContext.RedshiftSettings_ServiceAccessRoleArn;
}
if (requestRedshiftSettings_redshiftSettings_ServiceAccessRoleArn != null)
{
request.RedshiftSettings.ServiceAccessRoleArn = requestRedshiftSettings_redshiftSettings_ServiceAccessRoleArn;
requestRedshiftSettingsIsNull = false;
}
System.String requestRedshiftSettings_redshiftSettings_TimeFormat = null;
if (cmdletContext.RedshiftSettings_TimeFormat != null)
{
requestRedshiftSettings_redshiftSettings_TimeFormat = cmdletContext.RedshiftSettings_TimeFormat;
}
if (requestRedshiftSettings_redshiftSettings_TimeFormat != null)
{
request.RedshiftSettings.TimeFormat = requestRedshiftSettings_redshiftSettings_TimeFormat;
requestRedshiftSettingsIsNull = false;
}
System.Boolean? requestRedshiftSettings_redshiftSettings_TrimBlank = null;
if (cmdletContext.RedshiftSettings_TrimBlank != null)
{
requestRedshiftSettings_redshiftSettings_TrimBlank = cmdletContext.RedshiftSettings_TrimBlank.Value;
}
if (requestRedshiftSettings_redshiftSettings_TrimBlank != null)
{
request.RedshiftSettings.TrimBlanks = requestRedshiftSettings_redshiftSettings_TrimBlank.Value;
requestRedshiftSettingsIsNull = false;
}
System.Boolean? requestRedshiftSettings_redshiftSettings_TruncateColumn = null;
if (cmdletContext.RedshiftSettings_TruncateColumn != null)
{
requestRedshiftSettings_redshiftSettings_TruncateColumn = cmdletContext.RedshiftSettings_TruncateColumn.Value;
}
if (requestRedshiftSettings_redshiftSettings_TruncateColumn != null)
{
request.RedshiftSettings.TruncateColumns = requestRedshiftSettings_redshiftSettings_TruncateColumn.Value;
requestRedshiftSettingsIsNull = false;
}
System.String requestRedshiftSettings_redshiftSettings_Username = null;
if (cmdletContext.RedshiftSettings_Username != null)
{
requestRedshiftSettings_redshiftSettings_Username = cmdletContext.RedshiftSettings_Username;
}
if (requestRedshiftSettings_redshiftSettings_Username != null)
{
request.RedshiftSettings.Username = requestRedshiftSettings_redshiftSettings_Username;
requestRedshiftSettingsIsNull = false;
}
System.Int32? requestRedshiftSettings_redshiftSettings_WriteBufferSize = null;
if (cmdletContext.RedshiftSettings_WriteBufferSize != null)
{
requestRedshiftSettings_redshiftSettings_WriteBufferSize = cmdletContext.RedshiftSettings_WriteBufferSize.Value;
}
if (requestRedshiftSettings_redshiftSettings_WriteBufferSize != null)
{
request.RedshiftSettings.WriteBufferSize = requestRedshiftSettings_redshiftSettings_WriteBufferSize.Value;
requestRedshiftSettingsIsNull = false;
}
// determine if request.RedshiftSettings should be set to null
if (requestRedshiftSettingsIsNull)
{
request.RedshiftSettings = null;
}
// populate S3Settings
var requestS3SettingsIsNull = true;
request.S3Settings = new Amazon.DatabaseMigrationService.Model.S3Settings();
System.Boolean? requestS3Settings_s3Settings_AddColumnName = null;
if (cmdletContext.S3Settings_AddColumnName != null)
{
requestS3Settings_s3Settings_AddColumnName = cmdletContext.S3Settings_AddColumnName.Value;
}
if (requestS3Settings_s3Settings_AddColumnName != null)
{
request.S3Settings.AddColumnName = requestS3Settings_s3Settings_AddColumnName.Value;
requestS3SettingsIsNull = false;
}
System.Boolean? requestS3Settings_s3Settings_AddTrailingPaddingCharacter = null;
if (cmdletContext.S3Settings_AddTrailingPaddingCharacter != null)
{
requestS3Settings_s3Settings_AddTrailingPaddingCharacter = cmdletContext.S3Settings_AddTrailingPaddingCharacter.Value;
}
if (requestS3Settings_s3Settings_AddTrailingPaddingCharacter != null)
{
request.S3Settings.AddTrailingPaddingCharacter = requestS3Settings_s3Settings_AddTrailingPaddingCharacter.Value;
requestS3SettingsIsNull = false;
}
System.String requestS3Settings_s3Settings_BucketFolder = null;
if (cmdletContext.S3Settings_BucketFolder != null)
{
requestS3Settings_s3Settings_BucketFolder = cmdletContext.S3Settings_BucketFolder;
}
if (requestS3Settings_s3Settings_BucketFolder != null)
{
request.S3Settings.BucketFolder = requestS3Settings_s3Settings_BucketFolder;
requestS3SettingsIsNull = false;
}
System.String requestS3Settings_s3Settings_BucketName = null;
if (cmdletContext.S3Settings_BucketName != null)
{
requestS3Settings_s3Settings_BucketName = cmdletContext.S3Settings_BucketName;
}
if (requestS3Settings_s3Settings_BucketName != null)
{
request.S3Settings.BucketName = requestS3Settings_s3Settings_BucketName;
requestS3SettingsIsNull = false;
}
Amazon.DatabaseMigrationService.CannedAclForObjectsValue requestS3Settings_s3Settings_CannedAclForObject = null;
if (cmdletContext.S3Settings_CannedAclForObject != null)
{
requestS3Settings_s3Settings_CannedAclForObject = cmdletContext.S3Settings_CannedAclForObject;
}
if (requestS3Settings_s3Settings_CannedAclForObject != null)
{
request.S3Settings.CannedAclForObjects = requestS3Settings_s3Settings_CannedAclForObject;
requestS3SettingsIsNull = false;
}
System.Boolean? requestS3Settings_s3Settings_CdcInsertsAndUpdate = null;
if (cmdletContext.S3Settings_CdcInsertsAndUpdate != null)
{
requestS3Settings_s3Settings_CdcInsertsAndUpdate = cmdletContext.S3Settings_CdcInsertsAndUpdate.Value;
}
if (requestS3Settings_s3Settings_CdcInsertsAndUpdate != null)
{
request.S3Settings.CdcInsertsAndUpdates = requestS3Settings_s3Settings_CdcInsertsAndUpdate.Value;
requestS3SettingsIsNull = false;
}
System.Boolean? requestS3Settings_s3Settings_CdcInsertsOnly = null;
if (cmdletContext.S3Settings_CdcInsertsOnly != null)
{
requestS3Settings_s3Settings_CdcInsertsOnly = cmdletContext.S3Settings_CdcInsertsOnly.Value;
}
if (requestS3Settings_s3Settings_CdcInsertsOnly != null)
{
request.S3Settings.CdcInsertsOnly = requestS3Settings_s3Settings_CdcInsertsOnly.Value;
requestS3SettingsIsNull = false;
}
System.Int32? requestS3Settings_s3Settings_CdcMaxBatchInterval = null;
if (cmdletContext.S3Settings_CdcMaxBatchInterval != null)
{
requestS3Settings_s3Settings_CdcMaxBatchInterval = cmdletContext.S3Settings_CdcMaxBatchInterval.Value;
}
if (requestS3Settings_s3Settings_CdcMaxBatchInterval != null)
{
request.S3Settings.CdcMaxBatchInterval = requestS3Settings_s3Settings_CdcMaxBatchInterval.Value;
requestS3SettingsIsNull = false;
}
System.Int32? requestS3Settings_s3Settings_CdcMinFileSize = null;
if (cmdletContext.S3Settings_CdcMinFileSize != null)
{
requestS3Settings_s3Settings_CdcMinFileSize = cmdletContext.S3Settings_CdcMinFileSize.Value;
}
if (requestS3Settings_s3Settings_CdcMinFileSize != null)
{
request.S3Settings.CdcMinFileSize = requestS3Settings_s3Settings_CdcMinFileSize.Value;
requestS3SettingsIsNull = false;
}
System.String requestS3Settings_s3Settings_CdcPath = null;
if (cmdletContext.S3Settings_CdcPath != null)
{
requestS3Settings_s3Settings_CdcPath = cmdletContext.S3Settings_CdcPath;
}
if (requestS3Settings_s3Settings_CdcPath != null)
{
request.S3Settings.CdcPath = requestS3Settings_s3Settings_CdcPath;
requestS3SettingsIsNull = false;
}
Amazon.DatabaseMigrationService.CompressionTypeValue requestS3Settings_s3Settings_CompressionType = null;
if (cmdletContext.S3Settings_CompressionType != null)
{
requestS3Settings_s3Settings_CompressionType = cmdletContext.S3Settings_CompressionType;
}
if (requestS3Settings_s3Settings_CompressionType != null)
{
request.S3Settings.CompressionType = requestS3Settings_s3Settings_CompressionType;
requestS3SettingsIsNull = false;
}
System.String requestS3Settings_s3Settings_CsvDelimiter = null;
if (cmdletContext.S3Settings_CsvDelimiter != null)
{
requestS3Settings_s3Settings_CsvDelimiter = cmdletContext.S3Settings_CsvDelimiter;
}
if (requestS3Settings_s3Settings_CsvDelimiter != null)
{
request.S3Settings.CsvDelimiter = requestS3Settings_s3Settings_CsvDelimiter;
requestS3SettingsIsNull = false;
}
System.String requestS3Settings_s3Settings_CsvNoSupValue = null;
if (cmdletContext.S3Settings_CsvNoSupValue != null)
{
requestS3Settings_s3Settings_CsvNoSupValue = cmdletContext.S3Settings_CsvNoSupValue;
}
if (requestS3Settings_s3Settings_CsvNoSupValue != null)
{
request.S3Settings.CsvNoSupValue = requestS3Settings_s3Settings_CsvNoSupValue;
requestS3SettingsIsNull = false;
}
System.String requestS3Settings_s3Settings_CsvNullValue = null;
if (cmdletContext.S3Settings_CsvNullValue != null)
{
requestS3Settings_s3Settings_CsvNullValue = cmdletContext.S3Settings_CsvNullValue;
}
if (requestS3Settings_s3Settings_CsvNullValue != null)
{
request.S3Settings.CsvNullValue = requestS3Settings_s3Settings_CsvNullValue;
requestS3SettingsIsNull = false;
}
System.String requestS3Settings_s3Settings_CsvRowDelimiter = null;
if (cmdletContext.S3Settings_CsvRowDelimiter != null)
{
requestS3Settings_s3Settings_CsvRowDelimiter = cmdletContext.S3Settings_CsvRowDelimiter;
}
if (requestS3Settings_s3Settings_CsvRowDelimiter != null)
{
request.S3Settings.CsvRowDelimiter = requestS3Settings_s3Settings_CsvRowDelimiter;
requestS3SettingsIsNull = false;
}
Amazon.DatabaseMigrationService.DataFormatValue requestS3Settings_s3Settings_DataFormat = null;
if (cmdletContext.S3Settings_DataFormat != null)
{
requestS3Settings_s3Settings_DataFormat = cmdletContext.S3Settings_DataFormat;
}
if (requestS3Settings_s3Settings_DataFormat != null)
{
request.S3Settings.DataFormat = requestS3Settings_s3Settings_DataFormat;
requestS3SettingsIsNull = false;
}
System.Int32? requestS3Settings_s3Settings_DataPageSize = null;
if (cmdletContext.S3Settings_DataPageSize != null)
{
requestS3Settings_s3Settings_DataPageSize = cmdletContext.S3Settings_DataPageSize.Value;
}
if (requestS3Settings_s3Settings_DataPageSize != null)
{
request.S3Settings.DataPageSize = requestS3Settings_s3Settings_DataPageSize.Value;
requestS3SettingsIsNull = false;
}
Amazon.DatabaseMigrationService.DatePartitionDelimiterValue requestS3Settings_s3Settings_DatePartitionDelimiter = null;
if (cmdletContext.S3Settings_DatePartitionDelimiter != null)
{
requestS3Settings_s3Settings_DatePartitionDelimiter = cmdletContext.S3Settings_DatePartitionDelimiter;
}
if (requestS3Settings_s3Settings_DatePartitionDelimiter != null)
{
request.S3Settings.DatePartitionDelimiter = requestS3Settings_s3Settings_DatePartitionDelimiter;
requestS3SettingsIsNull = false;
}
System.Boolean? requestS3Settings_s3Settings_DatePartitionEnabled = null;
if (cmdletContext.S3Settings_DatePartitionEnabled != null)
{
requestS3Settings_s3Settings_DatePartitionEnabled = cmdletContext.S3Settings_DatePartitionEnabled.Value;
}
if (requestS3Settings_s3Settings_DatePartitionEnabled != null)
{
request.S3Settings.DatePartitionEnabled = requestS3Settings_s3Settings_DatePartitionEnabled.Value;
requestS3SettingsIsNull = false;
}
Amazon.DatabaseMigrationService.DatePartitionSequenceValue requestS3Settings_s3Settings_DatePartitionSequence = null;
if (cmdletContext.S3Settings_DatePartitionSequence != null)
{
requestS3Settings_s3Settings_DatePartitionSequence = cmdletContext.S3Settings_DatePartitionSequence;
}
if (requestS3Settings_s3Settings_DatePartitionSequence != null)
{
request.S3Settings.DatePartitionSequence = requestS3Settings_s3Settings_DatePartitionSequence;
requestS3SettingsIsNull = false;
}
System.String requestS3Settings_s3Settings_DatePartitionTimezone = null;
if (cmdletContext.S3Settings_DatePartitionTimezone != null)
{
requestS3Settings_s3Settings_DatePartitionTimezone = cmdletContext.S3Settings_DatePartitionTimezone;
}
if (requestS3Settings_s3Settings_DatePartitionTimezone != null)
{
request.S3Settings.DatePartitionTimezone = requestS3Settings_s3Settings_DatePartitionTimezone;
requestS3SettingsIsNull = false;
}
System.Int32? requestS3Settings_s3Settings_DictPageSizeLimit = null;
if (cmdletContext.S3Settings_DictPageSizeLimit != null)
{
requestS3Settings_s3Settings_DictPageSizeLimit = cmdletContext.S3Settings_DictPageSizeLimit.Value;
}
if (requestS3Settings_s3Settings_DictPageSizeLimit != null)
{
request.S3Settings.DictPageSizeLimit = requestS3Settings_s3Settings_DictPageSizeLimit.Value;
requestS3SettingsIsNull = false;
}
System.Boolean? requestS3Settings_s3Settings_EnableStatistic = null;
if (cmdletContext.S3Settings_EnableStatistic != null)
{
requestS3Settings_s3Settings_EnableStatistic = cmdletContext.S3Settings_EnableStatistic.Value;
}
if (requestS3Settings_s3Settings_EnableStatistic != null)
{
request.S3Settings.EnableStatistics = requestS3Settings_s3Settings_EnableStatistic.Value;
requestS3SettingsIsNull = false;
}
Amazon.DatabaseMigrationService.EncodingTypeValue requestS3Settings_s3Settings_EncodingType = null;
if (cmdletContext.S3Settings_EncodingType != null)
{
requestS3Settings_s3Settings_EncodingType = cmdletContext.S3Settings_EncodingType;
}
if (requestS3Settings_s3Settings_EncodingType != null)
{
request.S3Settings.EncodingType = requestS3Settings_s3Settings_EncodingType;
requestS3SettingsIsNull = false;
}
Amazon.DatabaseMigrationService.EncryptionModeValue requestS3Settings_s3Settings_EncryptionMode = null;
if (cmdletContext.S3Settings_EncryptionMode != null)
{
requestS3Settings_s3Settings_EncryptionMode = cmdletContext.S3Settings_EncryptionMode;
}
if (requestS3Settings_s3Settings_EncryptionMode != null)
{
request.S3Settings.EncryptionMode = requestS3Settings_s3Settings_EncryptionMode;
requestS3SettingsIsNull = false;
}
System.String requestS3Settings_s3Settings_ExpectedBucketOwner = null;
if (cmdletContext.S3Settings_ExpectedBucketOwner != null)
{
requestS3Settings_s3Settings_ExpectedBucketOwner = cmdletContext.S3Settings_ExpectedBucketOwner;
}
if (requestS3Settings_s3Settings_ExpectedBucketOwner != null)
{
request.S3Settings.ExpectedBucketOwner = requestS3Settings_s3Settings_ExpectedBucketOwner;
requestS3SettingsIsNull = false;
}
System.String requestS3Settings_s3Settings_ExternalTableDefinition = null;
if (cmdletContext.S3Settings_ExternalTableDefinition != null)
{
requestS3Settings_s3Settings_ExternalTableDefinition = cmdletContext.S3Settings_ExternalTableDefinition;
}
if (requestS3Settings_s3Settings_ExternalTableDefinition != null)
{
request.S3Settings.ExternalTableDefinition = requestS3Settings_s3Settings_ExternalTableDefinition;
requestS3SettingsIsNull = false;
}
System.Boolean? requestS3Settings_s3Settings_GlueCatalogGeneration = null;
if (cmdletContext.S3Settings_GlueCatalogGeneration != null)
{
requestS3Settings_s3Settings_GlueCatalogGeneration = cmdletContext.S3Settings_GlueCatalogGeneration.Value;
}
if (requestS3Settings_s3Settings_GlueCatalogGeneration != null)
{
request.S3Settings.GlueCatalogGeneration = requestS3Settings_s3Settings_GlueCatalogGeneration.Value;
requestS3SettingsIsNull = false;
}
System.Int32? requestS3Settings_s3Settings_IgnoreHeaderRow = null;
if (cmdletContext.S3Settings_IgnoreHeaderRow != null)
{
requestS3Settings_s3Settings_IgnoreHeaderRow = cmdletContext.S3Settings_IgnoreHeaderRow.Value;
}
if (requestS3Settings_s3Settings_IgnoreHeaderRow != null)
{
request.S3Settings.IgnoreHeaderRows = requestS3Settings_s3Settings_IgnoreHeaderRow.Value;
requestS3SettingsIsNull = false;
}
System.Boolean? requestS3Settings_s3Settings_IncludeOpForFullLoad = null;
if (cmdletContext.S3Settings_IncludeOpForFullLoad != null)
{
requestS3Settings_s3Settings_IncludeOpForFullLoad = cmdletContext.S3Settings_IncludeOpForFullLoad.Value;
}
if (requestS3Settings_s3Settings_IncludeOpForFullLoad != null)
{
request.S3Settings.IncludeOpForFullLoad = requestS3Settings_s3Settings_IncludeOpForFullLoad.Value;
requestS3SettingsIsNull = false;
}
System.Int32? requestS3Settings_s3Settings_MaxFileSize = null;
if (cmdletContext.S3Settings_MaxFileSize != null)
{
requestS3Settings_s3Settings_MaxFileSize = cmdletContext.S3Settings_MaxFileSize.Value;
}
if (requestS3Settings_s3Settings_MaxFileSize != null)
{
request.S3Settings.MaxFileSize = requestS3Settings_s3Settings_MaxFileSize.Value;
requestS3SettingsIsNull = false;
}
System.Boolean? requestS3Settings_s3Settings_ParquetTimestampInMillisecond = null;
if (cmdletContext.S3Settings_ParquetTimestampInMillisecond != null)
{
requestS3Settings_s3Settings_ParquetTimestampInMillisecond = cmdletContext.S3Settings_ParquetTimestampInMillisecond.Value;
}
if (requestS3Settings_s3Settings_ParquetTimestampInMillisecond != null)
{
request.S3Settings.ParquetTimestampInMillisecond = requestS3Settings_s3Settings_ParquetTimestampInMillisecond.Value;
requestS3SettingsIsNull = false;
}
Amazon.DatabaseMigrationService.ParquetVersionValue requestS3Settings_s3Settings_ParquetVersion = null;
if (cmdletContext.S3Settings_ParquetVersion != null)
{
requestS3Settings_s3Settings_ParquetVersion = cmdletContext.S3Settings_ParquetVersion;
}
if (requestS3Settings_s3Settings_ParquetVersion != null)
{
request.S3Settings.ParquetVersion = requestS3Settings_s3Settings_ParquetVersion;
requestS3SettingsIsNull = false;
}
System.Boolean? requestS3Settings_s3Settings_PreserveTransaction = null;
if (cmdletContext.S3Settings_PreserveTransaction != null)
{
requestS3Settings_s3Settings_PreserveTransaction = cmdletContext.S3Settings_PreserveTransaction.Value;
}
if (requestS3Settings_s3Settings_PreserveTransaction != null)
{
request.S3Settings.PreserveTransactions = requestS3Settings_s3Settings_PreserveTransaction.Value;
requestS3SettingsIsNull = false;
}
System.Boolean? requestS3Settings_s3Settings_Rfc4180 = null;
if (cmdletContext.S3Settings_Rfc4180 != null)
{
requestS3Settings_s3Settings_Rfc4180 = cmdletContext.S3Settings_Rfc4180.Value;
}
if (requestS3Settings_s3Settings_Rfc4180 != null)
{
request.S3Settings.Rfc4180 = requestS3Settings_s3Settings_Rfc4180.Value;
requestS3SettingsIsNull = false;
}
System.Int32? requestS3Settings_s3Settings_RowGroupLength = null;
if (cmdletContext.S3Settings_RowGroupLength != null)
{
requestS3Settings_s3Settings_RowGroupLength = cmdletContext.S3Settings_RowGroupLength.Value;
}
if (requestS3Settings_s3Settings_RowGroupLength != null)
{
request.S3Settings.RowGroupLength = requestS3Settings_s3Settings_RowGroupLength.Value;
requestS3SettingsIsNull = false;
}
System.String requestS3Settings_s3Settings_ServerSideEncryptionKmsKeyId = null;
if (cmdletContext.S3Settings_ServerSideEncryptionKmsKeyId != null)
{
requestS3Settings_s3Settings_ServerSideEncryptionKmsKeyId = cmdletContext.S3Settings_ServerSideEncryptionKmsKeyId;
}
if (requestS3Settings_s3Settings_ServerSideEncryptionKmsKeyId != null)
{
request.S3Settings.ServerSideEncryptionKmsKeyId = requestS3Settings_s3Settings_ServerSideEncryptionKmsKeyId;
requestS3SettingsIsNull = false;
}
System.String requestS3Settings_s3Settings_ServiceAccessRoleArn = null;
if (cmdletContext.S3Settings_ServiceAccessRoleArn != null)
{
requestS3Settings_s3Settings_ServiceAccessRoleArn = cmdletContext.S3Settings_ServiceAccessRoleArn;
}
if (requestS3Settings_s3Settings_ServiceAccessRoleArn != null)
{
request.S3Settings.ServiceAccessRoleArn = requestS3Settings_s3Settings_ServiceAccessRoleArn;
requestS3SettingsIsNull = false;
}
System.String requestS3Settings_s3Settings_TimestampColumnName = null;
if (cmdletContext.S3Settings_TimestampColumnName != null)
{
requestS3Settings_s3Settings_TimestampColumnName = cmdletContext.S3Settings_TimestampColumnName;
}
if (requestS3Settings_s3Settings_TimestampColumnName != null)
{
request.S3Settings.TimestampColumnName = requestS3Settings_s3Settings_TimestampColumnName;
requestS3SettingsIsNull = false;
}
System.Boolean? requestS3Settings_s3Settings_UseCsvNoSupValue = null;
if (cmdletContext.S3Settings_UseCsvNoSupValue != null)
{
requestS3Settings_s3Settings_UseCsvNoSupValue = cmdletContext.S3Settings_UseCsvNoSupValue.Value;
}
if (requestS3Settings_s3Settings_UseCsvNoSupValue != null)
{
request.S3Settings.UseCsvNoSupValue = requestS3Settings_s3Settings_UseCsvNoSupValue.Value;
requestS3SettingsIsNull = false;
}
System.Boolean? requestS3Settings_s3Settings_UseTaskStartTimeForFullLoadTimestamp = null;
if (cmdletContext.S3Settings_UseTaskStartTimeForFullLoadTimestamp != null)
{
requestS3Settings_s3Settings_UseTaskStartTimeForFullLoadTimestamp = cmdletContext.S3Settings_UseTaskStartTimeForFullLoadTimestamp.Value;
}
if (requestS3Settings_s3Settings_UseTaskStartTimeForFullLoadTimestamp != null)
{
request.S3Settings.UseTaskStartTimeForFullLoadTimestamp = requestS3Settings_s3Settings_UseTaskStartTimeForFullLoadTimestamp.Value;
requestS3SettingsIsNull = false;
}
// determine if request.S3Settings should be set to null
if (requestS3SettingsIsNull)
{
request.S3Settings = null;
}
if (cmdletContext.ServerName != null)
{
request.ServerName = cmdletContext.ServerName;
}
if (cmdletContext.ServiceAccessRoleArn != null)
{
request.ServiceAccessRoleArn = cmdletContext.ServiceAccessRoleArn;
}
if (cmdletContext.SslMode != null)
{
request.SslMode = cmdletContext.SslMode;
}
// populate SybaseSettings
var requestSybaseSettingsIsNull = true;
request.SybaseSettings = new Amazon.DatabaseMigrationService.Model.SybaseSettings();
System.String requestSybaseSettings_sybaseSettings_DatabaseName = null;
if (cmdletContext.SybaseSettings_DatabaseName != null)
{
requestSybaseSettings_sybaseSettings_DatabaseName = cmdletContext.SybaseSettings_DatabaseName;
}
if (requestSybaseSettings_sybaseSettings_DatabaseName != null)
{
request.SybaseSettings.DatabaseName = requestSybaseSettings_sybaseSettings_DatabaseName;
requestSybaseSettingsIsNull = false;
}
System.String requestSybaseSettings_sybaseSettings_Password = null;
if (cmdletContext.SybaseSettings_Password != null)
{
requestSybaseSettings_sybaseSettings_Password = cmdletContext.SybaseSettings_Password;
}
if (requestSybaseSettings_sybaseSettings_Password != null)
{
request.SybaseSettings.Password = requestSybaseSettings_sybaseSettings_Password;
requestSybaseSettingsIsNull = false;
}
System.Int32? requestSybaseSettings_sybaseSettings_Port = null;
if (cmdletContext.SybaseSettings_Port != null)
{
requestSybaseSettings_sybaseSettings_Port = cmdletContext.SybaseSettings_Port.Value;
}
if (requestSybaseSettings_sybaseSettings_Port != null)
{
request.SybaseSettings.Port = requestSybaseSettings_sybaseSettings_Port.Value;
requestSybaseSettingsIsNull = false;
}
System.String requestSybaseSettings_sybaseSettings_SecretsManagerAccessRoleArn = null;
if (cmdletContext.SybaseSettings_SecretsManagerAccessRoleArn != null)
{
requestSybaseSettings_sybaseSettings_SecretsManagerAccessRoleArn = cmdletContext.SybaseSettings_SecretsManagerAccessRoleArn;
}
if (requestSybaseSettings_sybaseSettings_SecretsManagerAccessRoleArn != null)
{
request.SybaseSettings.SecretsManagerAccessRoleArn = requestSybaseSettings_sybaseSettings_SecretsManagerAccessRoleArn;
requestSybaseSettingsIsNull = false;
}
System.String requestSybaseSettings_sybaseSettings_SecretsManagerSecretId = null;
if (cmdletContext.SybaseSettings_SecretsManagerSecretId != null)
{
requestSybaseSettings_sybaseSettings_SecretsManagerSecretId = cmdletContext.SybaseSettings_SecretsManagerSecretId;
}
if (requestSybaseSettings_sybaseSettings_SecretsManagerSecretId != null)
{
request.SybaseSettings.SecretsManagerSecretId = requestSybaseSettings_sybaseSettings_SecretsManagerSecretId;
requestSybaseSettingsIsNull = false;
}
System.String requestSybaseSettings_sybaseSettings_ServerName = null;
if (cmdletContext.SybaseSettings_ServerName != null)
{
requestSybaseSettings_sybaseSettings_ServerName = cmdletContext.SybaseSettings_ServerName;
}
if (requestSybaseSettings_sybaseSettings_ServerName != null)
{
request.SybaseSettings.ServerName = requestSybaseSettings_sybaseSettings_ServerName;
requestSybaseSettingsIsNull = false;
}
System.String requestSybaseSettings_sybaseSettings_Username = null;
if (cmdletContext.SybaseSettings_Username != null)
{
requestSybaseSettings_sybaseSettings_Username = cmdletContext.SybaseSettings_Username;
}
if (requestSybaseSettings_sybaseSettings_Username != null)
{
request.SybaseSettings.Username = requestSybaseSettings_sybaseSettings_Username;
requestSybaseSettingsIsNull = false;
}
// determine if request.SybaseSettings should be set to null
if (requestSybaseSettingsIsNull)
{
request.SybaseSettings = null;
}
// populate TimestreamSettings
var requestTimestreamSettingsIsNull = true;
request.TimestreamSettings = new Amazon.DatabaseMigrationService.Model.TimestreamSettings();
System.Boolean? requestTimestreamSettings_timestreamSettings_CdcInsertsAndUpdate = null;
if (cmdletContext.TimestreamSettings_CdcInsertsAndUpdate != null)
{
requestTimestreamSettings_timestreamSettings_CdcInsertsAndUpdate = cmdletContext.TimestreamSettings_CdcInsertsAndUpdate.Value;
}
if (requestTimestreamSettings_timestreamSettings_CdcInsertsAndUpdate != null)
{
request.TimestreamSettings.CdcInsertsAndUpdates = requestTimestreamSettings_timestreamSettings_CdcInsertsAndUpdate.Value;
requestTimestreamSettingsIsNull = false;
}
System.String requestTimestreamSettings_timestreamSettings_DatabaseName = null;
if (cmdletContext.TimestreamSettings_DatabaseName != null)
{
requestTimestreamSettings_timestreamSettings_DatabaseName = cmdletContext.TimestreamSettings_DatabaseName;
}
if (requestTimestreamSettings_timestreamSettings_DatabaseName != null)
{
request.TimestreamSettings.DatabaseName = requestTimestreamSettings_timestreamSettings_DatabaseName;
requestTimestreamSettingsIsNull = false;
}
System.Boolean? requestTimestreamSettings_timestreamSettings_EnableMagneticStoreWrite = null;
if (cmdletContext.TimestreamSettings_EnableMagneticStoreWrite != null)
{
requestTimestreamSettings_timestreamSettings_EnableMagneticStoreWrite = cmdletContext.TimestreamSettings_EnableMagneticStoreWrite.Value;
}
if (requestTimestreamSettings_timestreamSettings_EnableMagneticStoreWrite != null)
{
request.TimestreamSettings.EnableMagneticStoreWrites = requestTimestreamSettings_timestreamSettings_EnableMagneticStoreWrite.Value;
requestTimestreamSettingsIsNull = false;
}
System.Int32? requestTimestreamSettings_timestreamSettings_MagneticDuration = null;
if (cmdletContext.TimestreamSettings_MagneticDuration != null)
{
requestTimestreamSettings_timestreamSettings_MagneticDuration = cmdletContext.TimestreamSettings_MagneticDuration.Value;
}
if (requestTimestreamSettings_timestreamSettings_MagneticDuration != null)
{
request.TimestreamSettings.MagneticDuration = requestTimestreamSettings_timestreamSettings_MagneticDuration.Value;
requestTimestreamSettingsIsNull = false;
}
System.Int32? requestTimestreamSettings_timestreamSettings_MemoryDuration = null;
if (cmdletContext.TimestreamSettings_MemoryDuration != null)
{
requestTimestreamSettings_timestreamSettings_MemoryDuration = cmdletContext.TimestreamSettings_MemoryDuration.Value;
}
if (requestTimestreamSettings_timestreamSettings_MemoryDuration != null)
{
request.TimestreamSettings.MemoryDuration = requestTimestreamSettings_timestreamSettings_MemoryDuration.Value;
requestTimestreamSettingsIsNull = false;
}
// determine if request.TimestreamSettings should be set to null
if (requestTimestreamSettingsIsNull)
{
request.TimestreamSettings = null;
}
if (cmdletContext.Username != null)
{
request.Username = cmdletContext.Username;
}
CmdletOutput output;
// issue call
var client = Client ?? CreateClient(_CurrentCredentials, _RegionEndpoint);
try
{
var response = CallAWSServiceOperation(client, request);
object pipelineOutput = null;
pipelineOutput = cmdletContext.Select(response, this);
output = new CmdletOutput
{
PipelineOutput = pipelineOutput,
ServiceResponse = response
};
}
catch (Exception e)
{
output = new CmdletOutput { ErrorResponse = e };
}
return output;
}
public ExecutorContext CreateContext()
{
return new CmdletContext();
}
#endregion
#region AWS Service Operation Call
private Amazon.DatabaseMigrationService.Model.ModifyEndpointResponse CallAWSServiceOperation(IAmazonDatabaseMigrationService client, Amazon.DatabaseMigrationService.Model.ModifyEndpointRequest request)
{
Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS Database Migration Service", "ModifyEndpoint");
try
{
#if DESKTOP
return client.ModifyEndpoint(request);
#elif CORECLR
return client.ModifyEndpointAsync(request).GetAwaiter().GetResult();
#else
#error "Unknown build edition"
#endif
}
catch (AmazonServiceException exc)
{
var webException = exc.InnerException as System.Net.WebException;
if (webException != null)
{
throw new Exception(Utils.Common.FormatNameResolutionFailureMessage(client.Config, webException.Message), webException);
}
throw;
}
}
#endregion
internal partial class CmdletContext : ExecutorContext
{
public System.String CertificateArn { get; set; }
public System.String DatabaseName { get; set; }
public System.String DmsTransferSettings_BucketName { get; set; }
public System.String DmsTransferSettings_ServiceAccessRoleArn { get; set; }
public System.String DocDbSettings_DatabaseName { get; set; }
public System.Int32? DocDbSettings_DocsToInvestigate { get; set; }
public System.Boolean? DocDbSettings_ExtractDocId { get; set; }
public System.String DocDbSettings_KmsKeyId { get; set; }
public Amazon.DatabaseMigrationService.NestingLevelValue DocDbSettings_NestingLevel { get; set; }
public System.String DocDbSettings_Password { get; set; }
public System.Int32? DocDbSettings_Port { get; set; }
public System.Boolean? DocDbSettings_ReplicateShardCollection { get; set; }
public System.String DocDbSettings_SecretsManagerAccessRoleArn { get; set; }
public System.String DocDbSettings_SecretsManagerSecretId { get; set; }
public System.String DocDbSettings_ServerName { get; set; }
public System.String DocDbSettings_Username { get; set; }
public System.Boolean? DocDbSettings_UseUpdateLookUp { get; set; }
public System.String DynamoDbSettings_ServiceAccessRoleArn { get; set; }
public System.String ElasticsearchSettings_EndpointUri { get; set; }
public System.Int32? ElasticsearchSettings_ErrorRetryDuration { get; set; }
public System.Int32? ElasticsearchSettings_FullLoadErrorPercentage { get; set; }
public System.String ElasticsearchSettings_ServiceAccessRoleArn { get; set; }
public System.Boolean? ElasticsearchSettings_UseNewMappingType { get; set; }
public System.String EndpointArn { get; set; }
public System.String EndpointIdentifier { get; set; }
public Amazon.DatabaseMigrationService.ReplicationEndpointTypeValue EndpointType { get; set; }
public System.String EngineName { get; set; }
public System.Boolean? ExactSetting { get; set; }
public System.String ExternalTableDefinition { get; set; }
public System.String ExtraConnectionAttribute { get; set; }
public System.String GcpMySQLSettings_AfterConnectScript { get; set; }
public System.Boolean? GcpMySQLSettings_CleanSourceMetadataOnMismatch { get; set; }
public System.String GcpMySQLSettings_DatabaseName { get; set; }
public System.Int32? GcpMySQLSettings_EventsPollInterval { get; set; }
public System.Int32? GcpMySQLSettings_MaxFileSize { get; set; }
public System.Int32? GcpMySQLSettings_ParallelLoadThread { get; set; }
public System.String GcpMySQLSettings_Password { get; set; }
public System.Int32? GcpMySQLSettings_Port { get; set; }
public System.String GcpMySQLSettings_SecretsManagerAccessRoleArn { get; set; }
public System.String GcpMySQLSettings_SecretsManagerSecretId { get; set; }
public System.String GcpMySQLSettings_ServerName { get; set; }
public System.String GcpMySQLSettings_ServerTimezone { get; set; }
public Amazon.DatabaseMigrationService.TargetDbType GcpMySQLSettings_TargetDbType { get; set; }
public System.String GcpMySQLSettings_Username { get; set; }
public System.String IBMDb2Settings_CurrentLsn { get; set; }
public System.String IBMDb2Settings_DatabaseName { get; set; }
public System.Int32? IBMDb2Settings_MaxKBytesPerRead { get; set; }
public System.String IBMDb2Settings_Password { get; set; }
public System.Int32? IBMDb2Settings_Port { get; set; }
public System.String IBMDb2Settings_SecretsManagerAccessRoleArn { get; set; }
public System.String IBMDb2Settings_SecretsManagerSecretId { get; set; }
public System.String IBMDb2Settings_ServerName { get; set; }
public System.Boolean? IBMDb2Settings_SetDataCaptureChange { get; set; }
public System.String IBMDb2Settings_Username { get; set; }
public System.String KafkaSettings_Broker { get; set; }
public System.Boolean? KafkaSettings_IncludeControlDetail { get; set; }
public System.Boolean? KafkaSettings_IncludeNullAndEmpty { get; set; }
public System.Boolean? KafkaSettings_IncludePartitionValue { get; set; }
public System.Boolean? KafkaSettings_IncludeTableAlterOperation { get; set; }
public System.Boolean? KafkaSettings_IncludeTransactionDetail { get; set; }
public Amazon.DatabaseMigrationService.MessageFormatValue KafkaSettings_MessageFormat { get; set; }
public System.Int32? KafkaSettings_MessageMaxByte { get; set; }
public System.Boolean? KafkaSettings_NoHexPrefix { get; set; }
public System.Boolean? KafkaSettings_PartitionIncludeSchemaTable { get; set; }
public Amazon.DatabaseMigrationService.KafkaSaslMechanism KafkaSettings_SaslMechanism { get; set; }
public System.String KafkaSettings_SaslPassword { get; set; }
public System.String KafkaSettings_SaslUsername { get; set; }
public Amazon.DatabaseMigrationService.KafkaSecurityProtocol KafkaSettings_SecurityProtocol { get; set; }
public System.String KafkaSettings_SslCaCertificateArn { get; set; }
public System.String KafkaSettings_SslClientCertificateArn { get; set; }
public System.String KafkaSettings_SslClientKeyArn { get; set; }
public System.String KafkaSettings_SslClientKeyPassword { get; set; }
public Amazon.DatabaseMigrationService.KafkaSslEndpointIdentificationAlgorithm KafkaSettings_SslEndpointIdentificationAlgorithm { get; set; }
public System.String KafkaSettings_Topic { get; set; }
public System.Boolean? KinesisSettings_IncludeControlDetail { get; set; }
public System.Boolean? KinesisSettings_IncludeNullAndEmpty { get; set; }
public System.Boolean? KinesisSettings_IncludePartitionValue { get; set; }
public System.Boolean? KinesisSettings_IncludeTableAlterOperation { get; set; }
public System.Boolean? KinesisSettings_IncludeTransactionDetail { get; set; }
public Amazon.DatabaseMigrationService.MessageFormatValue KinesisSettings_MessageFormat { get; set; }
public System.Boolean? KinesisSettings_NoHexPrefix { get; set; }
public System.Boolean? KinesisSettings_PartitionIncludeSchemaTable { get; set; }
public System.String KinesisSettings_ServiceAccessRoleArn { get; set; }
public System.String KinesisSettings_StreamArn { get; set; }
public System.Int32? MicrosoftSQLServerSettings_BcpPacketSize { get; set; }
public System.String MicrosoftSQLServerSettings_ControlTablesFileGroup { get; set; }
public System.String MicrosoftSQLServerSettings_DatabaseName { get; set; }
public System.Boolean? MicrosoftSQLServerSettings_ForceLobLookup { get; set; }
public System.String MicrosoftSQLServerSettings_Password { get; set; }
public System.Int32? MicrosoftSQLServerSettings_Port { get; set; }
public System.Boolean? MicrosoftSQLServerSettings_QuerySingleAlwaysOnNode { get; set; }
public System.Boolean? MicrosoftSQLServerSettings_ReadBackupOnly { get; set; }
public Amazon.DatabaseMigrationService.SafeguardPolicy MicrosoftSQLServerSettings_SafeguardPolicy { get; set; }
public System.String MicrosoftSQLServerSettings_SecretsManagerAccessRoleArn { get; set; }
public System.String MicrosoftSQLServerSettings_SecretsManagerSecretId { get; set; }
public System.String MicrosoftSQLServerSettings_ServerName { get; set; }
public Amazon.DatabaseMigrationService.TlogAccessMode MicrosoftSQLServerSettings_TlogAccessMode { get; set; }
public System.Boolean? MicrosoftSQLServerSettings_TrimSpaceInChar { get; set; }
public System.Boolean? MicrosoftSQLServerSettings_UseBcpFullLoad { get; set; }
public System.String MicrosoftSQLServerSettings_Username { get; set; }
public System.Boolean? MicrosoftSQLServerSettings_UseThirdPartyBackupDevice { get; set; }
public Amazon.DatabaseMigrationService.AuthMechanismValue MongoDbSettings_AuthMechanism { get; set; }
public System.String MongoDbSettings_AuthSource { get; set; }
public Amazon.DatabaseMigrationService.AuthTypeValue MongoDbSettings_AuthType { get; set; }
public System.String MongoDbSettings_DatabaseName { get; set; }
public System.String MongoDbSettings_DocsToInvestigate { get; set; }
public System.String MongoDbSettings_ExtractDocId { get; set; }
public System.String MongoDbSettings_KmsKeyId { get; set; }
public Amazon.DatabaseMigrationService.NestingLevelValue MongoDbSettings_NestingLevel { get; set; }
public System.String MongoDbSettings_Password { get; set; }
public System.Int32? MongoDbSettings_Port { get; set; }
public System.Boolean? MongoDbSettings_ReplicateShardCollection { get; set; }
public System.String MongoDbSettings_SecretsManagerAccessRoleArn { get; set; }
public System.String MongoDbSettings_SecretsManagerSecretId { get; set; }
public System.String MongoDbSettings_ServerName { get; set; }
public System.String MongoDbSettings_Username { get; set; }
public System.Boolean? MongoDbSettings_UseUpdateLookUp { get; set; }
public System.String MySQLSettings_AfterConnectScript { get; set; }
public System.Boolean? MySQLSettings_CleanSourceMetadataOnMismatch { get; set; }
public System.String MySQLSettings_DatabaseName { get; set; }
public System.Int32? MySQLSettings_EventsPollInterval { get; set; }
public System.Int32? MySQLSettings_MaxFileSize { get; set; }
public System.Int32? MySQLSettings_ParallelLoadThread { get; set; }
public System.String MySQLSettings_Password { get; set; }
public System.Int32? MySQLSettings_Port { get; set; }
public System.String MySQLSettings_SecretsManagerAccessRoleArn { get; set; }
public System.String MySQLSettings_SecretsManagerSecretId { get; set; }
public System.String MySQLSettings_ServerName { get; set; }
public System.String MySQLSettings_ServerTimezone { get; set; }
public Amazon.DatabaseMigrationService.TargetDbType MySQLSettings_TargetDbType { get; set; }
public System.String MySQLSettings_Username { get; set; }
public System.Int32? NeptuneSettings_ErrorRetryDuration { get; set; }
public System.Boolean? NeptuneSettings_IamAuthEnabled { get; set; }
public System.Int32? NeptuneSettings_MaxFileSize { get; set; }
public System.Int32? NeptuneSettings_MaxRetryCount { get; set; }
public System.String NeptuneSettings_S3BucketFolder { get; set; }
public System.String NeptuneSettings_S3BucketName { get; set; }
public System.String NeptuneSettings_ServiceAccessRoleArn { get; set; }
public System.Boolean? OracleSettings_AccessAlternateDirectly { get; set; }
public System.Int32? OracleSettings_AdditionalArchivedLogDestId { get; set; }
public System.Boolean? OracleSettings_AddSupplementalLogging { get; set; }
public System.Boolean? OracleSettings_AllowSelectNestedTable { get; set; }
public System.Int32? OracleSettings_ArchivedLogDestId { get; set; }
public System.Boolean? OracleSettings_ArchivedLogsOnly { get; set; }
public System.String OracleSettings_AsmPassword { get; set; }
public System.String OracleSettings_AsmServer { get; set; }
public System.String OracleSettings_AsmUser { get; set; }
public Amazon.DatabaseMigrationService.CharLengthSemantics OracleSettings_CharLengthSemantic { get; set; }
public System.Boolean? OracleSettings_ConvertTimestampWithZoneToUTC { get; set; }
public System.String OracleSettings_DatabaseName { get; set; }
public System.Boolean? OracleSettings_DirectPathNoLog { get; set; }
public System.Boolean? OracleSettings_DirectPathParallelLoad { get; set; }
public System.Boolean? OracleSettings_EnableHomogenousTablespace { get; set; }
public List OracleSettings_ExtraArchivedLogDestId { get; set; }
public System.Boolean? OracleSettings_FailTasksOnLobTruncation { get; set; }
public System.Int32? OracleSettings_NumberDatatypeScale { get; set; }
public System.Int32? OracleSettings_OpenTransactionWindow { get; set; }
public System.String OracleSettings_OraclePathPrefix { get; set; }
public System.Int32? OracleSettings_ParallelAsmReadThread { get; set; }
public System.String OracleSettings_Password { get; set; }
public System.Int32? OracleSettings_Port { get; set; }
public System.Int32? OracleSettings_ReadAheadBlock { get; set; }
public System.Boolean? OracleSettings_ReadTableSpaceName { get; set; }
public System.Boolean? OracleSettings_ReplacePathPrefix { get; set; }
public System.Int32? OracleSettings_RetryInterval { get; set; }
public System.String OracleSettings_SecretsManagerAccessRoleArn { get; set; }
public System.String OracleSettings_SecretsManagerOracleAsmAccessRoleArn { get; set; }
public System.String OracleSettings_SecretsManagerOracleAsmSecretId { get; set; }
public System.String OracleSettings_SecretsManagerSecretId { get; set; }
public System.String OracleSettings_SecurityDbEncryption { get; set; }
public System.String OracleSettings_SecurityDbEncryptionName { get; set; }
public System.String OracleSettings_ServerName { get; set; }
public System.String OracleSettings_SpatialDataOptionToGeoJsonFunctionName { get; set; }
public System.Int32? OracleSettings_StandbyDelayTime { get; set; }
public System.Boolean? OracleSettings_TrimSpaceInChar { get; set; }
public System.Boolean? OracleSettings_UseAlternateFolderForOnline { get; set; }
public System.Boolean? OracleSettings_UseBFile { get; set; }
public System.Boolean? OracleSettings_UseDirectPathFullLoad { get; set; }
public System.Boolean? OracleSettings_UseLogminerReader { get; set; }
public System.String OracleSettings_UsePathPrefix { get; set; }
public System.String OracleSettings_Username { get; set; }
public System.String Password { get; set; }
public System.Int32? Port { get; set; }
public System.String PostgreSQLSettings_AfterConnectScript { get; set; }
public System.String PostgreSQLSettings_BabelfishDatabaseName { get; set; }
public System.Boolean? PostgreSQLSettings_CaptureDdl { get; set; }
public Amazon.DatabaseMigrationService.DatabaseMode PostgreSQLSettings_DatabaseMode { get; set; }
public System.String PostgreSQLSettings_DatabaseName { get; set; }
public System.String PostgreSQLSettings_DdlArtifactsSchema { get; set; }
public System.Int32? PostgreSQLSettings_ExecuteTimeout { get; set; }
public System.Boolean? PostgreSQLSettings_FailTasksOnLobTruncation { get; set; }
public System.Boolean? PostgreSQLSettings_HeartbeatEnable { get; set; }
public System.Int32? PostgreSQLSettings_HeartbeatFrequency { get; set; }
public System.String PostgreSQLSettings_HeartbeatSchema { get; set; }
public System.Boolean? PostgreSQLSettings_MapBooleanAsBoolean { get; set; }
public System.Boolean? PostgreSQLSettings_MapJsonbAsClob { get; set; }
public Amazon.DatabaseMigrationService.LongVarcharMappingType PostgreSQLSettings_MapLongVarcharAs { get; set; }
public System.Int32? PostgreSQLSettings_MaxFileSize { get; set; }
public System.String PostgreSQLSettings_Password { get; set; }
public Amazon.DatabaseMigrationService.PluginNameValue PostgreSQLSettings_PluginName { get; set; }
public System.Int32? PostgreSQLSettings_Port { get; set; }
public System.String PostgreSQLSettings_SecretsManagerAccessRoleArn { get; set; }
public System.String PostgreSQLSettings_SecretsManagerSecretId { get; set; }
public System.String PostgreSQLSettings_ServerName { get; set; }
public System.String PostgreSQLSettings_SlotName { get; set; }
public System.Boolean? PostgreSQLSettings_TrimSpaceInChar { get; set; }
public System.String PostgreSQLSettings_Username { get; set; }
public System.String RedisSettings_AuthPassword { get; set; }
public Amazon.DatabaseMigrationService.RedisAuthTypeValue RedisSettings_AuthType { get; set; }
public System.String RedisSettings_AuthUserName { get; set; }
public System.Int32? RedisSettings_Port { get; set; }
public System.String RedisSettings_ServerName { get; set; }
public System.String RedisSettings_SslCaCertificateArn { get; set; }
public Amazon.DatabaseMigrationService.SslSecurityProtocolValue RedisSettings_SslSecurityProtocol { get; set; }
public System.Boolean? RedshiftSettings_AcceptAnyDate { get; set; }
public System.String RedshiftSettings_AfterConnectScript { get; set; }
public System.String RedshiftSettings_BucketFolder { get; set; }
public System.String RedshiftSettings_BucketName { get; set; }
public System.Boolean? RedshiftSettings_CaseSensitiveName { get; set; }
public System.Boolean? RedshiftSettings_CompUpdate { get; set; }
public System.Int32? RedshiftSettings_ConnectionTimeout { get; set; }
public System.String RedshiftSettings_DatabaseName { get; set; }
public System.String RedshiftSettings_DateFormat { get; set; }
public System.Boolean? RedshiftSettings_EmptyAsNull { get; set; }
public Amazon.DatabaseMigrationService.EncryptionModeValue RedshiftSettings_EncryptionMode { get; set; }
public System.Boolean? RedshiftSettings_ExplicitId { get; set; }
public System.Int32? RedshiftSettings_FileTransferUploadStream { get; set; }
public System.Int32? RedshiftSettings_LoadTimeout { get; set; }
public System.Boolean? RedshiftSettings_MapBooleanAsBoolean { get; set; }
public System.Int32? RedshiftSettings_MaxFileSize { get; set; }
public System.String RedshiftSettings_Password { get; set; }
public System.Int32? RedshiftSettings_Port { get; set; }
public System.Boolean? RedshiftSettings_RemoveQuote { get; set; }
public System.String RedshiftSettings_ReplaceChar { get; set; }
public System.String RedshiftSettings_ReplaceInvalidChar { get; set; }
public System.String RedshiftSettings_SecretsManagerAccessRoleArn { get; set; }
public System.String RedshiftSettings_SecretsManagerSecretId { get; set; }
public System.String RedshiftSettings_ServerName { get; set; }
public System.String RedshiftSettings_ServerSideEncryptionKmsKeyId { get; set; }
public System.String RedshiftSettings_ServiceAccessRoleArn { get; set; }
public System.String RedshiftSettings_TimeFormat { get; set; }
public System.Boolean? RedshiftSettings_TrimBlank { get; set; }
public System.Boolean? RedshiftSettings_TruncateColumn { get; set; }
public System.String RedshiftSettings_Username { get; set; }
public System.Int32? RedshiftSettings_WriteBufferSize { get; set; }
public System.Boolean? S3Settings_AddColumnName { get; set; }
public System.Boolean? S3Settings_AddTrailingPaddingCharacter { get; set; }
public System.String S3Settings_BucketFolder { get; set; }
public System.String S3Settings_BucketName { get; set; }
public Amazon.DatabaseMigrationService.CannedAclForObjectsValue S3Settings_CannedAclForObject { get; set; }
public System.Boolean? S3Settings_CdcInsertsAndUpdate { get; set; }
public System.Boolean? S3Settings_CdcInsertsOnly { get; set; }
public System.Int32? S3Settings_CdcMaxBatchInterval { get; set; }
public System.Int32? S3Settings_CdcMinFileSize { get; set; }
public System.String S3Settings_CdcPath { get; set; }
public Amazon.DatabaseMigrationService.CompressionTypeValue S3Settings_CompressionType { get; set; }
public System.String S3Settings_CsvDelimiter { get; set; }
public System.String S3Settings_CsvNoSupValue { get; set; }
public System.String S3Settings_CsvNullValue { get; set; }
public System.String S3Settings_CsvRowDelimiter { get; set; }
public Amazon.DatabaseMigrationService.DataFormatValue S3Settings_DataFormat { get; set; }
public System.Int32? S3Settings_DataPageSize { get; set; }
public Amazon.DatabaseMigrationService.DatePartitionDelimiterValue S3Settings_DatePartitionDelimiter { get; set; }
public System.Boolean? S3Settings_DatePartitionEnabled { get; set; }
public Amazon.DatabaseMigrationService.DatePartitionSequenceValue S3Settings_DatePartitionSequence { get; set; }
public System.String S3Settings_DatePartitionTimezone { get; set; }
public System.Int32? S3Settings_DictPageSizeLimit { get; set; }
public System.Boolean? S3Settings_EnableStatistic { get; set; }
public Amazon.DatabaseMigrationService.EncodingTypeValue S3Settings_EncodingType { get; set; }
public Amazon.DatabaseMigrationService.EncryptionModeValue S3Settings_EncryptionMode { get; set; }
public System.String S3Settings_ExpectedBucketOwner { get; set; }
public System.String S3Settings_ExternalTableDefinition { get; set; }
public System.Boolean? S3Settings_GlueCatalogGeneration { get; set; }
public System.Int32? S3Settings_IgnoreHeaderRow { get; set; }
public System.Boolean? S3Settings_IncludeOpForFullLoad { get; set; }
public System.Int32? S3Settings_MaxFileSize { get; set; }
public System.Boolean? S3Settings_ParquetTimestampInMillisecond { get; set; }
public Amazon.DatabaseMigrationService.ParquetVersionValue S3Settings_ParquetVersion { get; set; }
public System.Boolean? S3Settings_PreserveTransaction { get; set; }
public System.Boolean? S3Settings_Rfc4180 { get; set; }
public System.Int32? S3Settings_RowGroupLength { get; set; }
public System.String S3Settings_ServerSideEncryptionKmsKeyId { get; set; }
public System.String S3Settings_ServiceAccessRoleArn { get; set; }
public System.String S3Settings_TimestampColumnName { get; set; }
public System.Boolean? S3Settings_UseCsvNoSupValue { get; set; }
public System.Boolean? S3Settings_UseTaskStartTimeForFullLoadTimestamp { get; set; }
public System.String ServerName { get; set; }
public System.String ServiceAccessRoleArn { get; set; }
public Amazon.DatabaseMigrationService.DmsSslModeValue SslMode { get; set; }
public System.String SybaseSettings_DatabaseName { get; set; }
public System.String SybaseSettings_Password { get; set; }
public System.Int32? SybaseSettings_Port { get; set; }
public System.String SybaseSettings_SecretsManagerAccessRoleArn { get; set; }
public System.String SybaseSettings_SecretsManagerSecretId { get; set; }
public System.String SybaseSettings_ServerName { get; set; }
public System.String SybaseSettings_Username { get; set; }
public System.Boolean? TimestreamSettings_CdcInsertsAndUpdate { get; set; }
public System.String TimestreamSettings_DatabaseName { get; set; }
public System.Boolean? TimestreamSettings_EnableMagneticStoreWrite { get; set; }
public System.Int32? TimestreamSettings_MagneticDuration { get; set; }
public System.Int32? TimestreamSettings_MemoryDuration { get; set; }
public System.String Username { get; set; }
public System.Func Select { get; set; } =
(response, cmdlet) => response.Endpoint;
}
}
}