IAsyncResult invokeCreateDBInstanceReadReplica(CreateDBInstanceReadReplicaRequest createDBInstanceReadReplicaRequest, AsyncCallback callback, object state, bool synchronized) { IRequest irequest = new CreateDBInstanceReadReplicaRequestMarshaller().Marshall(createDBInstanceReadReplicaRequest); var unmarshaller = CreateDBInstanceReadReplicaResponseUnmarshaller.GetInstance(); AsyncResult result = new AsyncResult(irequest, callback, state, synchronized, signer, unmarshaller); Invoke(result); return result; }
/// <summary> /// Initiates the asynchronous execution of the CreateDBInstanceReadReplica operation. /// <seealso cref="Amazon.RDS.AmazonRDS.CreateDBInstanceReadReplica"/> /// </summary> /// /// <param name="createDBInstanceReadReplicaRequest">Container for the necessary parameters to execute the CreateDBInstanceReadReplica operation /// on AmazonRDS.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking /// EndCreateDBInstanceReadReplica operation.</returns> public IAsyncResult BeginCreateDBInstanceReadReplica(CreateDBInstanceReadReplicaRequest createDBInstanceReadReplicaRequest, AsyncCallback callback, object state) { return invokeCreateDBInstanceReadReplica(createDBInstanceReadReplicaRequest, callback, state, false); }
/// <summary> /// Initiates the asynchronous execution of the CreateDBInstanceReadReplica operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateDBInstanceReadReplica operation.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// <returns>The task object representing the asynchronous operation.</returns> public Task<CreateDBInstanceReadReplicaResponse> CreateDBInstanceReadReplicaAsync(CreateDBInstanceReadReplicaRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new CreateDBInstanceReadReplicaRequestMarshaller(); var unmarshaller = CreateDBInstanceReadReplicaResponseUnmarshaller.Instance; return InvokeAsync<CreateDBInstanceReadReplicaRequest,CreateDBInstanceReadReplicaResponse>(request, marshaller, unmarshaller, cancellationToken); }
/// <summary> /// <para> Creates a DB Instance that acts as a Read Replica of a source DB Instance. </para> <para> All Read Replica DB Instances are created /// as Single-AZ deployments with backups disabled. All other DB Instance attributes (including DB Security Groups and DB Parameter Groups) are /// inherited from the source DB Instance, except as specified below. </para> <para><b>IMPORTANT:</b> The source DB Instance must have backup /// retention enabled. </para> /// </summary> /// /// <param name="createDBInstanceReadReplicaRequest">Container for the necessary parameters to execute the CreateDBInstanceReadReplica service /// method on AmazonRDS.</param> /// /// <returns>The response from the CreateDBInstanceReadReplica service method, as returned by AmazonRDS.</returns> /// /// <exception cref="DBParameterGroupNotFoundException"/> /// <exception cref="InstanceQuotaExceededException"/> /// <exception cref="DBSubnetGroupNotFoundException"/> /// <exception cref="DBInstanceAlreadyExistsException"/> /// <exception cref="DBInstanceNotFoundException"/> /// <exception cref="StorageQuotaExceededException"/> /// <exception cref="InvalidVPCNetworkStateException"/> /// <exception cref="InvalidDBInstanceStateException"/> /// <exception cref="DBSecurityGroupNotFoundException"/> /// <exception cref="InsufficientDBInstanceCapacityException"/> /// <exception cref="DBSubnetGroupDoesNotCoverEnoughAZsException"/> /// <exception cref="InvalidSubnetException"/> /// <exception cref="OptionGroupNotFoundException"/> /// <exception cref="ProvisionedIopsNotAvailableInAZException"/> public CreateDBInstanceReadReplicaResponse CreateDBInstanceReadReplica(CreateDBInstanceReadReplicaRequest createDBInstanceReadReplicaRequest) { IAsyncResult asyncResult = invokeCreateDBInstanceReadReplica(createDBInstanceReadReplicaRequest, null, null, true); return EndCreateDBInstanceReadReplica(asyncResult); }
/// <summary> /// Initiates the asynchronous execution of the CreateDBInstanceReadReplica operation. /// <seealso cref="Amazon.RDS.IAmazonRDS.CreateDBInstanceReadReplica"/> /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateDBInstanceReadReplica operation.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// <returns>The task object representing the asynchronous operation.</returns> public Task<CreateDBInstanceReadReplicaResponse> CreateDBInstanceReadReplicaAsync(CreateDBInstanceReadReplicaRequest request, CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new CreateDBInstanceReadReplicaRequestMarshaller(); var unmarshaller = CreateDBInstanceReadReplicaResponseUnmarshaller.GetInstance(); return Invoke<IRequest, CreateDBInstanceReadReplicaRequest, CreateDBInstanceReadReplicaResponse>(request, marshaller, unmarshaller, signer, cancellationToken); }
/// <summary> /// Creates a DB instance for a DB instance running MySQL, MariaDB, or PostgreSQL that /// acts as a Read Replica of a source DB instance. /// /// /// <para> /// All Read Replica DB instances are created as Single-AZ deployments with backups disabled. /// All other DB instance attributes (including DB security groups and DB parameter groups) /// are inherited from the source DB instance, except as specified below. /// </para> /// <important> /// <para> /// The source DB instance must have backup retention enabled. /// </para> /// </important> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateDBInstanceReadReplica service method.</param> /// /// <returns>The response from the CreateDBInstanceReadReplica service method, as returned by RDS.</returns> /// <exception cref="Amazon.RDS.Model.DBInstanceAlreadyExistsException"> /// User already has a DB instance with the given identifier. /// </exception> /// <exception cref="Amazon.RDS.Model.DBInstanceNotFoundException"> /// <i>DBInstanceIdentifier</i> does not refer to an existing DB instance. /// </exception> /// <exception cref="Amazon.RDS.Model.DBParameterGroupNotFoundException"> /// <i>DBParameterGroupName</i> does not refer to an existing DB parameter group. /// </exception> /// <exception cref="Amazon.RDS.Model.DBSecurityGroupNotFoundException"> /// <i>DBSecurityGroupName</i> does not refer to an existing DB security group. /// </exception> /// <exception cref="Amazon.RDS.Model.DBSubnetGroupDoesNotCoverEnoughAZsException"> /// Subnets in the DB subnet group should cover at least two Availability Zones unless /// there is only one Availability Zone. /// </exception> /// <exception cref="Amazon.RDS.Model.DBSubnetGroupNotAllowedException"> /// Indicates that the DBSubnetGroup should not be specified while creating read replicas /// that lie in the same region as the source instance. /// </exception> /// <exception cref="Amazon.RDS.Model.DBSubnetGroupNotFoundException"> /// <i>DBSubnetGroupName</i> does not refer to an existing DB subnet group. /// </exception> /// <exception cref="Amazon.RDS.Model.InstanceQuotaExceededException"> /// Request would result in user exceeding the allowed number of DB instances. /// </exception> /// <exception cref="Amazon.RDS.Model.InsufficientDBInstanceCapacityException"> /// Specified DB instance class is not available in the specified Availability Zone. /// </exception> /// <exception cref="Amazon.RDS.Model.InvalidDBInstanceStateException"> /// The specified DB instance is not in the <i>available</i> state. /// </exception> /// <exception cref="Amazon.RDS.Model.InvalidDBSubnetGroupException"> /// Indicates the DBSubnetGroup does not belong to the same VPC as that of an existing /// cross region read replica of the same source instance. /// </exception> /// <exception cref="Amazon.RDS.Model.InvalidSubnetException"> /// The requested subnet is invalid, or multiple subnets were requested that are not /// all in a common VPC. /// </exception> /// <exception cref="Amazon.RDS.Model.InvalidVPCNetworkStateException"> /// DB subnet group does not cover all Availability Zones after it is created because /// users' change. /// </exception> /// <exception cref="Amazon.RDS.Model.KMSKeyNotAccessibleException"> /// Error accessing KMS key. /// </exception> /// <exception cref="Amazon.RDS.Model.OptionGroupNotFoundException"> /// The specified option group could not be found. /// </exception> /// <exception cref="Amazon.RDS.Model.ProvisionedIopsNotAvailableInAZException"> /// Provisioned IOPS not available in the specified Availability Zone. /// </exception> /// <exception cref="Amazon.RDS.Model.StorageQuotaExceededException"> /// Request would result in user exceeding the allowed amount of storage available across /// all DB instances. /// </exception> /// <exception cref="Amazon.RDS.Model.StorageTypeNotSupportedException"> /// <i>StorageType</i> specified cannot be associated with the DB Instance. /// </exception> public CreateDBInstanceReadReplicaResponse CreateDBInstanceReadReplica(CreateDBInstanceReadReplicaRequest request) { var marshaller = new CreateDBInstanceReadReplicaRequestMarshaller(); var unmarshaller = CreateDBInstanceReadReplicaResponseUnmarshaller.Instance; return Invoke<CreateDBInstanceReadReplicaRequest,CreateDBInstanceReadReplicaResponse>(request, marshaller, unmarshaller); }
private Amazon.RDS.Model.CreateDBInstanceReadReplicaResponse CallAWSServiceOperation(IAmazonRDS client, Amazon.RDS.Model.CreateDBInstanceReadReplicaRequest request) { Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Relational Database Service", "CreateDBInstanceReadReplica"); try { #if DESKTOP return(client.CreateDBInstanceReadReplica(request)); #elif CORECLR return(client.CreateDBInstanceReadReplicaAsync(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; } }
/// <summary> /// <para> Creates a DB instance that acts as a read replica of a source DB instance. </para> <para> All read replica DB instances are created /// as Single-AZ deployments with backups disabled. All other DB instance attributes (including DB security groups and DB parameter groups) are /// inherited from the source DB instance, except as specified below. </para> <para><b>IMPORTANT:</b> The source DB instance must have backup /// retention enabled. </para> /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateDBInstanceReadReplica service /// method on AmazonRDS.</param> /// /// <returns>The response from the CreateDBInstanceReadReplica service method, as returned by AmazonRDS.</returns> /// /// <exception cref="T:Amazon.RDS.Model.DBParameterGroupNotFoundException" /> /// <exception cref="T:Amazon.RDS.Model.DBSubnetGroupNotFoundException" /> /// <exception cref="T:Amazon.RDS.Model.DBInstanceAlreadyExistsException" /> /// <exception cref="T:Amazon.RDS.Model.DBInstanceNotFoundException" /> /// <exception cref="T:Amazon.RDS.Model.InvalidVPCNetworkStateException" /> /// <exception cref="T:Amazon.RDS.Model.InvalidDBSubnetGroupException" /> /// <exception cref="T:Amazon.RDS.Model.DBSecurityGroupNotFoundException" /> /// <exception cref="T:Amazon.RDS.Model.InvalidSubnetException" /> /// <exception cref="T:Amazon.RDS.Model.InstanceQuotaExceededException" /> /// <exception cref="T:Amazon.RDS.Model.DBSubnetGroupNotAllowedException" /> /// <exception cref="T:Amazon.RDS.Model.StorageQuotaExceededException" /> /// <exception cref="T:Amazon.RDS.Model.InvalidDBInstanceStateException" /> /// <exception cref="T:Amazon.RDS.Model.DBSubnetGroupDoesNotCoverEnoughAZsException" /> /// <exception cref="T:Amazon.RDS.Model.InsufficientDBInstanceCapacityException" /> /// <exception cref="T:Amazon.RDS.Model.OptionGroupNotFoundException" /> /// <exception cref="T:Amazon.RDS.Model.ProvisionedIopsNotAvailableInAZException" /> public CreateDBInstanceReadReplicaResponse CreateDBInstanceReadReplica(CreateDBInstanceReadReplicaRequest request) { var task = CreateDBInstanceReadReplicaAsync(request); try { return task.Result; } catch(AggregateException e) { ExceptionDispatchInfo.Capture(e.InnerException).Throw(); return null; } }
public object Execute(ExecutorContext context) { var cmdletContext = context as CmdletContext; // create request var request = new Amazon.RDS.Model.CreateDBInstanceReadReplicaRequest(); if (cmdletContext.SourceRegion != null) { request.SourceRegion = cmdletContext.SourceRegion; } if (cmdletContext.AutoMinorVersionUpgrade != null) { request.AutoMinorVersionUpgrade = cmdletContext.AutoMinorVersionUpgrade.Value; } if (cmdletContext.AvailabilityZone != null) { request.AvailabilityZone = cmdletContext.AvailabilityZone; } if (cmdletContext.CopyTagsToSnapshot != null) { request.CopyTagsToSnapshot = cmdletContext.CopyTagsToSnapshot.Value; } if (cmdletContext.DBInstanceClass != null) { request.DBInstanceClass = cmdletContext.DBInstanceClass; } if (cmdletContext.DBInstanceIdentifier != null) { request.DBInstanceIdentifier = cmdletContext.DBInstanceIdentifier; } if (cmdletContext.DBParameterGroupName != null) { request.DBParameterGroupName = cmdletContext.DBParameterGroupName; } if (cmdletContext.DBSubnetGroupName != null) { request.DBSubnetGroupName = cmdletContext.DBSubnetGroupName; } if (cmdletContext.DeletionProtection != null) { request.DeletionProtection = cmdletContext.DeletionProtection.Value; } if (cmdletContext.Domain != null) { request.Domain = cmdletContext.Domain; } if (cmdletContext.DomainIAMRoleName != null) { request.DomainIAMRoleName = cmdletContext.DomainIAMRoleName; } if (cmdletContext.EnableCloudwatchLogsExport != null) { request.EnableCloudwatchLogsExports = cmdletContext.EnableCloudwatchLogsExport; } if (cmdletContext.EnableIAMDatabaseAuthentication != null) { request.EnableIAMDatabaseAuthentication = cmdletContext.EnableIAMDatabaseAuthentication.Value; } if (cmdletContext.EnablePerformanceInsight != null) { request.EnablePerformanceInsights = cmdletContext.EnablePerformanceInsight.Value; } if (cmdletContext.Iops != null) { request.Iops = cmdletContext.Iops.Value; } if (cmdletContext.KmsKeyId != null) { request.KmsKeyId = cmdletContext.KmsKeyId; } if (cmdletContext.MonitoringInterval != null) { request.MonitoringInterval = cmdletContext.MonitoringInterval.Value; } if (cmdletContext.MonitoringRoleArn != null) { request.MonitoringRoleArn = cmdletContext.MonitoringRoleArn; } if (cmdletContext.MultiAZ != null) { request.MultiAZ = cmdletContext.MultiAZ.Value; } if (cmdletContext.OptionGroupName != null) { request.OptionGroupName = cmdletContext.OptionGroupName; } if (cmdletContext.PerformanceInsightsKMSKeyId != null) { request.PerformanceInsightsKMSKeyId = cmdletContext.PerformanceInsightsKMSKeyId; } if (cmdletContext.PerformanceInsightsRetentionPeriod != null) { request.PerformanceInsightsRetentionPeriod = cmdletContext.PerformanceInsightsRetentionPeriod.Value; } if (cmdletContext.Port != null) { request.Port = cmdletContext.Port.Value; } if (cmdletContext.PreSignedUrl != null) { request.PreSignedUrl = cmdletContext.PreSignedUrl; } if (cmdletContext.ProcessorFeature != null) { request.ProcessorFeatures = cmdletContext.ProcessorFeature; } if (cmdletContext.PubliclyAccessible != null) { request.PubliclyAccessible = cmdletContext.PubliclyAccessible.Value; } if (cmdletContext.SourceDBInstanceIdentifier != null) { request.SourceDBInstanceIdentifier = cmdletContext.SourceDBInstanceIdentifier; } if (cmdletContext.StorageType != null) { request.StorageType = cmdletContext.StorageType; } if (cmdletContext.Tag != null) { request.Tags = cmdletContext.Tag; } if (cmdletContext.UseDefaultProcessorFeature != null) { request.UseDefaultProcessorFeatures = cmdletContext.UseDefaultProcessorFeature.Value; } if (cmdletContext.VpcSecurityGroupId != null) { request.VpcSecurityGroupIds = cmdletContext.VpcSecurityGroupId; } 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); }
/// <summary> /// <para> Creates a DB instance that acts as a read replica of a source DB instance. </para> <para> All read replica DB instances are created /// as Single-AZ deployments with backups disabled. All other DB instance attributes (including DB security groups and DB parameter groups) are /// inherited from the source DB instance, except as specified below. </para> <para><b>IMPORTANT:</b> The source DB instance must have backup /// retention enabled. </para> /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateDBInstanceReadReplica service /// method on AmazonRDS.</param> /// /// <returns>The response from the CreateDBInstanceReadReplica service method, as returned by AmazonRDS.</returns> /// /// <exception cref="T:Amazon.RDS.Model.DBParameterGroupNotFoundException" /> /// <exception cref="T:Amazon.RDS.Model.DBSubnetGroupNotFoundException" /> /// <exception cref="T:Amazon.RDS.Model.DBInstanceAlreadyExistsException" /> /// <exception cref="T:Amazon.RDS.Model.DBInstanceNotFoundException" /> /// <exception cref="T:Amazon.RDS.Model.InvalidVPCNetworkStateException" /> /// <exception cref="T:Amazon.RDS.Model.InvalidDBSubnetGroupException" /> /// <exception cref="T:Amazon.RDS.Model.DBSecurityGroupNotFoundException" /> /// <exception cref="T:Amazon.RDS.Model.InvalidSubnetException" /> /// <exception cref="T:Amazon.RDS.Model.InstanceQuotaExceededException" /> /// <exception cref="T:Amazon.RDS.Model.DBSubnetGroupNotAllowedException" /> /// <exception cref="T:Amazon.RDS.Model.StorageQuotaExceededException" /> /// <exception cref="T:Amazon.RDS.Model.InvalidDBInstanceStateException" /> /// <exception cref="T:Amazon.RDS.Model.DBSubnetGroupDoesNotCoverEnoughAZsException" /> /// <exception cref="T:Amazon.RDS.Model.InsufficientDBInstanceCapacityException" /> /// <exception cref="T:Amazon.RDS.Model.OptionGroupNotFoundException" /> /// <exception cref="T:Amazon.RDS.Model.ProvisionedIopsNotAvailableInAZException" /> public CreateDBInstanceReadReplicaResponse CreateDBInstanceReadReplica(CreateDBInstanceReadReplicaRequest request) { var task = CreateDBInstanceReadReplicaAsync(request); try { return task.Result; } catch(AggregateException e) { throw e.InnerException; } }
/// <summary> /// <para> Creates a DB instance that acts as a read replica of a source DB instance. </para> <para> All read replica DB instances are created /// as Single-AZ deployments with backups disabled. All other DB instance attributes (including DB security groups and DB parameter groups) are /// inherited from the source DB instance, except as specified below. </para> <para><b>IMPORTANT:</b> The source DB instance must have backup /// retention enabled. </para> /// </summary> /// /// <param name="createDBInstanceReadReplicaRequest">Container for the necessary parameters to execute the CreateDBInstanceReadReplica service /// method on AmazonRDS.</param> /// /// <returns>The response from the CreateDBInstanceReadReplica service method, as returned by AmazonRDS.</returns> /// /// <exception cref="T:Amazon.RDS.Model.DBParameterGroupNotFoundException" /> /// <exception cref="T:Amazon.RDS.Model.DBSubnetGroupNotFoundException" /> /// <exception cref="T:Amazon.RDS.Model.DBInstanceAlreadyExistsException" /> /// <exception cref="T:Amazon.RDS.Model.DBInstanceNotFoundException" /> /// <exception cref="T:Amazon.RDS.Model.InvalidVPCNetworkStateException" /> /// <exception cref="T:Amazon.RDS.Model.DBSecurityGroupNotFoundException" /> /// <exception cref="T:Amazon.RDS.Model.InvalidSubnetException" /> /// <exception cref="T:Amazon.RDS.Model.InstanceQuotaExceededException" /> /// <exception cref="T:Amazon.RDS.Model.StorageQuotaExceededException" /> /// <exception cref="T:Amazon.RDS.Model.InvalidDBInstanceStateException" /> /// <exception cref="T:Amazon.RDS.Model.InsufficientDBInstanceCapacityException" /> /// <exception cref="T:Amazon.RDS.Model.DBSubnetGroupDoesNotCoverEnoughAZsException" /> /// <exception cref="T:Amazon.RDS.Model.OptionGroupNotFoundException" /> /// <exception cref="T:Amazon.RDS.Model.ProvisionedIopsNotAvailableInAZException" /> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> public async Task<CreateDBInstanceReadReplicaResponse> CreateDBInstanceReadReplicaAsync(CreateDBInstanceReadReplicaRequest createDBInstanceReadReplicaRequest, CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new CreateDBInstanceReadReplicaRequestMarshaller(); var unmarshaller = CreateDBInstanceReadReplicaResponseUnmarshaller.GetInstance(); var response = await Invoke<IRequest, CreateDBInstanceReadReplicaRequest, CreateDBInstanceReadReplicaResponse>(createDBInstanceReadReplicaRequest, marshaller, unmarshaller, signer, cancellationToken) .ConfigureAwait(continueOnCapturedContext: false); return response; }
/// <summary> /// Initiates the asynchronous execution of the CreateDBInstanceReadReplica operation. /// <seealso cref="Amazon.RDS.IAmazonRDS"/> /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateDBInstanceReadReplica operation on AmazonRDSClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateDBInstanceReadReplica /// operation.</returns> public IAsyncResult BeginCreateDBInstanceReadReplica(CreateDBInstanceReadReplicaRequest request, AsyncCallback callback, object state) { var marshaller = new CreateDBInstanceReadReplicaRequestMarshaller(); var unmarshaller = CreateDBInstanceReadReplicaResponseUnmarshaller.Instance; return BeginInvoke<CreateDBInstanceReadReplicaRequest>(request, marshaller, unmarshaller, callback, state); }
/// <summary> /// <para> Creates a DB Instance that acts as a Read Replica of a source DB Instance. </para> <para> All Read Replica DB Instances are created /// as Single-AZ deployments with backups disabled. All other DB Instance attributes (including DB Security Groups and DB Parameter Groups) are /// inherited from the source DB Instance, except as specified below. </para> <para><b>IMPORTANT:</b> The source DB Instance must have backup /// retention enabled. </para> /// </summary> /// /// <param name="createDBInstanceReadReplicaRequest">Container for the necessary parameters to execute the CreateDBInstanceReadReplica service /// method on AmazonRDS.</param> /// /// <returns>The response from the CreateDBInstanceReadReplica service method, as returned by AmazonRDS.</returns> /// /// <exception cref="DBParameterGroupNotFoundException"/> /// <exception cref="InstanceQuotaExceededException"/> /// <exception cref="DBInstanceAlreadyExistsException"/> /// <exception cref="DBInstanceNotFoundException"/> /// <exception cref="StorageQuotaExceededException"/> /// <exception cref="InvalidVPCNetworkStateException"/> /// <exception cref="InvalidDBInstanceStateException"/> /// <exception cref="DBSecurityGroupNotFoundException"/> /// <exception cref="InsufficientDBInstanceCapacityException"/> public CreateDBInstanceReadReplicaResponse CreateDBInstanceReadReplica(CreateDBInstanceReadReplicaRequest createDBInstanceReadReplicaRequest) { IRequest<CreateDBInstanceReadReplicaRequest> request = new CreateDBInstanceReadReplicaRequestMarshaller().Marshall(createDBInstanceReadReplicaRequest); CreateDBInstanceReadReplicaResponse response = Invoke<CreateDBInstanceReadReplicaRequest, CreateDBInstanceReadReplicaResponse> (request, this.signer, CreateDBInstanceReadReplicaResponseUnmarshaller.GetInstance()); return response; }