AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

CreatePipelineInput

import "github.com/aws/aws-sdk-go/service/datapipeline"

type CreatePipelineInput struct { Description *string `locationName:"description" type:"string"` Name *string `locationName:"name" min:"1" type:"string" required:"true"` Tags []*Tag `locationName:"tags" type:"list"` UniqueId *string `locationName:"uniqueId" min:"1" type:"string" required:"true"` }

Contains the parameters for CreatePipeline.

Description

Type: *string

The description for the pipeline.

Name

Type: *string

The name for the pipeline. You can use the same name for multiple pipelines associated with your AWS account, because AWS Data Pipeline assigns each pipeline a unique pipeline identifier.

Name is a required field

Tags

Tags are key/value pairs defined by a user and associated with a pipeline to control access. AWS Data Pipeline allows you to associate ten tags per pipeline. For more information, see Controlling User Access to Pipelines (https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-control-access.html) in the AWS Data Pipeline Developer Guide.

UniqueId

Type: *string

A unique identifier. This identifier is not the same as the pipeline identifier assigned by AWS Data Pipeline. You are responsible for defining the format and ensuring the uniqueness of this identifier. You use this parameter to ensure idempotency during repeated calls to CreatePipeline. For example, if the first call to CreatePipeline does not succeed, you can pass in the same unique identifier and pipeline name combination on a subsequent call to CreatePipeline. CreatePipeline ensures that if a pipeline already exists with the same name and unique identifier, a new pipeline is not created. Instead, you'll receive the pipeline identifier from the previous attempt. The uniqueness of the name and unique identifier combination is scoped to the AWS account or IAM user credentials.

UniqueId is a required field

Method

GoString

func (s CreatePipelineInput) GoString() string

GoString returns the string representation

SetDescription

func (s *CreatePipelineInput) SetDescription(v string) *CreatePipelineInput

SetDescription sets the Description field's value.

SetName

func (s *CreatePipelineInput) SetName(v string) *CreatePipelineInput

SetName sets the Name field's value.

SetTags

func (s *CreatePipelineInput) SetTags(v []*Tag) *CreatePipelineInput

SetTags sets the Tags field's value.

SetUniqueId

func (s *CreatePipelineInput) SetUniqueId(v string) *CreatePipelineInput

SetUniqueId sets the UniqueId field's value.

String

func (s CreatePipelineInput) String() string

String returns the string representation

Validate

func (s *CreatePipelineInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: