// Creates a new Amazon Aurora DB cluster. You can use the
// ReplicationSourceIdentifier parameter to create the DB cluster as a read replica
// of another DB cluster or Amazon RDS MySQL DB instance. For cross-region
// replication where the DB cluster identified by ReplicationSourceIdentifier is
// encrypted, you must also specify the PreSignedUrl parameter. For more
// information on Amazon Aurora, see
//
// What Is Amazon Aurora?
// (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html)
// in the Amazon Aurora User Guide. This action only applies to Aurora DB clusters.
Creates a new Amazon Aurora DB cluster. You can use the
ReplicationSourceIdentifier parameter to create the DB cluster as a read replica
of another DB cluster or Amazon RDS MySQL DB instance. For cross-region
replication where the DB cluster identified by ReplicationSourceIdentifier is
encrypted, you must also specify the PreSignedUrl parameter. For more
information on Amazon Aurora, see


// Creates a new Amazon Aurora DB cluster . You can use the // ReplicationSourceIdentifier parameter to create the DB cluster as a read replica // of another DB cluster or Amazon RDS MySQL DB instance . For cross - region // replication where the DB cluster identified by ReplicationSourceIdentifier is // encrypted you must also specify the PreSignedUrl parameter . For more // information on Amazon Aurora see // // What Is Amazon Aurora? // ( https : // docs . aws . amazon . com / AmazonRDS / latest / AuroraUserGuide / CHAP_AuroraOverview . html ) // in the Amazon Aurora User Guide . This action only applies to Aurora DB clusters .
func (c *Client) CreateDBCluster(ctx context.Context, params *CreateDBClusterInput, optFns ...func(*Options)) (*CreateDBClusterOutput, error) {
	if params == nil {
		params = &CreateDBClusterInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "CreateDBCluster", params, optFns, addOperationCreateDBClusterMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*CreateDBClusterOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) CreateDBCluster ( ctx context . Context , params * CreateDBClusterInput , optFns ... func ( * Options ) ) ( * CreateDBClusterOutput , error ) { if params == nil { params = & CreateDBClusterInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationCreateDBClusterMiddlewares ) if err != nil { return nil , err } out := result . ( * CreateDBClusterOutput ) out . ResultMetadata = metadata return out , nil }
Creates a new Amazon Aurora DB cluster.
Creates a new Amazon Aurora DB cluster .