...
AWS SDK for Go API Reference
We announced the upcoming end-of-support for AWS SDK for Go (v1). We recommend that you migrate to AWS SDK for Go v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
import "github.com/aws/aws-sdk-go/service/datapipeline"
Overview
Constants

Overview ▾

Package datapipeline provides the client and types for making API requests to AWS Data Pipeline.

AWS Data Pipeline configures and manages a data-driven workflow called a pipeline. AWS Data Pipeline handles the details of scheduling and ensuring that data dependencies are met so that your application can focus on processing the data.

AWS Data Pipeline provides a JAR implementation of a task runner called AWS Data Pipeline Task Runner. AWS Data Pipeline Task Runner provides logic for common data management scenarios, such as performing database queries and running data analysis using Amazon Elastic MapReduce (Amazon EMR). You can use AWS Data Pipeline Task Runner as your task runner, or you can write your own task runner to provide custom data management.

AWS Data Pipeline implements two main sets of functionality. Use the first set to create a pipeline and define data sources, schedules, dependencies, and the transforms to be performed on the data. Use the second set in your task runner application to receive the next task ready for processing. The logic for performing the task, such as querying the data, running data analysis, or converting the data from one format to another, is contained within the task runner. The task runner performs the task assigned to it by the web service, reporting progress to the web service as it does so. When the task is done, the task runner reports the final success or failure of the task to the web service.

See https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29 for more information on this service.

See datapipeline package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/datapipeline/

Using the Client

To contact AWS Data Pipeline with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS Data Pipeline client DataPipeline for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/datapipeline/#New

The stub package, datapipelineiface, can be used to provide alternative implementations of service clients, such as mocking the client for testing.

Types ▾

type DataPipeline
func New(p client.ConfigProvider, cfgs ...*aws.Config) *DataPipeline
func (c *DataPipeline) ActivatePipeline(input *ActivatePipelineInput) (*ActivatePipelineOutput, error)
func (c *DataPipeline) ActivatePipelineRequest(input *ActivatePipelineInput) (req *request.Request, output *ActivatePipelineOutput)
func (c *DataPipeline) ActivatePipelineWithContext(ctx aws.Context, input *ActivatePipelineInput, opts ...request.Option) (*ActivatePipelineOutput, error)
func (c *DataPipeline) AddTags(input *AddTagsInput) (*AddTagsOutput, error)
func (c *DataPipeline) AddTagsRequest(input *AddTagsInput) (req *request.Request, output *AddTagsOutput)
func (c *DataPipeline) AddTagsWithContext(ctx aws.Context, input *AddTagsInput, opts ...request.Option) (*AddTagsOutput, error)
func (c *DataPipeline) CreatePipeline(input *CreatePipelineInput) (*CreatePipelineOutput, error)
func (c *DataPipeline) CreatePipelineRequest(input *CreatePipelineInput) (req *request.Request, output *CreatePipelineOutput)
func (c *DataPipeline) CreatePipelineWithContext(ctx aws.Context, input *CreatePipelineInput, opts ...request.Option) (*CreatePipelineOutput, error)
func (c *DataPipeline) DeactivatePipeline(input *DeactivatePipelineInput) (*DeactivatePipelineOutput, error)
func (c *DataPipeline) DeactivatePipelineRequest(input *DeactivatePipelineInput) (req *request.Request, output *DeactivatePipelineOutput)
func (c *DataPipeline) DeactivatePipelineWithContext(ctx aws.Context, input *DeactivatePipelineInput, opts ...request.Option) (*DeactivatePipelineOutput, error)
func (c *DataPipeline) DeletePipeline(input *DeletePipelineInput) (*DeletePipelineOutput, error)
func (c *DataPipeline) DeletePipelineRequest(input *DeletePipelineInput) (req *request.Request, output *DeletePipelineOutput)
func (c *DataPipeline) DeletePipelineWithContext(ctx aws.Context, input *DeletePipelineInput, opts ...request.Option) (*DeletePipelineOutput, error)
func (c *DataPipeline) DescribeObjects(input *DescribeObjectsInput) (*DescribeObjectsOutput, error)
func (c *DataPipeline) DescribeObjectsPages(input *DescribeObjectsInput, fn func(*DescribeObjectsOutput, bool) bool) error
func (c *DataPipeline) DescribeObjectsPagesWithContext(ctx aws.Context, input *DescribeObjectsInput, fn func(*DescribeObjectsOutput, bool) bool, opts ...request.Option) error
func (c *DataPipeline) DescribeObjectsRequest(input *DescribeObjectsInput) (req *request.Request, output *DescribeObjectsOutput)
func (c *DataPipeline) DescribeObjectsWithContext(ctx aws.Context, input *DescribeObjectsInput, opts ...request.Option) (*DescribeObjectsOutput, error)
func (c *DataPipeline) DescribePipelines(input *DescribePipelinesInput) (*DescribePipelinesOutput, error)
func (c *DataPipeline) DescribePipelinesRequest(input *DescribePipelinesInput) (req *request.Request, output *DescribePipelinesOutput)
func (c *DataPipeline) DescribePipelinesWithContext(ctx aws.Context, input *DescribePipelinesInput, opts ...request.Option) (*DescribePipelinesOutput, error)
func (c *DataPipeline) EvaluateExpression(input *EvaluateExpressionInput) (*EvaluateExpressionOutput, error)
func (c *DataPipeline) EvaluateExpressionRequest(input *EvaluateExpressionInput) (req *request.Request, output *EvaluateExpressionOutput)
func (c *DataPipeline) EvaluateExpressionWithContext(ctx aws.Context, input *EvaluateExpressionInput, opts ...request.Option) (*EvaluateExpressionOutput, error)
func (c *DataPipeline) GetPipelineDefinition(input *GetPipelineDefinitionInput) (*GetPipelineDefinitionOutput, error)
func (c *DataPipeline) GetPipelineDefinitionRequest(input *GetPipelineDefinitionInput) (req *request.Request, output *GetPipelineDefinitionOutput)
func (c *DataPipeline) GetPipelineDefinitionWithContext(ctx aws.Context, input *GetPipelineDefinitionInput, opts ...request.Option) (*GetPipelineDefinitionOutput, error)
func (c *DataPipeline) ListPipelines(input *ListPipelinesInput) (*ListPipelinesOutput, error)
func (c *DataPipeline) ListPipelinesPages(input *ListPipelinesInput, fn func(*ListPipelinesOutput, bool) bool) error
func (c *DataPipeline) ListPipelinesPagesWithContext(ctx aws.Context, input *ListPipelinesInput, fn func(*ListPipelinesOutput, bool) bool, opts ...request.Option) error
func (c *DataPipeline) ListPipelinesRequest(input *ListPipelinesInput) (req *request.Request, output *ListPipelinesOutput)
func (c *DataPipeline) ListPipelinesWithContext(ctx aws.Context, input *ListPipelinesInput, opts ...request.Option) (*ListPipelinesOutput, error)
func (c *DataPipeline) PollForTask(input *PollForTaskInput) (*PollForTaskOutput, error)
func (c *DataPipeline) PollForTaskRequest(input *PollForTaskInput) (req *request.Request, output *PollForTaskOutput)
func (c *DataPipeline) PollForTaskWithContext(ctx aws.Context, input *PollForTaskInput, opts ...request.Option) (*PollForTaskOutput, error)
func (c *DataPipeline) PutPipelineDefinition(input *PutPipelineDefinitionInput) (*PutPipelineDefinitionOutput, error)
func (c *DataPipeline) PutPipelineDefinitionRequest(input *PutPipelineDefinitionInput) (req *request.Request, output *PutPipelineDefinitionOutput)
func (c *DataPipeline) PutPipelineDefinitionWithContext(ctx aws.Context, input *PutPipelineDefinitionInput, opts ...request.Option) (*PutPipelineDefinitionOutput, error)
func (c *DataPipeline) QueryObjects(input *QueryObjectsInput) (*QueryObjectsOutput, error)
func (c *DataPipeline) QueryObjectsPages(input *QueryObjectsInput, fn func(*QueryObjectsOutput, bool) bool) error
func (c *DataPipeline) QueryObjectsPagesWithContext(ctx aws.Context, input *QueryObjectsInput, fn func(*QueryObjectsOutput, bool) bool, opts ...request.Option) error
func (c *DataPipeline) QueryObjectsRequest(input *QueryObjectsInput) (req *request.Request, output *QueryObjectsOutput)
func (c *DataPipeline) QueryObjectsWithContext(ctx aws.Context, input *QueryObjectsInput, opts ...request.Option) (*QueryObjectsOutput, error)
func (c *DataPipeline) RemoveTags(input *RemoveTagsInput) (*RemoveTagsOutput, error)
func (c *DataPipeline) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request, output *RemoveTagsOutput)
func (c *DataPipeline) RemoveTagsWithContext(ctx aws.Context, input *RemoveTagsInput, opts ...request.Option) (*RemoveTagsOutput, error)
func (c *DataPipeline) ReportTaskProgress(input *ReportTaskProgressInput) (*ReportTaskProgressOutput, error)
func (c *DataPipeline) ReportTaskProgressRequest(input *ReportTaskProgressInput) (req *request.Request, output *ReportTaskProgressOutput)
func (c *DataPipeline) ReportTaskProgressWithContext(ctx aws.Context, input *ReportTaskProgressInput, opts ...request.Option) (*ReportTaskProgressOutput, error)
func (c *DataPipeline) ReportTaskRunnerHeartbeat(input *ReportTaskRunnerHeartbeatInput) (*ReportTaskRunnerHeartbeatOutput, error)
func (c *DataPipeline) ReportTaskRunnerHeartbeatRequest(input *ReportTaskRunnerHeartbeatInput) (req *request.Request, output *ReportTaskRunnerHeartbeatOutput)
func (c *DataPipeline) ReportTaskRunnerHeartbeatWithContext(ctx aws.Context, input *ReportTaskRunnerHeartbeatInput, opts ...request.Option) (*ReportTaskRunnerHeartbeatOutput, error)
func (c *DataPipeline) SetStatus(input *SetStatusInput) (*SetStatusOutput, error)
func (c *DataPipeline) SetStatusRequest(input *SetStatusInput) (req *request.Request, output *SetStatusOutput)
func (c *DataPipeline) SetStatusWithContext(ctx aws.Context, input *SetStatusInput, opts ...request.Option) (*SetStatusOutput, error)
func (c *DataPipeline) SetTaskStatus(input *SetTaskStatusInput) (*SetTaskStatusOutput, error)
func (c *DataPipeline) SetTaskStatusRequest(input *SetTaskStatusInput) (req *request.Request, output *SetTaskStatusOutput)
func (c *DataPipeline) SetTaskStatusWithContext(ctx aws.Context, input *SetTaskStatusInput, opts ...request.Option) (*SetTaskStatusOutput, error)
func (c *DataPipeline) ValidatePipelineDefinition(input *ValidatePipelineDefinitionInput) (*ValidatePipelineDefinitionOutput, error)
func (c *DataPipeline) ValidatePipelineDefinitionRequest(input *ValidatePipelineDefinitionInput) (req *request.Request, output *ValidatePipelineDefinitionOutput)
func (c *DataPipeline) ValidatePipelineDefinitionWithContext(ctx aws.Context, input *ValidatePipelineDefinitionInput, opts ...request.Option) (*ValidatePipelineDefinitionOutput, error)
func OperatorType_Values() []string
func TaskStatus_Values() []string
type ActivatePipelineInput
type ActivatePipelineOutput
type AddTagsInput
type AddTagsOutput
type CreatePipelineInput
type CreatePipelineOutput
type DeactivatePipelineInput
type DeactivatePipelineOutput
type DeletePipelineInput
type DeletePipelineOutput
type DescribeObjectsInput
type DescribeObjectsOutput
type DescribePipelinesInput
type DescribePipelinesOutput
type EvaluateExpressionInput
type EvaluateExpressionOutput
type Field
type GetPipelineDefinitionInput
type GetPipelineDefinitionOutput
type InstanceIdentity
type InternalServiceError
type InvalidRequestException
type ListPipelinesInput
type ListPipelinesOutput
type Operator
type ParameterAttribute
type ParameterObject
type ParameterValue
type PipelineDeletedException
type PipelineDescription
type PipelineIdName
type PipelineNotFoundException
type PipelineObject
type PollForTaskInput
type PollForTaskOutput
type PutPipelineDefinitionInput
type PutPipelineDefinitionOutput
type Query
type QueryObjectsInput
type QueryObjectsOutput
type RemoveTagsInput
type RemoveTagsOutput
type ReportTaskProgressInput
type ReportTaskProgressOutput
type ReportTaskRunnerHeartbeatInput
type ReportTaskRunnerHeartbeatOutput
type Selector
type SetStatusInput
type SetStatusOutput
type SetTaskStatusInput
type SetTaskStatusOutput
type Tag
type TaskNotFoundException
type TaskObject
type ValidatePipelineDefinitionInput
type ValidatePipelineDefinitionOutput
type ValidationError
type ValidationWarning

Constants ▾

const (
    // OperatorTypeEq is a OperatorType enum value
    OperatorTypeEq = "EQ"

    // OperatorTypeRefEq is a OperatorType enum value
    OperatorTypeRefEq = "REF_EQ"

    // OperatorTypeLe is a OperatorType enum value
    OperatorTypeLe = "LE"

    // OperatorTypeGe is a OperatorType enum value
    OperatorTypeGe = "GE"

    // OperatorTypeBetween is a OperatorType enum value
    OperatorTypeBetween = "BETWEEN"
)
const (
    // TaskStatusFinished is a TaskStatus enum value
    TaskStatusFinished = "FINISHED"

    // TaskStatusFailed is a TaskStatus enum value
    TaskStatusFailed = "FAILED"

    // TaskStatusFalse is a TaskStatus enum value
    TaskStatusFalse = "FALSE"
)
const (

    // ErrCodeInternalServiceError for service response error code
    // "InternalServiceError".
    //
    // An internal service error occurred.
    ErrCodeInternalServiceError = "InternalServiceError"

    // ErrCodeInvalidRequestException for service response error code
    // "InvalidRequestException".
    //
    // The request was not valid. Verify that your request was properly formatted,
    // that the signature was generated with the correct credentials, and that you
    // haven't exceeded any of the service limits for your account.
    ErrCodeInvalidRequestException = "InvalidRequestException"

    // ErrCodePipelineDeletedException for service response error code
    // "PipelineDeletedException".
    //
    // The specified pipeline has been deleted.
    ErrCodePipelineDeletedException = "PipelineDeletedException"

    // ErrCodePipelineNotFoundException for service response error code
    // "PipelineNotFoundException".
    //
    // The specified pipeline was not found. Verify that you used the correct user
    // and account identifiers.
    ErrCodePipelineNotFoundException = "PipelineNotFoundException"

    // ErrCodeTaskNotFoundException for service response error code
    // "TaskNotFoundException".
    //
    // The specified task was not found.
    ErrCodeTaskNotFoundException = "TaskNotFoundException"
)
const (
    ServiceName = "datapipeline"  // Name of service.
    EndpointsID = ServiceName     // ID to lookup a service endpoint with.
    ServiceID   = "Data Pipeline" // ServiceID is a unique identifier of a specific service.
)

