# Pipelines

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#PipelineNewResponse">PipelineNewResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#PipelineUpdateResponse">PipelineUpdateResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#PipelineListResponse">PipelineListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#PipelineNewV1Response">PipelineNewV1Response</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#PipelineGetResponse">PipelineGetResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#PipelineGetV1Response">PipelineGetV1Response</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#PipelineListV1Response">PipelineListV1Response</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#PipelineValidateSqlResponse">PipelineValidateSqlResponse</a>

Methods:

- <code title="post /accounts/{account_id}/pipelines">client.Pipelines.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#PipelineService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#PipelineNewParams">PipelineNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#PipelineNewResponse">PipelineNewResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="put /accounts/{account_id}/pipelines/{pipeline_name}">client.Pipelines.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#PipelineService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, pipelineName <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#PipelineUpdateParams">PipelineUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#PipelineUpdateResponse">PipelineUpdateResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/pipelines">client.Pipelines.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#PipelineService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#PipelineListParams">PipelineListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#PipelineListResponse">PipelineListResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/pipelines/{pipeline_name}">client.Pipelines.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#PipelineService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, pipelineName <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#PipelineDeleteParams">PipelineDeleteParams</a>) <a href="https://pkg.go.dev/builtin#error">error</a></code>
- <code title="post /accounts/{account_id}/pipelines/v1/pipelines">client.Pipelines.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#PipelineService.NewV1">NewV1</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#PipelineNewV1Params">PipelineNewV1Params</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#PipelineNewV1Response">PipelineNewV1Response</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/pipelines/v1/pipelines/{pipeline_id}">client.Pipelines.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#PipelineService.DeleteV1">DeleteV1</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, pipelineID <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#PipelineDeleteV1Params">PipelineDeleteV1Params</a>) <a href="https://pkg.go.dev/builtin#error">error</a></code>
- <code title="get /accounts/{account_id}/pipelines/{pipeline_name}">client.Pipelines.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#PipelineService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, pipelineName <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#PipelineGetParams">PipelineGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#PipelineGetResponse">PipelineGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/pipelines/v1/pipelines/{pipeline_id}">client.Pipelines.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#PipelineService.GetV1">GetV1</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, pipelineID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#PipelineGetV1Params">PipelineGetV1Params</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#PipelineGetV1Response">PipelineGetV1Response</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/pipelines/v1/pipelines">client.Pipelines.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#PipelineService.ListV1">ListV1</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#PipelineListV1Params">PipelineListV1Params</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#V4PagePaginationArray">V4PagePaginationArray</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#PipelineListV1Response">PipelineListV1Response</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="post /accounts/{account_id}/pipelines/v1/validate_sql">client.Pipelines.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#PipelineService.ValidateSql">ValidateSql</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#PipelineValidateSqlParams">PipelineValidateSqlParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#PipelineValidateSqlResponse">PipelineValidateSqlResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## Sinks

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#SinkNewResponse">SinkNewResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#SinkListResponse">SinkListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#SinkGetResponse">SinkGetResponse</a>

Methods:

- <code title="post /accounts/{account_id}/pipelines/v1/sinks">client.Pipelines.Sinks.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#SinkService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#SinkNewParams">SinkNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#SinkNewResponse">SinkNewResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/pipelines/v1/sinks">client.Pipelines.Sinks.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#SinkService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#SinkListParams">SinkListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#V4PagePaginationArray">V4PagePaginationArray</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#SinkListResponse">SinkListResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/pipelines/v1/sinks/{sink_id}">client.Pipelines.Sinks.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#SinkService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, sinkID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#SinkDeleteParams">SinkDeleteParams</a>) <a href="https://pkg.go.dev/builtin#error">error</a></code>
- <code title="get /accounts/{account_id}/pipelines/v1/sinks/{sink_id}">client.Pipelines.Sinks.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#SinkService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, sinkID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#SinkGetParams">SinkGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#SinkGetResponse">SinkGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## Streams

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#StreamNewResponse">StreamNewResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#StreamUpdateResponse">StreamUpdateResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#StreamListResponse">StreamListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#StreamGetResponse">StreamGetResponse</a>

Methods:

- <code title="post /accounts/{account_id}/pipelines/v1/streams">client.Pipelines.Streams.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#StreamService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#StreamNewParams">StreamNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#StreamNewResponse">StreamNewResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="patch /accounts/{account_id}/pipelines/v1/streams/{stream_id}">client.Pipelines.Streams.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#StreamService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, streamID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#StreamUpdateParams">StreamUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#StreamUpdateResponse">StreamUpdateResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/pipelines/v1/streams">client.Pipelines.Streams.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#StreamService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#StreamListParams">StreamListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#V4PagePaginationArray">V4PagePaginationArray</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#StreamListResponse">StreamListResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/pipelines/v1/streams/{stream_id}">client.Pipelines.Streams.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#StreamService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, streamID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#StreamDeleteParams">StreamDeleteParams</a>) <a href="https://pkg.go.dev/builtin#error">error</a></code>
- <code title="get /accounts/{account_id}/pipelines/v1/streams/{stream_id}">client.Pipelines.Streams.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#StreamService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, streamID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#StreamGetParams">StreamGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines">pipelines</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/pipelines#StreamGetResponse">StreamGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
