vendor: update all dependencies

This commit is contained in:
Nick Craig-Wood 2017-07-23 08:51:42 +01:00
parent 0b6fba34a3
commit eb87cf6f12
2008 changed files with 352633 additions and 1004750 deletions

View file

@ -1249,6 +1249,93 @@ func (c *CodePipeline) ListActionTypesWithContext(ctx aws.Context, input *ListAc
return out, req.Send()
}
const opListPipelineExecutions = "ListPipelineExecutions"
// ListPipelineExecutionsRequest generates a "aws/request.Request" representing the
// client's request for the ListPipelineExecutions operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
//
// See ListPipelineExecutions for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
// you just want the service response, call the ListPipelineExecutions method directly
// instead.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
// // Example sending a request using the ListPipelineExecutionsRequest method.
// req, resp := client.ListPipelineExecutionsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelineExecutions
func (c *CodePipeline) ListPipelineExecutionsRequest(input *ListPipelineExecutionsInput) (req *request.Request, output *ListPipelineExecutionsOutput) {
op := &request.Operation{
Name: opListPipelineExecutions,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &ListPipelineExecutionsInput{}
}
output = &ListPipelineExecutionsOutput{}
req = c.newRequest(op, input, output)
return
}
// ListPipelineExecutions API operation for AWS CodePipeline.
//
// Gets a summary of the most recent executions for a 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 CodePipeline's
// API operation ListPipelineExecutions for usage and error information.
//
// Returned Error Codes:
// * ErrCodeValidationException "ValidationException"
// The validation was specified in an invalid format.
//
// * ErrCodePipelineNotFoundException "PipelineNotFoundException"
// The specified pipeline was specified in an invalid format or cannot be found.
//
// * ErrCodeInvalidNextTokenException "InvalidNextTokenException"
// The next token was specified in an invalid format. Make sure that the next
// token you provided is the token returned by a previous call.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelineExecutions
func (c *CodePipeline) ListPipelineExecutions(input *ListPipelineExecutionsInput) (*ListPipelineExecutionsOutput, error) {
req, out := c.ListPipelineExecutionsRequest(input)
return out, req.Send()
}
// ListPipelineExecutionsWithContext is the same as ListPipelineExecutions with the addition of
// the ability to pass a context and additional request options.
//
// See ListPipelineExecutions 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 (c *CodePipeline) ListPipelineExecutionsWithContext(ctx aws.Context, input *ListPipelineExecutionsInput, opts ...request.Option) (*ListPipelineExecutionsOutput, error) {
req, out := c.ListPipelineExecutionsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opListPipelines = "ListPipelines"
// ListPipelinesRequest generates a "aws/request.Request" representing the
@ -3624,9 +3711,7 @@ func (s *ArtifactRevision) SetRevisionUrl(v string) *ArtifactRevision {
return s
}
// The Amazon S3 location where artifacts are stored for the pipeline. If this
// Amazon S3 bucket is created manually, it must meet the requirements for AWS
// CodePipeline. For more information, see the Concepts (http://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#CPS3Bucket).
// The Amazon S3 bucket where artifacts are stored for the pipeline.
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ArtifactStore
type ArtifactStore struct {
_ struct{} `type:"structure"`
@ -3636,8 +3721,11 @@ type ArtifactStore struct {
// key for Amazon S3 is used.
EncryptionKey *EncryptionKey `locationName:"encryptionKey" type:"structure"`
// The location for storing the artifacts for a pipeline, such as an S3 bucket
// or folder.
// The Amazon S3 bucket used for storing the artifacts for a pipeline. You can
// specify the name of an S3 bucket but not a folder within the bucket. A folder
// to contain the pipeline artifacts is created for you based on the name of
// the pipeline. You can use any Amazon S3 bucket in the same AWS Region as
// the pipeline to store your pipeline artifacts.
//
// Location is a required field
Location *string `locationName:"location" min:"3" type:"string" required:"true"`
@ -3778,12 +3866,12 @@ type CreateCustomActionTypeInput struct {
// see Create a Custom Action for a Pipeline (http://docs.aws.amazon.com/codepipeline/latest/userguide/how-to-create-custom-action.html).
ConfigurationProperties []*ActionConfigurationProperty `locationName:"configurationProperties" type:"list"`
// Returns information about the details of an artifact.
// The details of the input artifact for the action, such as its commit ID.
//
// InputArtifactDetails is a required field
InputArtifactDetails *ArtifactDetails `locationName:"inputArtifactDetails" type:"structure" required:"true"`
// Returns information about the details of an artifact.
// The details of the output artifact of the action, such as its commit ID.
//
// OutputArtifactDetails is a required field
OutputArtifactDetails *ArtifactDetails `locationName:"outputArtifactDetails" type:"structure" required:"true"`
@ -5400,6 +5488,111 @@ func (s *ListActionTypesOutput) SetNextToken(v string) *ListActionTypesOutput {
return s
}
// Represents the input of a list pipeline executions action.
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelineExecutionsInput
type ListPipelineExecutionsInput struct {
_ struct{} `type:"structure"`
// The maximum number of results to return in a single call. To retrieve the
// remaining results, make another call with the returned nextToken value. The
// available pipeline execution history is limited to the most recent 12 months,
// based on pipeline execution start times. Default value is 100.
MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
// The token that was returned from the previous list pipeline executions call,
// which can be used to return the next set of pipeline executions in the list.
NextToken *string `locationName:"nextToken" type:"string"`
// The name of the pipeline for which you want to get execution summary information.
//
// PipelineName is a required field
PipelineName *string `locationName:"pipelineName" min:"1" type:"string" required:"true"`
}
// String returns the string representation
func (s ListPipelineExecutionsInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListPipelineExecutionsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *ListPipelineExecutionsInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "ListPipelineExecutionsInput"}
if s.MaxResults != nil && *s.MaxResults < 1 {
invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
if s.PipelineName == nil {
invalidParams.Add(request.NewErrParamRequired("PipelineName"))
}
if s.PipelineName != nil && len(*s.PipelineName) < 1 {
invalidParams.Add(request.NewErrParamMinLen("PipelineName", 1))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetMaxResults sets the MaxResults field's value.
func (s *ListPipelineExecutionsInput) SetMaxResults(v int64) *ListPipelineExecutionsInput {
s.MaxResults = &v
return s
}
// SetNextToken sets the NextToken field's value.
func (s *ListPipelineExecutionsInput) SetNextToken(v string) *ListPipelineExecutionsInput {
s.NextToken = &v
return s
}
// SetPipelineName sets the PipelineName field's value.
func (s *ListPipelineExecutionsInput) SetPipelineName(v string) *ListPipelineExecutionsInput {
s.PipelineName = &v
return s
}
// Represents the output of a list pipeline executions action.
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelineExecutionsOutput
type ListPipelineExecutionsOutput struct {
_ struct{} `type:"structure"`
// A token that can be used in the next list pipeline executions call to return
// the next set of pipeline executions. To view all items in the list, continue
// to call this operation with each subsequent token until no more nextToken
// values are returned.
NextToken *string `locationName:"nextToken" type:"string"`
// A list of executions in the history of a pipeline.
PipelineExecutionSummaries []*PipelineExecutionSummary `locationName:"pipelineExecutionSummaries" type:"list"`
}
// String returns the string representation
func (s ListPipelineExecutionsOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListPipelineExecutionsOutput) GoString() string {
return s.String()
}
// SetNextToken sets the NextToken field's value.
func (s *ListPipelineExecutionsOutput) SetNextToken(v string) *ListPipelineExecutionsOutput {
s.NextToken = &v
return s
}
// SetPipelineExecutionSummaries sets the PipelineExecutionSummaries field's value.
func (s *ListPipelineExecutionsOutput) SetPipelineExecutionSummaries(v []*PipelineExecutionSummary) *ListPipelineExecutionsOutput {
s.PipelineExecutionSummaries = v
return s
}
// Represents the input of a list pipelines action.
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelinesInput
type ListPipelinesInput struct {
@ -5563,9 +5756,8 @@ func (s *PipelineContext) SetStage(v *StageContext) *PipelineContext {
type PipelineDeclaration struct {
_ struct{} `type:"structure"`
// The Amazon S3 location where artifacts are stored for the pipeline. If this
// Amazon S3 bucket is created manually, it must meet the requirements for AWS
// CodePipeline. For more information, see the Concepts (http://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#CPS3Bucket).
// Represents the context of an action within the stage of a pipeline to a job
// worker.
//
// ArtifactStore is a required field
ArtifactStore *ArtifactStore `locationName:"artifactStore" type:"structure" required:"true"`
@ -5702,7 +5894,7 @@ type PipelineExecution struct {
// to be completed, a newer pipeline execution caught up and continued through
// the pipeline instead.
//
// * Failed: The pipeline did not complete successfully.
// * Failed: The pipeline execution did not complete successfully.
Status *string `locationName:"status" type:"string" enum:"PipelineExecutionStatus"`
}
@ -5746,6 +5938,69 @@ func (s *PipelineExecution) SetStatus(v string) *PipelineExecution {
return s
}
// Summary information about a pipeline execution.
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineExecutionSummary
type PipelineExecutionSummary struct {
_ struct{} `type:"structure"`
// The date and time of the last change to the pipeline execution, in timestamp
// format.
LastUpdateTime *time.Time `locationName:"lastUpdateTime" type:"timestamp" timestampFormat:"unix"`
// The ID of the pipeline execution.
PipelineExecutionId *string `locationName:"pipelineExecutionId" type:"string"`
// The date and time when the pipeline execution began, in timestamp format.
StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"unix"`
// The status of the pipeline execution.
//
// * InProgress: The pipeline execution is currently running.
//
// * Succeeded: The pipeline execution completed successfully.
//
// * Superseded: While this pipeline execution was waiting for the next stage
// to be completed, a newer pipeline execution caught up and continued through
// the pipeline instead.
//
// * Failed: The pipeline execution did not complete successfully.
Status *string `locationName:"status" type:"string" enum:"PipelineExecutionStatus"`
}
// String returns the string representation
func (s PipelineExecutionSummary) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s PipelineExecutionSummary) GoString() string {
return s.String()
}
// SetLastUpdateTime sets the LastUpdateTime field's value.
func (s *PipelineExecutionSummary) SetLastUpdateTime(v time.Time) *PipelineExecutionSummary {
s.LastUpdateTime = &v
return s
}
// SetPipelineExecutionId sets the PipelineExecutionId field's value.
func (s *PipelineExecutionSummary) SetPipelineExecutionId(v string) *PipelineExecutionSummary {
s.PipelineExecutionId = &v
return s
}
// SetStartTime sets the StartTime field's value.
func (s *PipelineExecutionSummary) SetStartTime(v time.Time) *PipelineExecutionSummary {
s.StartTime = &v
return s
}
// SetStatus sets the Status field's value.
func (s *PipelineExecutionSummary) SetStatus(v string) *PipelineExecutionSummary {
s.Status = &v
return s
}
// Returns a summary of a pipeline.
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineSummary
type PipelineSummary struct {