Service information constants

func OperatorType_Values

func OperatorType_Values() []string

OperatorType_Values returns all elements of the OperatorType enum

func TaskStatus_Values

func TaskStatus_Values() []string

TaskStatus_Values returns all elements of the TaskStatus enum

type ActivatePipelineInput

type ActivatePipelineInput struct {

    // A list of parameter values to pass to the pipeline at activation.
    ParameterValues []*ParameterValue `locationName:"parameterValues" type:"list"`

    // The ID of the pipeline.
    //
    // PipelineId is a required field
    PipelineId *string `locationName:"pipelineId" min:"1" type:"string" required:"true"`

    // The date and time to resume the pipeline. By default, the pipeline resumes
    // from the last completed execution.
    StartTimestamp *time.Time `locationName:"startTimestamp" type:"timestamp"`
    // contains filtered or unexported fields
}

Contains the parameters for ActivatePipeline.

func (ActivatePipelineInput) GoString

func (s ActivatePipelineInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ActivatePipelineInput) SetParameterValues

func (s *ActivatePipelineInput) SetParameterValues(v []*ParameterValue) *ActivatePipelineInput

SetParameterValues sets the ParameterValues field's value.

func (*ActivatePipelineInput) SetPipelineId

func (s *ActivatePipelineInput) SetPipelineId(v string) *ActivatePipelineInput

SetPipelineId sets the PipelineId field's value.

func (*ActivatePipelineInput) SetStartTimestamp

func (s *ActivatePipelineInput) SetStartTimestamp(v time.Time) *ActivatePipelineInput

SetStartTimestamp sets the StartTimestamp field's value.

func (ActivatePipelineInput) String

func (s ActivatePipelineInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ActivatePipelineInput) Validate

func (s *ActivatePipelineInput) Validate() error

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

type ActivatePipelineOutput

type ActivatePipelineOutput struct {
    // contains filtered or unexported fields
}

Contains the output of ActivatePipeline.

func (ActivatePipelineOutput) GoString

