public void DatabaseMigrationServiceCreateReplicationInstance() { #region create-replication-instance-1481746705295 var response = client.CreateReplicationInstance(new CreateReplicationInstanceRequest { AllocatedStorage = 123, AutoMinorVersionUpgrade = true, AvailabilityZone = "", EngineVersion = "", KmsKeyId = "", MultiAZ = true, PreferredMaintenanceWindow = "", PubliclyAccessible = true, ReplicationInstanceClass = "", ReplicationInstanceIdentifier = "", ReplicationSubnetGroupIdentifier = "", Tags = new List <Tag> { new Tag { Key = "string", Value = "string" } }, VpcSecurityGroupIds = new List <string> { } }); ReplicationInstance replicationInstance = response.ReplicationInstance; #endregion }
public void DatabaseMigrationServiceModifyReplicationInstance() { #region modify-replication-instance-1481761784746 var client = new AmazonDatabaseMigrationServiceClient(); var response = client.ModifyReplicationInstance(new ModifyReplicationInstanceRequest { AllocatedStorage = 123, AllowMajorVersionUpgrade = true, ApplyImmediately = true, AutoMinorVersionUpgrade = true, EngineVersion = "1.5.0", MultiAZ = true, PreferredMaintenanceWindow = "sun:06:00-sun:14:00", ReplicationInstanceArn = "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ", ReplicationInstanceClass = "dms.t2.micro", ReplicationInstanceIdentifier = "test-rep-1", VpcSecurityGroupIds = new List <string> { } }); ReplicationInstance replicationInstance = response.ReplicationInstance; #endregion }
public void DatabaseMigrationServiceDeleteReplicationInstance() { #region delete-replication-instance-1481752552839 var response = client.DeleteReplicationInstance(new DeleteReplicationInstanceRequest { ReplicationInstanceArn = "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ" }); ReplicationInstance replicationInstance = response.ReplicationInstance; #endregion }