// Creates a new Amazon DocumentDB cluster.
Creates a new Amazon DocumentDB cluster.
// Creates a new Amazon DocumentDB cluster .
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 DocumentDB cluster.
Creates a new Amazon DocumentDB cluster .