func (s ActivatePipelineOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (ActivatePipelineOutput) String

func (s ActivatePipelineOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AddTagsInput

type AddTagsInput struct {

    // The ID of the pipeline.
    //
    // PipelineId is a required field
    PipelineId *string `locationName:"pipelineId" min:"1" type:"string" required:"true"`

    // The tags to add, as key/value pairs.
    //
    // Tags is a required field
    Tags []*Tag `locationName:"tags" type:"list" required:"true"`
    // contains filtered or unexported fields
}

Contains the parameters for AddTags.

func (AddTagsInput) GoString

func (s AddTagsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AddTagsInput) SetPipelineId

func (s *AddTagsInput) SetPipelineId(v string) *AddTagsInput

SetPipelineId sets the PipelineId field's value.

func (*AddTagsInput) SetTags

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

SetTags sets the Tags field's value.

func (AddTagsInput) String

func (s AddTagsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AddTagsInput) Validate

func (s *AddTagsInput) Validate() error

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

type AddTagsOutput

type AddTagsOutput struct {
    // contains filtered or unexported fields
}

Contains the output of AddTags.

func (AddTagsOutput) GoString

func (s AddTagsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (AddTagsOutput) String

func (s AddTagsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreatePipelineInput

type CreatePipelineInput struct {

    // The description for the pipeline.
    Description *string `locationName:"description" 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
    Name *string `locationName:"name" min:"1" type:"string" required:"true"`

    // A list of tags to associate with the pipeline at creation. Tags let you control
    // access to pipelines. For more information, see Controlling User Access to
    // Pipelines (http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-control-access.html)
    // in the AWS Data Pipeline Developer Guide.
    Tags []*Tag `locationName:"tags" type:"list"`

    // 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
    UniqueId *string `locationName:"uniqueId" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Contains the parameters for CreatePipeline.

func (CreatePipelineInput) GoString

func (s CreatePipelineInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreatePipelineInput) SetDescription

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

SetDescription sets the Description field's value.

func (*CreatePipelineInput) SetName

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

SetName sets the Name field's value.

func (*CreatePipelineInput) SetTags

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

SetTags sets the Tags field's value.

func (*CreatePipelineInput) SetUniqueId

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

SetUniqueId sets the UniqueId field's value.

func (CreatePipelineInput) String

func (s CreatePipelineInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreatePipelineInput) Validate

func (s *CreatePipelineInput) Validate() error

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

type CreatePipelineOutput

type CreatePipelineOutput struct {

    // The ID that AWS Data Pipeline assigns the newly created pipeline. For example,
    // df-06372391ZG65EXAMPLE.
    //
    // PipelineId is a required field
    PipelineId *string `locationName:"pipelineId" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Contains the output of CreatePipeline.

func (CreatePipelineOutput) GoString

func (s CreatePipelineOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreatePipelineOutput) SetPipelineId

func (s *CreatePipelineOutput) SetPipelineId(v string) *CreatePipelineOutput

SetPipelineId sets the PipelineId field's value.

func (CreatePipelineOutput) String

func (s CreatePipelineOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DataPipeline

type DataPipeline struct {
    *client.Client
}

DataPipeline provides the API operation methods for making requests to AWS Data Pipeline. See this package's package overview docs for details on the service.

DataPipeline methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *DataPipeline

New creates a new instance of the DataPipeline client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a DataPipeline client from just a session.
svc := datapipeline.New(mySession)

// Create a DataPipeline client with additional configuration
svc := datapipeline.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*DataPipeline) ActivatePipeline

func (c *DataPipeline) ActivatePipeline(input *ActivatePipelineInput) (*ActivatePipelineOutput, error)

ActivatePipeline API operation for AWS Data Pipeline.

Validates the specified pipeline and starts processing pipeline tasks. If the pipeline does not pass validation, activation fails.

If you need to pause the pipeline to investigate an issue with a component, such as a data source or script, call DeactivatePipeline.

To activate a finished pipeline, modify the end date for the pipeline and then activate it.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Data Pipeline's API operation ActivatePipeline for usage and error information.

Returned Error Types:

  • PipelineNotFoundException The specified pipeline was not found. Verify that you used the correct user and account identifiers.

  • PipelineDeletedException The specified pipeline has been deleted.

  • InternalServiceError An internal service error occurred.

  • InvalidRequestException The request was not valid. Verify that your request was properly formatted, that the signature was generated with the correct credentials, and that you haven't exceeded any of the service limits for your account.

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/ActivatePipeline

func (*DataPipeline) ActivatePipelineRequest

func (c *DataPipeline) ActivatePipelineRequest(input *ActivatePipelineInput) (req *request.Request, output *ActivatePipelineOutput)

ActivatePipelineRequest generates a "aws/request.Request" representing the client's request for the ActivatePipeline operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ActivatePipeline for more information on using the ActivatePipeline API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ActivatePipelineRequest method.
req, resp := client.ActivatePipelineRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/ActivatePipeline

func (*DataPipeline) ActivatePipelineWithContext

func (c *DataPipeline) ActivatePipelineWithContext(ctx aws.Context, input *ActivatePipelineInput, opts ...request.Option) (*ActivatePipelineOutput, error)

ActivatePipelineWithContext is the same as ActivatePipeline with the addition of the ability to pass a context and additional request options.

See ActivatePipeline for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DataPipeline) AddTags

func (c *DataPipeline) AddTags(input *AddTagsInput) (*AddTagsOutput, error)

AddTags API operation for AWS Data Pipeline.

Adds or modifies tags for the specified pipeline.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Data Pipeline's API operation AddTags for usage and error information.

Returned Error Types:

  • InternalServiceError An internal service error occurred.

  • InvalidRequestException The request was not valid. Verify that your request was properly formatted, that the signature was generated with the correct credentials, and that you haven't exceeded any of the service limits for your account.

  • PipelineNotFoundException The specified pipeline was not found. Verify that you used the correct user and account identifiers.

  • PipelineDeletedException The specified pipeline has been deleted.

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/AddTags

func (*DataPipeline) AddTagsRequest

func (c *DataPipeline) AddTagsRequest(input *AddTagsInput) (req *request.Request, output *AddTagsOutput)

AddTagsRequest generates a "aws/request.Request" representing the client's request for the AddTags operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AddTags for more information on using the AddTags API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AddTagsRequest method.
req, resp := client.AddTagsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/AddTags

func (*DataPipeline) AddTagsWithContext

func (c *DataPipeline) AddTagsWithContext(ctx aws.Context, input *AddTagsInput, opts ...request.Option) (*AddTagsOutput, error)

AddTagsWithContext is the same as AddTags with the addition of the ability to pass a context and additional request options.

See AddTags for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DataPipeline) CreatePipeline

func (c *DataPipeline) CreatePipeline(input *CreatePipelineInput) (*CreatePipelineOutput, error)

CreatePipeline API operation for AWS Data Pipeline.

Creates a new, empty pipeline. Use PutPipelineDefinition to populate the pipeline.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Data Pipeline's API operation CreatePipeline for usage and error information.

Returned Error Types:

  • InternalServiceError An internal service error occurred.

  • InvalidRequestException The request was not valid. Verify that your request was properly formatted, that the signature was generated with the correct credentials, and that you haven't exceeded any of the service limits for your account.

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/CreatePipeline

func (*DataPipeline) CreatePipelineRequest

func (c *DataPipeline) CreatePipelineRequest(input *CreatePipelineInput) (req *request.Request, output *CreatePipelineOutput)

CreatePipelineRequest generates a "aws/request.Request" representing the client's request for the CreatePipeline operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreatePipeline for more information on using the CreatePipeline API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreatePipelineRequest method.
req, resp := client.CreatePipelineRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/CreatePipeline

func (*DataPipeline) CreatePipelineWithContext

func (c *DataPipeline) CreatePipelineWithContext(ctx aws.Context, input *CreatePipelineInput, opts ...request.Option) (*CreatePipelineOutput, error)

CreatePipelineWithContext is the same as CreatePipeline with the addition of the ability to pass a context and additional request options.

See CreatePipeline for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DataPipeline) DeactivatePipeline

func (c *DataPipeline) DeactivatePipeline(input *DeactivatePipelineInput) (*DeactivatePipelineOutput, error)

DeactivatePipeline API operation for AWS Data Pipeline.

Deactivates the specified running pipeline. The pipeline is set to the DEACTIVATING state until the deactivation process completes.

To resume a deactivated pipeline, use ActivatePipeline. By default, the pipeline resumes from the last completed execution. Optionally, you can specify the date and time to resume the pipeline.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Data Pipeline's API operation DeactivatePipeline for usage and error information.

Returned Error Types:

  • PipelineNotFoundException The specified pipeline was not found. Verify that you used the correct user and account identifiers.

  • PipelineDeletedException The specified pipeline has been deleted.

  • InternalServiceError An internal service error occurred.

  • InvalidRequestException The request was not valid. Verify that your request was properly formatted, that the signature was generated with the correct credentials, and that you haven't exceeded any of the service limits for your account.

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/DeactivatePipeline

func (*DataPipeline) DeactivatePipelineRequest

func (c *DataPipeline) DeactivatePipelineRequest(input *DeactivatePipelineInput) (req *request.Request, output *DeactivatePipelineOutput)

DeactivatePipelineRequest generates a "aws/request.Request" representing the client's request for the DeactivatePipeline operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeactivatePipeline for more information on using the DeactivatePipeline API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeactivatePipelineRequest method.
req, resp := client.DeactivatePipelineRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/DeactivatePipeline

func (*DataPipeline) DeactivatePipelineWithContext

func (c *DataPipeline) DeactivatePipelineWithContext(ctx aws.Context, input *DeactivatePipelineInput, opts ...request.Option) (*DeactivatePipelineOutput, error)

DeactivatePipelineWithContext is the same as DeactivatePipeline with the addition of the ability to pass a context and additional request options.

See DeactivatePipeline for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DataPipeline) DeletePipeline

func (c *DataPipeline) DeletePipeline(input *DeletePipelineInput) (*DeletePipelineOutput, error)

DeletePipeline API operation for AWS Data Pipeline.

Deletes a pipeline, its pipeline definition, and its run history. AWS Data Pipeline attempts to cancel instances associated with the pipeline that are currently being processed by task runners.

Deleting a pipeline cannot be undone. You cannot query or restore a deleted pipeline. To temporarily pause a pipeline instead of deleting it, call SetStatus with the status set to PAUSE on individual components. Components that are paused by SetStatus can be resumed.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Data Pipeline's API operation DeletePipeline for usage and error information.

Returned Error Types:

  • PipelineNotFoundException The specified pipeline was not found. Verify that you used the correct user and account identifiers.

  • InternalServiceError An internal service error occurred.

  • InvalidRequestException The request was not valid. Verify that your request was properly formatted, that the signature was generated with the correct credentials, and that you haven't exceeded any of the service limits for your account.

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/DeletePipeline

func (*DataPipeline) DeletePipelineRequest

func (c *DataPipeline) DeletePipelineRequest(input *DeletePipelineInput) (req *request.Request, output *DeletePipelineOutput)

DeletePipelineRequest generates a "aws/request.Request" representing the client's request for the DeletePipeline operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeletePipeline for more information on using the DeletePipeline API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeletePipelineRequest method.
req, resp := client.DeletePipelineRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/DeletePipeline

func (*DataPipeline) DeletePipelineWithContext

func (c *DataPipeline) DeletePipelineWithContext(ctx aws.Context, input *DeletePipelineInput, opts ...request.Option) (*DeletePipelineOutput, error)

DeletePipelineWithContext is the same as DeletePipeline with the addition of the ability to pass a context and additional request options.

See DeletePipeline for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DataPipeline) DescribeObjects

func (c *DataPipeline) DescribeObjects(input *DescribeObjectsInput) (*DescribeObjectsOutput, error)

DescribeObjects API operation for AWS Data Pipeline.

Gets the object definitions for a set of objects associated with the pipeline. Object definitions are composed of a set of fields that define the properties of the object.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Data Pipeline's API operation DescribeObjects for usage and error information.

Returned Error Types:

  • InternalServiceError An internal service error occurred.

  • InvalidRequestException The request was not valid. Verify that your request was properly formatted, that the signature was generated with the correct credentials, and that you haven't exceeded any of the service limits for your account.

  • PipelineNotFoundException The specified pipeline was not found. Verify that you used the correct user and account identifiers.

  • PipelineDeletedException The specified pipeline has been deleted.

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/DescribeObjects

func (*DataPipeline) DescribeObjectsPages

func (c *DataPipeline) DescribeObjectsPages(input *DescribeObjectsInput, fn func(*DescribeObjectsOutput, bool) bool) error

DescribeObjectsPages iterates over the pages of a DescribeObjects operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeObjects method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeObjects operation.
pageNum := 0
err := client.DescribeObjectsPages(params,
    func(page *datapipeline.DescribeObjectsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DataPipeline) DescribeObjectsPagesWithContext

func (c *DataPipeline) DescribeObjectsPagesWithContext(ctx aws.Context, input *DescribeObjectsInput, fn func(*DescribeObjectsOutput, bool) bool, opts ...request.Option) error

DescribeObjectsPagesWithContext same as DescribeObjectsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DataPipeline) DescribeObjectsRequest

func (c *DataPipeline) DescribeObjectsRequest(input *DescribeObjectsInput) (req *request.Request, output *DescribeObjectsOutput)

DescribeObjectsRequest generates a "aws/request.Request" representing the client's request for the DescribeObjects operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeObjects for more information on using the DescribeObjects API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeObjectsRequest method.
req, resp := client.DescribeObjectsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/DescribeObjects

func (*DataPipeline) DescribeObjectsWithContext

func (c *DataPipeline) DescribeObjectsWithContext(ctx aws.Context, input *DescribeObjectsInput, opts ...request.Option) (*DescribeObjectsOutput, error)

DescribeObjectsWithContext is the same as DescribeObjects with the addition of the ability to pass a context and additional request options.

See DescribeObjects for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DataPipeline) DescribePipelines

func (c *DataPipeline) DescribePipelines(input *DescribePipelinesInput) (*DescribePipelinesOutput, error)

DescribePipelines API operation for AWS Data Pipeline.

Retrieves metadata about one or more pipelines. The information retrieved includes the name of the pipeline, the pipeline identifier, its current state, and the user account that owns the pipeline. Using account credentials, you can retrieve metadata about pipelines that you or your IAM users have created. If you are using an IAM user account, you can retrieve metadata about only those pipelines for which you have read permissions.

To retrieve the full pipeline definition instead of metadata about the pipeline, call GetPipelineDefinition.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Data Pipeline's API operation DescribePipelines for usage and error information.

Returned Error Types:

  • PipelineNotFoundException The specified pipeline was not found. Verify that you used the correct user and account identifiers.

  • PipelineDeletedException The specified pipeline has been deleted.

  • InternalServiceError An internal service error occurred.

  • InvalidRequestException The request was not valid. Verify that your request was properly formatted, that the signature was generated with the correct credentials, and that you haven't exceeded any of the service limits for your account.

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/DescribePipelines

func (*DataPipeline) DescribePipelinesRequest

func (c *DataPipeline) DescribePipelinesRequest(input *DescribePipelinesInput) (req *request.Request, output *DescribePipelinesOutput)

DescribePipelinesRequest generates a "aws/request.Request" representing the client's request for the DescribePipelines operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribePipelines for more information on using the DescribePipelines API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribePipelinesRequest method.
req, resp := client.DescribePipelinesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/DescribePipelines

func (*DataPipeline) DescribePipelinesWithContext

func (c *DataPipeline) DescribePipelinesWithContext(ctx aws.Context, input *DescribePipelinesInput, opts ...request.Option) (*DescribePipelinesOutput, error)

DescribePipelinesWithContext is the same as DescribePipelines with the addition of the ability to pass a context and additional request options.

See DescribePipelines for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DataPipeline) EvaluateExpression

func (c *DataPipeline) EvaluateExpression(input *EvaluateExpressionInput) (*EvaluateExpressionOutput, error)

EvaluateExpression API operation for AWS Data Pipeline.

Task runners call EvaluateExpression to evaluate a string in the context of the specified object. For example, a task runner can evaluate SQL queries stored in Amazon S3.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Data Pipeline's API operation EvaluateExpression for usage and error information.

Returned Error Types:

  • InternalServiceError An internal service error occurred.

  • TaskNotFoundException The specified task was not found.

  • InvalidRequestException The request was not valid. Verify that your request was properly formatted, that the signature was generated with the correct credentials, and that you haven't exceeded any of the service limits for your account.

  • PipelineNotFoundException The specified pipeline was not found. Verify that you used the correct user and account identifiers.

  • PipelineDeletedException The specified pipeline has been deleted.

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/EvaluateExpression

func (*DataPipeline) EvaluateExpressionRequest

func (c *DataPipeline) EvaluateExpressionRequest(input *EvaluateExpressionInput) (req *request.Request, output *EvaluateExpressionOutput)

EvaluateExpressionRequest generates a "aws/request.Request" representing the client's request for the EvaluateExpression operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See EvaluateExpression for more information on using the EvaluateExpression API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the EvaluateExpressionRequest method.
req, resp := client.EvaluateExpressionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/EvaluateExpression

func (*DataPipeline) EvaluateExpressionWithContext

func (c *DataPipeline) EvaluateExpressionWithContext(ctx aws.Context, input *EvaluateExpressionInput, opts ...request.Option) (*EvaluateExpressionOutput, error)

EvaluateExpressionWithContext is the same as EvaluateExpression with the addition of the ability to pass a context and additional request options.

See EvaluateExpression for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DataPipeline) GetPipelineDefinition

func (c *DataPipeline) GetPipelineDefinition(input *GetPipelineDefinitionInput) (*GetPipelineDefinitionOutput, error)

GetPipelineDefinition API operation for AWS Data Pipeline.

Gets the definition of the specified pipeline. You can call GetPipelineDefinition to retrieve the pipeline definition that you provided using PutPipelineDefinition.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Data Pipeline's API operation GetPipelineDefinition for usage and error information.

Returned Error Types:

  • InternalServiceError An internal service error occurred.

  • InvalidRequestException The request was not valid. Verify that your request was properly formatted, that the signature was generated with the correct credentials, and that you haven't exceeded any of the service limits for your account.

  • PipelineNotFoundException The specified pipeline was not found. Verify that you used the correct user and account identifiers.

  • PipelineDeletedException The specified pipeline has been deleted.

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/GetPipelineDefinition

func (*DataPipeline) GetPipelineDefinitionRequest

func (c *DataPipeline) GetPipelineDefinitionRequest(input *GetPipelineDefinitionInput) (req *request.Request, output *GetPipelineDefinitionOutput)

GetPipelineDefinitionRequest generates a "aws/request.Request" representing the client's request for the GetPipelineDefinition operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetPipelineDefinition for more information on using the GetPipelineDefinition API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetPipelineDefinitionRequest method.
req, resp := client.GetPipelineDefinitionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/GetPipelineDefinition

func (*DataPipeline) GetPipelineDefinitionWithContext

func (c *DataPipeline) GetPipelineDefinitionWithContext(ctx aws.Context, input *GetPipelineDefinitionInput, opts ...request.Option) (*GetPipelineDefinitionOutput, error)

GetPipelineDefinitionWithContext is the same as GetPipelineDefinition with the addition of the ability to pass a context and additional request options.

See GetPipelineDefinition for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DataPipeline) ListPipelines

func (c *DataPipeline) ListPipelines(input *ListPipelinesInput) (*ListPipelinesOutput, error)

ListPipelines API operation for AWS Data Pipeline.

Lists the pipeline identifiers for all active pipelines that you have permission to access.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Data Pipeline's API operation ListPipelines for usage and error information.

Returned Error Types:

  • InternalServiceError An internal service error occurred.

  • InvalidRequestException The request was not valid. Verify that your request was properly formatted, that the signature was generated with the correct credentials, and that you haven't exceeded any of the service limits for your account.

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/ListPipelines

func (*DataPipeline) ListPipelinesPages

func (c *DataPipeline) ListPipelinesPages(input *ListPipelinesInput, fn func(*ListPipelinesOutput, bool) bool) error

ListPipelinesPages iterates over the pages of a ListPipelines operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListPipelines method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListPipelines operation.
pageNum := 0
err := client.ListPipelinesPages(params,
    func(page *datapipeline.ListPipelinesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DataPipeline) ListPipelinesPagesWithContext

func (c *DataPipeline) ListPipelinesPagesWithContext(ctx aws.Context, input *ListPipelinesInput, fn func(*ListPipelinesOutput, bool) bool, opts ...request.Option) error

ListPipelinesPagesWithContext same as ListPipelinesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DataPipeline) ListPipelinesRequest

func (c *DataPipeline) ListPipelinesRequest(input *ListPipelinesInput) (req *request.Request, output *ListPipelinesOutput)

ListPipelinesRequest generates a "aws/request.Request" representing the client's request for the ListPipelines operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListPipelines for more information on using the ListPipelines API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListPipelinesRequest method.
req, resp := client.ListPipelinesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/ListPipelines

func (*DataPipeline) ListPipelinesWithContext

func (c *DataPipeline) ListPipelinesWithContext(ctx aws.Context, input *ListPipelinesInput, opts ...request.Option) (*ListPipelinesOutput, error)

ListPipelinesWithContext is the same as ListPipelines with the addition of the ability to pass a context and additional request options.

See ListPipelines for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DataPipeline) PollForTask

func (c *DataPipeline) PollForTask(input *PollForTaskInput) (*PollForTaskOutput, error)

PollForTask API operation for AWS Data Pipeline.

Task runners call PollForTask to receive a task to perform from AWS Data Pipeline. The task runner specifies which tasks it can perform by setting a value for the workerGroup parameter. The task returned can come from any of the pipelines that match the workerGroup value passed in by the task runner and that was launched using the IAM user credentials specified by the task runner.

If tasks are ready in the work queue, PollForTask returns a response immediately. If no tasks are available in the queue, PollForTask uses long-polling and holds on to a poll connection for up to a 90 seconds, during which time the first newly scheduled task is handed to the task runner. To accomodate this, set the socket timeout in your task runner to 90 seconds. The task runner should not call PollForTask again on the same workerGroup until it receives a response, and this can take up to 90 seconds.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Data Pipeline's API operation PollForTask for usage and error information.

Returned Error Types:

  • InternalServiceError An internal service error occurred.

  • InvalidRequestException The request was not valid. Verify that your request was properly formatted, that the signature was generated with the correct credentials, and that you haven't exceeded any of the service limits for your account.

  • TaskNotFoundException The specified task was not found.

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/PollForTask

func (*DataPipeline) PollForTaskRequest

func (c *DataPipeline) PollForTaskRequest(input *PollForTaskInput) (req *request.Request, output *PollForTaskOutput)

PollForTaskRequest generates a "aws/request.Request" representing the client's request for the PollForTask operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PollForTask for more information on using the PollForTask API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PollForTaskRequest method.
req, resp := client.PollForTaskRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/PollForTask

func (*DataPipeline) PollForTaskWithContext

func (c *DataPipeline) PollForTaskWithContext(ctx aws.Context, input *PollForTaskInput, opts ...request.Option) (*PollForTaskOutput, error)

PollForTaskWithContext is the same as PollForTask with the addition of the ability to pass a context and additional request options.

See PollForTask for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DataPipeline) PutPipelineDefinition

func (c *DataPipeline) PutPipelineDefinition(input *PutPipelineDefinitionInput) (*PutPipelineDefinitionOutput, error)

PutPipelineDefinition API operation for AWS Data Pipeline.

Adds tasks, schedules, and preconditions to the specified pipeline. You can use PutPipelineDefinition to populate a new pipeline.

PutPipelineDefinition also validates the configuration as it adds it to the pipeline. Changes to the pipeline are saved unless one of the following three validation errors exists in the pipeline.

An object is missing a name or identifier field. A string or reference
field is empty. The number of objects in the pipeline exceeds the maximum
allowed objects. The pipeline is in a FINISHED state.

Pipeline object definitions are passed to the PutPipelineDefinition action and returned by the GetPipelineDefinition action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Data Pipeline's API operation PutPipelineDefinition for usage and error information.

Returned Error Types:

  • InternalServiceError An internal service error occurred.

  • InvalidRequestException The request was not valid. Verify that your request was properly formatted, that the signature was generated with the correct credentials, and that you haven't exceeded any of the service limits for your account.

  • PipelineNotFoundException The specified pipeline was not found. Verify that you used the correct user and account identifiers.

  • PipelineDeletedException The specified pipeline has been deleted.

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/PutPipelineDefinition

func (*DataPipeline) PutPipelineDefinitionRequest

func (c *DataPipeline) PutPipelineDefinitionRequest(input *PutPipelineDefinitionInput) (req *request.Request, output *PutPipelineDefinitionOutput)

PutPipelineDefinitionRequest generates a "aws/request.Request" representing the client's request for the PutPipelineDefinition operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutPipelineDefinition for more information on using the PutPipelineDefinition API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutPipelineDefinitionRequest method.
req, resp := client.PutPipelineDefinitionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/PutPipelineDefinition

func (*DataPipeline) PutPipelineDefinitionWithContext

func (c *DataPipeline) PutPipelineDefinitionWithContext(ctx aws.Context, input *PutPipelineDefinitionInput, opts ...request.Option) (*PutPipelineDefinitionOutput, error)

PutPipelineDefinitionWithContext is the same as PutPipelineDefinition with the addition of the ability to pass a context and additional request options.

See PutPipelineDefinition for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DataPipeline) QueryObjects

func (c *DataPipeline) QueryObjects(input *QueryObjectsInput) (*QueryObjectsOutput, error)

QueryObjects API operation for AWS Data Pipeline.

Queries the specified pipeline for the names of objects that match the specified set of conditions.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Data Pipeline's API operation QueryObjects for usage and error information.

Returned Error Types:

  • PipelineNotFoundException The specified pipeline was not found. Verify that you used the correct user and account identifiers.

  • PipelineDeletedException The specified pipeline has been deleted.

  • InternalServiceError An internal service error occurred.

  • InvalidRequestException The request was not valid. Verify that your request was properly formatted, that the signature was generated with the correct credentials, and that you haven't exceeded any of the service limits for your account.

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/QueryObjects

func (*DataPipeline) QueryObjectsPages

func (c *DataPipeline) QueryObjectsPages(input *QueryObjectsInput, fn func(*QueryObjectsOutput, bool) bool) error

QueryObjectsPages iterates over the pages of a QueryObjects operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See QueryObjects method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a QueryObjects operation.
pageNum := 0
err := client.QueryObjectsPages(params,
    func(page *datapipeline.QueryObjectsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DataPipeline) QueryObjectsPagesWithContext

func (c *DataPipeline) QueryObjectsPagesWithContext(ctx aws.Context, input *QueryObjectsInput, fn func(*QueryObjectsOutput, bool) bool, opts ...request.Option) error

QueryObjectsPagesWithContext same as QueryObjectsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DataPipeline) QueryObjectsRequest

func (c *DataPipeline) QueryObjectsRequest(input *QueryObjectsInput) (req *request.Request, output *QueryObjectsOutput)

QueryObjectsRequest generates a "aws/request.Request" representing the client's request for the QueryObjects operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See QueryObjects for more information on using the QueryObjects API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the QueryObjectsRequest method.
req, resp := client.QueryObjectsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/QueryObjects

func (*DataPipeline) QueryObjectsWithContext

func (c *DataPipeline) QueryObjectsWithContext(ctx aws.Context, input *QueryObjectsInput, opts ...request.Option) (*QueryObjectsOutput, error)

QueryObjectsWithContext is the same as QueryObjects with the addition of the ability to pass a context and additional request options.

See QueryObjects for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DataPipeline) RemoveTags

func (c *DataPipeline) RemoveTags(input *RemoveTagsInput) (*RemoveTagsOutput, error)

RemoveTags API operation for AWS Data Pipeline.

Removes existing tags from the specified pipeline.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Data Pipeline's API operation RemoveTags for usage and error information.

Returned Error Types:

  • InternalServiceError An internal service error occurred.

  • InvalidRequestException The request was not valid. Verify that your request was properly formatted, that the signature was generated with the correct credentials, and that you haven't exceeded any of the service limits for your account.

  • PipelineNotFoundException The specified pipeline was not found. Verify that you used the correct user and account identifiers.

  • PipelineDeletedException The specified pipeline has been deleted.

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/RemoveTags

func (*DataPipeline) RemoveTagsRequest

func (c *DataPipeline) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request, output *RemoveTagsOutput)

RemoveTagsRequest generates a "aws/request.Request" representing the client's request for the RemoveTags operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RemoveTags for more information on using the RemoveTags API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RemoveTagsRequest method.
req, resp := client.RemoveTagsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/RemoveTags

func (*DataPipeline) RemoveTagsWithContext

func (c *DataPipeline) RemoveTagsWithContext(ctx aws.Context, input *RemoveTagsInput, opts ...request.Option) (*RemoveTagsOutput, error)

RemoveTagsWithContext is the same as RemoveTags with the addition of the ability to pass a context and additional request options.

See RemoveTags for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DataPipeline) ReportTaskProgress

func (c *DataPipeline) ReportTaskProgress(input *ReportTaskProgressInput) (*ReportTaskProgressOutput, error)

ReportTaskProgress API operation for AWS Data Pipeline.

Task runners call ReportTaskProgress when assigned a task to acknowledge that it has the task. If the web service does not receive this acknowledgement within 2 minutes, it assigns the task in a subsequent PollForTask call. After this initial acknowledgement, the task runner only needs to report progress every 15 minutes to maintain its ownership of the task. You can change this reporting time from 15 minutes by specifying a reportProgressTimeout field in your pipeline.

If a task runner does not report its status after 5 minutes, AWS Data Pipeline assumes that the task runner is unable to process the task and reassigns the task in a subsequent response to PollForTask. Task runners should call ReportTaskProgress every 60 seconds.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Data Pipeline's API operation ReportTaskProgress for usage and error information.

Returned Error Types:

  • InternalServiceError An internal service error occurred.

  • InvalidRequestException The request was not valid. Verify that your request was properly formatted, that the signature was generated with the correct credentials, and that you haven't exceeded any of the service limits for your account.

  • TaskNotFoundException The specified task was not found.

  • PipelineNotFoundException The specified pipeline was not found. Verify that you used the correct user and account identifiers.

  • PipelineDeletedException The specified pipeline has been deleted.

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/ReportTaskProgress

func (*DataPipeline) ReportTaskProgressRequest

func (c *DataPipeline) ReportTaskProgressRequest(input *ReportTaskProgressInput) (req *request.Request, output *ReportTaskProgressOutput)

ReportTaskProgressRequest generates a "aws/request.Request" representing the client's request for the ReportTaskProgress operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ReportTaskProgress for more information on using the ReportTaskProgress API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ReportTaskProgressRequest method.
req, resp := client.ReportTaskProgressRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/ReportTaskProgress

func (*DataPipeline) ReportTaskProgressWithContext

func (c *DataPipeline) ReportTaskProgressWithContext(ctx aws.Context, input *ReportTaskProgressInput, opts ...request.Option) (*ReportTaskProgressOutput, error)

ReportTaskProgressWithContext is the same as ReportTaskProgress with the addition of the ability to pass a context and additional request options.

See ReportTaskProgress for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DataPipeline) ReportTaskRunnerHeartbeat

func (c *DataPipeline) ReportTaskRunnerHeartbeat(input *ReportTaskRunnerHeartbeatInput) (*ReportTaskRunnerHeartbeatOutput, error)

ReportTaskRunnerHeartbeat API operation for AWS Data Pipeline.

Task runners call ReportTaskRunnerHeartbeat every 15 minutes to indicate that they are operational. If the AWS Data Pipeline Task Runner is launched on a resource managed by AWS Data Pipeline, the web service can use this call to detect when the task runner application has failed and restart a new instance.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Data Pipeline's API operation ReportTaskRunnerHeartbeat for usage and error information.

Returned Error Types:

  • InternalServiceError An internal service error occurred.

  • InvalidRequestException The request was not valid. Verify that your request was properly formatted, that the signature was generated with the correct credentials, and that you haven't exceeded any of the service limits for your account.

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/ReportTaskRunnerHeartbeat

func (*DataPipeline) ReportTaskRunnerHeartbeatRequest

func (c *DataPipeline) ReportTaskRunnerHeartbeatRequest(input *ReportTaskRunnerHeartbeatInput) (req *request.Request, output *ReportTaskRunnerHeartbeatOutput)

ReportTaskRunnerHeartbeatRequest generates a "aws/request.Request" representing the client's request for the ReportTaskRunnerHeartbeat operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ReportTaskRunnerHeartbeat for more information on using the ReportTaskRunnerHeartbeat API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ReportTaskRunnerHeartbeatRequest method.
req, resp := client.ReportTaskRunnerHeartbeatRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/ReportTaskRunnerHeartbeat

func (*DataPipeline) ReportTaskRunnerHeartbeatWithContext

func (c *DataPipeline) ReportTaskRunnerHeartbeatWithContext(ctx aws.Context, input *ReportTaskRunnerHeartbeatInput, opts ...request.Option) (*ReportTaskRunnerHeartbeatOutput, error)

ReportTaskRunnerHeartbeatWithContext is the same as ReportTaskRunnerHeartbeat with the addition of the ability to pass a context and additional request options.

See ReportTaskRunnerHeartbeat for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DataPipeline) SetStatus

func (c *DataPipeline) SetStatus(input *SetStatusInput) (*SetStatusOutput, error)

SetStatus API operation for AWS Data Pipeline.

Requests that the status of the specified physical or logical pipeline objects be updated in the specified pipeline. This update might not occur immediately, but is eventually consistent. The status that can be set depends on the type of object (for example, DataNode or Activity). You cannot perform this operation on FINISHED pipelines and attempting to do so returns InvalidRequestException.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Data Pipeline's API operation SetStatus for usage and error information.

Returned Error Types:

  • PipelineNotFoundException The specified pipeline was not found. Verify that you used the correct user and account identifiers.

  • PipelineDeletedException The specified pipeline has been deleted.

  • InternalServiceError An internal service error occurred.

  • InvalidRequestException The request was not valid. Verify that your request was properly formatted, that the signature was generated with the correct credentials, and that you haven't exceeded any of the service limits for your account.

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/SetStatus

func (*DataPipeline) SetStatusRequest

func (c *DataPipeline) SetStatusRequest(input *SetStatusInput) (req *request.Request, output *SetStatusOutput)

SetStatusRequest generates a "aws/request.Request" representing the client's request for the SetStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See SetStatus for more information on using the SetStatus API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the SetStatusRequest method.
req, resp := client.SetStatusRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/SetStatus

func (*DataPipeline) SetStatusWithContext

func (c *DataPipeline) SetStatusWithContext(ctx aws.Context, input *SetStatusInput, opts ...request.Option) (*SetStatusOutput, error)

SetStatusWithContext is the same as SetStatus with the addition of the ability to pass a context and additional request options.

See SetStatus for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DataPipeline) SetTaskStatus

func (c *DataPipeline) SetTaskStatus(input *SetTaskStatusInput) (*SetTaskStatusOutput, error)

SetTaskStatus API operation for AWS Data Pipeline.

Task runners call SetTaskStatus to notify AWS Data Pipeline that a task is completed and provide information about the final status. A task runner makes this call regardless of whether the task was sucessful. A task runner does not need to call SetTaskStatus for tasks that are canceled by the web service during a call to ReportTaskProgress.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Data Pipeline's API operation SetTaskStatus for usage and error information.

Returned Error Types:

  • InternalServiceError An internal service error occurred.

  • TaskNotFoundException The specified task was not found.

  • InvalidRequestException The request was not valid. Verify that your request was properly formatted, that the signature was generated with the correct credentials, and that you haven't exceeded any of the service limits for your account.

  • PipelineNotFoundException The specified pipeline was not found. Verify that you used the correct user and account identifiers.

  • PipelineDeletedException The specified pipeline has been deleted.

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/SetTaskStatus

func (*DataPipeline) SetTaskStatusRequest

func (c *DataPipeline) SetTaskStatusRequest(input *SetTaskStatusInput) (req *request.Request, output *SetTaskStatusOutput)

SetTaskStatusRequest generates a "aws/request.Request" representing the client's request for the SetTaskStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See SetTaskStatus for more information on using the SetTaskStatus API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the SetTaskStatusRequest method.
req, resp := client.SetTaskStatusRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/SetTaskStatus

func (*DataPipeline) SetTaskStatusWithContext

func (c *DataPipeline) SetTaskStatusWithContext(ctx aws.Context, input *SetTaskStatusInput, opts ...request.Option) (*SetTaskStatusOutput, error)

SetTaskStatusWithContext is the same as SetTaskStatus with the addition of the ability to pass a context and additional request options.

See SetTaskStatus for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DataPipeline) ValidatePipelineDefinition

func (c *DataPipeline) ValidatePipelineDefinition(input *ValidatePipelineDefinitionInput) (*ValidatePipelineDefinitionOutput, error)

ValidatePipelineDefinition API operation for AWS Data Pipeline.

Validates the specified pipeline definition to ensure that it is well formed and can be run without error.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Data Pipeline's API operation ValidatePipelineDefinition for usage and error information.

Returned Error Types:

  • InternalServiceError An internal service error occurred.

  • InvalidRequestException The request was not valid. Verify that your request was properly formatted, that the signature was generated with the correct credentials, and that you haven't exceeded any of the service limits for your account.

  • PipelineNotFoundException The specified pipeline was not found. Verify that you used the correct user and account identifiers.

  • PipelineDeletedException The specified pipeline has been deleted.

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/ValidatePipelineDefinition

func (*DataPipeline) ValidatePipelineDefinitionRequest

func (c *DataPipeline) ValidatePipelineDefinitionRequest(input *ValidatePipelineDefinitionInput) (req *request.Request, output *ValidatePipelineDefinitionOutput)

ValidatePipelineDefinitionRequest generates a "aws/request.Request" representing the client's request for the ValidatePipelineDefinition operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ValidatePipelineDefinition for more information on using the ValidatePipelineDefinition API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ValidatePipelineDefinitionRequest method.
req, resp := client.ValidatePipelineDefinitionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/ValidatePipelineDefinition

func (*DataPipeline) ValidatePipelineDefinitionWithContext

func (c *DataPipeline) ValidatePipelineDefinitionWithContext(ctx aws.Context, input *ValidatePipelineDefinitionInput, opts ...request.Option) (*ValidatePipelineDefinitionOutput, error)

ValidatePipelineDefinitionWithContext is the same as ValidatePipelineDefinition with the addition of the ability to pass a context and additional request options.

See ValidatePipelineDefinition for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type DeactivatePipelineInput

type DeactivatePipelineInput struct {

    // Indicates whether to cancel any running objects. The default is true, which
    // sets the state of any running objects to CANCELED. If this value is false,
    // the pipeline is deactivated after all running objects finish.
    CancelActive *bool `locationName:"cancelActive" type:"boolean"`

    // The ID of the pipeline.
    //
    // PipelineId is a required field
    PipelineId *string `locationName:"pipelineId" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Contains the parameters for DeactivatePipeline.

func (DeactivatePipelineInput) GoString

func (s DeactivatePipelineInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeactivatePipelineInput) SetCancelActive

func (s *DeactivatePipelineInput) SetCancelActive(v bool) *DeactivatePipelineInput

SetCancelActive sets the CancelActive field's value.

func (*DeactivatePipelineInput) SetPipelineId

func (s *DeactivatePipelineInput) SetPipelineId(v string) *DeactivatePipelineInput

SetPipelineId sets the PipelineId field's value.

func (DeactivatePipelineInput) String

func (s DeactivatePipelineInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeactivatePipelineInput) Validate

func (s *DeactivatePipelineInput) Validate() error

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

type DeactivatePipelineOutput

type DeactivatePipelineOutput struct {
    // contains filtered or unexported fields
}

Contains the output of DeactivatePipeline.

func (DeactivatePipelineOutput) GoString

func (s DeactivatePipelineOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeactivatePipelineOutput) String

func (s DeactivatePipelineOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeletePipelineInput

type DeletePipelineInput struct {

    // The ID of the pipeline.
    //
    // PipelineId is a required field
    PipelineId *string `locationName:"pipelineId" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Contains the parameters for DeletePipeline.

func (DeletePipelineInput) GoString

func (s DeletePipelineInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeletePipelineInput) SetPipelineId

func (s *DeletePipelineInput) SetPipelineId(v string) *DeletePipelineInput

SetPipelineId sets the PipelineId field's value.

func (DeletePipelineInput) String

func (s DeletePipelineInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeletePipelineInput) Validate

func (s *DeletePipelineInput) Validate() error

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

type DeletePipelineOutput

type DeletePipelineOutput struct {
    // contains filtered or unexported fields
}

func (DeletePipelineOutput) GoString

func (s DeletePipelineOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeletePipelineOutput) String

func (s DeletePipelineOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeObjectsInput

type DescribeObjectsInput struct {

    // Indicates whether any expressions in the object should be evaluated when
    // the object descriptions are returned.
    EvaluateExpressions *bool `locationName:"evaluateExpressions" type:"boolean"`

    // The starting point for the results to be returned. For the first call, this
    // value should be empty. As long as there are more results, continue to call
    // DescribeObjects with the marker value from the previous call to retrieve
    // the next set of results.
    Marker *string `locationName:"marker" type:"string"`

    // The IDs of the pipeline objects that contain the definitions to be described.
    // You can pass as many as 25 identifiers in a single call to DescribeObjects.
    //
    // ObjectIds is a required field
    ObjectIds []*string `locationName:"objectIds" type:"list" required:"true"`

    // The ID of the pipeline that contains the object definitions.
    //
    // PipelineId is a required field
    PipelineId *string `locationName:"pipelineId" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Contains the parameters for DescribeObjects.

func (DescribeObjectsInput) GoString

func (s DescribeObjectsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeObjectsInput) SetEvaluateExpressions

func (s *DescribeObjectsInput) SetEvaluateExpressions(v bool) *DescribeObjectsInput

SetEvaluateExpressions sets the EvaluateExpressions field's value.

func (*DescribeObjectsInput) SetMarker

func (s *DescribeObjectsInput) SetMarker(v string) *DescribeObjectsInput

SetMarker sets the Marker field's value.

func (*DescribeObjectsInput) SetObjectIds

func (s *DescribeObjectsInput) SetObjectIds(v []*string) *DescribeObjectsInput

SetObjectIds sets the ObjectIds field's value.

func (*DescribeObjectsInput) SetPipelineId

func (s *DescribeObjectsInput) SetPipelineId(v string) *DescribeObjectsInput

SetPipelineId sets the PipelineId field's value.

func (DescribeObjectsInput) String

func (s DescribeObjectsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeObjectsInput) Validate

func (s *DescribeObjectsInput) Validate() error

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

type DescribeObjectsOutput

type DescribeObjectsOutput struct {

    // Indicates whether there are more results to return.
    HasMoreResults *bool `locationName:"hasMoreResults" type:"boolean"`

    // The starting point for the next page of results. To view the next page of
    // results, call DescribeObjects again with this marker value. If the value
    // is null, there are no more results.
    Marker *string `locationName:"marker" type:"string"`

    // An array of object definitions.
    //
    // PipelineObjects is a required field
    PipelineObjects []*PipelineObject `locationName:"pipelineObjects" type:"list" required:"true"`
    // contains filtered or unexported fields
}

Contains the output of DescribeObjects.

func (DescribeObjectsOutput) GoString

func (s DescribeObjectsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeObjectsOutput) SetHasMoreResults

func (s *DescribeObjectsOutput) SetHasMoreResults(v bool) *DescribeObjectsOutput

SetHasMoreResults sets the HasMoreResults field's value.

func (*DescribeObjectsOutput) SetMarker

func (s *DescribeObjectsOutput) SetMarker(v string) *DescribeObjectsOutput

SetMarker sets the Marker field's value.

func (*DescribeObjectsOutput) SetPipelineObjects

func (s *DescribeObjectsOutput) SetPipelineObjects(v []*PipelineObject) *DescribeObjectsOutput

SetPipelineObjects sets the PipelineObjects field's value.

func (DescribeObjectsOutput) String

func (s DescribeObjectsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribePipelinesInput

type DescribePipelinesInput struct {

    // The IDs of the pipelines to describe. You can pass as many as 25 identifiers
    // in a single call. To obtain pipeline IDs, call ListPipelines.
    //
    // PipelineIds is a required field
    PipelineIds []*string `locationName:"pipelineIds" type:"list" required:"true"`
    // contains filtered or unexported fields
}

Contains the parameters for DescribePipelines.

func (DescribePipelinesInput) GoString

func (s DescribePipelinesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribePipelinesInput) SetPipelineIds

func (s *DescribePipelinesInput) SetPipelineIds(v []*string) *DescribePipelinesInput

SetPipelineIds sets the PipelineIds field's value.

func (DescribePipelinesInput) String

func (s DescribePipelinesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribePipelinesInput) Validate

func (s *DescribePipelinesInput) Validate() error

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

type DescribePipelinesOutput

type DescribePipelinesOutput struct {

    // An array of descriptions for the specified pipelines.
    //
    // PipelineDescriptionList is a required field
    PipelineDescriptionList []*PipelineDescription `locationName:"pipelineDescriptionList" type:"list" required:"true"`
    // contains filtered or unexported fields
}

Contains the output of DescribePipelines.

func (DescribePipelinesOutput) GoString

func (s DescribePipelinesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribePipelinesOutput) SetPipelineDescriptionList

func (s *DescribePipelinesOutput) SetPipelineDescriptionList(v []*PipelineDescription) *DescribePipelinesOutput

SetPipelineDescriptionList sets the PipelineDescriptionList field's value.

func (DescribePipelinesOutput) String

func (s DescribePipelinesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type EvaluateExpressionInput

type EvaluateExpressionInput struct {

    // The expression to evaluate.
    //
    // Expression is a required field
    Expression *string `locationName:"expression" type:"string" required:"true"`

    // The ID of the object.
    //
    // ObjectId is a required field
    ObjectId *string `locationName:"objectId" min:"1" type:"string" required:"true"`

    // The ID of the pipeline.
    //
    // PipelineId is a required field
    PipelineId *string `locationName:"pipelineId" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Contains the parameters for EvaluateExpression.

func (EvaluateExpressionInput) GoString

func (s EvaluateExpressionInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EvaluateExpressionInput) SetExpression

func (s *EvaluateExpressionInput) SetExpression(v string) *EvaluateExpressionInput

SetExpression sets the Expression field's value.

func (*EvaluateExpressionInput) SetObjectId

func (s *EvaluateExpressionInput) SetObjectId(v string) *EvaluateExpressionInput

SetObjectId sets the ObjectId field's value.

func (*EvaluateExpressionInput) SetPipelineId

func (s *EvaluateExpressionInput) SetPipelineId(v string) *EvaluateExpressionInput

SetPipelineId sets the PipelineId field's value.

func (EvaluateExpressionInput) String

func (s EvaluateExpressionInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EvaluateExpressionInput) Validate

func (s *EvaluateExpressionInput) Validate() error

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

type EvaluateExpressionOutput

type EvaluateExpressionOutput struct {

    // The evaluated expression.
    //
    // EvaluatedExpression is a required field
    EvaluatedExpression *string `locationName:"evaluatedExpression" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Contains the output of EvaluateExpression.

func (EvaluateExpressionOutput) GoString

func (s EvaluateExpressionOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EvaluateExpressionOutput) SetEvaluatedExpression

func (s *EvaluateExpressionOutput) SetEvaluatedExpression(v string) *EvaluateExpressionOutput

SetEvaluatedExpression sets the EvaluatedExpression field's value.

func (EvaluateExpressionOutput) String

func (s EvaluateExpressionOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Field

type Field struct {

    // The field identifier.
    //
    // Key is a required field
    Key *string `locationName:"key" min:"1" type:"string" required:"true"`

    // The field value, expressed as the identifier of another object.
    RefValue *string `locationName:"refValue" min:"1" type:"string"`

    // The field value, expressed as a String.
    StringValue *string `locationName:"stringValue" type:"string"`
    // contains filtered or unexported fields
}

A key-value pair that describes a property of a pipeline object. The value is specified as either a string value (StringValue) or a reference to another object (RefValue) but not as both.

func (Field) GoString

func (s Field) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Field) SetKey

func (s *Field) SetKey(v string) *Field

SetKey sets the Key field's value.

func (*Field) SetRefValue

func (s *Field) SetRefValue(v string) *Field

SetRefValue sets the RefValue field's value.

func (*Field) SetStringValue

func (s *Field) SetStringValue(v string) *Field

SetStringValue sets the StringValue field's value.

func (Field) String

func (s Field) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Field) Validate

func (s *Field) Validate() error

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

type GetPipelineDefinitionInput

type GetPipelineDefinitionInput struct {

    // The ID of the pipeline.
    //
    // PipelineId is a required field
    PipelineId *string `locationName:"pipelineId" min:"1" type:"string" required:"true"`

    // The version of the pipeline definition to retrieve. Set this parameter to
    // latest (default) to use the last definition saved to the pipeline or active
    // to use the last definition that was activated.
    Version *string `locationName:"version" type:"string"`
    // contains filtered or unexported fields
}

Contains the parameters for GetPipelineDefinition.

func (GetPipelineDefinitionInput) GoString

func (s GetPipelineDefinitionInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetPipelineDefinitionInput) SetPipelineId

func (s *GetPipelineDefinitionInput) SetPipelineId(v string) *GetPipelineDefinitionInput

SetPipelineId sets the PipelineId field's value.

func (*GetPipelineDefinitionInput) SetVersion

func (s *GetPipelineDefinitionInput) SetVersion(v string) *GetPipelineDefinitionInput

SetVersion sets the Version field's value.

func (GetPipelineDefinitionInput) String

func (s GetPipelineDefinitionInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetPipelineDefinitionInput) Validate

func (s *GetPipelineDefinitionInput) Validate() error

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

type GetPipelineDefinitionOutput

type GetPipelineDefinitionOutput struct {

    // The parameter objects used in the pipeline definition.
    ParameterObjects []*ParameterObject `locationName:"parameterObjects" type:"list"`

    // The parameter values used in the pipeline definition.
    ParameterValues []*ParameterValue `locationName:"parameterValues" type:"list"`

    // The objects defined in the pipeline.
    PipelineObjects []*PipelineObject `locationName:"pipelineObjects" type:"list"`
    // contains filtered or unexported fields
}

Contains the output of GetPipelineDefinition.

func (GetPipelineDefinitionOutput) GoString

func (s GetPipelineDefinitionOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetPipelineDefinitionOutput) SetParameterObjects

func (s *GetPipelineDefinitionOutput) SetParameterObjects(v []*ParameterObject) *GetPipelineDefinitionOutput

SetParameterObjects sets the ParameterObjects field's value.

func (*GetPipelineDefinitionOutput) SetParameterValues

func (s *GetPipelineDefinitionOutput) SetParameterValues(v []*ParameterValue) *GetPipelineDefinitionOutput

SetParameterValues sets the ParameterValues field's value.

func (*GetPipelineDefinitionOutput) SetPipelineObjects

func (s *GetPipelineDefinitionOutput) SetPipelineObjects(v []*PipelineObject) *GetPipelineDefinitionOutput

SetPipelineObjects sets the PipelineObjects field's value.

func (GetPipelineDefinitionOutput) String

func (s GetPipelineDefinitionOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InstanceIdentity

type InstanceIdentity struct {

    // A description of an EC2 instance that is generated when the instance is launched
    // and exposed to the instance via the instance metadata service in the form
    // of a JSON representation of an object.
    Document *string `locationName:"document" type:"string"`

    // A signature which can be used to verify the accuracy and authenticity of
    // the information provided in the instance identity document.
    Signature *string `locationName:"signature" type:"string"`
    // contains filtered or unexported fields
}

Identity information for the EC2 instance that is hosting the task runner. You can get this value by calling a metadata URI from the EC2 instance. For more information, see Instance Metadata (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AESDG-chapter-instancedata.html) in the Amazon Elastic Compute Cloud User Guide. Passing in this value proves that your task runner is running on an EC2 instance, and ensures the proper AWS Data Pipeline service charges are applied to your pipeline.

func (InstanceIdentity) GoString

func (s InstanceIdentity) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InstanceIdentity) SetDocument

func (s *InstanceIdentity) SetDocument(v string) *InstanceIdentity

SetDocument sets the Document field's value.

func (*InstanceIdentity) SetSignature

func (s *InstanceIdentity) SetSignature(v string) *InstanceIdentity

SetSignature sets the Signature field's value.

func (InstanceIdentity) String

func (s InstanceIdentity) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InternalServiceError

type InternalServiceError struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    // Description of the error message.
    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

An internal service error occurred.

func (*InternalServiceError) Code

func (s *InternalServiceError) Code() string

Code returns the exception type name.

func (*InternalServiceError) Error

func (s *InternalServiceError) Error() string

func (InternalServiceError) GoString

func (s InternalServiceError) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InternalServiceError) Message

func (s *InternalServiceError) Message() string

Message returns the exception's message.

func (*InternalServiceError) OrigErr

func (s *InternalServiceError) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServiceError) RequestID

func (s *InternalServiceError) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServiceError) StatusCode

func (s *InternalServiceError) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InternalServiceError) String

func (s InternalServiceError) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidRequestException

type InvalidRequestException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    // Description of the error message.
    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

The request was not valid. Verify that your request was properly formatted, that the signature was generated with the correct credentials, and that you haven't exceeded any of the service limits for your account.

func (*InvalidRequestException) Code

func (s *InvalidRequestException) Code() string

Code returns the exception type name.

func (*InvalidRequestException) Error

func (s *InvalidRequestException) Error() string

func (InvalidRequestException) GoString

func (s InvalidRequestException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidRequestException) Message

func (s *InvalidRequestException) Message() string

Message returns the exception's message.

func (*InvalidRequestException) OrigErr

func (s *InvalidRequestException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidRequestException) RequestID

func (s *InvalidRequestException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidRequestException) StatusCode

func (s *InvalidRequestException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidRequestException) String

func (s InvalidRequestException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListPipelinesInput

type ListPipelinesInput struct {

    // The starting point for the results to be returned. For the first call, this
    // value should be empty. As long as there are more results, continue to call
    // ListPipelines with the marker value from the previous call to retrieve the
    // next set of results.
    Marker *string `locationName:"marker" type:"string"`
    // contains filtered or unexported fields
}

Contains the parameters for ListPipelines.

func (ListPipelinesInput) GoString

func (s ListPipelinesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPipelinesInput) SetMarker

func (s *ListPipelinesInput) SetMarker(v string) *ListPipelinesInput

SetMarker sets the Marker field's value.

func (ListPipelinesInput) String

func (s ListPipelinesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListPipelinesOutput

type ListPipelinesOutput struct {

    // Indicates whether there are more results that can be obtained by a subsequent
    // call.
    HasMoreResults *bool `locationName:"hasMoreResults" type:"boolean"`

    // The starting point for the next page of results. To view the next page of
    // results, call ListPipelinesOutput again with this marker value. If the value
    // is null, there are no more results.
    Marker *string `locationName:"marker" type:"string"`

    // The pipeline identifiers. If you require additional information about the
    // pipelines, you can use these identifiers to call DescribePipelines and GetPipelineDefinition.
    //
    // PipelineIdList is a required field
    PipelineIdList []*PipelineIdName `locationName:"pipelineIdList" type:"list" required:"true"`
    // contains filtered or unexported fields
}

Contains the output of ListPipelines.

func (ListPipelinesOutput) GoString

func (s ListPipelinesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPipelinesOutput) SetHasMoreResults

func (s *ListPipelinesOutput) SetHasMoreResults(v bool) *ListPipelinesOutput

SetHasMoreResults sets the HasMoreResults field's value.

func (*ListPipelinesOutput) SetMarker

func (s *ListPipelinesOutput) SetMarker(v string) *ListPipelinesOutput

SetMarker sets the Marker field's value.

func (*ListPipelinesOutput) SetPipelineIdList

func (s *ListPipelinesOutput) SetPipelineIdList(v []*PipelineIdName) *ListPipelinesOutput

SetPipelineIdList sets the PipelineIdList field's value.

func (ListPipelinesOutput) String

func (s ListPipelinesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Operator

type Operator struct {

    // The logical operation to be performed: equal (EQ), equal reference (REF_EQ),
    // less than or equal (LE), greater than or equal (GE), or between (BETWEEN).
    // Equal reference (REF_EQ) can be used only with reference fields. The other
    // comparison types can be used only with String fields. The comparison types
    // you can use apply only to certain object fields, as detailed below.
    //
    // The comparison operators EQ and REF_EQ act on the following fields:
    //
    //    * name
    //
    //    * @sphere
    //
    //    * parent
    //
    //    * @componentParent
    //
    //    * @instanceParent
    //
    //    * @status
    //
    //    * @scheduledStartTime
    //
    //    * @scheduledEndTime
    //
    //    * @actualStartTime
    //
    //    * @actualEndTime
    //
    // The comparison operators GE, LE, and BETWEEN act on the following fields:
    //
    //    * @scheduledStartTime
    //
    //    * @scheduledEndTime
    //
    //    * @actualStartTime
    //
    //    * @actualEndTime
    //
    // Note that fields beginning with the at sign (@) are read-only and set by
    // the web service. When you name fields, you should choose names containing
    // only alpha-numeric values, as symbols may be reserved by AWS Data Pipeline.
    // User-defined fields that you add to a pipeline should prefix their name with
    // the string "my".
    Type *string `locationName:"type" type:"string" enum:"OperatorType"`

    // The value that the actual field value will be compared with.
    Values []*string `locationName:"values" type:"list"`
    // contains filtered or unexported fields
}

Contains a logical operation for comparing the value of a field with a specified value.

func (Operator) GoString

func (s Operator) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Operator) SetType

func (s *Operator) SetType(v string) *Operator

SetType sets the Type field's value.

func (*Operator) SetValues

func (s *Operator) SetValues(v []*string) *Operator

SetValues sets the Values field's value.

func (Operator) String

func (s Operator) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ParameterAttribute

type ParameterAttribute struct {

    // The field identifier.
    //
    // Key is a required field
    Key *string `locationName:"key" min:"1" type:"string" required:"true"`

    // The field value, expressed as a String.
    //
    // StringValue is a required field
    StringValue *string `locationName:"stringValue" type:"string" required:"true"`
    // contains filtered or unexported fields
}

The attributes allowed or specified with a parameter object.

func (ParameterAttribute) GoString

func (s ParameterAttribute) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ParameterAttribute) SetKey

func (s *ParameterAttribute) SetKey(v string) *ParameterAttribute

SetKey sets the Key field's value.

func (*ParameterAttribute) SetStringValue

func (s *ParameterAttribute) SetStringValue(v string) *ParameterAttribute

SetStringValue sets the StringValue field's value.

func (ParameterAttribute) String

func (s ParameterAttribute) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ParameterAttribute) Validate

func (s *ParameterAttribute) Validate() error

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

type ParameterObject

type ParameterObject struct {

    // The attributes of the parameter object.
    //
    // Attributes is a required field
    Attributes []*ParameterAttribute `locationName:"attributes" type:"list" required:"true"`

    // The ID of the parameter object.
    //
    // Id is a required field
    Id *string `locationName:"id" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Contains information about a parameter object.

func (ParameterObject) GoString

func (s ParameterObject) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ParameterObject) SetAttributes

func (s *ParameterObject) SetAttributes(v []*ParameterAttribute) *ParameterObject

SetAttributes sets the Attributes field's value.

func (*ParameterObject) SetId

func (s *ParameterObject) SetId(v string) *ParameterObject

SetId sets the Id field's value.

func (ParameterObject) String

func (s ParameterObject) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ParameterObject) Validate

func (s *ParameterObject) Validate() error

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

type ParameterValue

type ParameterValue struct {

    // The ID of the parameter value.
    //
    // Id is a required field
    Id *string `locationName:"id" min:"1" type:"string" required:"true"`

    // The field value, expressed as a String.
    //
    // StringValue is a required field
    StringValue *string `locationName:"stringValue" type:"string" required:"true"`
    // contains filtered or unexported fields
}

A value or list of parameter values.

func (ParameterValue) GoString

func (s ParameterValue) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ParameterValue) SetId

func (s *ParameterValue) SetId(v string) *ParameterValue

SetId sets the Id field's value.

func (*ParameterValue) SetStringValue

func (s *ParameterValue) SetStringValue(v string) *ParameterValue

SetStringValue sets the StringValue field's value.

func (ParameterValue) String

func (s ParameterValue) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ParameterValue) Validate

func (s *ParameterValue) Validate() error

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

type PipelineDeletedException

type PipelineDeletedException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    // Description of the error message.
    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

The specified pipeline has been deleted.

func (*PipelineDeletedException) Code

func (s *PipelineDeletedException) Code() string

Code returns the exception type name.

func (*PipelineDeletedException) Error

func (s *PipelineDeletedException) Error() string

func (PipelineDeletedException) GoString

func (s PipelineDeletedException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PipelineDeletedException) Message

func (s *PipelineDeletedException) Message() string

Message returns the exception's message.

func (*PipelineDeletedException) OrigErr

func (s *PipelineDeletedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*PipelineDeletedException) RequestID

func (s *PipelineDeletedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*PipelineDeletedException) StatusCode

func (s *PipelineDeletedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (PipelineDeletedException) String

func (s PipelineDeletedException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PipelineDescription

type PipelineDescription struct {

    // Description of the pipeline.
    Description *string `locationName:"description" type:"string"`

    // A list of read-only fields that contain metadata about the pipeline: @userId,
    // @accountId, and @pipelineState.
    //
    // Fields is a required field
    Fields []*Field `locationName:"fields" type:"list" required:"true"`

    // The name of the pipeline.
    //
    // Name is a required field
    Name *string `locationName:"name" min:"1" type:"string" required:"true"`

    // The pipeline identifier that was assigned by AWS Data Pipeline. This is a
    // string of the form df-297EG78HU43EEXAMPLE.
    //
    // PipelineId is a required field
    PipelineId *string `locationName:"pipelineId" min:"1" type:"string" required:"true"`

    // A list of tags to associated with a pipeline. Tags let you control access
    // to pipelines. For more information, see Controlling User Access to Pipelines
    // (http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-control-access.html)
    // in the AWS Data Pipeline Developer Guide.
    Tags []*Tag `locationName:"tags" type:"list"`
    // contains filtered or unexported fields
}

Contains pipeline metadata.

func (PipelineDescription) GoString

func (s PipelineDescription) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PipelineDescription) SetDescription

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

SetDescription sets the Description field's value.

func (*PipelineDescription) SetFields

func (s *PipelineDescription) SetFields(v []*Field) *PipelineDescription

SetFields sets the Fields field's value.

func (*PipelineDescription) SetName

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

SetName sets the Name field's value.

func (*PipelineDescription) SetPipelineId

func (s *PipelineDescription) SetPipelineId(v string) *PipelineDescription

SetPipelineId sets the PipelineId field's value.

func (*PipelineDescription) SetTags

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

SetTags sets the Tags field's value.

func (PipelineDescription) String

func (s PipelineDescription) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PipelineIdName

type PipelineIdName struct {

    // The ID of the pipeline that was assigned by AWS Data Pipeline. This is a
    // string of the form df-297EG78HU43EEXAMPLE.
    Id *string `locationName:"id" min:"1" type:"string"`

    // The name of the pipeline.
    Name *string `locationName:"name" min:"1" type:"string"`
    // contains filtered or unexported fields
}

Contains the name and identifier of a pipeline.

func (PipelineIdName) GoString

func (s PipelineIdName) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PipelineIdName) SetId

func (s *PipelineIdName) SetId(v string) *PipelineIdName

SetId sets the Id field's value.

func (*PipelineIdName) SetName

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

SetName sets the Name field's value.

func (PipelineIdName) String

func (s PipelineIdName) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PipelineNotFoundException

type PipelineNotFoundException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    // Description of the error message.
    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

The specified pipeline was not found. Verify that you used the correct user and account identifiers.

func (*PipelineNotFoundException) Code

func (s *PipelineNotFoundException) Code() string

Code returns the exception type name.

func (*PipelineNotFoundException) Error

func (s *PipelineNotFoundException) Error() string

func (PipelineNotFoundException) GoString

func (s PipelineNotFoundException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PipelineNotFoundException) Message

func (s *PipelineNotFoundException) Message() string

Message returns the exception's message.

func (*PipelineNotFoundException) OrigErr

func (s *PipelineNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*PipelineNotFoundException) RequestID

func (s *PipelineNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*PipelineNotFoundException) StatusCode

func (s *PipelineNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (PipelineNotFoundException) String

func (s PipelineNotFoundException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PipelineObject

type PipelineObject struct {

    // Key-value pairs that define the properties of the object.
    //
    // Fields is a required field
    Fields []*Field `locationName:"fields" type:"list" required:"true"`

    // The ID of the object.
    //
    // Id is a required field
    Id *string `locationName:"id" min:"1" type:"string" required:"true"`

    // The name of the object.
    //
    // Name is a required field
    Name *string `locationName:"name" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Contains information about a pipeline object. This can be a logical, physical, or physical attempt pipeline object. The complete set of components of a pipeline defines the pipeline.

func (PipelineObject) GoString

func (s PipelineObject) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PipelineObject) SetFields

func (s *PipelineObject) SetFields(v []*Field) *PipelineObject

SetFields sets the Fields field's value.

func (*PipelineObject) SetId

func (s *PipelineObject) SetId(v string) *PipelineObject

SetId sets the Id field's value.

func (*PipelineObject) SetName

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

SetName sets the Name field's value.

func (PipelineObject) String

func (s PipelineObject) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PipelineObject) Validate

func (s *PipelineObject) Validate() error

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

type PollForTaskInput

type PollForTaskInput struct {

    // The public DNS name of the calling task runner.
    Hostname *string `locationName:"hostname" min:"1" type:"string"`

    // Identity information for the EC2 instance that is hosting the task runner.
    // You can get this value from the instance using http://169.254.169.254/latest/meta-data/instance-id.
    // For more information, see Instance Metadata (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AESDG-chapter-instancedata.html)
    // in the Amazon Elastic Compute Cloud User Guide. Passing in this value proves
    // that your task runner is running on an EC2 instance, and ensures the proper
    // AWS Data Pipeline service charges are applied to your pipeline.
    InstanceIdentity *InstanceIdentity `locationName:"instanceIdentity" type:"structure"`

    // The type of task the task runner is configured to accept and process. The
    // worker group is set as a field on objects in the pipeline when they are created.
    // You can only specify a single value for workerGroup in the call to PollForTask.
    // There are no wildcard values permitted in workerGroup; the string must be
    // an exact, case-sensitive, match.
    //
    // WorkerGroup is a required field
    WorkerGroup *string `locationName:"workerGroup" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Contains the parameters for PollForTask.

func (PollForTaskInput) GoString

func (s PollForTaskInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PollForTaskInput) SetHostname

func (s *PollForTaskInput) SetHostname(v string) *PollForTaskInput

SetHostname sets the Hostname field's value.

func (*PollForTaskInput) SetInstanceIdentity

func (s *PollForTaskInput) SetInstanceIdentity(v *InstanceIdentity) *PollForTaskInput

SetInstanceIdentity sets the InstanceIdentity field's value.

func (*PollForTaskInput) SetWorkerGroup

func (s *PollForTaskInput) SetWorkerGroup(v string) *PollForTaskInput

SetWorkerGroup sets the WorkerGroup field's value.

func (PollForTaskInput) String

func (s PollForTaskInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PollForTaskInput) Validate

func (s *PollForTaskInput) Validate() error

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

type PollForTaskOutput

type PollForTaskOutput struct {

    // The information needed to complete the task that is being assigned to the
    // task runner. One of the fields returned in this object is taskId, which contains
    // an identifier for the task being assigned. The calling task runner uses taskId
    // in subsequent calls to ReportTaskProgress and SetTaskStatus.
    TaskObject *TaskObject `locationName:"taskObject" type:"structure"`
    // contains filtered or unexported fields
}

Contains the output of PollForTask.

func (PollForTaskOutput) GoString

func (s PollForTaskOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PollForTaskOutput) SetTaskObject

func (s *PollForTaskOutput) SetTaskObject(v *TaskObject) *PollForTaskOutput

SetTaskObject sets the TaskObject field's value.

func (PollForTaskOutput) String

func (s PollForTaskOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutPipelineDefinitionInput

type PutPipelineDefinitionInput struct {

    // The parameter objects used with the pipeline.
    ParameterObjects []*ParameterObject `locationName:"parameterObjects" type:"list"`

    // The parameter values used with the pipeline.
    ParameterValues []*ParameterValue `locationName:"parameterValues" type:"list"`

    // The ID of the pipeline.
    //
    // PipelineId is a required field
    PipelineId *string `locationName:"pipelineId" min:"1" type:"string" required:"true"`

    // The objects that define the pipeline. These objects overwrite the existing
    // pipeline definition.
    //
    // PipelineObjects is a required field
    PipelineObjects []*PipelineObject `locationName:"pipelineObjects" type:"list" required:"true"`
    // contains filtered or unexported fields
}

Contains the parameters for PutPipelineDefinition.

func (PutPipelineDefinitionInput) GoString

func (s PutPipelineDefinitionInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutPipelineDefinitionInput) SetParameterObjects

func (s *PutPipelineDefinitionInput) SetParameterObjects(v []*ParameterObject) *PutPipelineDefinitionInput

SetParameterObjects sets the ParameterObjects field's value.

func (*PutPipelineDefinitionInput) SetParameterValues

func (s *PutPipelineDefinitionInput) SetParameterValues(v []*ParameterValue) *PutPipelineDefinitionInput

SetParameterValues sets the ParameterValues field's value.

func (*PutPipelineDefinitionInput) SetPipelineId

func (s *PutPipelineDefinitionInput) SetPipelineId(v string) *PutPipelineDefinitionInput

SetPipelineId sets the PipelineId field's value.

func (*PutPipelineDefinitionInput) SetPipelineObjects

func (s *PutPipelineDefinitionInput) SetPipelineObjects(v []*PipelineObject) *PutPipelineDefinitionInput

SetPipelineObjects sets the PipelineObjects field's value.

func (PutPipelineDefinitionInput) String

func (s PutPipelineDefinitionInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutPipelineDefinitionInput) Validate

func (s *PutPipelineDefinitionInput) Validate() error

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

type PutPipelineDefinitionOutput

type PutPipelineDefinitionOutput struct {

    // Indicates whether there were validation errors, and the pipeline definition
    // is stored but cannot be activated until you correct the pipeline and call
    // PutPipelineDefinition to commit the corrected pipeline.
    //
    // Errored is a required field
    Errored *bool `locationName:"errored" type:"boolean" required:"true"`

    // The validation errors that are associated with the objects defined in pipelineObjects.
    ValidationErrors []*ValidationError `locationName:"validationErrors" type:"list"`

    // The validation warnings that are associated with the objects defined in pipelineObjects.
    ValidationWarnings []*ValidationWarning `locationName:"validationWarnings" type:"list"`
    // contains filtered or unexported fields
}

Contains the output of PutPipelineDefinition.

func (PutPipelineDefinitionOutput) GoString

func (s PutPipelineDefinitionOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutPipelineDefinitionOutput) SetErrored

func (s *PutPipelineDefinitionOutput) SetErrored(v bool) *PutPipelineDefinitionOutput

SetErrored sets the Errored field's value.

func (*PutPipelineDefinitionOutput) SetValidationErrors

func (s *PutPipelineDefinitionOutput) SetValidationErrors(v []*ValidationError) *PutPipelineDefinitionOutput

SetValidationErrors sets the ValidationErrors field's value.

func (*PutPipelineDefinitionOutput) SetValidationWarnings

func (s *PutPipelineDefinitionOutput) SetValidationWarnings(v []*ValidationWarning) *PutPipelineDefinitionOutput

SetValidationWarnings sets the ValidationWarnings field's value.

func (PutPipelineDefinitionOutput) String

func (s PutPipelineDefinitionOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Query

type Query struct {

    // List of selectors that define the query. An object must satisfy all of the
    // selectors to match the query.
    Selectors []*Selector `locationName:"selectors" type:"list"`
    // contains filtered or unexported fields
}

Defines the query to run against an object.

func (Query) GoString

func (s Query) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Query) SetSelectors

func (s *Query) SetSelectors(v []*Selector) *Query

SetSelectors sets the Selectors field's value.

func (Query) String

func (s Query) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type QueryObjectsInput

type QueryObjectsInput struct {

    // The maximum number of object names that QueryObjects will return in a single
    // call. The default value is 100.
    Limit *int64 `locationName:"limit" type:"integer"`

    // The starting point for the results to be returned. For the first call, this
    // value should be empty. As long as there are more results, continue to call
    // QueryObjects with the marker value from the previous call to retrieve the
    // next set of results.
    Marker *string `locationName:"marker" type:"string"`

    // The ID of the pipeline.
    //
    // PipelineId is a required field
    PipelineId *string `locationName:"pipelineId" min:"1" type:"string" required:"true"`

    // The query that defines the objects to be returned. The Query object can contain
    // a maximum of ten selectors. The conditions in the query are limited to top-level
    // String fields in the object. These filters can be applied to components,
    // instances, and attempts.
    Query *Query `locationName:"query" type:"structure"`

    // Indicates whether the query applies to components or instances. The possible
    // values are: COMPONENT, INSTANCE, and ATTEMPT.
    //
    // Sphere is a required field
    Sphere *string `locationName:"sphere" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Contains the parameters for QueryObjects.

func (QueryObjectsInput) GoString

func (s QueryObjectsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*QueryObjectsInput) SetLimit

func (s *QueryObjectsInput) SetLimit(v int64) *QueryObjectsInput

SetLimit sets the Limit field's value.

func (*QueryObjectsInput) SetMarker

func (s *QueryObjectsInput) SetMarker(v string) *QueryObjectsInput

SetMarker sets the Marker field's value.

func (*QueryObjectsInput) SetPipelineId

func (s *QueryObjectsInput) SetPipelineId(v string) *QueryObjectsInput

SetPipelineId sets the PipelineId field's value.

func (*QueryObjectsInput) SetQuery

func (s *QueryObjectsInput) SetQuery(v *Query) *QueryObjectsInput

SetQuery sets the Query field's value.

func (*QueryObjectsInput) SetSphere

func (s *QueryObjectsInput) SetSphere(v string) *QueryObjectsInput

SetSphere sets the Sphere field's value.

func (QueryObjectsInput) String

func (s QueryObjectsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*QueryObjectsInput) Validate

func (s *QueryObjectsInput) Validate() error

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

type QueryObjectsOutput

type QueryObjectsOutput struct {

    // Indicates whether there are more results that can be obtained by a subsequent
    // call.
    HasMoreResults *bool `locationName:"hasMoreResults" type:"boolean"`

    // The identifiers that match the query selectors.
    Ids []*string `locationName:"ids" type:"list"`

    // The starting point for the next page of results. To view the next page of
    // results, call QueryObjects again with this marker value. If the value is
    // null, there are no more results.
    Marker *string `locationName:"marker" type:"string"`
    // contains filtered or unexported fields
}

Contains the output of QueryObjects.

func (QueryObjectsOutput) GoString

func (s QueryObjectsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*QueryObjectsOutput) SetHasMoreResults

func (s *QueryObjectsOutput) SetHasMoreResults(v bool) *QueryObjectsOutput

SetHasMoreResults sets the HasMoreResults field's value.

func (*QueryObjectsOutput) SetIds

func (s *QueryObjectsOutput) SetIds(v []*string) *QueryObjectsOutput

SetIds sets the Ids field's value.

func (*QueryObjectsOutput) SetMarker

func (s *QueryObjectsOutput) SetMarker(v string) *QueryObjectsOutput

SetMarker sets the Marker field's value.

func (QueryObjectsOutput) String

func (s QueryObjectsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RemoveTagsInput

type RemoveTagsInput struct {

    // The ID of the pipeline.
    //
    // PipelineId is a required field
    PipelineId *string `locationName:"pipelineId" min:"1" type:"string" required:"true"`

    // The keys of the tags to remove.
    //
    // TagKeys is a required field
    TagKeys []*string `locationName:"tagKeys" type:"list" required:"true"`
    // contains filtered or unexported fields
}

Contains the parameters for RemoveTags.

func (RemoveTagsInput) GoString

func (s RemoveTagsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RemoveTagsInput) SetPipelineId

func (s *RemoveTagsInput) SetPipelineId(v string) *RemoveTagsInput

SetPipelineId sets the PipelineId field's value.

func (*RemoveTagsInput) SetTagKeys

func (s *RemoveTagsInput) SetTagKeys(v []*string) *RemoveTagsInput

SetTagKeys sets the TagKeys field's value.

func (RemoveTagsInput) String

func (s RemoveTagsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RemoveTagsInput) Validate

func (s *RemoveTagsInput) Validate() error

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

type RemoveTagsOutput

type RemoveTagsOutput struct {
    // contains filtered or unexported fields
}

Contains the output of RemoveTags.

func (RemoveTagsOutput) GoString

func (s RemoveTagsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (RemoveTagsOutput) String

func (s RemoveTagsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ReportTaskProgressInput

type ReportTaskProgressInput struct {

    // Key-value pairs that define the properties of the ReportTaskProgressInput
    // object.
    Fields []*Field `locationName:"fields" type:"list"`

    // The ID of the task assigned to the task runner. This value is provided in
    // the response for PollForTask.
    //
    // TaskId is a required field
    TaskId *string `locationName:"taskId" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Contains the parameters for ReportTaskProgress.

func (ReportTaskProgressInput) GoString

func (s ReportTaskProgressInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReportTaskProgressInput) SetFields

func (s *ReportTaskProgressInput) SetFields(v []*Field) *ReportTaskProgressInput

SetFields sets the Fields field's value.

func (*ReportTaskProgressInput) SetTaskId

func (s *ReportTaskProgressInput) SetTaskId(v string) *ReportTaskProgressInput

SetTaskId sets the TaskId field's value.

func (ReportTaskProgressInput) String

func (s ReportTaskProgressInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReportTaskProgressInput) Validate

func (s *ReportTaskProgressInput) Validate() error

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

type ReportTaskProgressOutput

type ReportTaskProgressOutput struct {

    // If true, the calling task runner should cancel processing of the task. The
    // task runner does not need to call SetTaskStatus for canceled tasks.
    //
    // Canceled is a required field
    Canceled *bool `locationName:"canceled" type:"boolean" required:"true"`
    // contains filtered or unexported fields
}

Contains the output of ReportTaskProgress.

func (ReportTaskProgressOutput) GoString

func (s ReportTaskProgressOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReportTaskProgressOutput) SetCanceled

func (s *ReportTaskProgressOutput) SetCanceled(v bool) *ReportTaskProgressOutput

SetCanceled sets the Canceled field's value.

func (ReportTaskProgressOutput) String

func (s ReportTaskProgressOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ReportTaskRunnerHeartbeatInput

type ReportTaskRunnerHeartbeatInput struct {

    // The public DNS name of the task runner.
    Hostname *string `locationName:"hostname" min:"1" type:"string"`

    // The ID of the task runner. This value should be unique across your AWS account.
    // In the case of AWS Data Pipeline Task Runner launched on a resource managed
    // by AWS Data Pipeline, the web service provides a unique identifier when it
    // launches the application. If you have written a custom task runner, you should
    // assign a unique identifier for the task runner.
    //
    // TaskrunnerId is a required field
    TaskrunnerId *string `locationName:"taskrunnerId" min:"1" type:"string" required:"true"`

    // The type of task the task runner is configured to accept and process. The
    // worker group is set as a field on objects in the pipeline when they are created.
    // You can only specify a single value for workerGroup. There are no wildcard
    // values permitted in workerGroup; the string must be an exact, case-sensitive,
    // match.
    WorkerGroup *string `locationName:"workerGroup" type:"string"`
    // contains filtered or unexported fields
}

Contains the parameters for ReportTaskRunnerHeartbeat.

func (ReportTaskRunnerHeartbeatInput) GoString

func (s ReportTaskRunnerHeartbeatInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReportTaskRunnerHeartbeatInput) SetHostname

func (s *ReportTaskRunnerHeartbeatInput) SetHostname(v string) *ReportTaskRunnerHeartbeatInput

SetHostname sets the Hostname field's value.

func (*ReportTaskRunnerHeartbeatInput) SetTaskrunnerId

func (s *ReportTaskRunnerHeartbeatInput) SetTaskrunnerId(v string) *ReportTaskRunnerHeartbeatInput

SetTaskrunnerId sets the TaskrunnerId field's value.

func (*ReportTaskRunnerHeartbeatInput) SetWorkerGroup

func (s *ReportTaskRunnerHeartbeatInput) SetWorkerGroup(v string) *ReportTaskRunnerHeartbeatInput

SetWorkerGroup sets the WorkerGroup field's value.

func (ReportTaskRunnerHeartbeatInput) String

func (s ReportTaskRunnerHeartbeatInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReportTaskRunnerHeartbeatInput) Validate

func (s *ReportTaskRunnerHeartbeatInput) Validate() error

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

type ReportTaskRunnerHeartbeatOutput

type ReportTaskRunnerHeartbeatOutput struct {

    // Indicates whether the calling task runner should terminate.
    //
    // Terminate is a required field
    Terminate *bool `locationName:"terminate" type:"boolean" required:"true"`
    // contains filtered or unexported fields
}

Contains the output of ReportTaskRunnerHeartbeat.

func (ReportTaskRunnerHeartbeatOutput) GoString

func (s ReportTaskRunnerHeartbeatOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReportTaskRunnerHeartbeatOutput) SetTerminate

func (s *ReportTaskRunnerHeartbeatOutput) SetTerminate(v bool) *ReportTaskRunnerHeartbeatOutput

SetTerminate sets the Terminate field's value.

func (ReportTaskRunnerHeartbeatOutput) String

func (s ReportTaskRunnerHeartbeatOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Selector

type Selector struct {

    // The name of the field that the operator will be applied to. The field name
    // is the "key" portion of the field definition in the pipeline definition syntax
    // that is used by the AWS Data Pipeline API. If the field is not set on the
    // object, the condition fails.
    FieldName *string `locationName:"fieldName" type:"string"`

    // Contains a logical operation for comparing the value of a field with a specified
    // value.
    Operator *Operator `locationName:"operator" type:"structure"`
    // contains filtered or unexported fields
}

A comparision that is used to determine whether a query should return this object.

func (Selector) GoString

func (s Selector) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Selector) SetFieldName

func (s *Selector) SetFieldName(v string) *Selector

SetFieldName sets the FieldName field's value.

func (*Selector) SetOperator

func (s *Selector) SetOperator(v *Operator) *Selector

SetOperator sets the Operator field's value.

func (Selector) String

func (s Selector) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SetStatusInput

type SetStatusInput struct {

    // The IDs of the objects. The corresponding objects can be either physical
    // or components, but not a mix of both types.
    //
    // ObjectIds is a required field
    ObjectIds []*string `locationName:"objectIds" type:"list" required:"true"`

    // The ID of the pipeline that contains the objects.
    //
    // PipelineId is a required field
    PipelineId *string `locationName:"pipelineId" min:"1" type:"string" required:"true"`

    // The status to be set on all the objects specified in objectIds. For components,
    // use PAUSE or RESUME. For instances, use TRY_CANCEL, RERUN, or MARK_FINISHED.
    //
    // Status is a required field
    Status *string `locationName:"status" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Contains the parameters for SetStatus.

func (SetStatusInput) GoString

func (s SetStatusInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetStatusInput) SetObjectIds

func (s *SetStatusInput) SetObjectIds(v []*string) *SetStatusInput

SetObjectIds sets the ObjectIds field's value.

func (*SetStatusInput) SetPipelineId

func (s *SetStatusInput) SetPipelineId(v string) *SetStatusInput

SetPipelineId sets the PipelineId field's value.

func (*SetStatusInput) SetStatus

func (s *SetStatusInput) SetStatus(v string) *SetStatusInput

SetStatus sets the Status field's value.

func (SetStatusInput) String

func (s SetStatusInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetStatusInput) Validate

func (s *SetStatusInput) Validate() error

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

type SetStatusOutput

type SetStatusOutput struct {
    // contains filtered or unexported fields
}

func (SetStatusOutput) GoString

func (s SetStatusOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (SetStatusOutput) String

func (s SetStatusOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SetTaskStatusInput

type SetTaskStatusInput struct {

    // If an error occurred during the task, this value specifies the error code.
    // This value is set on the physical attempt object. It is used to display error
    // information to the user. It should not start with string "Service_" which
    // is reserved by the system.
    ErrorId *string `locationName:"errorId" type:"string"`

    // If an error occurred during the task, this value specifies a text description
    // of the error. This value is set on the physical attempt object. It is used
    // to display error information to the user. The web service does not parse
    // this value.
    ErrorMessage *string `locationName:"errorMessage" type:"string"`

    // If an error occurred during the task, this value specifies the stack trace
    // associated with the error. This value is set on the physical attempt object.
    // It is used to display error information to the user. The web service does
    // not parse this value.
    ErrorStackTrace *string `locationName:"errorStackTrace" type:"string"`

    // The ID of the task assigned to the task runner. This value is provided in
    // the response for PollForTask.
    //
    // TaskId is a required field
    TaskId *string `locationName:"taskId" min:"1" type:"string" required:"true"`

    // If FINISHED, the task successfully completed. If FAILED, the task ended unsuccessfully.
    // Preconditions use false.
    //
    // TaskStatus is a required field
    TaskStatus *string `locationName:"taskStatus" type:"string" required:"true" enum:"TaskStatus"`
    // contains filtered or unexported fields
}

Contains the parameters for SetTaskStatus.

func (SetTaskStatusInput) GoString

func (s SetTaskStatusInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetTaskStatusInput) SetErrorId

func (s *SetTaskStatusInput) SetErrorId(v string) *SetTaskStatusInput

SetErrorId sets the ErrorId field's value.

func (*SetTaskStatusInput) SetErrorMessage

func (s *SetTaskStatusInput) SetErrorMessage(v string) *SetTaskStatusInput

SetErrorMessage sets the ErrorMessage field's value.

func (*SetTaskStatusInput) SetErrorStackTrace

func (s *SetTaskStatusInput) SetErrorStackTrace(v string) *SetTaskStatusInput

SetErrorStackTrace sets the ErrorStackTrace field's value.

func (*SetTaskStatusInput) SetTaskId

func (s *SetTaskStatusInput) SetTaskId(v string) *SetTaskStatusInput

SetTaskId sets the TaskId field's value.

func (*SetTaskStatusInput) SetTaskStatus

func (s *SetTaskStatusInput) SetTaskStatus(v string) *SetTaskStatusInput

SetTaskStatus sets the TaskStatus field's value.

func (SetTaskStatusInput) String

func (s SetTaskStatusInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetTaskStatusInput) Validate

func (s *SetTaskStatusInput) Validate() error

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

type SetTaskStatusOutput

type SetTaskStatusOutput struct {
    // contains filtered or unexported fields
}

Contains the output of SetTaskStatus.

func (SetTaskStatusOutput) GoString

func (s SetTaskStatusOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (SetTaskStatusOutput) String

func (s SetTaskStatusOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Tag

type Tag struct {

    // The key name of a tag defined by a user. For more information, see Controlling
    // User Access to Pipelines (http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-control-access.html)
    // in the AWS Data Pipeline Developer Guide.
    //
    // Key is a required field
    Key *string `locationName:"key" min:"1" type:"string" required:"true"`

    // The optional value portion of a tag defined by a user. For more information,
    // see Controlling User Access to Pipelines (http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-control-access.html)
    // in the AWS Data Pipeline Developer Guide.
    //
    // Value is a required field
    Value *string `locationName:"value" type:"string" required:"true"`
    // contains filtered or unexported fields
}

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 (http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-control-access.html) in the AWS Data Pipeline Developer Guide.

func (Tag) GoString

func (s Tag) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Tag) SetKey

func (s *Tag) SetKey(v string) *Tag

SetKey sets the Key field's value.

func (*Tag) SetValue

func (s *Tag) SetValue(v string) *Tag

SetValue sets the Value field's value.

func (Tag) String

func (s Tag) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Tag) Validate

func (s *Tag) Validate() error

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

type TaskNotFoundException

type TaskNotFoundException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    // Description of the error message.
    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

The specified task was not found.

func (*TaskNotFoundException) Code

func (s *TaskNotFoundException) Code() string

Code returns the exception type name.

func (*TaskNotFoundException) Error

func (s *TaskNotFoundException) Error() string

func (TaskNotFoundException) GoString

func (s TaskNotFoundException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TaskNotFoundException) Message

func (s *TaskNotFoundException) Message() string

Message returns the exception's message.

func (*TaskNotFoundException) OrigErr

func (s *TaskNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*TaskNotFoundException) RequestID

func (s *TaskNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*TaskNotFoundException) StatusCode

func (s *TaskNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (TaskNotFoundException) String

func (s TaskNotFoundException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TaskObject

type TaskObject struct {

    // The ID of the pipeline task attempt object. AWS Data Pipeline uses this value
    // to track how many times a task is attempted.
    AttemptId *string `locationName:"attemptId" min:"1" type:"string"`

    // Connection information for the location where the task runner will publish
    // the output of the task.
    Objects map[string]*PipelineObject `locationName:"objects" type:"map"`

    // The ID of the pipeline that provided the task.
    PipelineId *string `locationName:"pipelineId" min:"1" type:"string"`

    // An internal identifier for the task. This ID is passed to the SetTaskStatus
    // and ReportTaskProgress actions.
    TaskId *string `locationName:"taskId" min:"1" type:"string"`
    // contains filtered or unexported fields
}

Contains information about a pipeline task that is assigned to a task runner.

func (TaskObject) GoString

func (s TaskObject) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TaskObject) SetAttemptId

func (s *TaskObject) SetAttemptId(v string) *TaskObject

SetAttemptId sets the AttemptId field's value.

func (*TaskObject) SetObjects

func (s *TaskObject) SetObjects(v map[string]*PipelineObject) *TaskObject

SetObjects sets the Objects field's value.

func (*TaskObject) SetPipelineId

func (s *TaskObject) SetPipelineId(v string) *TaskObject

SetPipelineId sets the PipelineId field's value.

func (*TaskObject) SetTaskId

func (s *TaskObject) SetTaskId(v string) *TaskObject

SetTaskId sets the TaskId field's value.

func (TaskObject) String

func (s TaskObject) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ValidatePipelineDefinitionInput

type ValidatePipelineDefinitionInput struct {

    // The parameter objects used with the pipeline.
    ParameterObjects []*ParameterObject `locationName:"parameterObjects" type:"list"`

    // The parameter values used with the pipeline.
    ParameterValues []*ParameterValue `locationName:"parameterValues" type:"list"`

    // The ID of the pipeline.
    //
    // PipelineId is a required field
    PipelineId *string `locationName:"pipelineId" min:"1" type:"string" required:"true"`

    // The objects that define the pipeline changes to validate against the pipeline.
    //
    // PipelineObjects is a required field
    PipelineObjects []*PipelineObject `locationName:"pipelineObjects" type:"list" required:"true"`
    // contains filtered or unexported fields
}

Contains the parameters for ValidatePipelineDefinition.

func (ValidatePipelineDefinitionInput) GoString

func (s ValidatePipelineDefinitionInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ValidatePipelineDefinitionInput) SetParameterObjects

func (s *ValidatePipelineDefinitionInput) SetParameterObjects(v []*ParameterObject) *ValidatePipelineDefinitionInput

SetParameterObjects sets the ParameterObjects field's value.

func (*ValidatePipelineDefinitionInput) SetParameterValues

func (s *ValidatePipelineDefinitionInput) SetParameterValues(v []*ParameterValue) *ValidatePipelineDefinitionInput

SetParameterValues sets the ParameterValues field's value.

func (*ValidatePipelineDefinitionInput) SetPipelineId

func (s *ValidatePipelineDefinitionInput) SetPipelineId(v string) *ValidatePipelineDefinitionInput

SetPipelineId sets the PipelineId field's value.

func (*ValidatePipelineDefinitionInput) SetPipelineObjects

func (s *ValidatePipelineDefinitionInput) SetPipelineObjects(v []*PipelineObject) *ValidatePipelineDefinitionInput

SetPipelineObjects sets the PipelineObjects field's value.

func (ValidatePipelineDefinitionInput) String

func (s ValidatePipelineDefinitionInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ValidatePipelineDefinitionInput) Validate

func (s *ValidatePipelineDefinitionInput) Validate() error

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

type ValidatePipelineDefinitionOutput

type ValidatePipelineDefinitionOutput struct {

    // Indicates whether there were validation errors.
    //
    // Errored is a required field
    Errored *bool `locationName:"errored" type:"boolean" required:"true"`

    // Any validation errors that were found.
    ValidationErrors []*ValidationError `locationName:"validationErrors" type:"list"`

    // Any validation warnings that were found.
    ValidationWarnings []*ValidationWarning `locationName:"validationWarnings" type:"list"`
    // contains filtered or unexported fields
}

Contains the output of ValidatePipelineDefinition.

func (ValidatePipelineDefinitionOutput) GoString

func (s ValidatePipelineDefinitionOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ValidatePipelineDefinitionOutput) SetErrored

func (s *ValidatePipelineDefinitionOutput) SetErrored(v bool) *ValidatePipelineDefinitionOutput

SetErrored sets the Errored field's value.

func (*ValidatePipelineDefinitionOutput) SetValidationErrors

func (s *ValidatePipelineDefinitionOutput) SetValidationErrors(v []*ValidationError) *ValidatePipelineDefinitionOutput

SetValidationErrors sets the ValidationErrors field's value.

func (*ValidatePipelineDefinitionOutput) SetValidationWarnings

func (s *ValidatePipelineDefinitionOutput) SetValidationWarnings(v []*ValidationWarning) *ValidatePipelineDefinitionOutput

SetValidationWarnings sets the ValidationWarnings field's value.

func (ValidatePipelineDefinitionOutput) String

func (s ValidatePipelineDefinitionOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ValidationError

type ValidationError struct {

    // A description of the validation error.
    Errors []*string `locationName:"errors" type:"list"`

    // The identifier of the object that contains the validation error.
    Id *string `locationName:"id" min:"1" type:"string"`
    // contains filtered or unexported fields
}

Defines a validation error. Validation errors prevent pipeline activation. The set of validation errors that can be returned are defined by AWS Data Pipeline.

func (ValidationError) GoString

func (s ValidationError) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ValidationError) SetErrors

func (s *ValidationError) SetErrors(v []*string) *ValidationError

SetErrors sets the Errors field's value.

func (*ValidationError) SetId

func (s *ValidationError) SetId(v string) *ValidationError

SetId sets the Id field's value.

func (ValidationError) String

func (s ValidationError) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ValidationWarning

type ValidationWarning struct {

    // The identifier of the object that contains the validation warning.
    Id *string `locationName:"id" min:"1" type:"string"`

    // A description of the validation warning.
    Warnings []*string `locationName:"warnings" type:"list"`
    // contains filtered or unexported fields
}

Defines a validation warning. Validation warnings do not prevent pipeline activation. The set of validation warnings that can be returned are defined by AWS Data Pipeline.

func (ValidationWarning) GoString

func (s ValidationWarning) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ValidationWarning) SetId

func (s *ValidationWarning) SetId(v string) *ValidationWarning

SetId sets the Id field's value.

func (*ValidationWarning) SetWarnings

func (s *ValidationWarning) SetWarnings(v []*string) *ValidationWarning

SetWarnings sets the Warnings field's value.

func (ValidationWarning) String

func (s ValidationWarning) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".