// Creates a new Amazon Neptune DB cluster. You can use the
// ReplicationSourceIdentifier parameter to create the DB cluster as a Read Replica
// of another DB cluster or Amazon Neptune DB instance. Note that when you create a
// new cluster using CreateDBCluster directly, deletion protection is disabled by
// default (when you create a new production cluster in the console, deletion
// protection is enabled by default). You can only delete a DB cluster if its
// DeletionProtection field is set to false.
Creates a new Amazon Neptune DB cluster. You can use the
ReplicationSourceIdentifier parameter to create the DB cluster as a Read Replica
of another DB cluster or Amazon Neptune DB instance. Note that when you create a
new cluster using CreateDBCluster directly, deletion protection is disabled by
default (when you create a new production cluster in the console, deletion
protection is enabled by default). You can only delete a DB cluster if its
DeletionProtection field is set to false.
// Creates a new Amazon Neptune DB cluster . You can use the // ReplicationSourceIdentifier parameter to create the DB cluster as a Read Replica // of another DB cluster or Amazon Neptune DB instance . Note that when you create a // new cluster using CreateDBCluster directly deletion protection is disabled by // default ( when you create a new production cluster in the console deletion // protection is enabled by default ) . You can only delete a DB cluster if its // DeletionProtection field is set to false .
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 Neptune DB cluster.
Creates a new Amazon Neptune DB cluster .