github.com/aavshr/aws-sdk-go@v1.41.3/service/codedeploy/api.go (about)

     1  // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
     2  
     3  package codedeploy
     4  
     5  import (
     6  	"fmt"
     7  	"time"
     8  
     9  	"github.com/aavshr/aws-sdk-go/aws"
    10  	"github.com/aavshr/aws-sdk-go/aws/awsutil"
    11  	"github.com/aavshr/aws-sdk-go/aws/request"
    12  	"github.com/aavshr/aws-sdk-go/private/protocol"
    13  	"github.com/aavshr/aws-sdk-go/private/protocol/jsonrpc"
    14  )
    15  
    16  const opAddTagsToOnPremisesInstances = "AddTagsToOnPremisesInstances"
    17  
    18  // AddTagsToOnPremisesInstancesRequest generates a "aws/request.Request" representing the
    19  // client's request for the AddTagsToOnPremisesInstances operation. The "output" return
    20  // value will be populated with the request's response once the request completes
    21  // successfully.
    22  //
    23  // Use "Send" method on the returned Request to send the API call to the service.
    24  // the "output" return value is not valid until after Send returns without error.
    25  //
    26  // See AddTagsToOnPremisesInstances for more information on using the AddTagsToOnPremisesInstances
    27  // API call, and error handling.
    28  //
    29  // This method is useful when you want to inject custom logic or configuration
    30  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
    31  //
    32  //
    33  //    // Example sending a request using the AddTagsToOnPremisesInstancesRequest method.
    34  //    req, resp := client.AddTagsToOnPremisesInstancesRequest(params)
    35  //
    36  //    err := req.Send()
    37  //    if err == nil { // resp is now filled
    38  //        fmt.Println(resp)
    39  //    }
    40  //
    41  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AddTagsToOnPremisesInstances
    42  func (c *CodeDeploy) AddTagsToOnPremisesInstancesRequest(input *AddTagsToOnPremisesInstancesInput) (req *request.Request, output *AddTagsToOnPremisesInstancesOutput) {
    43  	op := &request.Operation{
    44  		Name:       opAddTagsToOnPremisesInstances,
    45  		HTTPMethod: "POST",
    46  		HTTPPath:   "/",
    47  	}
    48  
    49  	if input == nil {
    50  		input = &AddTagsToOnPremisesInstancesInput{}
    51  	}
    52  
    53  	output = &AddTagsToOnPremisesInstancesOutput{}
    54  	req = c.newRequest(op, input, output)
    55  	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
    56  	return
    57  }
    58  
    59  // AddTagsToOnPremisesInstances API operation for AWS CodeDeploy.
    60  //
    61  // Adds tags to on-premises instances.
    62  //
    63  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
    64  // with awserr.Error's Code and Message methods to get detailed information about
    65  // the error.
    66  //
    67  // See the AWS API reference guide for AWS CodeDeploy's
    68  // API operation AddTagsToOnPremisesInstances for usage and error information.
    69  //
    70  // Returned Error Types:
    71  //   * InstanceNameRequiredException
    72  //   An on-premises instance name was not specified.
    73  //
    74  //   * InvalidInstanceNameException
    75  //   The on-premises instance name was specified in an invalid format.
    76  //
    77  //   * TagRequiredException
    78  //   A tag was not specified.
    79  //
    80  //   * InvalidTagException
    81  //   The tag was specified in an invalid format.
    82  //
    83  //   * TagLimitExceededException
    84  //   The maximum allowed number of tags was exceeded.
    85  //
    86  //   * InstanceLimitExceededException
    87  //   The maximum number of allowed on-premises instances in a single call was
    88  //   exceeded.
    89  //
    90  //   * InstanceNotRegisteredException
    91  //   The specified on-premises instance is not registered.
    92  //
    93  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AddTagsToOnPremisesInstances
    94  func (c *CodeDeploy) AddTagsToOnPremisesInstances(input *AddTagsToOnPremisesInstancesInput) (*AddTagsToOnPremisesInstancesOutput, error) {
    95  	req, out := c.AddTagsToOnPremisesInstancesRequest(input)
    96  	return out, req.Send()
    97  }
    98  
    99  // AddTagsToOnPremisesInstancesWithContext is the same as AddTagsToOnPremisesInstances with the addition of
   100  // the ability to pass a context and additional request options.
   101  //
   102  // See AddTagsToOnPremisesInstances for details on how to use this API operation.
   103  //
   104  // The context must be non-nil and will be used for request cancellation. If
   105  // the context is nil a panic will occur. In the future the SDK may create
   106  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   107  // for more information on using Contexts.
   108  func (c *CodeDeploy) AddTagsToOnPremisesInstancesWithContext(ctx aws.Context, input *AddTagsToOnPremisesInstancesInput, opts ...request.Option) (*AddTagsToOnPremisesInstancesOutput, error) {
   109  	req, out := c.AddTagsToOnPremisesInstancesRequest(input)
   110  	req.SetContext(ctx)
   111  	req.ApplyOptions(opts...)
   112  	return out, req.Send()
   113  }
   114  
   115  const opBatchGetApplicationRevisions = "BatchGetApplicationRevisions"
   116  
   117  // BatchGetApplicationRevisionsRequest generates a "aws/request.Request" representing the
   118  // client's request for the BatchGetApplicationRevisions operation. The "output" return
   119  // value will be populated with the request's response once the request completes
   120  // successfully.
   121  //
   122  // Use "Send" method on the returned Request to send the API call to the service.
   123  // the "output" return value is not valid until after Send returns without error.
   124  //
   125  // See BatchGetApplicationRevisions for more information on using the BatchGetApplicationRevisions
   126  // API call, and error handling.
   127  //
   128  // This method is useful when you want to inject custom logic or configuration
   129  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   130  //
   131  //
   132  //    // Example sending a request using the BatchGetApplicationRevisionsRequest method.
   133  //    req, resp := client.BatchGetApplicationRevisionsRequest(params)
   134  //
   135  //    err := req.Send()
   136  //    if err == nil { // resp is now filled
   137  //        fmt.Println(resp)
   138  //    }
   139  //
   140  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationRevisions
   141  func (c *CodeDeploy) BatchGetApplicationRevisionsRequest(input *BatchGetApplicationRevisionsInput) (req *request.Request, output *BatchGetApplicationRevisionsOutput) {
   142  	op := &request.Operation{
   143  		Name:       opBatchGetApplicationRevisions,
   144  		HTTPMethod: "POST",
   145  		HTTPPath:   "/",
   146  	}
   147  
   148  	if input == nil {
   149  		input = &BatchGetApplicationRevisionsInput{}
   150  	}
   151  
   152  	output = &BatchGetApplicationRevisionsOutput{}
   153  	req = c.newRequest(op, input, output)
   154  	return
   155  }
   156  
   157  // BatchGetApplicationRevisions API operation for AWS CodeDeploy.
   158  //
   159  // Gets information about one or more application revisions. The maximum number
   160  // of application revisions that can be returned is 25.
   161  //
   162  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   163  // with awserr.Error's Code and Message methods to get detailed information about
   164  // the error.
   165  //
   166  // See the AWS API reference guide for AWS CodeDeploy's
   167  // API operation BatchGetApplicationRevisions for usage and error information.
   168  //
   169  // Returned Error Types:
   170  //   * ApplicationDoesNotExistException
   171  //   The application does not exist with the IAM user or AWS account.
   172  //
   173  //   * ApplicationNameRequiredException
   174  //   The minimum number of required application names was not specified.
   175  //
   176  //   * InvalidApplicationNameException
   177  //   The application name was specified in an invalid format.
   178  //
   179  //   * RevisionRequiredException
   180  //   The revision ID was not specified.
   181  //
   182  //   * InvalidRevisionException
   183  //   The revision was specified in an invalid format.
   184  //
   185  //   * BatchLimitExceededException
   186  //   The maximum number of names or IDs allowed for this request (100) was exceeded.
   187  //
   188  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationRevisions
   189  func (c *CodeDeploy) BatchGetApplicationRevisions(input *BatchGetApplicationRevisionsInput) (*BatchGetApplicationRevisionsOutput, error) {
   190  	req, out := c.BatchGetApplicationRevisionsRequest(input)
   191  	return out, req.Send()
   192  }
   193  
   194  // BatchGetApplicationRevisionsWithContext is the same as BatchGetApplicationRevisions with the addition of
   195  // the ability to pass a context and additional request options.
   196  //
   197  // See BatchGetApplicationRevisions for details on how to use this API operation.
   198  //
   199  // The context must be non-nil and will be used for request cancellation. If
   200  // the context is nil a panic will occur. In the future the SDK may create
   201  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   202  // for more information on using Contexts.
   203  func (c *CodeDeploy) BatchGetApplicationRevisionsWithContext(ctx aws.Context, input *BatchGetApplicationRevisionsInput, opts ...request.Option) (*BatchGetApplicationRevisionsOutput, error) {
   204  	req, out := c.BatchGetApplicationRevisionsRequest(input)
   205  	req.SetContext(ctx)
   206  	req.ApplyOptions(opts...)
   207  	return out, req.Send()
   208  }
   209  
   210  const opBatchGetApplications = "BatchGetApplications"
   211  
   212  // BatchGetApplicationsRequest generates a "aws/request.Request" representing the
   213  // client's request for the BatchGetApplications operation. The "output" return
   214  // value will be populated with the request's response once the request completes
   215  // successfully.
   216  //
   217  // Use "Send" method on the returned Request to send the API call to the service.
   218  // the "output" return value is not valid until after Send returns without error.
   219  //
   220  // See BatchGetApplications for more information on using the BatchGetApplications
   221  // API call, and error handling.
   222  //
   223  // This method is useful when you want to inject custom logic or configuration
   224  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   225  //
   226  //
   227  //    // Example sending a request using the BatchGetApplicationsRequest method.
   228  //    req, resp := client.BatchGetApplicationsRequest(params)
   229  //
   230  //    err := req.Send()
   231  //    if err == nil { // resp is now filled
   232  //        fmt.Println(resp)
   233  //    }
   234  //
   235  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplications
   236  func (c *CodeDeploy) BatchGetApplicationsRequest(input *BatchGetApplicationsInput) (req *request.Request, output *BatchGetApplicationsOutput) {
   237  	op := &request.Operation{
   238  		Name:       opBatchGetApplications,
   239  		HTTPMethod: "POST",
   240  		HTTPPath:   "/",
   241  	}
   242  
   243  	if input == nil {
   244  		input = &BatchGetApplicationsInput{}
   245  	}
   246  
   247  	output = &BatchGetApplicationsOutput{}
   248  	req = c.newRequest(op, input, output)
   249  	return
   250  }
   251  
   252  // BatchGetApplications API operation for AWS CodeDeploy.
   253  //
   254  // Gets information about one or more applications. The maximum number of applications
   255  // that can be returned is 100.
   256  //
   257  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   258  // with awserr.Error's Code and Message methods to get detailed information about
   259  // the error.
   260  //
   261  // See the AWS API reference guide for AWS CodeDeploy's
   262  // API operation BatchGetApplications for usage and error information.
   263  //
   264  // Returned Error Types:
   265  //   * ApplicationNameRequiredException
   266  //   The minimum number of required application names was not specified.
   267  //
   268  //   * InvalidApplicationNameException
   269  //   The application name was specified in an invalid format.
   270  //
   271  //   * ApplicationDoesNotExistException
   272  //   The application does not exist with the IAM user or AWS account.
   273  //
   274  //   * BatchLimitExceededException
   275  //   The maximum number of names or IDs allowed for this request (100) was exceeded.
   276  //
   277  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplications
   278  func (c *CodeDeploy) BatchGetApplications(input *BatchGetApplicationsInput) (*BatchGetApplicationsOutput, error) {
   279  	req, out := c.BatchGetApplicationsRequest(input)
   280  	return out, req.Send()
   281  }
   282  
   283  // BatchGetApplicationsWithContext is the same as BatchGetApplications with the addition of
   284  // the ability to pass a context and additional request options.
   285  //
   286  // See BatchGetApplications for details on how to use this API operation.
   287  //
   288  // The context must be non-nil and will be used for request cancellation. If
   289  // the context is nil a panic will occur. In the future the SDK may create
   290  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   291  // for more information on using Contexts.
   292  func (c *CodeDeploy) BatchGetApplicationsWithContext(ctx aws.Context, input *BatchGetApplicationsInput, opts ...request.Option) (*BatchGetApplicationsOutput, error) {
   293  	req, out := c.BatchGetApplicationsRequest(input)
   294  	req.SetContext(ctx)
   295  	req.ApplyOptions(opts...)
   296  	return out, req.Send()
   297  }
   298  
   299  const opBatchGetDeploymentGroups = "BatchGetDeploymentGroups"
   300  
   301  // BatchGetDeploymentGroupsRequest generates a "aws/request.Request" representing the
   302  // client's request for the BatchGetDeploymentGroups operation. The "output" return
   303  // value will be populated with the request's response once the request completes
   304  // successfully.
   305  //
   306  // Use "Send" method on the returned Request to send the API call to the service.
   307  // the "output" return value is not valid until after Send returns without error.
   308  //
   309  // See BatchGetDeploymentGroups for more information on using the BatchGetDeploymentGroups
   310  // API call, and error handling.
   311  //
   312  // This method is useful when you want to inject custom logic or configuration
   313  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   314  //
   315  //
   316  //    // Example sending a request using the BatchGetDeploymentGroupsRequest method.
   317  //    req, resp := client.BatchGetDeploymentGroupsRequest(params)
   318  //
   319  //    err := req.Send()
   320  //    if err == nil { // resp is now filled
   321  //        fmt.Println(resp)
   322  //    }
   323  //
   324  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentGroups
   325  func (c *CodeDeploy) BatchGetDeploymentGroupsRequest(input *BatchGetDeploymentGroupsInput) (req *request.Request, output *BatchGetDeploymentGroupsOutput) {
   326  	op := &request.Operation{
   327  		Name:       opBatchGetDeploymentGroups,
   328  		HTTPMethod: "POST",
   329  		HTTPPath:   "/",
   330  	}
   331  
   332  	if input == nil {
   333  		input = &BatchGetDeploymentGroupsInput{}
   334  	}
   335  
   336  	output = &BatchGetDeploymentGroupsOutput{}
   337  	req = c.newRequest(op, input, output)
   338  	return
   339  }
   340  
   341  // BatchGetDeploymentGroups API operation for AWS CodeDeploy.
   342  //
   343  // Gets information about one or more deployment groups.
   344  //
   345  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   346  // with awserr.Error's Code and Message methods to get detailed information about
   347  // the error.
   348  //
   349  // See the AWS API reference guide for AWS CodeDeploy's
   350  // API operation BatchGetDeploymentGroups for usage and error information.
   351  //
   352  // Returned Error Types:
   353  //   * ApplicationNameRequiredException
   354  //   The minimum number of required application names was not specified.
   355  //
   356  //   * InvalidApplicationNameException
   357  //   The application name was specified in an invalid format.
   358  //
   359  //   * ApplicationDoesNotExistException
   360  //   The application does not exist with the IAM user or AWS account.
   361  //
   362  //   * DeploymentGroupNameRequiredException
   363  //   The deployment group name was not specified.
   364  //
   365  //   * InvalidDeploymentGroupNameException
   366  //   The deployment group name was specified in an invalid format.
   367  //
   368  //   * BatchLimitExceededException
   369  //   The maximum number of names or IDs allowed for this request (100) was exceeded.
   370  //
   371  //   * DeploymentConfigDoesNotExistException
   372  //   The deployment configuration does not exist with the IAM user or AWS account.
   373  //
   374  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentGroups
   375  func (c *CodeDeploy) BatchGetDeploymentGroups(input *BatchGetDeploymentGroupsInput) (*BatchGetDeploymentGroupsOutput, error) {
   376  	req, out := c.BatchGetDeploymentGroupsRequest(input)
   377  	return out, req.Send()
   378  }
   379  
   380  // BatchGetDeploymentGroupsWithContext is the same as BatchGetDeploymentGroups with the addition of
   381  // the ability to pass a context and additional request options.
   382  //
   383  // See BatchGetDeploymentGroups for details on how to use this API operation.
   384  //
   385  // The context must be non-nil and will be used for request cancellation. If
   386  // the context is nil a panic will occur. In the future the SDK may create
   387  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   388  // for more information on using Contexts.
   389  func (c *CodeDeploy) BatchGetDeploymentGroupsWithContext(ctx aws.Context, input *BatchGetDeploymentGroupsInput, opts ...request.Option) (*BatchGetDeploymentGroupsOutput, error) {
   390  	req, out := c.BatchGetDeploymentGroupsRequest(input)
   391  	req.SetContext(ctx)
   392  	req.ApplyOptions(opts...)
   393  	return out, req.Send()
   394  }
   395  
   396  const opBatchGetDeploymentInstances = "BatchGetDeploymentInstances"
   397  
   398  // BatchGetDeploymentInstancesRequest generates a "aws/request.Request" representing the
   399  // client's request for the BatchGetDeploymentInstances operation. The "output" return
   400  // value will be populated with the request's response once the request completes
   401  // successfully.
   402  //
   403  // Use "Send" method on the returned Request to send the API call to the service.
   404  // the "output" return value is not valid until after Send returns without error.
   405  //
   406  // See BatchGetDeploymentInstances for more information on using the BatchGetDeploymentInstances
   407  // API call, and error handling.
   408  //
   409  // This method is useful when you want to inject custom logic or configuration
   410  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   411  //
   412  //
   413  //    // Example sending a request using the BatchGetDeploymentInstancesRequest method.
   414  //    req, resp := client.BatchGetDeploymentInstancesRequest(params)
   415  //
   416  //    err := req.Send()
   417  //    if err == nil { // resp is now filled
   418  //        fmt.Println(resp)
   419  //    }
   420  //
   421  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentInstances
   422  //
   423  // Deprecated: This operation is deprecated, use BatchGetDeploymentTargets instead.
   424  func (c *CodeDeploy) BatchGetDeploymentInstancesRequest(input *BatchGetDeploymentInstancesInput) (req *request.Request, output *BatchGetDeploymentInstancesOutput) {
   425  	if c.Client.Config.Logger != nil {
   426  		c.Client.Config.Logger.Log("This operation, BatchGetDeploymentInstances, has been deprecated")
   427  	}
   428  	op := &request.Operation{
   429  		Name:       opBatchGetDeploymentInstances,
   430  		HTTPMethod: "POST",
   431  		HTTPPath:   "/",
   432  	}
   433  
   434  	if input == nil {
   435  		input = &BatchGetDeploymentInstancesInput{}
   436  	}
   437  
   438  	output = &BatchGetDeploymentInstancesOutput{}
   439  	req = c.newRequest(op, input, output)
   440  	return
   441  }
   442  
   443  // BatchGetDeploymentInstances API operation for AWS CodeDeploy.
   444  //
   445  //
   446  // This method works, but is deprecated. Use BatchGetDeploymentTargets instead.
   447  //
   448  // Returns an array of one or more instances associated with a deployment. This
   449  // method works with EC2/On-premises and AWS Lambda compute platforms. The newer
   450  // BatchGetDeploymentTargets works with all compute platforms. The maximum number
   451  // of instances that can be returned is 25.
   452  //
   453  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   454  // with awserr.Error's Code and Message methods to get detailed information about
   455  // the error.
   456  //
   457  // See the AWS API reference guide for AWS CodeDeploy's
   458  // API operation BatchGetDeploymentInstances for usage and error information.
   459  //
   460  // Returned Error Types:
   461  //   * DeploymentIdRequiredException
   462  //   At least one deployment ID must be specified.
   463  //
   464  //   * DeploymentDoesNotExistException
   465  //   The deployment with the IAM user or AWS account does not exist.
   466  //
   467  //   * InstanceIdRequiredException
   468  //   The instance ID was not specified.
   469  //
   470  //   * InvalidDeploymentIdException
   471  //   At least one of the deployment IDs was specified in an invalid format.
   472  //
   473  //   * InvalidInstanceNameException
   474  //   The on-premises instance name was specified in an invalid format.
   475  //
   476  //   * BatchLimitExceededException
   477  //   The maximum number of names or IDs allowed for this request (100) was exceeded.
   478  //
   479  //   * InvalidComputePlatformException
   480  //   The computePlatform is invalid. The computePlatform should be Lambda, Server,
   481  //   or ECS.
   482  //
   483  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentInstances
   484  //
   485  // Deprecated: This operation is deprecated, use BatchGetDeploymentTargets instead.
   486  func (c *CodeDeploy) BatchGetDeploymentInstances(input *BatchGetDeploymentInstancesInput) (*BatchGetDeploymentInstancesOutput, error) {
   487  	req, out := c.BatchGetDeploymentInstancesRequest(input)
   488  	return out, req.Send()
   489  }
   490  
   491  // BatchGetDeploymentInstancesWithContext is the same as BatchGetDeploymentInstances with the addition of
   492  // the ability to pass a context and additional request options.
   493  //
   494  // See BatchGetDeploymentInstances for details on how to use this API operation.
   495  //
   496  // The context must be non-nil and will be used for request cancellation. If
   497  // the context is nil a panic will occur. In the future the SDK may create
   498  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   499  // for more information on using Contexts.
   500  //
   501  // Deprecated: This operation is deprecated, use BatchGetDeploymentTargets instead.
   502  func (c *CodeDeploy) BatchGetDeploymentInstancesWithContext(ctx aws.Context, input *BatchGetDeploymentInstancesInput, opts ...request.Option) (*BatchGetDeploymentInstancesOutput, error) {
   503  	req, out := c.BatchGetDeploymentInstancesRequest(input)
   504  	req.SetContext(ctx)
   505  	req.ApplyOptions(opts...)
   506  	return out, req.Send()
   507  }
   508  
   509  const opBatchGetDeploymentTargets = "BatchGetDeploymentTargets"
   510  
   511  // BatchGetDeploymentTargetsRequest generates a "aws/request.Request" representing the
   512  // client's request for the BatchGetDeploymentTargets operation. The "output" return
   513  // value will be populated with the request's response once the request completes
   514  // successfully.
   515  //
   516  // Use "Send" method on the returned Request to send the API call to the service.
   517  // the "output" return value is not valid until after Send returns without error.
   518  //
   519  // See BatchGetDeploymentTargets for more information on using the BatchGetDeploymentTargets
   520  // API call, and error handling.
   521  //
   522  // This method is useful when you want to inject custom logic or configuration
   523  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   524  //
   525  //
   526  //    // Example sending a request using the BatchGetDeploymentTargetsRequest method.
   527  //    req, resp := client.BatchGetDeploymentTargetsRequest(params)
   528  //
   529  //    err := req.Send()
   530  //    if err == nil { // resp is now filled
   531  //        fmt.Println(resp)
   532  //    }
   533  //
   534  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentTargets
   535  func (c *CodeDeploy) BatchGetDeploymentTargetsRequest(input *BatchGetDeploymentTargetsInput) (req *request.Request, output *BatchGetDeploymentTargetsOutput) {
   536  	op := &request.Operation{
   537  		Name:       opBatchGetDeploymentTargets,
   538  		HTTPMethod: "POST",
   539  		HTTPPath:   "/",
   540  	}
   541  
   542  	if input == nil {
   543  		input = &BatchGetDeploymentTargetsInput{}
   544  	}
   545  
   546  	output = &BatchGetDeploymentTargetsOutput{}
   547  	req = c.newRequest(op, input, output)
   548  	return
   549  }
   550  
   551  // BatchGetDeploymentTargets API operation for AWS CodeDeploy.
   552  //
   553  // Returns an array of one or more targets associated with a deployment. This
   554  // method works with all compute types and should be used instead of the deprecated
   555  // BatchGetDeploymentInstances. The maximum number of targets that can be returned
   556  // is 25.
   557  //
   558  // The type of targets returned depends on the deployment's compute platform
   559  // or deployment method:
   560  //
   561  //    * EC2/On-premises: Information about EC2 instance targets.
   562  //
   563  //    * AWS Lambda: Information about Lambda functions targets.
   564  //
   565  //    * Amazon ECS: Information about Amazon ECS service targets.
   566  //
   567  //    * CloudFormation: Information about targets of blue/green deployments
   568  //    initiated by a CloudFormation stack update.
   569  //
   570  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   571  // with awserr.Error's Code and Message methods to get detailed information about
   572  // the error.
   573  //
   574  // See the AWS API reference guide for AWS CodeDeploy's
   575  // API operation BatchGetDeploymentTargets for usage and error information.
   576  //
   577  // Returned Error Types:
   578  //   * InvalidDeploymentIdException
   579  //   At least one of the deployment IDs was specified in an invalid format.
   580  //
   581  //   * DeploymentIdRequiredException
   582  //   At least one deployment ID must be specified.
   583  //
   584  //   * DeploymentDoesNotExistException
   585  //   The deployment with the IAM user or AWS account does not exist.
   586  //
   587  //   * DeploymentNotStartedException
   588  //   The specified deployment has not started.
   589  //
   590  //   * DeploymentTargetIdRequiredException
   591  //   A deployment target ID was not provided.
   592  //
   593  //   * InvalidDeploymentTargetIdException
   594  //   The target ID provided was not valid.
   595  //
   596  //   * DeploymentTargetDoesNotExistException
   597  //   The provided target ID does not belong to the attempted deployment.
   598  //
   599  //   * DeploymentTargetListSizeExceededException
   600  //   The maximum number of targets that can be associated with an Amazon ECS or
   601  //   AWS Lambda deployment was exceeded. The target list of both types of deployments
   602  //   must have exactly one item. This exception does not apply to EC2/On-premises
   603  //   deployments.
   604  //
   605  //   * InstanceDoesNotExistException
   606  //   The specified instance does not exist in the deployment group.
   607  //
   608  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentTargets
   609  func (c *CodeDeploy) BatchGetDeploymentTargets(input *BatchGetDeploymentTargetsInput) (*BatchGetDeploymentTargetsOutput, error) {
   610  	req, out := c.BatchGetDeploymentTargetsRequest(input)
   611  	return out, req.Send()
   612  }
   613  
   614  // BatchGetDeploymentTargetsWithContext is the same as BatchGetDeploymentTargets with the addition of
   615  // the ability to pass a context and additional request options.
   616  //
   617  // See BatchGetDeploymentTargets for details on how to use this API operation.
   618  //
   619  // The context must be non-nil and will be used for request cancellation. If
   620  // the context is nil a panic will occur. In the future the SDK may create
   621  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   622  // for more information on using Contexts.
   623  func (c *CodeDeploy) BatchGetDeploymentTargetsWithContext(ctx aws.Context, input *BatchGetDeploymentTargetsInput, opts ...request.Option) (*BatchGetDeploymentTargetsOutput, error) {
   624  	req, out := c.BatchGetDeploymentTargetsRequest(input)
   625  	req.SetContext(ctx)
   626  	req.ApplyOptions(opts...)
   627  	return out, req.Send()
   628  }
   629  
   630  const opBatchGetDeployments = "BatchGetDeployments"
   631  
   632  // BatchGetDeploymentsRequest generates a "aws/request.Request" representing the
   633  // client's request for the BatchGetDeployments operation. The "output" return
   634  // value will be populated with the request's response once the request completes
   635  // successfully.
   636  //
   637  // Use "Send" method on the returned Request to send the API call to the service.
   638  // the "output" return value is not valid until after Send returns without error.
   639  //
   640  // See BatchGetDeployments for more information on using the BatchGetDeployments
   641  // API call, and error handling.
   642  //
   643  // This method is useful when you want to inject custom logic or configuration
   644  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   645  //
   646  //
   647  //    // Example sending a request using the BatchGetDeploymentsRequest method.
   648  //    req, resp := client.BatchGetDeploymentsRequest(params)
   649  //
   650  //    err := req.Send()
   651  //    if err == nil { // resp is now filled
   652  //        fmt.Println(resp)
   653  //    }
   654  //
   655  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeployments
   656  func (c *CodeDeploy) BatchGetDeploymentsRequest(input *BatchGetDeploymentsInput) (req *request.Request, output *BatchGetDeploymentsOutput) {
   657  	op := &request.Operation{
   658  		Name:       opBatchGetDeployments,
   659  		HTTPMethod: "POST",
   660  		HTTPPath:   "/",
   661  	}
   662  
   663  	if input == nil {
   664  		input = &BatchGetDeploymentsInput{}
   665  	}
   666  
   667  	output = &BatchGetDeploymentsOutput{}
   668  	req = c.newRequest(op, input, output)
   669  	return
   670  }
   671  
   672  // BatchGetDeployments API operation for AWS CodeDeploy.
   673  //
   674  // Gets information about one or more deployments. The maximum number of deployments
   675  // that can be returned is 25.
   676  //
   677  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   678  // with awserr.Error's Code and Message methods to get detailed information about
   679  // the error.
   680  //
   681  // See the AWS API reference guide for AWS CodeDeploy's
   682  // API operation BatchGetDeployments for usage and error information.
   683  //
   684  // Returned Error Types:
   685  //   * DeploymentIdRequiredException
   686  //   At least one deployment ID must be specified.
   687  //
   688  //   * InvalidDeploymentIdException
   689  //   At least one of the deployment IDs was specified in an invalid format.
   690  //
   691  //   * BatchLimitExceededException
   692  //   The maximum number of names or IDs allowed for this request (100) was exceeded.
   693  //
   694  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeployments
   695  func (c *CodeDeploy) BatchGetDeployments(input *BatchGetDeploymentsInput) (*BatchGetDeploymentsOutput, error) {
   696  	req, out := c.BatchGetDeploymentsRequest(input)
   697  	return out, req.Send()
   698  }
   699  
   700  // BatchGetDeploymentsWithContext is the same as BatchGetDeployments with the addition of
   701  // the ability to pass a context and additional request options.
   702  //
   703  // See BatchGetDeployments for details on how to use this API operation.
   704  //
   705  // The context must be non-nil and will be used for request cancellation. If
   706  // the context is nil a panic will occur. In the future the SDK may create
   707  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   708  // for more information on using Contexts.
   709  func (c *CodeDeploy) BatchGetDeploymentsWithContext(ctx aws.Context, input *BatchGetDeploymentsInput, opts ...request.Option) (*BatchGetDeploymentsOutput, error) {
   710  	req, out := c.BatchGetDeploymentsRequest(input)
   711  	req.SetContext(ctx)
   712  	req.ApplyOptions(opts...)
   713  	return out, req.Send()
   714  }
   715  
   716  const opBatchGetOnPremisesInstances = "BatchGetOnPremisesInstances"
   717  
   718  // BatchGetOnPremisesInstancesRequest generates a "aws/request.Request" representing the
   719  // client's request for the BatchGetOnPremisesInstances operation. The "output" return
   720  // value will be populated with the request's response once the request completes
   721  // successfully.
   722  //
   723  // Use "Send" method on the returned Request to send the API call to the service.
   724  // the "output" return value is not valid until after Send returns without error.
   725  //
   726  // See BatchGetOnPremisesInstances for more information on using the BatchGetOnPremisesInstances
   727  // API call, and error handling.
   728  //
   729  // This method is useful when you want to inject custom logic or configuration
   730  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   731  //
   732  //
   733  //    // Example sending a request using the BatchGetOnPremisesInstancesRequest method.
   734  //    req, resp := client.BatchGetOnPremisesInstancesRequest(params)
   735  //
   736  //    err := req.Send()
   737  //    if err == nil { // resp is now filled
   738  //        fmt.Println(resp)
   739  //    }
   740  //
   741  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetOnPremisesInstances
   742  func (c *CodeDeploy) BatchGetOnPremisesInstancesRequest(input *BatchGetOnPremisesInstancesInput) (req *request.Request, output *BatchGetOnPremisesInstancesOutput) {
   743  	op := &request.Operation{
   744  		Name:       opBatchGetOnPremisesInstances,
   745  		HTTPMethod: "POST",
   746  		HTTPPath:   "/",
   747  	}
   748  
   749  	if input == nil {
   750  		input = &BatchGetOnPremisesInstancesInput{}
   751  	}
   752  
   753  	output = &BatchGetOnPremisesInstancesOutput{}
   754  	req = c.newRequest(op, input, output)
   755  	return
   756  }
   757  
   758  // BatchGetOnPremisesInstances API operation for AWS CodeDeploy.
   759  //
   760  // Gets information about one or more on-premises instances. The maximum number
   761  // of on-premises instances that can be returned is 25.
   762  //
   763  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   764  // with awserr.Error's Code and Message methods to get detailed information about
   765  // the error.
   766  //
   767  // See the AWS API reference guide for AWS CodeDeploy's
   768  // API operation BatchGetOnPremisesInstances for usage and error information.
   769  //
   770  // Returned Error Types:
   771  //   * InstanceNameRequiredException
   772  //   An on-premises instance name was not specified.
   773  //
   774  //   * InvalidInstanceNameException
   775  //   The on-premises instance name was specified in an invalid format.
   776  //
   777  //   * BatchLimitExceededException
   778  //   The maximum number of names or IDs allowed for this request (100) was exceeded.
   779  //
   780  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetOnPremisesInstances
   781  func (c *CodeDeploy) BatchGetOnPremisesInstances(input *BatchGetOnPremisesInstancesInput) (*BatchGetOnPremisesInstancesOutput, error) {
   782  	req, out := c.BatchGetOnPremisesInstancesRequest(input)
   783  	return out, req.Send()
   784  }
   785  
   786  // BatchGetOnPremisesInstancesWithContext is the same as BatchGetOnPremisesInstances with the addition of
   787  // the ability to pass a context and additional request options.
   788  //
   789  // See BatchGetOnPremisesInstances for details on how to use this API operation.
   790  //
   791  // The context must be non-nil and will be used for request cancellation. If
   792  // the context is nil a panic will occur. In the future the SDK may create
   793  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   794  // for more information on using Contexts.
   795  func (c *CodeDeploy) BatchGetOnPremisesInstancesWithContext(ctx aws.Context, input *BatchGetOnPremisesInstancesInput, opts ...request.Option) (*BatchGetOnPremisesInstancesOutput, error) {
   796  	req, out := c.BatchGetOnPremisesInstancesRequest(input)
   797  	req.SetContext(ctx)
   798  	req.ApplyOptions(opts...)
   799  	return out, req.Send()
   800  }
   801  
   802  const opContinueDeployment = "ContinueDeployment"
   803  
   804  // ContinueDeploymentRequest generates a "aws/request.Request" representing the
   805  // client's request for the ContinueDeployment operation. The "output" return
   806  // value will be populated with the request's response once the request completes
   807  // successfully.
   808  //
   809  // Use "Send" method on the returned Request to send the API call to the service.
   810  // the "output" return value is not valid until after Send returns without error.
   811  //
   812  // See ContinueDeployment for more information on using the ContinueDeployment
   813  // API call, and error handling.
   814  //
   815  // This method is useful when you want to inject custom logic or configuration
   816  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   817  //
   818  //
   819  //    // Example sending a request using the ContinueDeploymentRequest method.
   820  //    req, resp := client.ContinueDeploymentRequest(params)
   821  //
   822  //    err := req.Send()
   823  //    if err == nil { // resp is now filled
   824  //        fmt.Println(resp)
   825  //    }
   826  //
   827  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ContinueDeployment
   828  func (c *CodeDeploy) ContinueDeploymentRequest(input *ContinueDeploymentInput) (req *request.Request, output *ContinueDeploymentOutput) {
   829  	op := &request.Operation{
   830  		Name:       opContinueDeployment,
   831  		HTTPMethod: "POST",
   832  		HTTPPath:   "/",
   833  	}
   834  
   835  	if input == nil {
   836  		input = &ContinueDeploymentInput{}
   837  	}
   838  
   839  	output = &ContinueDeploymentOutput{}
   840  	req = c.newRequest(op, input, output)
   841  	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
   842  	return
   843  }
   844  
   845  // ContinueDeployment API operation for AWS CodeDeploy.
   846  //
   847  // For a blue/green deployment, starts the process of rerouting traffic from
   848  // instances in the original environment to instances in the replacement environment
   849  // without waiting for a specified wait time to elapse. (Traffic rerouting,
   850  // which is achieved by registering instances in the replacement environment
   851  // with the load balancer, can start as soon as all instances have a status
   852  // of Ready.)
   853  //
   854  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   855  // with awserr.Error's Code and Message methods to get detailed information about
   856  // the error.
   857  //
   858  // See the AWS API reference guide for AWS CodeDeploy's
   859  // API operation ContinueDeployment for usage and error information.
   860  //
   861  // Returned Error Types:
   862  //   * DeploymentIdRequiredException
   863  //   At least one deployment ID must be specified.
   864  //
   865  //   * DeploymentDoesNotExistException
   866  //   The deployment with the IAM user or AWS account does not exist.
   867  //
   868  //   * DeploymentAlreadyCompletedException
   869  //   The deployment is already complete.
   870  //
   871  //   * InvalidDeploymentIdException
   872  //   At least one of the deployment IDs was specified in an invalid format.
   873  //
   874  //   * DeploymentIsNotInReadyStateException
   875  //   The deployment does not have a status of Ready and can't continue yet.
   876  //
   877  //   * UnsupportedActionForDeploymentTypeException
   878  //   A call was submitted that is not supported for the specified deployment type.
   879  //
   880  //   * InvalidDeploymentWaitTypeException
   881  //   The wait type is invalid.
   882  //
   883  //   * InvalidDeploymentStatusException
   884  //   The specified deployment status doesn't exist or cannot be determined.
   885  //
   886  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ContinueDeployment
   887  func (c *CodeDeploy) ContinueDeployment(input *ContinueDeploymentInput) (*ContinueDeploymentOutput, error) {
   888  	req, out := c.ContinueDeploymentRequest(input)
   889  	return out, req.Send()
   890  }
   891  
   892  // ContinueDeploymentWithContext is the same as ContinueDeployment with the addition of
   893  // the ability to pass a context and additional request options.
   894  //
   895  // See ContinueDeployment for details on how to use this API operation.
   896  //
   897  // The context must be non-nil and will be used for request cancellation. If
   898  // the context is nil a panic will occur. In the future the SDK may create
   899  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   900  // for more information on using Contexts.
   901  func (c *CodeDeploy) ContinueDeploymentWithContext(ctx aws.Context, input *ContinueDeploymentInput, opts ...request.Option) (*ContinueDeploymentOutput, error) {
   902  	req, out := c.ContinueDeploymentRequest(input)
   903  	req.SetContext(ctx)
   904  	req.ApplyOptions(opts...)
   905  	return out, req.Send()
   906  }
   907  
   908  const opCreateApplication = "CreateApplication"
   909  
   910  // CreateApplicationRequest generates a "aws/request.Request" representing the
   911  // client's request for the CreateApplication operation. The "output" return
   912  // value will be populated with the request's response once the request completes
   913  // successfully.
   914  //
   915  // Use "Send" method on the returned Request to send the API call to the service.
   916  // the "output" return value is not valid until after Send returns without error.
   917  //
   918  // See CreateApplication for more information on using the CreateApplication
   919  // API call, and error handling.
   920  //
   921  // This method is useful when you want to inject custom logic or configuration
   922  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   923  //
   924  //
   925  //    // Example sending a request using the CreateApplicationRequest method.
   926  //    req, resp := client.CreateApplicationRequest(params)
   927  //
   928  //    err := req.Send()
   929  //    if err == nil { // resp is now filled
   930  //        fmt.Println(resp)
   931  //    }
   932  //
   933  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateApplication
   934  func (c *CodeDeploy) CreateApplicationRequest(input *CreateApplicationInput) (req *request.Request, output *CreateApplicationOutput) {
   935  	op := &request.Operation{
   936  		Name:       opCreateApplication,
   937  		HTTPMethod: "POST",
   938  		HTTPPath:   "/",
   939  	}
   940  
   941  	if input == nil {
   942  		input = &CreateApplicationInput{}
   943  	}
   944  
   945  	output = &CreateApplicationOutput{}
   946  	req = c.newRequest(op, input, output)
   947  	return
   948  }
   949  
   950  // CreateApplication API operation for AWS CodeDeploy.
   951  //
   952  // Creates an application.
   953  //
   954  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   955  // with awserr.Error's Code and Message methods to get detailed information about
   956  // the error.
   957  //
   958  // See the AWS API reference guide for AWS CodeDeploy's
   959  // API operation CreateApplication for usage and error information.
   960  //
   961  // Returned Error Types:
   962  //   * ApplicationNameRequiredException
   963  //   The minimum number of required application names was not specified.
   964  //
   965  //   * InvalidApplicationNameException
   966  //   The application name was specified in an invalid format.
   967  //
   968  //   * ApplicationAlreadyExistsException
   969  //   An application with the specified name with the IAM user or AWS account already
   970  //   exists.
   971  //
   972  //   * ApplicationLimitExceededException
   973  //   More applications were attempted to be created than are allowed.
   974  //
   975  //   * InvalidComputePlatformException
   976  //   The computePlatform is invalid. The computePlatform should be Lambda, Server,
   977  //   or ECS.
   978  //
   979  //   * InvalidTagsToAddException
   980  //   The specified tags are not valid.
   981  //
   982  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateApplication
   983  func (c *CodeDeploy) CreateApplication(input *CreateApplicationInput) (*CreateApplicationOutput, error) {
   984  	req, out := c.CreateApplicationRequest(input)
   985  	return out, req.Send()
   986  }
   987  
   988  // CreateApplicationWithContext is the same as CreateApplication with the addition of
   989  // the ability to pass a context and additional request options.
   990  //
   991  // See CreateApplication for details on how to use this API operation.
   992  //
   993  // The context must be non-nil and will be used for request cancellation. If
   994  // the context is nil a panic will occur. In the future the SDK may create
   995  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   996  // for more information on using Contexts.
   997  func (c *CodeDeploy) CreateApplicationWithContext(ctx aws.Context, input *CreateApplicationInput, opts ...request.Option) (*CreateApplicationOutput, error) {
   998  	req, out := c.CreateApplicationRequest(input)
   999  	req.SetContext(ctx)
  1000  	req.ApplyOptions(opts...)
  1001  	return out, req.Send()
  1002  }
  1003  
  1004  const opCreateDeployment = "CreateDeployment"
  1005  
  1006  // CreateDeploymentRequest generates a "aws/request.Request" representing the
  1007  // client's request for the CreateDeployment operation. The "output" return
  1008  // value will be populated with the request's response once the request completes
  1009  // successfully.
  1010  //
  1011  // Use "Send" method on the returned Request to send the API call to the service.
  1012  // the "output" return value is not valid until after Send returns without error.
  1013  //
  1014  // See CreateDeployment for more information on using the CreateDeployment
  1015  // API call, and error handling.
  1016  //
  1017  // This method is useful when you want to inject custom logic or configuration
  1018  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1019  //
  1020  //
  1021  //    // Example sending a request using the CreateDeploymentRequest method.
  1022  //    req, resp := client.CreateDeploymentRequest(params)
  1023  //
  1024  //    err := req.Send()
  1025  //    if err == nil { // resp is now filled
  1026  //        fmt.Println(resp)
  1027  //    }
  1028  //
  1029  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeployment
  1030  func (c *CodeDeploy) CreateDeploymentRequest(input *CreateDeploymentInput) (req *request.Request, output *CreateDeploymentOutput) {
  1031  	op := &request.Operation{
  1032  		Name:       opCreateDeployment,
  1033  		HTTPMethod: "POST",
  1034  		HTTPPath:   "/",
  1035  	}
  1036  
  1037  	if input == nil {
  1038  		input = &CreateDeploymentInput{}
  1039  	}
  1040  
  1041  	output = &CreateDeploymentOutput{}
  1042  	req = c.newRequest(op, input, output)
  1043  	return
  1044  }
  1045  
  1046  // CreateDeployment API operation for AWS CodeDeploy.
  1047  //
  1048  // Deploys an application revision through the specified deployment group.
  1049  //
  1050  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1051  // with awserr.Error's Code and Message methods to get detailed information about
  1052  // the error.
  1053  //
  1054  // See the AWS API reference guide for AWS CodeDeploy's
  1055  // API operation CreateDeployment for usage and error information.
  1056  //
  1057  // Returned Error Types:
  1058  //   * ApplicationNameRequiredException
  1059  //   The minimum number of required application names was not specified.
  1060  //
  1061  //   * InvalidApplicationNameException
  1062  //   The application name was specified in an invalid format.
  1063  //
  1064  //   * ApplicationDoesNotExistException
  1065  //   The application does not exist with the IAM user or AWS account.
  1066  //
  1067  //   * DeploymentGroupNameRequiredException
  1068  //   The deployment group name was not specified.
  1069  //
  1070  //   * InvalidDeploymentGroupNameException
  1071  //   The deployment group name was specified in an invalid format.
  1072  //
  1073  //   * DeploymentGroupDoesNotExistException
  1074  //   The named deployment group with the IAM user or AWS account does not exist.
  1075  //
  1076  //   * RevisionRequiredException
  1077  //   The revision ID was not specified.
  1078  //
  1079  //   * RevisionDoesNotExistException
  1080  //   The named revision does not exist with the IAM user or AWS account.
  1081  //
  1082  //   * InvalidRevisionException
  1083  //   The revision was specified in an invalid format.
  1084  //
  1085  //   * InvalidDeploymentConfigNameException
  1086  //   The deployment configuration name was specified in an invalid format.
  1087  //
  1088  //   * DeploymentConfigDoesNotExistException
  1089  //   The deployment configuration does not exist with the IAM user or AWS account.
  1090  //
  1091  //   * DescriptionTooLongException
  1092  //   The description is too long.
  1093  //
  1094  //   * DeploymentLimitExceededException
  1095  //   The number of allowed deployments was exceeded.
  1096  //
  1097  //   * InvalidTargetInstancesException
  1098  //   The target instance configuration is invalid. Possible causes include:
  1099  //
  1100  //      * Configuration data for target instances was entered for an in-place
  1101  //      deployment.
  1102  //
  1103  //      * The limit of 10 tags for a tag type was exceeded.
  1104  //
  1105  //      * The combined length of the tag names exceeded the limit.
  1106  //
  1107  //      * A specified tag is not currently applied to any instances.
  1108  //
  1109  //   * InvalidAutoRollbackConfigException
  1110  //   The automatic rollback configuration was specified in an invalid format.
  1111  //   For example, automatic rollback is enabled, but an invalid triggering event
  1112  //   type or no event types were listed.
  1113  //
  1114  //   * InvalidLoadBalancerInfoException
  1115  //   An invalid load balancer name, or no load balancer name, was specified.
  1116  //
  1117  //   * InvalidFileExistsBehaviorException
  1118  //   An invalid fileExistsBehavior option was specified to determine how AWS CodeDeploy
  1119  //   handles files or directories that already exist in a deployment target location,
  1120  //   but weren't part of the previous successful deployment. Valid values include
  1121  //   "DISALLOW," "OVERWRITE," and "RETAIN."
  1122  //
  1123  //   * InvalidRoleException
  1124  //   The service role ARN was specified in an invalid format. Or, if an Auto Scaling
  1125  //   group was specified, the specified service role does not grant the appropriate
  1126  //   permissions to Amazon EC2 Auto Scaling.
  1127  //
  1128  //   * InvalidAutoScalingGroupException
  1129  //   The Auto Scaling group was specified in an invalid format or does not exist.
  1130  //
  1131  //   * ThrottlingException
  1132  //   An API function was called too frequently.
  1133  //
  1134  //   * InvalidUpdateOutdatedInstancesOnlyValueException
  1135  //   The UpdateOutdatedInstancesOnly value is invalid. For AWS Lambda deployments,
  1136  //   false is expected. For EC2/On-premises deployments, true or false is expected.
  1137  //
  1138  //   * InvalidIgnoreApplicationStopFailuresValueException
  1139  //   The IgnoreApplicationStopFailures value is invalid. For AWS Lambda deployments,
  1140  //   false is expected. For EC2/On-premises deployments, true or false is expected.
  1141  //
  1142  //   * InvalidGitHubAccountTokenException
  1143  //   The GitHub token is not valid.
  1144  //
  1145  //   * InvalidTrafficRoutingConfigurationException
  1146  //   The configuration that specifies how traffic is routed during a deployment
  1147  //   is invalid.
  1148  //
  1149  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeployment
  1150  func (c *CodeDeploy) CreateDeployment(input *CreateDeploymentInput) (*CreateDeploymentOutput, error) {
  1151  	req, out := c.CreateDeploymentRequest(input)
  1152  	return out, req.Send()
  1153  }
  1154  
  1155  // CreateDeploymentWithContext is the same as CreateDeployment with the addition of
  1156  // the ability to pass a context and additional request options.
  1157  //
  1158  // See CreateDeployment for details on how to use this API operation.
  1159  //
  1160  // The context must be non-nil and will be used for request cancellation. If
  1161  // the context is nil a panic will occur. In the future the SDK may create
  1162  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1163  // for more information on using Contexts.
  1164  func (c *CodeDeploy) CreateDeploymentWithContext(ctx aws.Context, input *CreateDeploymentInput, opts ...request.Option) (*CreateDeploymentOutput, error) {
  1165  	req, out := c.CreateDeploymentRequest(input)
  1166  	req.SetContext(ctx)
  1167  	req.ApplyOptions(opts...)
  1168  	return out, req.Send()
  1169  }
  1170  
  1171  const opCreateDeploymentConfig = "CreateDeploymentConfig"
  1172  
  1173  // CreateDeploymentConfigRequest generates a "aws/request.Request" representing the
  1174  // client's request for the CreateDeploymentConfig operation. The "output" return
  1175  // value will be populated with the request's response once the request completes
  1176  // successfully.
  1177  //
  1178  // Use "Send" method on the returned Request to send the API call to the service.
  1179  // the "output" return value is not valid until after Send returns without error.
  1180  //
  1181  // See CreateDeploymentConfig for more information on using the CreateDeploymentConfig
  1182  // API call, and error handling.
  1183  //
  1184  // This method is useful when you want to inject custom logic or configuration
  1185  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1186  //
  1187  //
  1188  //    // Example sending a request using the CreateDeploymentConfigRequest method.
  1189  //    req, resp := client.CreateDeploymentConfigRequest(params)
  1190  //
  1191  //    err := req.Send()
  1192  //    if err == nil { // resp is now filled
  1193  //        fmt.Println(resp)
  1194  //    }
  1195  //
  1196  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentConfig
  1197  func (c *CodeDeploy) CreateDeploymentConfigRequest(input *CreateDeploymentConfigInput) (req *request.Request, output *CreateDeploymentConfigOutput) {
  1198  	op := &request.Operation{
  1199  		Name:       opCreateDeploymentConfig,
  1200  		HTTPMethod: "POST",
  1201  		HTTPPath:   "/",
  1202  	}
  1203  
  1204  	if input == nil {
  1205  		input = &CreateDeploymentConfigInput{}
  1206  	}
  1207  
  1208  	output = &CreateDeploymentConfigOutput{}
  1209  	req = c.newRequest(op, input, output)
  1210  	return
  1211  }
  1212  
  1213  // CreateDeploymentConfig API operation for AWS CodeDeploy.
  1214  //
  1215  // Creates a deployment configuration.
  1216  //
  1217  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1218  // with awserr.Error's Code and Message methods to get detailed information about
  1219  // the error.
  1220  //
  1221  // See the AWS API reference guide for AWS CodeDeploy's
  1222  // API operation CreateDeploymentConfig for usage and error information.
  1223  //
  1224  // Returned Error Types:
  1225  //   * InvalidDeploymentConfigNameException
  1226  //   The deployment configuration name was specified in an invalid format.
  1227  //
  1228  //   * DeploymentConfigNameRequiredException
  1229  //   The deployment configuration name was not specified.
  1230  //
  1231  //   * DeploymentConfigAlreadyExistsException
  1232  //   A deployment configuration with the specified name with the IAM user or AWS
  1233  //   account already exists.
  1234  //
  1235  //   * InvalidMinimumHealthyHostValueException
  1236  //   The minimum healthy instance value was specified in an invalid format.
  1237  //
  1238  //   * DeploymentConfigLimitExceededException
  1239  //   The deployment configurations limit was exceeded.
  1240  //
  1241  //   * InvalidComputePlatformException
  1242  //   The computePlatform is invalid. The computePlatform should be Lambda, Server,
  1243  //   or ECS.
  1244  //
  1245  //   * InvalidTrafficRoutingConfigurationException
  1246  //   The configuration that specifies how traffic is routed during a deployment
  1247  //   is invalid.
  1248  //
  1249  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentConfig
  1250  func (c *CodeDeploy) CreateDeploymentConfig(input *CreateDeploymentConfigInput) (*CreateDeploymentConfigOutput, error) {
  1251  	req, out := c.CreateDeploymentConfigRequest(input)
  1252  	return out, req.Send()
  1253  }
  1254  
  1255  // CreateDeploymentConfigWithContext is the same as CreateDeploymentConfig with the addition of
  1256  // the ability to pass a context and additional request options.
  1257  //
  1258  // See CreateDeploymentConfig for details on how to use this API operation.
  1259  //
  1260  // The context must be non-nil and will be used for request cancellation. If
  1261  // the context is nil a panic will occur. In the future the SDK may create
  1262  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1263  // for more information on using Contexts.
  1264  func (c *CodeDeploy) CreateDeploymentConfigWithContext(ctx aws.Context, input *CreateDeploymentConfigInput, opts ...request.Option) (*CreateDeploymentConfigOutput, error) {
  1265  	req, out := c.CreateDeploymentConfigRequest(input)
  1266  	req.SetContext(ctx)
  1267  	req.ApplyOptions(opts...)
  1268  	return out, req.Send()
  1269  }
  1270  
  1271  const opCreateDeploymentGroup = "CreateDeploymentGroup"
  1272  
  1273  // CreateDeploymentGroupRequest generates a "aws/request.Request" representing the
  1274  // client's request for the CreateDeploymentGroup operation. The "output" return
  1275  // value will be populated with the request's response once the request completes
  1276  // successfully.
  1277  //
  1278  // Use "Send" method on the returned Request to send the API call to the service.
  1279  // the "output" return value is not valid until after Send returns without error.
  1280  //
  1281  // See CreateDeploymentGroup for more information on using the CreateDeploymentGroup
  1282  // API call, and error handling.
  1283  //
  1284  // This method is useful when you want to inject custom logic or configuration
  1285  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1286  //
  1287  //
  1288  //    // Example sending a request using the CreateDeploymentGroupRequest method.
  1289  //    req, resp := client.CreateDeploymentGroupRequest(params)
  1290  //
  1291  //    err := req.Send()
  1292  //    if err == nil { // resp is now filled
  1293  //        fmt.Println(resp)
  1294  //    }
  1295  //
  1296  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentGroup
  1297  func (c *CodeDeploy) CreateDeploymentGroupRequest(input *CreateDeploymentGroupInput) (req *request.Request, output *CreateDeploymentGroupOutput) {
  1298  	op := &request.Operation{
  1299  		Name:       opCreateDeploymentGroup,
  1300  		HTTPMethod: "POST",
  1301  		HTTPPath:   "/",
  1302  	}
  1303  
  1304  	if input == nil {
  1305  		input = &CreateDeploymentGroupInput{}
  1306  	}
  1307  
  1308  	output = &CreateDeploymentGroupOutput{}
  1309  	req = c.newRequest(op, input, output)
  1310  	return
  1311  }
  1312  
  1313  // CreateDeploymentGroup API operation for AWS CodeDeploy.
  1314  //
  1315  // Creates a deployment group to which application revisions are deployed.
  1316  //
  1317  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1318  // with awserr.Error's Code and Message methods to get detailed information about
  1319  // the error.
  1320  //
  1321  // See the AWS API reference guide for AWS CodeDeploy's
  1322  // API operation CreateDeploymentGroup for usage and error information.
  1323  //
  1324  // Returned Error Types:
  1325  //   * ApplicationNameRequiredException
  1326  //   The minimum number of required application names was not specified.
  1327  //
  1328  //   * InvalidApplicationNameException
  1329  //   The application name was specified in an invalid format.
  1330  //
  1331  //   * ApplicationDoesNotExistException
  1332  //   The application does not exist with the IAM user or AWS account.
  1333  //
  1334  //   * DeploymentGroupNameRequiredException
  1335  //   The deployment group name was not specified.
  1336  //
  1337  //   * InvalidDeploymentGroupNameException
  1338  //   The deployment group name was specified in an invalid format.
  1339  //
  1340  //   * DeploymentGroupAlreadyExistsException
  1341  //   A deployment group with the specified name with the IAM user or AWS account
  1342  //   already exists.
  1343  //
  1344  //   * InvalidEC2TagException
  1345  //   The tag was specified in an invalid format.
  1346  //
  1347  //   * InvalidTagException
  1348  //   The tag was specified in an invalid format.
  1349  //
  1350  //   * InvalidAutoScalingGroupException
  1351  //   The Auto Scaling group was specified in an invalid format or does not exist.
  1352  //
  1353  //   * InvalidDeploymentConfigNameException
  1354  //   The deployment configuration name was specified in an invalid format.
  1355  //
  1356  //   * DeploymentConfigDoesNotExistException
  1357  //   The deployment configuration does not exist with the IAM user or AWS account.
  1358  //
  1359  //   * RoleRequiredException
  1360  //   The role ID was not specified.
  1361  //
  1362  //   * InvalidRoleException
  1363  //   The service role ARN was specified in an invalid format. Or, if an Auto Scaling
  1364  //   group was specified, the specified service role does not grant the appropriate
  1365  //   permissions to Amazon EC2 Auto Scaling.
  1366  //
  1367  //   * DeploymentGroupLimitExceededException
  1368  //   The deployment groups limit was exceeded.
  1369  //
  1370  //   * LifecycleHookLimitExceededException
  1371  //   The limit for lifecycle hooks was exceeded.
  1372  //
  1373  //   * InvalidTriggerConfigException
  1374  //   The trigger was specified in an invalid format.
  1375  //
  1376  //   * TriggerTargetsLimitExceededException
  1377  //   The maximum allowed number of triggers was exceeded.
  1378  //
  1379  //   * InvalidAlarmConfigException
  1380  //   The format of the alarm configuration is invalid. Possible causes include:
  1381  //
  1382  //      * The alarm list is null.
  1383  //
  1384  //      * The alarm object is null.
  1385  //
  1386  //      * The alarm name is empty or null or exceeds the limit of 255 characters.
  1387  //
  1388  //      * Two alarms with the same name have been specified.
  1389  //
  1390  //      * The alarm configuration is enabled, but the alarm list is empty.
  1391  //
  1392  //   * AlarmsLimitExceededException
  1393  //   The maximum number of alarms for a deployment group (10) was exceeded.
  1394  //
  1395  //   * InvalidAutoRollbackConfigException
  1396  //   The automatic rollback configuration was specified in an invalid format.
  1397  //   For example, automatic rollback is enabled, but an invalid triggering event
  1398  //   type or no event types were listed.
  1399  //
  1400  //   * InvalidLoadBalancerInfoException
  1401  //   An invalid load balancer name, or no load balancer name, was specified.
  1402  //
  1403  //   * InvalidDeploymentStyleException
  1404  //   An invalid deployment style was specified. Valid deployment types include
  1405  //   "IN_PLACE" and "BLUE_GREEN." Valid deployment options include "WITH_TRAFFIC_CONTROL"
  1406  //   and "WITHOUT_TRAFFIC_CONTROL."
  1407  //
  1408  //   * InvalidBlueGreenDeploymentConfigurationException
  1409  //   The configuration for the blue/green deployment group was provided in an
  1410  //   invalid format. For information about deployment configuration format, see
  1411  //   CreateDeploymentConfig.
  1412  //
  1413  //   * InvalidEC2TagCombinationException
  1414  //   A call was submitted that specified both Ec2TagFilters and Ec2TagSet, but
  1415  //   only one of these data types can be used in a single call.
  1416  //
  1417  //   * InvalidOnPremisesTagCombinationException
  1418  //   A call was submitted that specified both OnPremisesTagFilters and OnPremisesTagSet,
  1419  //   but only one of these data types can be used in a single call.
  1420  //
  1421  //   * TagSetListLimitExceededException
  1422  //   The number of tag groups included in the tag set list exceeded the maximum
  1423  //   allowed limit of 3.
  1424  //
  1425  //   * InvalidInputException
  1426  //   The input was specified in an invalid format.
  1427  //
  1428  //   * ThrottlingException
  1429  //   An API function was called too frequently.
  1430  //
  1431  //   * InvalidECSServiceException
  1432  //   The Amazon ECS service identifier is not valid.
  1433  //
  1434  //   * InvalidTargetGroupPairException
  1435  //   A target group pair associated with this deployment is not valid.
  1436  //
  1437  //   * ECSServiceMappingLimitExceededException
  1438  //   The Amazon ECS service is associated with more than one deployment groups.
  1439  //   An Amazon ECS service can be associated with only one deployment group.
  1440  //
  1441  //   * InvalidTagsToAddException
  1442  //   The specified tags are not valid.
  1443  //
  1444  //   * InvalidTrafficRoutingConfigurationException
  1445  //   The configuration that specifies how traffic is routed during a deployment
  1446  //   is invalid.
  1447  //
  1448  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentGroup
  1449  func (c *CodeDeploy) CreateDeploymentGroup(input *CreateDeploymentGroupInput) (*CreateDeploymentGroupOutput, error) {
  1450  	req, out := c.CreateDeploymentGroupRequest(input)
  1451  	return out, req.Send()
  1452  }
  1453  
  1454  // CreateDeploymentGroupWithContext is the same as CreateDeploymentGroup with the addition of
  1455  // the ability to pass a context and additional request options.
  1456  //
  1457  // See CreateDeploymentGroup for details on how to use this API operation.
  1458  //
  1459  // The context must be non-nil and will be used for request cancellation. If
  1460  // the context is nil a panic will occur. In the future the SDK may create
  1461  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1462  // for more information on using Contexts.
  1463  func (c *CodeDeploy) CreateDeploymentGroupWithContext(ctx aws.Context, input *CreateDeploymentGroupInput, opts ...request.Option) (*CreateDeploymentGroupOutput, error) {
  1464  	req, out := c.CreateDeploymentGroupRequest(input)
  1465  	req.SetContext(ctx)
  1466  	req.ApplyOptions(opts...)
  1467  	return out, req.Send()
  1468  }
  1469  
  1470  const opDeleteApplication = "DeleteApplication"
  1471  
  1472  // DeleteApplicationRequest generates a "aws/request.Request" representing the
  1473  // client's request for the DeleteApplication operation. The "output" return
  1474  // value will be populated with the request's response once the request completes
  1475  // successfully.
  1476  //
  1477  // Use "Send" method on the returned Request to send the API call to the service.
  1478  // the "output" return value is not valid until after Send returns without error.
  1479  //
  1480  // See DeleteApplication for more information on using the DeleteApplication
  1481  // API call, and error handling.
  1482  //
  1483  // This method is useful when you want to inject custom logic or configuration
  1484  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1485  //
  1486  //
  1487  //    // Example sending a request using the DeleteApplicationRequest method.
  1488  //    req, resp := client.DeleteApplicationRequest(params)
  1489  //
  1490  //    err := req.Send()
  1491  //    if err == nil { // resp is now filled
  1492  //        fmt.Println(resp)
  1493  //    }
  1494  //
  1495  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteApplication
  1496  func (c *CodeDeploy) DeleteApplicationRequest(input *DeleteApplicationInput) (req *request.Request, output *DeleteApplicationOutput) {
  1497  	op := &request.Operation{
  1498  		Name:       opDeleteApplication,
  1499  		HTTPMethod: "POST",
  1500  		HTTPPath:   "/",
  1501  	}
  1502  
  1503  	if input == nil {
  1504  		input = &DeleteApplicationInput{}
  1505  	}
  1506  
  1507  	output = &DeleteApplicationOutput{}
  1508  	req = c.newRequest(op, input, output)
  1509  	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  1510  	return
  1511  }
  1512  
  1513  // DeleteApplication API operation for AWS CodeDeploy.
  1514  //
  1515  // Deletes an application.
  1516  //
  1517  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1518  // with awserr.Error's Code and Message methods to get detailed information about
  1519  // the error.
  1520  //
  1521  // See the AWS API reference guide for AWS CodeDeploy's
  1522  // API operation DeleteApplication for usage and error information.
  1523  //
  1524  // Returned Error Types:
  1525  //   * ApplicationNameRequiredException
  1526  //   The minimum number of required application names was not specified.
  1527  //
  1528  //   * InvalidApplicationNameException
  1529  //   The application name was specified in an invalid format.
  1530  //
  1531  //   * InvalidRoleException
  1532  //   The service role ARN was specified in an invalid format. Or, if an Auto Scaling
  1533  //   group was specified, the specified service role does not grant the appropriate
  1534  //   permissions to Amazon EC2 Auto Scaling.
  1535  //
  1536  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteApplication
  1537  func (c *CodeDeploy) DeleteApplication(input *DeleteApplicationInput) (*DeleteApplicationOutput, error) {
  1538  	req, out := c.DeleteApplicationRequest(input)
  1539  	return out, req.Send()
  1540  }
  1541  
  1542  // DeleteApplicationWithContext is the same as DeleteApplication with the addition of
  1543  // the ability to pass a context and additional request options.
  1544  //
  1545  // See DeleteApplication for details on how to use this API operation.
  1546  //
  1547  // The context must be non-nil and will be used for request cancellation. If
  1548  // the context is nil a panic will occur. In the future the SDK may create
  1549  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1550  // for more information on using Contexts.
  1551  func (c *CodeDeploy) DeleteApplicationWithContext(ctx aws.Context, input *DeleteApplicationInput, opts ...request.Option) (*DeleteApplicationOutput, error) {
  1552  	req, out := c.DeleteApplicationRequest(input)
  1553  	req.SetContext(ctx)
  1554  	req.ApplyOptions(opts...)
  1555  	return out, req.Send()
  1556  }
  1557  
  1558  const opDeleteDeploymentConfig = "DeleteDeploymentConfig"
  1559  
  1560  // DeleteDeploymentConfigRequest generates a "aws/request.Request" representing the
  1561  // client's request for the DeleteDeploymentConfig operation. The "output" return
  1562  // value will be populated with the request's response once the request completes
  1563  // successfully.
  1564  //
  1565  // Use "Send" method on the returned Request to send the API call to the service.
  1566  // the "output" return value is not valid until after Send returns without error.
  1567  //
  1568  // See DeleteDeploymentConfig for more information on using the DeleteDeploymentConfig
  1569  // API call, and error handling.
  1570  //
  1571  // This method is useful when you want to inject custom logic or configuration
  1572  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1573  //
  1574  //
  1575  //    // Example sending a request using the DeleteDeploymentConfigRequest method.
  1576  //    req, resp := client.DeleteDeploymentConfigRequest(params)
  1577  //
  1578  //    err := req.Send()
  1579  //    if err == nil { // resp is now filled
  1580  //        fmt.Println(resp)
  1581  //    }
  1582  //
  1583  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentConfig
  1584  func (c *CodeDeploy) DeleteDeploymentConfigRequest(input *DeleteDeploymentConfigInput) (req *request.Request, output *DeleteDeploymentConfigOutput) {
  1585  	op := &request.Operation{
  1586  		Name:       opDeleteDeploymentConfig,
  1587  		HTTPMethod: "POST",
  1588  		HTTPPath:   "/",
  1589  	}
  1590  
  1591  	if input == nil {
  1592  		input = &DeleteDeploymentConfigInput{}
  1593  	}
  1594  
  1595  	output = &DeleteDeploymentConfigOutput{}
  1596  	req = c.newRequest(op, input, output)
  1597  	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  1598  	return
  1599  }
  1600  
  1601  // DeleteDeploymentConfig API operation for AWS CodeDeploy.
  1602  //
  1603  // Deletes a deployment configuration.
  1604  //
  1605  // A deployment configuration cannot be deleted if it is currently in use. Predefined
  1606  // configurations cannot be deleted.
  1607  //
  1608  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1609  // with awserr.Error's Code and Message methods to get detailed information about
  1610  // the error.
  1611  //
  1612  // See the AWS API reference guide for AWS CodeDeploy's
  1613  // API operation DeleteDeploymentConfig for usage and error information.
  1614  //
  1615  // Returned Error Types:
  1616  //   * InvalidDeploymentConfigNameException
  1617  //   The deployment configuration name was specified in an invalid format.
  1618  //
  1619  //   * DeploymentConfigNameRequiredException
  1620  //   The deployment configuration name was not specified.
  1621  //
  1622  //   * DeploymentConfigInUseException
  1623  //   The deployment configuration is still in use.
  1624  //
  1625  //   * InvalidOperationException
  1626  //   An invalid operation was detected.
  1627  //
  1628  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentConfig
  1629  func (c *CodeDeploy) DeleteDeploymentConfig(input *DeleteDeploymentConfigInput) (*DeleteDeploymentConfigOutput, error) {
  1630  	req, out := c.DeleteDeploymentConfigRequest(input)
  1631  	return out, req.Send()
  1632  }
  1633  
  1634  // DeleteDeploymentConfigWithContext is the same as DeleteDeploymentConfig with the addition of
  1635  // the ability to pass a context and additional request options.
  1636  //
  1637  // See DeleteDeploymentConfig for details on how to use this API operation.
  1638  //
  1639  // The context must be non-nil and will be used for request cancellation. If
  1640  // the context is nil a panic will occur. In the future the SDK may create
  1641  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1642  // for more information on using Contexts.
  1643  func (c *CodeDeploy) DeleteDeploymentConfigWithContext(ctx aws.Context, input *DeleteDeploymentConfigInput, opts ...request.Option) (*DeleteDeploymentConfigOutput, error) {
  1644  	req, out := c.DeleteDeploymentConfigRequest(input)
  1645  	req.SetContext(ctx)
  1646  	req.ApplyOptions(opts...)
  1647  	return out, req.Send()
  1648  }
  1649  
  1650  const opDeleteDeploymentGroup = "DeleteDeploymentGroup"
  1651  
  1652  // DeleteDeploymentGroupRequest generates a "aws/request.Request" representing the
  1653  // client's request for the DeleteDeploymentGroup operation. The "output" return
  1654  // value will be populated with the request's response once the request completes
  1655  // successfully.
  1656  //
  1657  // Use "Send" method on the returned Request to send the API call to the service.
  1658  // the "output" return value is not valid until after Send returns without error.
  1659  //
  1660  // See DeleteDeploymentGroup for more information on using the DeleteDeploymentGroup
  1661  // API call, and error handling.
  1662  //
  1663  // This method is useful when you want to inject custom logic or configuration
  1664  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1665  //
  1666  //
  1667  //    // Example sending a request using the DeleteDeploymentGroupRequest method.
  1668  //    req, resp := client.DeleteDeploymentGroupRequest(params)
  1669  //
  1670  //    err := req.Send()
  1671  //    if err == nil { // resp is now filled
  1672  //        fmt.Println(resp)
  1673  //    }
  1674  //
  1675  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentGroup
  1676  func (c *CodeDeploy) DeleteDeploymentGroupRequest(input *DeleteDeploymentGroupInput) (req *request.Request, output *DeleteDeploymentGroupOutput) {
  1677  	op := &request.Operation{
  1678  		Name:       opDeleteDeploymentGroup,
  1679  		HTTPMethod: "POST",
  1680  		HTTPPath:   "/",
  1681  	}
  1682  
  1683  	if input == nil {
  1684  		input = &DeleteDeploymentGroupInput{}
  1685  	}
  1686  
  1687  	output = &DeleteDeploymentGroupOutput{}
  1688  	req = c.newRequest(op, input, output)
  1689  	return
  1690  }
  1691  
  1692  // DeleteDeploymentGroup API operation for AWS CodeDeploy.
  1693  //
  1694  // Deletes a deployment group.
  1695  //
  1696  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1697  // with awserr.Error's Code and Message methods to get detailed information about
  1698  // the error.
  1699  //
  1700  // See the AWS API reference guide for AWS CodeDeploy's
  1701  // API operation DeleteDeploymentGroup for usage and error information.
  1702  //
  1703  // Returned Error Types:
  1704  //   * ApplicationNameRequiredException
  1705  //   The minimum number of required application names was not specified.
  1706  //
  1707  //   * InvalidApplicationNameException
  1708  //   The application name was specified in an invalid format.
  1709  //
  1710  //   * DeploymentGroupNameRequiredException
  1711  //   The deployment group name was not specified.
  1712  //
  1713  //   * InvalidDeploymentGroupNameException
  1714  //   The deployment group name was specified in an invalid format.
  1715  //
  1716  //   * InvalidRoleException
  1717  //   The service role ARN was specified in an invalid format. Or, if an Auto Scaling
  1718  //   group was specified, the specified service role does not grant the appropriate
  1719  //   permissions to Amazon EC2 Auto Scaling.
  1720  //
  1721  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentGroup
  1722  func (c *CodeDeploy) DeleteDeploymentGroup(input *DeleteDeploymentGroupInput) (*DeleteDeploymentGroupOutput, error) {
  1723  	req, out := c.DeleteDeploymentGroupRequest(input)
  1724  	return out, req.Send()
  1725  }
  1726  
  1727  // DeleteDeploymentGroupWithContext is the same as DeleteDeploymentGroup with the addition of
  1728  // the ability to pass a context and additional request options.
  1729  //
  1730  // See DeleteDeploymentGroup for details on how to use this API operation.
  1731  //
  1732  // The context must be non-nil and will be used for request cancellation. If
  1733  // the context is nil a panic will occur. In the future the SDK may create
  1734  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1735  // for more information on using Contexts.
  1736  func (c *CodeDeploy) DeleteDeploymentGroupWithContext(ctx aws.Context, input *DeleteDeploymentGroupInput, opts ...request.Option) (*DeleteDeploymentGroupOutput, error) {
  1737  	req, out := c.DeleteDeploymentGroupRequest(input)
  1738  	req.SetContext(ctx)
  1739  	req.ApplyOptions(opts...)
  1740  	return out, req.Send()
  1741  }
  1742  
  1743  const opDeleteGitHubAccountToken = "DeleteGitHubAccountToken"
  1744  
  1745  // DeleteGitHubAccountTokenRequest generates a "aws/request.Request" representing the
  1746  // client's request for the DeleteGitHubAccountToken operation. The "output" return
  1747  // value will be populated with the request's response once the request completes
  1748  // successfully.
  1749  //
  1750  // Use "Send" method on the returned Request to send the API call to the service.
  1751  // the "output" return value is not valid until after Send returns without error.
  1752  //
  1753  // See DeleteGitHubAccountToken for more information on using the DeleteGitHubAccountToken
  1754  // API call, and error handling.
  1755  //
  1756  // This method is useful when you want to inject custom logic or configuration
  1757  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1758  //
  1759  //
  1760  //    // Example sending a request using the DeleteGitHubAccountTokenRequest method.
  1761  //    req, resp := client.DeleteGitHubAccountTokenRequest(params)
  1762  //
  1763  //    err := req.Send()
  1764  //    if err == nil { // resp is now filled
  1765  //        fmt.Println(resp)
  1766  //    }
  1767  //
  1768  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteGitHubAccountToken
  1769  func (c *CodeDeploy) DeleteGitHubAccountTokenRequest(input *DeleteGitHubAccountTokenInput) (req *request.Request, output *DeleteGitHubAccountTokenOutput) {
  1770  	op := &request.Operation{
  1771  		Name:       opDeleteGitHubAccountToken,
  1772  		HTTPMethod: "POST",
  1773  		HTTPPath:   "/",
  1774  	}
  1775  
  1776  	if input == nil {
  1777  		input = &DeleteGitHubAccountTokenInput{}
  1778  	}
  1779  
  1780  	output = &DeleteGitHubAccountTokenOutput{}
  1781  	req = c.newRequest(op, input, output)
  1782  	return
  1783  }
  1784  
  1785  // DeleteGitHubAccountToken API operation for AWS CodeDeploy.
  1786  //
  1787  // Deletes a GitHub account connection.
  1788  //
  1789  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1790  // with awserr.Error's Code and Message methods to get detailed information about
  1791  // the error.
  1792  //
  1793  // See the AWS API reference guide for AWS CodeDeploy's
  1794  // API operation DeleteGitHubAccountToken for usage and error information.
  1795  //
  1796  // Returned Error Types:
  1797  //   * GitHubAccountTokenNameRequiredException
  1798  //   The call is missing a required GitHub account connection name.
  1799  //
  1800  //   * GitHubAccountTokenDoesNotExistException
  1801  //   No GitHub account connection exists with the named specified in the call.
  1802  //
  1803  //   * InvalidGitHubAccountTokenNameException
  1804  //   The format of the specified GitHub account connection name is invalid.
  1805  //
  1806  //   * ResourceValidationException
  1807  //   The specified resource could not be validated.
  1808  //
  1809  //   * OperationNotSupportedException
  1810  //   The API used does not support the deployment.
  1811  //
  1812  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteGitHubAccountToken
  1813  func (c *CodeDeploy) DeleteGitHubAccountToken(input *DeleteGitHubAccountTokenInput) (*DeleteGitHubAccountTokenOutput, error) {
  1814  	req, out := c.DeleteGitHubAccountTokenRequest(input)
  1815  	return out, req.Send()
  1816  }
  1817  
  1818  // DeleteGitHubAccountTokenWithContext is the same as DeleteGitHubAccountToken with the addition of
  1819  // the ability to pass a context and additional request options.
  1820  //
  1821  // See DeleteGitHubAccountToken for details on how to use this API operation.
  1822  //
  1823  // The context must be non-nil and will be used for request cancellation. If
  1824  // the context is nil a panic will occur. In the future the SDK may create
  1825  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1826  // for more information on using Contexts.
  1827  func (c *CodeDeploy) DeleteGitHubAccountTokenWithContext(ctx aws.Context, input *DeleteGitHubAccountTokenInput, opts ...request.Option) (*DeleteGitHubAccountTokenOutput, error) {
  1828  	req, out := c.DeleteGitHubAccountTokenRequest(input)
  1829  	req.SetContext(ctx)
  1830  	req.ApplyOptions(opts...)
  1831  	return out, req.Send()
  1832  }
  1833  
  1834  const opDeleteResourcesByExternalId = "DeleteResourcesByExternalId"
  1835  
  1836  // DeleteResourcesByExternalIdRequest generates a "aws/request.Request" representing the
  1837  // client's request for the DeleteResourcesByExternalId operation. The "output" return
  1838  // value will be populated with the request's response once the request completes
  1839  // successfully.
  1840  //
  1841  // Use "Send" method on the returned Request to send the API call to the service.
  1842  // the "output" return value is not valid until after Send returns without error.
  1843  //
  1844  // See DeleteResourcesByExternalId for more information on using the DeleteResourcesByExternalId
  1845  // API call, and error handling.
  1846  //
  1847  // This method is useful when you want to inject custom logic or configuration
  1848  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1849  //
  1850  //
  1851  //    // Example sending a request using the DeleteResourcesByExternalIdRequest method.
  1852  //    req, resp := client.DeleteResourcesByExternalIdRequest(params)
  1853  //
  1854  //    err := req.Send()
  1855  //    if err == nil { // resp is now filled
  1856  //        fmt.Println(resp)
  1857  //    }
  1858  //
  1859  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteResourcesByExternalId
  1860  func (c *CodeDeploy) DeleteResourcesByExternalIdRequest(input *DeleteResourcesByExternalIdInput) (req *request.Request, output *DeleteResourcesByExternalIdOutput) {
  1861  	op := &request.Operation{
  1862  		Name:       opDeleteResourcesByExternalId,
  1863  		HTTPMethod: "POST",
  1864  		HTTPPath:   "/",
  1865  	}
  1866  
  1867  	if input == nil {
  1868  		input = &DeleteResourcesByExternalIdInput{}
  1869  	}
  1870  
  1871  	output = &DeleteResourcesByExternalIdOutput{}
  1872  	req = c.newRequest(op, input, output)
  1873  	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  1874  	return
  1875  }
  1876  
  1877  // DeleteResourcesByExternalId API operation for AWS CodeDeploy.
  1878  //
  1879  // Deletes resources linked to an external ID.
  1880  //
  1881  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1882  // with awserr.Error's Code and Message methods to get detailed information about
  1883  // the error.
  1884  //
  1885  // See the AWS API reference guide for AWS CodeDeploy's
  1886  // API operation DeleteResourcesByExternalId for usage and error information.
  1887  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteResourcesByExternalId
  1888  func (c *CodeDeploy) DeleteResourcesByExternalId(input *DeleteResourcesByExternalIdInput) (*DeleteResourcesByExternalIdOutput, error) {
  1889  	req, out := c.DeleteResourcesByExternalIdRequest(input)
  1890  	return out, req.Send()
  1891  }
  1892  
  1893  // DeleteResourcesByExternalIdWithContext is the same as DeleteResourcesByExternalId with the addition of
  1894  // the ability to pass a context and additional request options.
  1895  //
  1896  // See DeleteResourcesByExternalId for details on how to use this API operation.
  1897  //
  1898  // The context must be non-nil and will be used for request cancellation. If
  1899  // the context is nil a panic will occur. In the future the SDK may create
  1900  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1901  // for more information on using Contexts.
  1902  func (c *CodeDeploy) DeleteResourcesByExternalIdWithContext(ctx aws.Context, input *DeleteResourcesByExternalIdInput, opts ...request.Option) (*DeleteResourcesByExternalIdOutput, error) {
  1903  	req, out := c.DeleteResourcesByExternalIdRequest(input)
  1904  	req.SetContext(ctx)
  1905  	req.ApplyOptions(opts...)
  1906  	return out, req.Send()
  1907  }
  1908  
  1909  const opDeregisterOnPremisesInstance = "DeregisterOnPremisesInstance"
  1910  
  1911  // DeregisterOnPremisesInstanceRequest generates a "aws/request.Request" representing the
  1912  // client's request for the DeregisterOnPremisesInstance operation. The "output" return
  1913  // value will be populated with the request's response once the request completes
  1914  // successfully.
  1915  //
  1916  // Use "Send" method on the returned Request to send the API call to the service.
  1917  // the "output" return value is not valid until after Send returns without error.
  1918  //
  1919  // See DeregisterOnPremisesInstance for more information on using the DeregisterOnPremisesInstance
  1920  // API call, and error handling.
  1921  //
  1922  // This method is useful when you want to inject custom logic or configuration
  1923  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1924  //
  1925  //
  1926  //    // Example sending a request using the DeregisterOnPremisesInstanceRequest method.
  1927  //    req, resp := client.DeregisterOnPremisesInstanceRequest(params)
  1928  //
  1929  //    err := req.Send()
  1930  //    if err == nil { // resp is now filled
  1931  //        fmt.Println(resp)
  1932  //    }
  1933  //
  1934  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeregisterOnPremisesInstance
  1935  func (c *CodeDeploy) DeregisterOnPremisesInstanceRequest(input *DeregisterOnPremisesInstanceInput) (req *request.Request, output *DeregisterOnPremisesInstanceOutput) {
  1936  	op := &request.Operation{
  1937  		Name:       opDeregisterOnPremisesInstance,
  1938  		HTTPMethod: "POST",
  1939  		HTTPPath:   "/",
  1940  	}
  1941  
  1942  	if input == nil {
  1943  		input = &DeregisterOnPremisesInstanceInput{}
  1944  	}
  1945  
  1946  	output = &DeregisterOnPremisesInstanceOutput{}
  1947  	req = c.newRequest(op, input, output)
  1948  	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  1949  	return
  1950  }
  1951  
  1952  // DeregisterOnPremisesInstance API operation for AWS CodeDeploy.
  1953  //
  1954  // Deregisters an on-premises instance.
  1955  //
  1956  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1957  // with awserr.Error's Code and Message methods to get detailed information about
  1958  // the error.
  1959  //
  1960  // See the AWS API reference guide for AWS CodeDeploy's
  1961  // API operation DeregisterOnPremisesInstance for usage and error information.
  1962  //
  1963  // Returned Error Types:
  1964  //   * InstanceNameRequiredException
  1965  //   An on-premises instance name was not specified.
  1966  //
  1967  //   * InvalidInstanceNameException
  1968  //   The on-premises instance name was specified in an invalid format.
  1969  //
  1970  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeregisterOnPremisesInstance
  1971  func (c *CodeDeploy) DeregisterOnPremisesInstance(input *DeregisterOnPremisesInstanceInput) (*DeregisterOnPremisesInstanceOutput, error) {
  1972  	req, out := c.DeregisterOnPremisesInstanceRequest(input)
  1973  	return out, req.Send()
  1974  }
  1975  
  1976  // DeregisterOnPremisesInstanceWithContext is the same as DeregisterOnPremisesInstance with the addition of
  1977  // the ability to pass a context and additional request options.
  1978  //
  1979  // See DeregisterOnPremisesInstance for details on how to use this API operation.
  1980  //
  1981  // The context must be non-nil and will be used for request cancellation. If
  1982  // the context is nil a panic will occur. In the future the SDK may create
  1983  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1984  // for more information on using Contexts.
  1985  func (c *CodeDeploy) DeregisterOnPremisesInstanceWithContext(ctx aws.Context, input *DeregisterOnPremisesInstanceInput, opts ...request.Option) (*DeregisterOnPremisesInstanceOutput, error) {
  1986  	req, out := c.DeregisterOnPremisesInstanceRequest(input)
  1987  	req.SetContext(ctx)
  1988  	req.ApplyOptions(opts...)
  1989  	return out, req.Send()
  1990  }
  1991  
  1992  const opGetApplication = "GetApplication"
  1993  
  1994  // GetApplicationRequest generates a "aws/request.Request" representing the
  1995  // client's request for the GetApplication operation. The "output" return
  1996  // value will be populated with the request's response once the request completes
  1997  // successfully.
  1998  //
  1999  // Use "Send" method on the returned Request to send the API call to the service.
  2000  // the "output" return value is not valid until after Send returns without error.
  2001  //
  2002  // See GetApplication for more information on using the GetApplication
  2003  // API call, and error handling.
  2004  //
  2005  // This method is useful when you want to inject custom logic or configuration
  2006  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2007  //
  2008  //
  2009  //    // Example sending a request using the GetApplicationRequest method.
  2010  //    req, resp := client.GetApplicationRequest(params)
  2011  //
  2012  //    err := req.Send()
  2013  //    if err == nil { // resp is now filled
  2014  //        fmt.Println(resp)
  2015  //    }
  2016  //
  2017  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplication
  2018  func (c *CodeDeploy) GetApplicationRequest(input *GetApplicationInput) (req *request.Request, output *GetApplicationOutput) {
  2019  	op := &request.Operation{
  2020  		Name:       opGetApplication,
  2021  		HTTPMethod: "POST",
  2022  		HTTPPath:   "/",
  2023  	}
  2024  
  2025  	if input == nil {
  2026  		input = &GetApplicationInput{}
  2027  	}
  2028  
  2029  	output = &GetApplicationOutput{}
  2030  	req = c.newRequest(op, input, output)
  2031  	return
  2032  }
  2033  
  2034  // GetApplication API operation for AWS CodeDeploy.
  2035  //
  2036  // Gets information about an application.
  2037  //
  2038  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2039  // with awserr.Error's Code and Message methods to get detailed information about
  2040  // the error.
  2041  //
  2042  // See the AWS API reference guide for AWS CodeDeploy's
  2043  // API operation GetApplication for usage and error information.
  2044  //
  2045  // Returned Error Types:
  2046  //   * ApplicationNameRequiredException
  2047  //   The minimum number of required application names was not specified.
  2048  //
  2049  //   * InvalidApplicationNameException
  2050  //   The application name was specified in an invalid format.
  2051  //
  2052  //   * ApplicationDoesNotExistException
  2053  //   The application does not exist with the IAM user or AWS account.
  2054  //
  2055  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplication
  2056  func (c *CodeDeploy) GetApplication(input *GetApplicationInput) (*GetApplicationOutput, error) {
  2057  	req, out := c.GetApplicationRequest(input)
  2058  	return out, req.Send()
  2059  }
  2060  
  2061  // GetApplicationWithContext is the same as GetApplication with the addition of
  2062  // the ability to pass a context and additional request options.
  2063  //
  2064  // See GetApplication for details on how to use this API operation.
  2065  //
  2066  // The context must be non-nil and will be used for request cancellation. If
  2067  // the context is nil a panic will occur. In the future the SDK may create
  2068  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2069  // for more information on using Contexts.
  2070  func (c *CodeDeploy) GetApplicationWithContext(ctx aws.Context, input *GetApplicationInput, opts ...request.Option) (*GetApplicationOutput, error) {
  2071  	req, out := c.GetApplicationRequest(input)
  2072  	req.SetContext(ctx)
  2073  	req.ApplyOptions(opts...)
  2074  	return out, req.Send()
  2075  }
  2076  
  2077  const opGetApplicationRevision = "GetApplicationRevision"
  2078  
  2079  // GetApplicationRevisionRequest generates a "aws/request.Request" representing the
  2080  // client's request for the GetApplicationRevision operation. The "output" return
  2081  // value will be populated with the request's response once the request completes
  2082  // successfully.
  2083  //
  2084  // Use "Send" method on the returned Request to send the API call to the service.
  2085  // the "output" return value is not valid until after Send returns without error.
  2086  //
  2087  // See GetApplicationRevision for more information on using the GetApplicationRevision
  2088  // API call, and error handling.
  2089  //
  2090  // This method is useful when you want to inject custom logic or configuration
  2091  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2092  //
  2093  //
  2094  //    // Example sending a request using the GetApplicationRevisionRequest method.
  2095  //    req, resp := client.GetApplicationRevisionRequest(params)
  2096  //
  2097  //    err := req.Send()
  2098  //    if err == nil { // resp is now filled
  2099  //        fmt.Println(resp)
  2100  //    }
  2101  //
  2102  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationRevision
  2103  func (c *CodeDeploy) GetApplicationRevisionRequest(input *GetApplicationRevisionInput) (req *request.Request, output *GetApplicationRevisionOutput) {
  2104  	op := &request.Operation{
  2105  		Name:       opGetApplicationRevision,
  2106  		HTTPMethod: "POST",
  2107  		HTTPPath:   "/",
  2108  	}
  2109  
  2110  	if input == nil {
  2111  		input = &GetApplicationRevisionInput{}
  2112  	}
  2113  
  2114  	output = &GetApplicationRevisionOutput{}
  2115  	req = c.newRequest(op, input, output)
  2116  	return
  2117  }
  2118  
  2119  // GetApplicationRevision API operation for AWS CodeDeploy.
  2120  //
  2121  // Gets information about an application revision.
  2122  //
  2123  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2124  // with awserr.Error's Code and Message methods to get detailed information about
  2125  // the error.
  2126  //
  2127  // See the AWS API reference guide for AWS CodeDeploy's
  2128  // API operation GetApplicationRevision for usage and error information.
  2129  //
  2130  // Returned Error Types:
  2131  //   * ApplicationDoesNotExistException
  2132  //   The application does not exist with the IAM user or AWS account.
  2133  //
  2134  //   * ApplicationNameRequiredException
  2135  //   The minimum number of required application names was not specified.
  2136  //
  2137  //   * InvalidApplicationNameException
  2138  //   The application name was specified in an invalid format.
  2139  //
  2140  //   * RevisionDoesNotExistException
  2141  //   The named revision does not exist with the IAM user or AWS account.
  2142  //
  2143  //   * RevisionRequiredException
  2144  //   The revision ID was not specified.
  2145  //
  2146  //   * InvalidRevisionException
  2147  //   The revision was specified in an invalid format.
  2148  //
  2149  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationRevision
  2150  func (c *CodeDeploy) GetApplicationRevision(input *GetApplicationRevisionInput) (*GetApplicationRevisionOutput, error) {
  2151  	req, out := c.GetApplicationRevisionRequest(input)
  2152  	return out, req.Send()
  2153  }
  2154  
  2155  // GetApplicationRevisionWithContext is the same as GetApplicationRevision with the addition of
  2156  // the ability to pass a context and additional request options.
  2157  //
  2158  // See GetApplicationRevision for details on how to use this API operation.
  2159  //
  2160  // The context must be non-nil and will be used for request cancellation. If
  2161  // the context is nil a panic will occur. In the future the SDK may create
  2162  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2163  // for more information on using Contexts.
  2164  func (c *CodeDeploy) GetApplicationRevisionWithContext(ctx aws.Context, input *GetApplicationRevisionInput, opts ...request.Option) (*GetApplicationRevisionOutput, error) {
  2165  	req, out := c.GetApplicationRevisionRequest(input)
  2166  	req.SetContext(ctx)
  2167  	req.ApplyOptions(opts...)
  2168  	return out, req.Send()
  2169  }
  2170  
  2171  const opGetDeployment = "GetDeployment"
  2172  
  2173  // GetDeploymentRequest generates a "aws/request.Request" representing the
  2174  // client's request for the GetDeployment operation. The "output" return
  2175  // value will be populated with the request's response once the request completes
  2176  // successfully.
  2177  //
  2178  // Use "Send" method on the returned Request to send the API call to the service.
  2179  // the "output" return value is not valid until after Send returns without error.
  2180  //
  2181  // See GetDeployment for more information on using the GetDeployment
  2182  // API call, and error handling.
  2183  //
  2184  // This method is useful when you want to inject custom logic or configuration
  2185  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2186  //
  2187  //
  2188  //    // Example sending a request using the GetDeploymentRequest method.
  2189  //    req, resp := client.GetDeploymentRequest(params)
  2190  //
  2191  //    err := req.Send()
  2192  //    if err == nil { // resp is now filled
  2193  //        fmt.Println(resp)
  2194  //    }
  2195  //
  2196  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeployment
  2197  func (c *CodeDeploy) GetDeploymentRequest(input *GetDeploymentInput) (req *request.Request, output *GetDeploymentOutput) {
  2198  	op := &request.Operation{
  2199  		Name:       opGetDeployment,
  2200  		HTTPMethod: "POST",
  2201  		HTTPPath:   "/",
  2202  	}
  2203  
  2204  	if input == nil {
  2205  		input = &GetDeploymentInput{}
  2206  	}
  2207  
  2208  	output = &GetDeploymentOutput{}
  2209  	req = c.newRequest(op, input, output)
  2210  	return
  2211  }
  2212  
  2213  // GetDeployment API operation for AWS CodeDeploy.
  2214  //
  2215  // Gets information about a deployment.
  2216  //
  2217  // The content property of the appSpecContent object in the returned revision
  2218  // is always null. Use GetApplicationRevision and the sha256 property of the
  2219  // returned appSpecContent object to get the content of the deployment’s AppSpec
  2220  // file.
  2221  //
  2222  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2223  // with awserr.Error's Code and Message methods to get detailed information about
  2224  // the error.
  2225  //
  2226  // See the AWS API reference guide for AWS CodeDeploy's
  2227  // API operation GetDeployment for usage and error information.
  2228  //
  2229  // Returned Error Types:
  2230  //   * DeploymentIdRequiredException
  2231  //   At least one deployment ID must be specified.
  2232  //
  2233  //   * InvalidDeploymentIdException
  2234  //   At least one of the deployment IDs was specified in an invalid format.
  2235  //
  2236  //   * DeploymentDoesNotExistException
  2237  //   The deployment with the IAM user or AWS account does not exist.
  2238  //
  2239  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeployment
  2240  func (c *CodeDeploy) GetDeployment(input *GetDeploymentInput) (*GetDeploymentOutput, error) {
  2241  	req, out := c.GetDeploymentRequest(input)
  2242  	return out, req.Send()
  2243  }
  2244  
  2245  // GetDeploymentWithContext is the same as GetDeployment with the addition of
  2246  // the ability to pass a context and additional request options.
  2247  //
  2248  // See GetDeployment for details on how to use this API operation.
  2249  //
  2250  // The context must be non-nil and will be used for request cancellation. If
  2251  // the context is nil a panic will occur. In the future the SDK may create
  2252  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2253  // for more information on using Contexts.
  2254  func (c *CodeDeploy) GetDeploymentWithContext(ctx aws.Context, input *GetDeploymentInput, opts ...request.Option) (*GetDeploymentOutput, error) {
  2255  	req, out := c.GetDeploymentRequest(input)
  2256  	req.SetContext(ctx)
  2257  	req.ApplyOptions(opts...)
  2258  	return out, req.Send()
  2259  }
  2260  
  2261  const opGetDeploymentConfig = "GetDeploymentConfig"
  2262  
  2263  // GetDeploymentConfigRequest generates a "aws/request.Request" representing the
  2264  // client's request for the GetDeploymentConfig operation. The "output" return
  2265  // value will be populated with the request's response once the request completes
  2266  // successfully.
  2267  //
  2268  // Use "Send" method on the returned Request to send the API call to the service.
  2269  // the "output" return value is not valid until after Send returns without error.
  2270  //
  2271  // See GetDeploymentConfig for more information on using the GetDeploymentConfig
  2272  // API call, and error handling.
  2273  //
  2274  // This method is useful when you want to inject custom logic or configuration
  2275  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2276  //
  2277  //
  2278  //    // Example sending a request using the GetDeploymentConfigRequest method.
  2279  //    req, resp := client.GetDeploymentConfigRequest(params)
  2280  //
  2281  //    err := req.Send()
  2282  //    if err == nil { // resp is now filled
  2283  //        fmt.Println(resp)
  2284  //    }
  2285  //
  2286  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentConfig
  2287  func (c *CodeDeploy) GetDeploymentConfigRequest(input *GetDeploymentConfigInput) (req *request.Request, output *GetDeploymentConfigOutput) {
  2288  	op := &request.Operation{
  2289  		Name:       opGetDeploymentConfig,
  2290  		HTTPMethod: "POST",
  2291  		HTTPPath:   "/",
  2292  	}
  2293  
  2294  	if input == nil {
  2295  		input = &GetDeploymentConfigInput{}
  2296  	}
  2297  
  2298  	output = &GetDeploymentConfigOutput{}
  2299  	req = c.newRequest(op, input, output)
  2300  	return
  2301  }
  2302  
  2303  // GetDeploymentConfig API operation for AWS CodeDeploy.
  2304  //
  2305  // Gets information about a deployment configuration.
  2306  //
  2307  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2308  // with awserr.Error's Code and Message methods to get detailed information about
  2309  // the error.
  2310  //
  2311  // See the AWS API reference guide for AWS CodeDeploy's
  2312  // API operation GetDeploymentConfig for usage and error information.
  2313  //
  2314  // Returned Error Types:
  2315  //   * InvalidDeploymentConfigNameException
  2316  //   The deployment configuration name was specified in an invalid format.
  2317  //
  2318  //   * DeploymentConfigNameRequiredException
  2319  //   The deployment configuration name was not specified.
  2320  //
  2321  //   * DeploymentConfigDoesNotExistException
  2322  //   The deployment configuration does not exist with the IAM user or AWS account.
  2323  //
  2324  //   * InvalidComputePlatformException
  2325  //   The computePlatform is invalid. The computePlatform should be Lambda, Server,
  2326  //   or ECS.
  2327  //
  2328  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentConfig
  2329  func (c *CodeDeploy) GetDeploymentConfig(input *GetDeploymentConfigInput) (*GetDeploymentConfigOutput, error) {
  2330  	req, out := c.GetDeploymentConfigRequest(input)
  2331  	return out, req.Send()
  2332  }
  2333  
  2334  // GetDeploymentConfigWithContext is the same as GetDeploymentConfig with the addition of
  2335  // the ability to pass a context and additional request options.
  2336  //
  2337  // See GetDeploymentConfig for details on how to use this API operation.
  2338  //
  2339  // The context must be non-nil and will be used for request cancellation. If
  2340  // the context is nil a panic will occur. In the future the SDK may create
  2341  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2342  // for more information on using Contexts.
  2343  func (c *CodeDeploy) GetDeploymentConfigWithContext(ctx aws.Context, input *GetDeploymentConfigInput, opts ...request.Option) (*GetDeploymentConfigOutput, error) {
  2344  	req, out := c.GetDeploymentConfigRequest(input)
  2345  	req.SetContext(ctx)
  2346  	req.ApplyOptions(opts...)
  2347  	return out, req.Send()
  2348  }
  2349  
  2350  const opGetDeploymentGroup = "GetDeploymentGroup"
  2351  
  2352  // GetDeploymentGroupRequest generates a "aws/request.Request" representing the
  2353  // client's request for the GetDeploymentGroup operation. The "output" return
  2354  // value will be populated with the request's response once the request completes
  2355  // successfully.
  2356  //
  2357  // Use "Send" method on the returned Request to send the API call to the service.
  2358  // the "output" return value is not valid until after Send returns without error.
  2359  //
  2360  // See GetDeploymentGroup for more information on using the GetDeploymentGroup
  2361  // API call, and error handling.
  2362  //
  2363  // This method is useful when you want to inject custom logic or configuration
  2364  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2365  //
  2366  //
  2367  //    // Example sending a request using the GetDeploymentGroupRequest method.
  2368  //    req, resp := client.GetDeploymentGroupRequest(params)
  2369  //
  2370  //    err := req.Send()
  2371  //    if err == nil { // resp is now filled
  2372  //        fmt.Println(resp)
  2373  //    }
  2374  //
  2375  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentGroup
  2376  func (c *CodeDeploy) GetDeploymentGroupRequest(input *GetDeploymentGroupInput) (req *request.Request, output *GetDeploymentGroupOutput) {
  2377  	op := &request.Operation{
  2378  		Name:       opGetDeploymentGroup,
  2379  		HTTPMethod: "POST",
  2380  		HTTPPath:   "/",
  2381  	}
  2382  
  2383  	if input == nil {
  2384  		input = &GetDeploymentGroupInput{}
  2385  	}
  2386  
  2387  	output = &GetDeploymentGroupOutput{}
  2388  	req = c.newRequest(op, input, output)
  2389  	return
  2390  }
  2391  
  2392  // GetDeploymentGroup API operation for AWS CodeDeploy.
  2393  //
  2394  // Gets information about a deployment group.
  2395  //
  2396  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2397  // with awserr.Error's Code and Message methods to get detailed information about
  2398  // the error.
  2399  //
  2400  // See the AWS API reference guide for AWS CodeDeploy's
  2401  // API operation GetDeploymentGroup for usage and error information.
  2402  //
  2403  // Returned Error Types:
  2404  //   * ApplicationNameRequiredException
  2405  //   The minimum number of required application names was not specified.
  2406  //
  2407  //   * InvalidApplicationNameException
  2408  //   The application name was specified in an invalid format.
  2409  //
  2410  //   * ApplicationDoesNotExistException
  2411  //   The application does not exist with the IAM user or AWS account.
  2412  //
  2413  //   * DeploymentGroupNameRequiredException
  2414  //   The deployment group name was not specified.
  2415  //
  2416  //   * InvalidDeploymentGroupNameException
  2417  //   The deployment group name was specified in an invalid format.
  2418  //
  2419  //   * DeploymentGroupDoesNotExistException
  2420  //   The named deployment group with the IAM user or AWS account does not exist.
  2421  //
  2422  //   * DeploymentConfigDoesNotExistException
  2423  //   The deployment configuration does not exist with the IAM user or AWS account.
  2424  //
  2425  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentGroup
  2426  func (c *CodeDeploy) GetDeploymentGroup(input *GetDeploymentGroupInput) (*GetDeploymentGroupOutput, error) {
  2427  	req, out := c.GetDeploymentGroupRequest(input)
  2428  	return out, req.Send()
  2429  }
  2430  
  2431  // GetDeploymentGroupWithContext is the same as GetDeploymentGroup with the addition of
  2432  // the ability to pass a context and additional request options.
  2433  //
  2434  // See GetDeploymentGroup for details on how to use this API operation.
  2435  //
  2436  // The context must be non-nil and will be used for request cancellation. If
  2437  // the context is nil a panic will occur. In the future the SDK may create
  2438  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2439  // for more information on using Contexts.
  2440  func (c *CodeDeploy) GetDeploymentGroupWithContext(ctx aws.Context, input *GetDeploymentGroupInput, opts ...request.Option) (*GetDeploymentGroupOutput, error) {
  2441  	req, out := c.GetDeploymentGroupRequest(input)
  2442  	req.SetContext(ctx)
  2443  	req.ApplyOptions(opts...)
  2444  	return out, req.Send()
  2445  }
  2446  
  2447  const opGetDeploymentInstance = "GetDeploymentInstance"
  2448  
  2449  // GetDeploymentInstanceRequest generates a "aws/request.Request" representing the
  2450  // client's request for the GetDeploymentInstance operation. The "output" return
  2451  // value will be populated with the request's response once the request completes
  2452  // successfully.
  2453  //
  2454  // Use "Send" method on the returned Request to send the API call to the service.
  2455  // the "output" return value is not valid until after Send returns without error.
  2456  //
  2457  // See GetDeploymentInstance for more information on using the GetDeploymentInstance
  2458  // API call, and error handling.
  2459  //
  2460  // This method is useful when you want to inject custom logic or configuration
  2461  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2462  //
  2463  //
  2464  //    // Example sending a request using the GetDeploymentInstanceRequest method.
  2465  //    req, resp := client.GetDeploymentInstanceRequest(params)
  2466  //
  2467  //    err := req.Send()
  2468  //    if err == nil { // resp is now filled
  2469  //        fmt.Println(resp)
  2470  //    }
  2471  //
  2472  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentInstance
  2473  //
  2474  // Deprecated: This operation is deprecated, use GetDeploymentTarget instead.
  2475  func (c *CodeDeploy) GetDeploymentInstanceRequest(input *GetDeploymentInstanceInput) (req *request.Request, output *GetDeploymentInstanceOutput) {
  2476  	if c.Client.Config.Logger != nil {
  2477  		c.Client.Config.Logger.Log("This operation, GetDeploymentInstance, has been deprecated")
  2478  	}
  2479  	op := &request.Operation{
  2480  		Name:       opGetDeploymentInstance,
  2481  		HTTPMethod: "POST",
  2482  		HTTPPath:   "/",
  2483  	}
  2484  
  2485  	if input == nil {
  2486  		input = &GetDeploymentInstanceInput{}
  2487  	}
  2488  
  2489  	output = &GetDeploymentInstanceOutput{}
  2490  	req = c.newRequest(op, input, output)
  2491  	return
  2492  }
  2493  
  2494  // GetDeploymentInstance API operation for AWS CodeDeploy.
  2495  //
  2496  // Gets information about an instance as part of a deployment.
  2497  //
  2498  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2499  // with awserr.Error's Code and Message methods to get detailed information about
  2500  // the error.
  2501  //
  2502  // See the AWS API reference guide for AWS CodeDeploy's
  2503  // API operation GetDeploymentInstance for usage and error information.
  2504  //
  2505  // Returned Error Types:
  2506  //   * DeploymentIdRequiredException
  2507  //   At least one deployment ID must be specified.
  2508  //
  2509  //   * DeploymentDoesNotExistException
  2510  //   The deployment with the IAM user or AWS account does not exist.
  2511  //
  2512  //   * InstanceIdRequiredException
  2513  //   The instance ID was not specified.
  2514  //
  2515  //   * InvalidDeploymentIdException
  2516  //   At least one of the deployment IDs was specified in an invalid format.
  2517  //
  2518  //   * InstanceDoesNotExistException
  2519  //   The specified instance does not exist in the deployment group.
  2520  //
  2521  //   * InvalidInstanceNameException
  2522  //   The on-premises instance name was specified in an invalid format.
  2523  //
  2524  //   * InvalidComputePlatformException
  2525  //   The computePlatform is invalid. The computePlatform should be Lambda, Server,
  2526  //   or ECS.
  2527  //
  2528  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentInstance
  2529  //
  2530  // Deprecated: This operation is deprecated, use GetDeploymentTarget instead.
  2531  func (c *CodeDeploy) GetDeploymentInstance(input *GetDeploymentInstanceInput) (*GetDeploymentInstanceOutput, error) {
  2532  	req, out := c.GetDeploymentInstanceRequest(input)
  2533  	return out, req.Send()
  2534  }
  2535  
  2536  // GetDeploymentInstanceWithContext is the same as GetDeploymentInstance with the addition of
  2537  // the ability to pass a context and additional request options.
  2538  //
  2539  // See GetDeploymentInstance for details on how to use this API operation.
  2540  //
  2541  // The context must be non-nil and will be used for request cancellation. If
  2542  // the context is nil a panic will occur. In the future the SDK may create
  2543  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2544  // for more information on using Contexts.
  2545  //
  2546  // Deprecated: This operation is deprecated, use GetDeploymentTarget instead.
  2547  func (c *CodeDeploy) GetDeploymentInstanceWithContext(ctx aws.Context, input *GetDeploymentInstanceInput, opts ...request.Option) (*GetDeploymentInstanceOutput, error) {
  2548  	req, out := c.GetDeploymentInstanceRequest(input)
  2549  	req.SetContext(ctx)
  2550  	req.ApplyOptions(opts...)
  2551  	return out, req.Send()
  2552  }
  2553  
  2554  const opGetDeploymentTarget = "GetDeploymentTarget"
  2555  
  2556  // GetDeploymentTargetRequest generates a "aws/request.Request" representing the
  2557  // client's request for the GetDeploymentTarget operation. The "output" return
  2558  // value will be populated with the request's response once the request completes
  2559  // successfully.
  2560  //
  2561  // Use "Send" method on the returned Request to send the API call to the service.
  2562  // the "output" return value is not valid until after Send returns without error.
  2563  //
  2564  // See GetDeploymentTarget for more information on using the GetDeploymentTarget
  2565  // API call, and error handling.
  2566  //
  2567  // This method is useful when you want to inject custom logic or configuration
  2568  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2569  //
  2570  //
  2571  //    // Example sending a request using the GetDeploymentTargetRequest method.
  2572  //    req, resp := client.GetDeploymentTargetRequest(params)
  2573  //
  2574  //    err := req.Send()
  2575  //    if err == nil { // resp is now filled
  2576  //        fmt.Println(resp)
  2577  //    }
  2578  //
  2579  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentTarget
  2580  func (c *CodeDeploy) GetDeploymentTargetRequest(input *GetDeploymentTargetInput) (req *request.Request, output *GetDeploymentTargetOutput) {
  2581  	op := &request.Operation{
  2582  		Name:       opGetDeploymentTarget,
  2583  		HTTPMethod: "POST",
  2584  		HTTPPath:   "/",
  2585  	}
  2586  
  2587  	if input == nil {
  2588  		input = &GetDeploymentTargetInput{}
  2589  	}
  2590  
  2591  	output = &GetDeploymentTargetOutput{}
  2592  	req = c.newRequest(op, input, output)
  2593  	return
  2594  }
  2595  
  2596  // GetDeploymentTarget API operation for AWS CodeDeploy.
  2597  //
  2598  // Returns information about a deployment target.
  2599  //
  2600  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2601  // with awserr.Error's Code and Message methods to get detailed information about
  2602  // the error.
  2603  //
  2604  // See the AWS API reference guide for AWS CodeDeploy's
  2605  // API operation GetDeploymentTarget for usage and error information.
  2606  //
  2607  // Returned Error Types:
  2608  //   * InvalidDeploymentIdException
  2609  //   At least one of the deployment IDs was specified in an invalid format.
  2610  //
  2611  //   * DeploymentIdRequiredException
  2612  //   At least one deployment ID must be specified.
  2613  //
  2614  //   * DeploymentDoesNotExistException
  2615  //   The deployment with the IAM user or AWS account does not exist.
  2616  //
  2617  //   * DeploymentNotStartedException
  2618  //   The specified deployment has not started.
  2619  //
  2620  //   * DeploymentTargetIdRequiredException
  2621  //   A deployment target ID was not provided.
  2622  //
  2623  //   * InvalidDeploymentTargetIdException
  2624  //   The target ID provided was not valid.
  2625  //
  2626  //   * DeploymentTargetDoesNotExistException
  2627  //   The provided target ID does not belong to the attempted deployment.
  2628  //
  2629  //   * InvalidInstanceNameException
  2630  //   The on-premises instance name was specified in an invalid format.
  2631  //
  2632  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentTarget
  2633  func (c *CodeDeploy) GetDeploymentTarget(input *GetDeploymentTargetInput) (*GetDeploymentTargetOutput, error) {
  2634  	req, out := c.GetDeploymentTargetRequest(input)
  2635  	return out, req.Send()
  2636  }
  2637  
  2638  // GetDeploymentTargetWithContext is the same as GetDeploymentTarget with the addition of
  2639  // the ability to pass a context and additional request options.
  2640  //
  2641  // See GetDeploymentTarget for details on how to use this API operation.
  2642  //
  2643  // The context must be non-nil and will be used for request cancellation. If
  2644  // the context is nil a panic will occur. In the future the SDK may create
  2645  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2646  // for more information on using Contexts.
  2647  func (c *CodeDeploy) GetDeploymentTargetWithContext(ctx aws.Context, input *GetDeploymentTargetInput, opts ...request.Option) (*GetDeploymentTargetOutput, error) {
  2648  	req, out := c.GetDeploymentTargetRequest(input)
  2649  	req.SetContext(ctx)
  2650  	req.ApplyOptions(opts...)
  2651  	return out, req.Send()
  2652  }
  2653  
  2654  const opGetOnPremisesInstance = "GetOnPremisesInstance"
  2655  
  2656  // GetOnPremisesInstanceRequest generates a "aws/request.Request" representing the
  2657  // client's request for the GetOnPremisesInstance operation. The "output" return
  2658  // value will be populated with the request's response once the request completes
  2659  // successfully.
  2660  //
  2661  // Use "Send" method on the returned Request to send the API call to the service.
  2662  // the "output" return value is not valid until after Send returns without error.
  2663  //
  2664  // See GetOnPremisesInstance for more information on using the GetOnPremisesInstance
  2665  // API call, and error handling.
  2666  //
  2667  // This method is useful when you want to inject custom logic or configuration
  2668  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2669  //
  2670  //
  2671  //    // Example sending a request using the GetOnPremisesInstanceRequest method.
  2672  //    req, resp := client.GetOnPremisesInstanceRequest(params)
  2673  //
  2674  //    err := req.Send()
  2675  //    if err == nil { // resp is now filled
  2676  //        fmt.Println(resp)
  2677  //    }
  2678  //
  2679  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetOnPremisesInstance
  2680  func (c *CodeDeploy) GetOnPremisesInstanceRequest(input *GetOnPremisesInstanceInput) (req *request.Request, output *GetOnPremisesInstanceOutput) {
  2681  	op := &request.Operation{
  2682  		Name:       opGetOnPremisesInstance,
  2683  		HTTPMethod: "POST",
  2684  		HTTPPath:   "/",
  2685  	}
  2686  
  2687  	if input == nil {
  2688  		input = &GetOnPremisesInstanceInput{}
  2689  	}
  2690  
  2691  	output = &GetOnPremisesInstanceOutput{}
  2692  	req = c.newRequest(op, input, output)
  2693  	return
  2694  }
  2695  
  2696  // GetOnPremisesInstance API operation for AWS CodeDeploy.
  2697  //
  2698  // Gets information about an on-premises instance.
  2699  //
  2700  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2701  // with awserr.Error's Code and Message methods to get detailed information about
  2702  // the error.
  2703  //
  2704  // See the AWS API reference guide for AWS CodeDeploy's
  2705  // API operation GetOnPremisesInstance for usage and error information.
  2706  //
  2707  // Returned Error Types:
  2708  //   * InstanceNameRequiredException
  2709  //   An on-premises instance name was not specified.
  2710  //
  2711  //   * InstanceNotRegisteredException
  2712  //   The specified on-premises instance is not registered.
  2713  //
  2714  //   * InvalidInstanceNameException
  2715  //   The on-premises instance name was specified in an invalid format.
  2716  //
  2717  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetOnPremisesInstance
  2718  func (c *CodeDeploy) GetOnPremisesInstance(input *GetOnPremisesInstanceInput) (*GetOnPremisesInstanceOutput, error) {
  2719  	req, out := c.GetOnPremisesInstanceRequest(input)
  2720  	return out, req.Send()
  2721  }
  2722  
  2723  // GetOnPremisesInstanceWithContext is the same as GetOnPremisesInstance with the addition of
  2724  // the ability to pass a context and additional request options.
  2725  //
  2726  // See GetOnPremisesInstance for details on how to use this API operation.
  2727  //
  2728  // The context must be non-nil and will be used for request cancellation. If
  2729  // the context is nil a panic will occur. In the future the SDK may create
  2730  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2731  // for more information on using Contexts.
  2732  func (c *CodeDeploy) GetOnPremisesInstanceWithContext(ctx aws.Context, input *GetOnPremisesInstanceInput, opts ...request.Option) (*GetOnPremisesInstanceOutput, error) {
  2733  	req, out := c.GetOnPremisesInstanceRequest(input)
  2734  	req.SetContext(ctx)
  2735  	req.ApplyOptions(opts...)
  2736  	return out, req.Send()
  2737  }
  2738  
  2739  const opListApplicationRevisions = "ListApplicationRevisions"
  2740  
  2741  // ListApplicationRevisionsRequest generates a "aws/request.Request" representing the
  2742  // client's request for the ListApplicationRevisions operation. The "output" return
  2743  // value will be populated with the request's response once the request completes
  2744  // successfully.
  2745  //
  2746  // Use "Send" method on the returned Request to send the API call to the service.
  2747  // the "output" return value is not valid until after Send returns without error.
  2748  //
  2749  // See ListApplicationRevisions for more information on using the ListApplicationRevisions
  2750  // API call, and error handling.
  2751  //
  2752  // This method is useful when you want to inject custom logic or configuration
  2753  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2754  //
  2755  //
  2756  //    // Example sending a request using the ListApplicationRevisionsRequest method.
  2757  //    req, resp := client.ListApplicationRevisionsRequest(params)
  2758  //
  2759  //    err := req.Send()
  2760  //    if err == nil { // resp is now filled
  2761  //        fmt.Println(resp)
  2762  //    }
  2763  //
  2764  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationRevisions
  2765  func (c *CodeDeploy) ListApplicationRevisionsRequest(input *ListApplicationRevisionsInput) (req *request.Request, output *ListApplicationRevisionsOutput) {
  2766  	op := &request.Operation{
  2767  		Name:       opListApplicationRevisions,
  2768  		HTTPMethod: "POST",
  2769  		HTTPPath:   "/",
  2770  		Paginator: &request.Paginator{
  2771  			InputTokens:     []string{"nextToken"},
  2772  			OutputTokens:    []string{"nextToken"},
  2773  			LimitToken:      "",
  2774  			TruncationToken: "",
  2775  		},
  2776  	}
  2777  
  2778  	if input == nil {
  2779  		input = &ListApplicationRevisionsInput{}
  2780  	}
  2781  
  2782  	output = &ListApplicationRevisionsOutput{}
  2783  	req = c.newRequest(op, input, output)
  2784  	return
  2785  }
  2786  
  2787  // ListApplicationRevisions API operation for AWS CodeDeploy.
  2788  //
  2789  // Lists information about revisions for an application.
  2790  //
  2791  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2792  // with awserr.Error's Code and Message methods to get detailed information about
  2793  // the error.
  2794  //
  2795  // See the AWS API reference guide for AWS CodeDeploy's
  2796  // API operation ListApplicationRevisions for usage and error information.
  2797  //
  2798  // Returned Error Types:
  2799  //   * ApplicationDoesNotExistException
  2800  //   The application does not exist with the IAM user or AWS account.
  2801  //
  2802  //   * ApplicationNameRequiredException
  2803  //   The minimum number of required application names was not specified.
  2804  //
  2805  //   * InvalidApplicationNameException
  2806  //   The application name was specified in an invalid format.
  2807  //
  2808  //   * InvalidSortByException
  2809  //   The column name to sort by is either not present or was specified in an invalid
  2810  //   format.
  2811  //
  2812  //   * InvalidSortOrderException
  2813  //   The sort order was specified in an invalid format.
  2814  //
  2815  //   * InvalidBucketNameFilterException
  2816  //   The bucket name either doesn't exist or was specified in an invalid format.
  2817  //
  2818  //   * InvalidKeyPrefixFilterException
  2819  //   The specified key prefix filter was specified in an invalid format.
  2820  //
  2821  //   * BucketNameFilterRequiredException
  2822  //   A bucket name is required, but was not provided.
  2823  //
  2824  //   * InvalidDeployedStateFilterException
  2825  //   The deployed state filter was specified in an invalid format.
  2826  //
  2827  //   * InvalidNextTokenException
  2828  //   The next token was specified in an invalid format.
  2829  //
  2830  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationRevisions
  2831  func (c *CodeDeploy) ListApplicationRevisions(input *ListApplicationRevisionsInput) (*ListApplicationRevisionsOutput, error) {
  2832  	req, out := c.ListApplicationRevisionsRequest(input)
  2833  	return out, req.Send()
  2834  }
  2835  
  2836  // ListApplicationRevisionsWithContext is the same as ListApplicationRevisions with the addition of
  2837  // the ability to pass a context and additional request options.
  2838  //
  2839  // See ListApplicationRevisions for details on how to use this API operation.
  2840  //
  2841  // The context must be non-nil and will be used for request cancellation. If
  2842  // the context is nil a panic will occur. In the future the SDK may create
  2843  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2844  // for more information on using Contexts.
  2845  func (c *CodeDeploy) ListApplicationRevisionsWithContext(ctx aws.Context, input *ListApplicationRevisionsInput, opts ...request.Option) (*ListApplicationRevisionsOutput, error) {
  2846  	req, out := c.ListApplicationRevisionsRequest(input)
  2847  	req.SetContext(ctx)
  2848  	req.ApplyOptions(opts...)
  2849  	return out, req.Send()
  2850  }
  2851  
  2852  // ListApplicationRevisionsPages iterates over the pages of a ListApplicationRevisions operation,
  2853  // calling the "fn" function with the response data for each page. To stop
  2854  // iterating, return false from the fn function.
  2855  //
  2856  // See ListApplicationRevisions method for more information on how to use this operation.
  2857  //
  2858  // Note: This operation can generate multiple requests to a service.
  2859  //
  2860  //    // Example iterating over at most 3 pages of a ListApplicationRevisions operation.
  2861  //    pageNum := 0
  2862  //    err := client.ListApplicationRevisionsPages(params,
  2863  //        func(page *codedeploy.ListApplicationRevisionsOutput, lastPage bool) bool {
  2864  //            pageNum++
  2865  //            fmt.Println(page)
  2866  //            return pageNum <= 3
  2867  //        })
  2868  //
  2869  func (c *CodeDeploy) ListApplicationRevisionsPages(input *ListApplicationRevisionsInput, fn func(*ListApplicationRevisionsOutput, bool) bool) error {
  2870  	return c.ListApplicationRevisionsPagesWithContext(aws.BackgroundContext(), input, fn)
  2871  }
  2872  
  2873  // ListApplicationRevisionsPagesWithContext same as ListApplicationRevisionsPages except
  2874  // it takes a Context and allows setting request options on the pages.
  2875  //
  2876  // The context must be non-nil and will be used for request cancellation. If
  2877  // the context is nil a panic will occur. In the future the SDK may create
  2878  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2879  // for more information on using Contexts.
  2880  func (c *CodeDeploy) ListApplicationRevisionsPagesWithContext(ctx aws.Context, input *ListApplicationRevisionsInput, fn func(*ListApplicationRevisionsOutput, bool) bool, opts ...request.Option) error {
  2881  	p := request.Pagination{
  2882  		NewRequest: func() (*request.Request, error) {
  2883  			var inCpy *ListApplicationRevisionsInput
  2884  			if input != nil {
  2885  				tmp := *input
  2886  				inCpy = &tmp
  2887  			}
  2888  			req, _ := c.ListApplicationRevisionsRequest(inCpy)
  2889  			req.SetContext(ctx)
  2890  			req.ApplyOptions(opts...)
  2891  			return req, nil
  2892  		},
  2893  	}
  2894  
  2895  	for p.Next() {
  2896  		if !fn(p.Page().(*ListApplicationRevisionsOutput), !p.HasNextPage()) {
  2897  			break
  2898  		}
  2899  	}
  2900  
  2901  	return p.Err()
  2902  }
  2903  
  2904  const opListApplications = "ListApplications"
  2905  
  2906  // ListApplicationsRequest generates a "aws/request.Request" representing the
  2907  // client's request for the ListApplications operation. The "output" return
  2908  // value will be populated with the request's response once the request completes
  2909  // successfully.
  2910  //
  2911  // Use "Send" method on the returned Request to send the API call to the service.
  2912  // the "output" return value is not valid until after Send returns without error.
  2913  //
  2914  // See ListApplications for more information on using the ListApplications
  2915  // API call, and error handling.
  2916  //
  2917  // This method is useful when you want to inject custom logic or configuration
  2918  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2919  //
  2920  //
  2921  //    // Example sending a request using the ListApplicationsRequest method.
  2922  //    req, resp := client.ListApplicationsRequest(params)
  2923  //
  2924  //    err := req.Send()
  2925  //    if err == nil { // resp is now filled
  2926  //        fmt.Println(resp)
  2927  //    }
  2928  //
  2929  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplications
  2930  func (c *CodeDeploy) ListApplicationsRequest(input *ListApplicationsInput) (req *request.Request, output *ListApplicationsOutput) {
  2931  	op := &request.Operation{
  2932  		Name:       opListApplications,
  2933  		HTTPMethod: "POST",
  2934  		HTTPPath:   "/",
  2935  		Paginator: &request.Paginator{
  2936  			InputTokens:     []string{"nextToken"},
  2937  			OutputTokens:    []string{"nextToken"},
  2938  			LimitToken:      "",
  2939  			TruncationToken: "",
  2940  		},
  2941  	}
  2942  
  2943  	if input == nil {
  2944  		input = &ListApplicationsInput{}
  2945  	}
  2946  
  2947  	output = &ListApplicationsOutput{}
  2948  	req = c.newRequest(op, input, output)
  2949  	return
  2950  }
  2951  
  2952  // ListApplications API operation for AWS CodeDeploy.
  2953  //
  2954  // Lists the applications registered with the IAM user or AWS account.
  2955  //
  2956  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2957  // with awserr.Error's Code and Message methods to get detailed information about
  2958  // the error.
  2959  //
  2960  // See the AWS API reference guide for AWS CodeDeploy's
  2961  // API operation ListApplications for usage and error information.
  2962  //
  2963  // Returned Error Types:
  2964  //   * InvalidNextTokenException
  2965  //   The next token was specified in an invalid format.
  2966  //
  2967  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplications
  2968  func (c *CodeDeploy) ListApplications(input *ListApplicationsInput) (*ListApplicationsOutput, error) {
  2969  	req, out := c.ListApplicationsRequest(input)
  2970  	return out, req.Send()
  2971  }
  2972  
  2973  // ListApplicationsWithContext is the same as ListApplications with the addition of
  2974  // the ability to pass a context and additional request options.
  2975  //
  2976  // See ListApplications for details on how to use this API operation.
  2977  //
  2978  // The context must be non-nil and will be used for request cancellation. If
  2979  // the context is nil a panic will occur. In the future the SDK may create
  2980  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2981  // for more information on using Contexts.
  2982  func (c *CodeDeploy) ListApplicationsWithContext(ctx aws.Context, input *ListApplicationsInput, opts ...request.Option) (*ListApplicationsOutput, error) {
  2983  	req, out := c.ListApplicationsRequest(input)
  2984  	req.SetContext(ctx)
  2985  	req.ApplyOptions(opts...)
  2986  	return out, req.Send()
  2987  }
  2988  
  2989  // ListApplicationsPages iterates over the pages of a ListApplications operation,
  2990  // calling the "fn" function with the response data for each page. To stop
  2991  // iterating, return false from the fn function.
  2992  //
  2993  // See ListApplications method for more information on how to use this operation.
  2994  //
  2995  // Note: This operation can generate multiple requests to a service.
  2996  //
  2997  //    // Example iterating over at most 3 pages of a ListApplications operation.
  2998  //    pageNum := 0
  2999  //    err := client.ListApplicationsPages(params,
  3000  //        func(page *codedeploy.ListApplicationsOutput, lastPage bool) bool {
  3001  //            pageNum++
  3002  //            fmt.Println(page)
  3003  //            return pageNum <= 3
  3004  //        })
  3005  //
  3006  func (c *CodeDeploy) ListApplicationsPages(input *ListApplicationsInput, fn func(*ListApplicationsOutput, bool) bool) error {
  3007  	return c.ListApplicationsPagesWithContext(aws.BackgroundContext(), input, fn)
  3008  }
  3009  
  3010  // ListApplicationsPagesWithContext same as ListApplicationsPages except
  3011  // it takes a Context and allows setting request options on the pages.
  3012  //
  3013  // The context must be non-nil and will be used for request cancellation. If
  3014  // the context is nil a panic will occur. In the future the SDK may create
  3015  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3016  // for more information on using Contexts.
  3017  func (c *CodeDeploy) ListApplicationsPagesWithContext(ctx aws.Context, input *ListApplicationsInput, fn func(*ListApplicationsOutput, bool) bool, opts ...request.Option) error {
  3018  	p := request.Pagination{
  3019  		NewRequest: func() (*request.Request, error) {
  3020  			var inCpy *ListApplicationsInput
  3021  			if input != nil {
  3022  				tmp := *input
  3023  				inCpy = &tmp
  3024  			}
  3025  			req, _ := c.ListApplicationsRequest(inCpy)
  3026  			req.SetContext(ctx)
  3027  			req.ApplyOptions(opts...)
  3028  			return req, nil
  3029  		},
  3030  	}
  3031  
  3032  	for p.Next() {
  3033  		if !fn(p.Page().(*ListApplicationsOutput), !p.HasNextPage()) {
  3034  			break
  3035  		}
  3036  	}
  3037  
  3038  	return p.Err()
  3039  }
  3040  
  3041  const opListDeploymentConfigs = "ListDeploymentConfigs"
  3042  
  3043  // ListDeploymentConfigsRequest generates a "aws/request.Request" representing the
  3044  // client's request for the ListDeploymentConfigs operation. The "output" return
  3045  // value will be populated with the request's response once the request completes
  3046  // successfully.
  3047  //
  3048  // Use "Send" method on the returned Request to send the API call to the service.
  3049  // the "output" return value is not valid until after Send returns without error.
  3050  //
  3051  // See ListDeploymentConfigs for more information on using the ListDeploymentConfigs
  3052  // API call, and error handling.
  3053  //
  3054  // This method is useful when you want to inject custom logic or configuration
  3055  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3056  //
  3057  //
  3058  //    // Example sending a request using the ListDeploymentConfigsRequest method.
  3059  //    req, resp := client.ListDeploymentConfigsRequest(params)
  3060  //
  3061  //    err := req.Send()
  3062  //    if err == nil { // resp is now filled
  3063  //        fmt.Println(resp)
  3064  //    }
  3065  //
  3066  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentConfigs
  3067  func (c *CodeDeploy) ListDeploymentConfigsRequest(input *ListDeploymentConfigsInput) (req *request.Request, output *ListDeploymentConfigsOutput) {
  3068  	op := &request.Operation{
  3069  		Name:       opListDeploymentConfigs,
  3070  		HTTPMethod: "POST",
  3071  		HTTPPath:   "/",
  3072  		Paginator: &request.Paginator{
  3073  			InputTokens:     []string{"nextToken"},
  3074  			OutputTokens:    []string{"nextToken"},
  3075  			LimitToken:      "",
  3076  			TruncationToken: "",
  3077  		},
  3078  	}
  3079  
  3080  	if input == nil {
  3081  		input = &ListDeploymentConfigsInput{}
  3082  	}
  3083  
  3084  	output = &ListDeploymentConfigsOutput{}
  3085  	req = c.newRequest(op, input, output)
  3086  	return
  3087  }
  3088  
  3089  // ListDeploymentConfigs API operation for AWS CodeDeploy.
  3090  //
  3091  // Lists the deployment configurations with the IAM user or AWS account.
  3092  //
  3093  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3094  // with awserr.Error's Code and Message methods to get detailed information about
  3095  // the error.
  3096  //
  3097  // See the AWS API reference guide for AWS CodeDeploy's
  3098  // API operation ListDeploymentConfigs for usage and error information.
  3099  //
  3100  // Returned Error Types:
  3101  //   * InvalidNextTokenException
  3102  //   The next token was specified in an invalid format.
  3103  //
  3104  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentConfigs
  3105  func (c *CodeDeploy) ListDeploymentConfigs(input *ListDeploymentConfigsInput) (*ListDeploymentConfigsOutput, error) {
  3106  	req, out := c.ListDeploymentConfigsRequest(input)
  3107  	return out, req.Send()
  3108  }
  3109  
  3110  // ListDeploymentConfigsWithContext is the same as ListDeploymentConfigs with the addition of
  3111  // the ability to pass a context and additional request options.
  3112  //
  3113  // See ListDeploymentConfigs for details on how to use this API operation.
  3114  //
  3115  // The context must be non-nil and will be used for request cancellation. If
  3116  // the context is nil a panic will occur. In the future the SDK may create
  3117  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3118  // for more information on using Contexts.
  3119  func (c *CodeDeploy) ListDeploymentConfigsWithContext(ctx aws.Context, input *ListDeploymentConfigsInput, opts ...request.Option) (*ListDeploymentConfigsOutput, error) {
  3120  	req, out := c.ListDeploymentConfigsRequest(input)
  3121  	req.SetContext(ctx)
  3122  	req.ApplyOptions(opts...)
  3123  	return out, req.Send()
  3124  }
  3125  
  3126  // ListDeploymentConfigsPages iterates over the pages of a ListDeploymentConfigs operation,
  3127  // calling the "fn" function with the response data for each page. To stop
  3128  // iterating, return false from the fn function.
  3129  //
  3130  // See ListDeploymentConfigs method for more information on how to use this operation.
  3131  //
  3132  // Note: This operation can generate multiple requests to a service.
  3133  //
  3134  //    // Example iterating over at most 3 pages of a ListDeploymentConfigs operation.
  3135  //    pageNum := 0
  3136  //    err := client.ListDeploymentConfigsPages(params,
  3137  //        func(page *codedeploy.ListDeploymentConfigsOutput, lastPage bool) bool {
  3138  //            pageNum++
  3139  //            fmt.Println(page)
  3140  //            return pageNum <= 3
  3141  //        })
  3142  //
  3143  func (c *CodeDeploy) ListDeploymentConfigsPages(input *ListDeploymentConfigsInput, fn func(*ListDeploymentConfigsOutput, bool) bool) error {
  3144  	return c.ListDeploymentConfigsPagesWithContext(aws.BackgroundContext(), input, fn)
  3145  }
  3146  
  3147  // ListDeploymentConfigsPagesWithContext same as ListDeploymentConfigsPages except
  3148  // it takes a Context and allows setting request options on the pages.
  3149  //
  3150  // The context must be non-nil and will be used for request cancellation. If
  3151  // the context is nil a panic will occur. In the future the SDK may create
  3152  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3153  // for more information on using Contexts.
  3154  func (c *CodeDeploy) ListDeploymentConfigsPagesWithContext(ctx aws.Context, input *ListDeploymentConfigsInput, fn func(*ListDeploymentConfigsOutput, bool) bool, opts ...request.Option) error {
  3155  	p := request.Pagination{
  3156  		NewRequest: func() (*request.Request, error) {
  3157  			var inCpy *ListDeploymentConfigsInput
  3158  			if input != nil {
  3159  				tmp := *input
  3160  				inCpy = &tmp
  3161  			}
  3162  			req, _ := c.ListDeploymentConfigsRequest(inCpy)
  3163  			req.SetContext(ctx)
  3164  			req.ApplyOptions(opts...)
  3165  			return req, nil
  3166  		},
  3167  	}
  3168  
  3169  	for p.Next() {
  3170  		if !fn(p.Page().(*ListDeploymentConfigsOutput), !p.HasNextPage()) {
  3171  			break
  3172  		}
  3173  	}
  3174  
  3175  	return p.Err()
  3176  }
  3177  
  3178  const opListDeploymentGroups = "ListDeploymentGroups"
  3179  
  3180  // ListDeploymentGroupsRequest generates a "aws/request.Request" representing the
  3181  // client's request for the ListDeploymentGroups operation. The "output" return
  3182  // value will be populated with the request's response once the request completes
  3183  // successfully.
  3184  //
  3185  // Use "Send" method on the returned Request to send the API call to the service.
  3186  // the "output" return value is not valid until after Send returns without error.
  3187  //
  3188  // See ListDeploymentGroups for more information on using the ListDeploymentGroups
  3189  // API call, and error handling.
  3190  //
  3191  // This method is useful when you want to inject custom logic or configuration
  3192  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3193  //
  3194  //
  3195  //    // Example sending a request using the ListDeploymentGroupsRequest method.
  3196  //    req, resp := client.ListDeploymentGroupsRequest(params)
  3197  //
  3198  //    err := req.Send()
  3199  //    if err == nil { // resp is now filled
  3200  //        fmt.Println(resp)
  3201  //    }
  3202  //
  3203  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentGroups
  3204  func (c *CodeDeploy) ListDeploymentGroupsRequest(input *ListDeploymentGroupsInput) (req *request.Request, output *ListDeploymentGroupsOutput) {
  3205  	op := &request.Operation{
  3206  		Name:       opListDeploymentGroups,
  3207  		HTTPMethod: "POST",
  3208  		HTTPPath:   "/",
  3209  		Paginator: &request.Paginator{
  3210  			InputTokens:     []string{"nextToken"},
  3211  			OutputTokens:    []string{"nextToken"},
  3212  			LimitToken:      "",
  3213  			TruncationToken: "",
  3214  		},
  3215  	}
  3216  
  3217  	if input == nil {
  3218  		input = &ListDeploymentGroupsInput{}
  3219  	}
  3220  
  3221  	output = &ListDeploymentGroupsOutput{}
  3222  	req = c.newRequest(op, input, output)
  3223  	return
  3224  }
  3225  
  3226  // ListDeploymentGroups API operation for AWS CodeDeploy.
  3227  //
  3228  // Lists the deployment groups for an application registered with the IAM user
  3229  // or AWS account.
  3230  //
  3231  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3232  // with awserr.Error's Code and Message methods to get detailed information about
  3233  // the error.
  3234  //
  3235  // See the AWS API reference guide for AWS CodeDeploy's
  3236  // API operation ListDeploymentGroups for usage and error information.
  3237  //
  3238  // Returned Error Types:
  3239  //   * ApplicationNameRequiredException
  3240  //   The minimum number of required application names was not specified.
  3241  //
  3242  //   * InvalidApplicationNameException
  3243  //   The application name was specified in an invalid format.
  3244  //
  3245  //   * ApplicationDoesNotExistException
  3246  //   The application does not exist with the IAM user or AWS account.
  3247  //
  3248  //   * InvalidNextTokenException
  3249  //   The next token was specified in an invalid format.
  3250  //
  3251  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentGroups
  3252  func (c *CodeDeploy) ListDeploymentGroups(input *ListDeploymentGroupsInput) (*ListDeploymentGroupsOutput, error) {
  3253  	req, out := c.ListDeploymentGroupsRequest(input)
  3254  	return out, req.Send()
  3255  }
  3256  
  3257  // ListDeploymentGroupsWithContext is the same as ListDeploymentGroups with the addition of
  3258  // the ability to pass a context and additional request options.
  3259  //
  3260  // See ListDeploymentGroups for details on how to use this API operation.
  3261  //
  3262  // The context must be non-nil and will be used for request cancellation. If
  3263  // the context is nil a panic will occur. In the future the SDK may create
  3264  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3265  // for more information on using Contexts.
  3266  func (c *CodeDeploy) ListDeploymentGroupsWithContext(ctx aws.Context, input *ListDeploymentGroupsInput, opts ...request.Option) (*ListDeploymentGroupsOutput, error) {
  3267  	req, out := c.ListDeploymentGroupsRequest(input)
  3268  	req.SetContext(ctx)
  3269  	req.ApplyOptions(opts...)
  3270  	return out, req.Send()
  3271  }
  3272  
  3273  // ListDeploymentGroupsPages iterates over the pages of a ListDeploymentGroups operation,
  3274  // calling the "fn" function with the response data for each page. To stop
  3275  // iterating, return false from the fn function.
  3276  //
  3277  // See ListDeploymentGroups method for more information on how to use this operation.
  3278  //
  3279  // Note: This operation can generate multiple requests to a service.
  3280  //
  3281  //    // Example iterating over at most 3 pages of a ListDeploymentGroups operation.
  3282  //    pageNum := 0
  3283  //    err := client.ListDeploymentGroupsPages(params,
  3284  //        func(page *codedeploy.ListDeploymentGroupsOutput, lastPage bool) bool {
  3285  //            pageNum++
  3286  //            fmt.Println(page)
  3287  //            return pageNum <= 3
  3288  //        })
  3289  //
  3290  func (c *CodeDeploy) ListDeploymentGroupsPages(input *ListDeploymentGroupsInput, fn func(*ListDeploymentGroupsOutput, bool) bool) error {
  3291  	return c.ListDeploymentGroupsPagesWithContext(aws.BackgroundContext(), input, fn)
  3292  }
  3293  
  3294  // ListDeploymentGroupsPagesWithContext same as ListDeploymentGroupsPages except
  3295  // it takes a Context and allows setting request options on the pages.
  3296  //
  3297  // The context must be non-nil and will be used for request cancellation. If
  3298  // the context is nil a panic will occur. In the future the SDK may create
  3299  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3300  // for more information on using Contexts.
  3301  func (c *CodeDeploy) ListDeploymentGroupsPagesWithContext(ctx aws.Context, input *ListDeploymentGroupsInput, fn func(*ListDeploymentGroupsOutput, bool) bool, opts ...request.Option) error {
  3302  	p := request.Pagination{
  3303  		NewRequest: func() (*request.Request, error) {
  3304  			var inCpy *ListDeploymentGroupsInput
  3305  			if input != nil {
  3306  				tmp := *input
  3307  				inCpy = &tmp
  3308  			}
  3309  			req, _ := c.ListDeploymentGroupsRequest(inCpy)
  3310  			req.SetContext(ctx)
  3311  			req.ApplyOptions(opts...)
  3312  			return req, nil
  3313  		},
  3314  	}
  3315  
  3316  	for p.Next() {
  3317  		if !fn(p.Page().(*ListDeploymentGroupsOutput), !p.HasNextPage()) {
  3318  			break
  3319  		}
  3320  	}
  3321  
  3322  	return p.Err()
  3323  }
  3324  
  3325  const opListDeploymentInstances = "ListDeploymentInstances"
  3326  
  3327  // ListDeploymentInstancesRequest generates a "aws/request.Request" representing the
  3328  // client's request for the ListDeploymentInstances operation. The "output" return
  3329  // value will be populated with the request's response once the request completes
  3330  // successfully.
  3331  //
  3332  // Use "Send" method on the returned Request to send the API call to the service.
  3333  // the "output" return value is not valid until after Send returns without error.
  3334  //
  3335  // See ListDeploymentInstances for more information on using the ListDeploymentInstances
  3336  // API call, and error handling.
  3337  //
  3338  // This method is useful when you want to inject custom logic or configuration
  3339  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3340  //
  3341  //
  3342  //    // Example sending a request using the ListDeploymentInstancesRequest method.
  3343  //    req, resp := client.ListDeploymentInstancesRequest(params)
  3344  //
  3345  //    err := req.Send()
  3346  //    if err == nil { // resp is now filled
  3347  //        fmt.Println(resp)
  3348  //    }
  3349  //
  3350  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentInstances
  3351  //
  3352  // Deprecated: This operation is deprecated, use ListDeploymentTargets instead.
  3353  func (c *CodeDeploy) ListDeploymentInstancesRequest(input *ListDeploymentInstancesInput) (req *request.Request, output *ListDeploymentInstancesOutput) {
  3354  	if c.Client.Config.Logger != nil {
  3355  		c.Client.Config.Logger.Log("This operation, ListDeploymentInstances, has been deprecated")
  3356  	}
  3357  	op := &request.Operation{
  3358  		Name:       opListDeploymentInstances,
  3359  		HTTPMethod: "POST",
  3360  		HTTPPath:   "/",
  3361  		Paginator: &request.Paginator{
  3362  			InputTokens:     []string{"nextToken"},
  3363  			OutputTokens:    []string{"nextToken"},
  3364  			LimitToken:      "",
  3365  			TruncationToken: "",
  3366  		},
  3367  	}
  3368  
  3369  	if input == nil {
  3370  		input = &ListDeploymentInstancesInput{}
  3371  	}
  3372  
  3373  	output = &ListDeploymentInstancesOutput{}
  3374  	req = c.newRequest(op, input, output)
  3375  	return
  3376  }
  3377  
  3378  // ListDeploymentInstances API operation for AWS CodeDeploy.
  3379  //
  3380  //
  3381  // The newer BatchGetDeploymentTargets should be used instead because it works
  3382  // with all compute types. ListDeploymentInstances throws an exception if it
  3383  // is used with a compute platform other than EC2/On-premises or AWS Lambda.
  3384  //
  3385  // Lists the instance for a deployment associated with the IAM user or AWS account.
  3386  //
  3387  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3388  // with awserr.Error's Code and Message methods to get detailed information about
  3389  // the error.
  3390  //
  3391  // See the AWS API reference guide for AWS CodeDeploy's
  3392  // API operation ListDeploymentInstances for usage and error information.
  3393  //
  3394  // Returned Error Types:
  3395  //   * DeploymentIdRequiredException
  3396  //   At least one deployment ID must be specified.
  3397  //
  3398  //   * DeploymentDoesNotExistException
  3399  //   The deployment with the IAM user or AWS account does not exist.
  3400  //
  3401  //   * DeploymentNotStartedException
  3402  //   The specified deployment has not started.
  3403  //
  3404  //   * InvalidNextTokenException
  3405  //   The next token was specified in an invalid format.
  3406  //
  3407  //   * InvalidDeploymentIdException
  3408  //   At least one of the deployment IDs was specified in an invalid format.
  3409  //
  3410  //   * InvalidInstanceStatusException
  3411  //   The specified instance status does not exist.
  3412  //
  3413  //   * InvalidInstanceTypeException
  3414  //   An invalid instance type was specified for instances in a blue/green deployment.
  3415  //   Valid values include "Blue" for an original environment and "Green" for a
  3416  //   replacement environment.
  3417  //
  3418  //   * InvalidDeploymentInstanceTypeException
  3419  //   An instance type was specified for an in-place deployment. Instance types
  3420  //   are supported for blue/green deployments only.
  3421  //
  3422  //   * InvalidTargetFilterNameException
  3423  //   The target filter name is invalid.
  3424  //
  3425  //   * InvalidComputePlatformException
  3426  //   The computePlatform is invalid. The computePlatform should be Lambda, Server,
  3427  //   or ECS.
  3428  //
  3429  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentInstances
  3430  //
  3431  // Deprecated: This operation is deprecated, use ListDeploymentTargets instead.
  3432  func (c *CodeDeploy) ListDeploymentInstances(input *ListDeploymentInstancesInput) (*ListDeploymentInstancesOutput, error) {
  3433  	req, out := c.ListDeploymentInstancesRequest(input)
  3434  	return out, req.Send()
  3435  }
  3436  
  3437  // ListDeploymentInstancesWithContext is the same as ListDeploymentInstances with the addition of
  3438  // the ability to pass a context and additional request options.
  3439  //
  3440  // See ListDeploymentInstances for details on how to use this API operation.
  3441  //
  3442  // The context must be non-nil and will be used for request cancellation. If
  3443  // the context is nil a panic will occur. In the future the SDK may create
  3444  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3445  // for more information on using Contexts.
  3446  //
  3447  // Deprecated: This operation is deprecated, use ListDeploymentTargets instead.
  3448  func (c *CodeDeploy) ListDeploymentInstancesWithContext(ctx aws.Context, input *ListDeploymentInstancesInput, opts ...request.Option) (*ListDeploymentInstancesOutput, error) {
  3449  	req, out := c.ListDeploymentInstancesRequest(input)
  3450  	req.SetContext(ctx)
  3451  	req.ApplyOptions(opts...)
  3452  	return out, req.Send()
  3453  }
  3454  
  3455  // ListDeploymentInstancesPages iterates over the pages of a ListDeploymentInstances operation,
  3456  // calling the "fn" function with the response data for each page. To stop
  3457  // iterating, return false from the fn function.
  3458  //
  3459  // See ListDeploymentInstances method for more information on how to use this operation.
  3460  //
  3461  // Note: This operation can generate multiple requests to a service.
  3462  //
  3463  //    // Example iterating over at most 3 pages of a ListDeploymentInstances operation.
  3464  //    pageNum := 0
  3465  //    err := client.ListDeploymentInstancesPages(params,
  3466  //        func(page *codedeploy.ListDeploymentInstancesOutput, lastPage bool) bool {
  3467  //            pageNum++
  3468  //            fmt.Println(page)
  3469  //            return pageNum <= 3
  3470  //        })
  3471  //
  3472  //
  3473  // Deprecated: This operation is deprecated, use ListDeploymentTargets instead.
  3474  func (c *CodeDeploy) ListDeploymentInstancesPages(input *ListDeploymentInstancesInput, fn func(*ListDeploymentInstancesOutput, bool) bool) error {
  3475  	return c.ListDeploymentInstancesPagesWithContext(aws.BackgroundContext(), input, fn)
  3476  }
  3477  
  3478  // ListDeploymentInstancesPagesWithContext same as ListDeploymentInstancesPages except
  3479  // it takes a Context and allows setting request options on the pages.
  3480  //
  3481  // The context must be non-nil and will be used for request cancellation. If
  3482  // the context is nil a panic will occur. In the future the SDK may create
  3483  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3484  // for more information on using Contexts.
  3485  //
  3486  // Deprecated: This operation is deprecated, use ListDeploymentTargets instead.
  3487  func (c *CodeDeploy) ListDeploymentInstancesPagesWithContext(ctx aws.Context, input *ListDeploymentInstancesInput, fn func(*ListDeploymentInstancesOutput, bool) bool, opts ...request.Option) error {
  3488  	p := request.Pagination{
  3489  		NewRequest: func() (*request.Request, error) {
  3490  			var inCpy *ListDeploymentInstancesInput
  3491  			if input != nil {
  3492  				tmp := *input
  3493  				inCpy = &tmp
  3494  			}
  3495  			req, _ := c.ListDeploymentInstancesRequest(inCpy)
  3496  			req.SetContext(ctx)
  3497  			req.ApplyOptions(opts...)
  3498  			return req, nil
  3499  		},
  3500  	}
  3501  
  3502  	for p.Next() {
  3503  		if !fn(p.Page().(*ListDeploymentInstancesOutput), !p.HasNextPage()) {
  3504  			break
  3505  		}
  3506  	}
  3507  
  3508  	return p.Err()
  3509  }
  3510  
  3511  const opListDeploymentTargets = "ListDeploymentTargets"
  3512  
  3513  // ListDeploymentTargetsRequest generates a "aws/request.Request" representing the
  3514  // client's request for the ListDeploymentTargets operation. The "output" return
  3515  // value will be populated with the request's response once the request completes
  3516  // successfully.
  3517  //
  3518  // Use "Send" method on the returned Request to send the API call to the service.
  3519  // the "output" return value is not valid until after Send returns without error.
  3520  //
  3521  // See ListDeploymentTargets for more information on using the ListDeploymentTargets
  3522  // API call, and error handling.
  3523  //
  3524  // This method is useful when you want to inject custom logic or configuration
  3525  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3526  //
  3527  //
  3528  //    // Example sending a request using the ListDeploymentTargetsRequest method.
  3529  //    req, resp := client.ListDeploymentTargetsRequest(params)
  3530  //
  3531  //    err := req.Send()
  3532  //    if err == nil { // resp is now filled
  3533  //        fmt.Println(resp)
  3534  //    }
  3535  //
  3536  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentTargets
  3537  func (c *CodeDeploy) ListDeploymentTargetsRequest(input *ListDeploymentTargetsInput) (req *request.Request, output *ListDeploymentTargetsOutput) {
  3538  	op := &request.Operation{
  3539  		Name:       opListDeploymentTargets,
  3540  		HTTPMethod: "POST",
  3541  		HTTPPath:   "/",
  3542  	}
  3543  
  3544  	if input == nil {
  3545  		input = &ListDeploymentTargetsInput{}
  3546  	}
  3547  
  3548  	output = &ListDeploymentTargetsOutput{}
  3549  	req = c.newRequest(op, input, output)
  3550  	return
  3551  }
  3552  
  3553  // ListDeploymentTargets API operation for AWS CodeDeploy.
  3554  //
  3555  // Returns an array of target IDs that are associated a deployment.
  3556  //
  3557  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3558  // with awserr.Error's Code and Message methods to get detailed information about
  3559  // the error.
  3560  //
  3561  // See the AWS API reference guide for AWS CodeDeploy's
  3562  // API operation ListDeploymentTargets for usage and error information.
  3563  //
  3564  // Returned Error Types:
  3565  //   * DeploymentIdRequiredException
  3566  //   At least one deployment ID must be specified.
  3567  //
  3568  //   * DeploymentDoesNotExistException
  3569  //   The deployment with the IAM user or AWS account does not exist.
  3570  //
  3571  //   * DeploymentNotStartedException
  3572  //   The specified deployment has not started.
  3573  //
  3574  //   * InvalidNextTokenException
  3575  //   The next token was specified in an invalid format.
  3576  //
  3577  //   * InvalidDeploymentIdException
  3578  //   At least one of the deployment IDs was specified in an invalid format.
  3579  //
  3580  //   * InvalidInstanceStatusException
  3581  //   The specified instance status does not exist.
  3582  //
  3583  //   * InvalidInstanceTypeException
  3584  //   An invalid instance type was specified for instances in a blue/green deployment.
  3585  //   Valid values include "Blue" for an original environment and "Green" for a
  3586  //   replacement environment.
  3587  //
  3588  //   * InvalidDeploymentInstanceTypeException
  3589  //   An instance type was specified for an in-place deployment. Instance types
  3590  //   are supported for blue/green deployments only.
  3591  //
  3592  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentTargets
  3593  func (c *CodeDeploy) ListDeploymentTargets(input *ListDeploymentTargetsInput) (*ListDeploymentTargetsOutput, error) {
  3594  	req, out := c.ListDeploymentTargetsRequest(input)
  3595  	return out, req.Send()
  3596  }
  3597  
  3598  // ListDeploymentTargetsWithContext is the same as ListDeploymentTargets with the addition of
  3599  // the ability to pass a context and additional request options.
  3600  //
  3601  // See ListDeploymentTargets for details on how to use this API operation.
  3602  //
  3603  // The context must be non-nil and will be used for request cancellation. If
  3604  // the context is nil a panic will occur. In the future the SDK may create
  3605  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3606  // for more information on using Contexts.
  3607  func (c *CodeDeploy) ListDeploymentTargetsWithContext(ctx aws.Context, input *ListDeploymentTargetsInput, opts ...request.Option) (*ListDeploymentTargetsOutput, error) {
  3608  	req, out := c.ListDeploymentTargetsRequest(input)
  3609  	req.SetContext(ctx)
  3610  	req.ApplyOptions(opts...)
  3611  	return out, req.Send()
  3612  }
  3613  
  3614  const opListDeployments = "ListDeployments"
  3615  
  3616  // ListDeploymentsRequest generates a "aws/request.Request" representing the
  3617  // client's request for the ListDeployments operation. The "output" return
  3618  // value will be populated with the request's response once the request completes
  3619  // successfully.
  3620  //
  3621  // Use "Send" method on the returned Request to send the API call to the service.
  3622  // the "output" return value is not valid until after Send returns without error.
  3623  //
  3624  // See ListDeployments for more information on using the ListDeployments
  3625  // API call, and error handling.
  3626  //
  3627  // This method is useful when you want to inject custom logic or configuration
  3628  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3629  //
  3630  //
  3631  //    // Example sending a request using the ListDeploymentsRequest method.
  3632  //    req, resp := client.ListDeploymentsRequest(params)
  3633  //
  3634  //    err := req.Send()
  3635  //    if err == nil { // resp is now filled
  3636  //        fmt.Println(resp)
  3637  //    }
  3638  //
  3639  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeployments
  3640  func (c *CodeDeploy) ListDeploymentsRequest(input *ListDeploymentsInput) (req *request.Request, output *ListDeploymentsOutput) {
  3641  	op := &request.Operation{
  3642  		Name:       opListDeployments,
  3643  		HTTPMethod: "POST",
  3644  		HTTPPath:   "/",
  3645  		Paginator: &request.Paginator{
  3646  			InputTokens:     []string{"nextToken"},
  3647  			OutputTokens:    []string{"nextToken"},
  3648  			LimitToken:      "",
  3649  			TruncationToken: "",
  3650  		},
  3651  	}
  3652  
  3653  	if input == nil {
  3654  		input = &ListDeploymentsInput{}
  3655  	}
  3656  
  3657  	output = &ListDeploymentsOutput{}
  3658  	req = c.newRequest(op, input, output)
  3659  	return
  3660  }
  3661  
  3662  // ListDeployments API operation for AWS CodeDeploy.
  3663  //
  3664  // Lists the deployments in a deployment group for an application registered
  3665  // with the IAM user or AWS account.
  3666  //
  3667  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3668  // with awserr.Error's Code and Message methods to get detailed information about
  3669  // the error.
  3670  //
  3671  // See the AWS API reference guide for AWS CodeDeploy's
  3672  // API operation ListDeployments for usage and error information.
  3673  //
  3674  // Returned Error Types:
  3675  //   * ApplicationNameRequiredException
  3676  //   The minimum number of required application names was not specified.
  3677  //
  3678  //   * InvalidApplicationNameException
  3679  //   The application name was specified in an invalid format.
  3680  //
  3681  //   * ApplicationDoesNotExistException
  3682  //   The application does not exist with the IAM user or AWS account.
  3683  //
  3684  //   * InvalidDeploymentGroupNameException
  3685  //   The deployment group name was specified in an invalid format.
  3686  //
  3687  //   * DeploymentGroupDoesNotExistException
  3688  //   The named deployment group with the IAM user or AWS account does not exist.
  3689  //
  3690  //   * DeploymentGroupNameRequiredException
  3691  //   The deployment group name was not specified.
  3692  //
  3693  //   * InvalidTimeRangeException
  3694  //   The specified time range was specified in an invalid format.
  3695  //
  3696  //   * InvalidDeploymentStatusException
  3697  //   The specified deployment status doesn't exist or cannot be determined.
  3698  //
  3699  //   * InvalidNextTokenException
  3700  //   The next token was specified in an invalid format.
  3701  //
  3702  //   * InvalidExternalIdException
  3703  //   The external ID was specified in an invalid format.
  3704  //
  3705  //   * InvalidInputException
  3706  //   The input was specified in an invalid format.
  3707  //
  3708  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeployments
  3709  func (c *CodeDeploy) ListDeployments(input *ListDeploymentsInput) (*ListDeploymentsOutput, error) {
  3710  	req, out := c.ListDeploymentsRequest(input)
  3711  	return out, req.Send()
  3712  }
  3713  
  3714  // ListDeploymentsWithContext is the same as ListDeployments with the addition of
  3715  // the ability to pass a context and additional request options.
  3716  //
  3717  // See ListDeployments for details on how to use this API operation.
  3718  //
  3719  // The context must be non-nil and will be used for request cancellation. If
  3720  // the context is nil a panic will occur. In the future the SDK may create
  3721  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3722  // for more information on using Contexts.
  3723  func (c *CodeDeploy) ListDeploymentsWithContext(ctx aws.Context, input *ListDeploymentsInput, opts ...request.Option) (*ListDeploymentsOutput, error) {
  3724  	req, out := c.ListDeploymentsRequest(input)
  3725  	req.SetContext(ctx)
  3726  	req.ApplyOptions(opts...)
  3727  	return out, req.Send()
  3728  }
  3729  
  3730  // ListDeploymentsPages iterates over the pages of a ListDeployments operation,
  3731  // calling the "fn" function with the response data for each page. To stop
  3732  // iterating, return false from the fn function.
  3733  //
  3734  // See ListDeployments method for more information on how to use this operation.
  3735  //
  3736  // Note: This operation can generate multiple requests to a service.
  3737  //
  3738  //    // Example iterating over at most 3 pages of a ListDeployments operation.
  3739  //    pageNum := 0
  3740  //    err := client.ListDeploymentsPages(params,
  3741  //        func(page *codedeploy.ListDeploymentsOutput, lastPage bool) bool {
  3742  //            pageNum++
  3743  //            fmt.Println(page)
  3744  //            return pageNum <= 3
  3745  //        })
  3746  //
  3747  func (c *CodeDeploy) ListDeploymentsPages(input *ListDeploymentsInput, fn func(*ListDeploymentsOutput, bool) bool) error {
  3748  	return c.ListDeploymentsPagesWithContext(aws.BackgroundContext(), input, fn)
  3749  }
  3750  
  3751  // ListDeploymentsPagesWithContext same as ListDeploymentsPages except
  3752  // it takes a Context and allows setting request options on the pages.
  3753  //
  3754  // The context must be non-nil and will be used for request cancellation. If
  3755  // the context is nil a panic will occur. In the future the SDK may create
  3756  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3757  // for more information on using Contexts.
  3758  func (c *CodeDeploy) ListDeploymentsPagesWithContext(ctx aws.Context, input *ListDeploymentsInput, fn func(*ListDeploymentsOutput, bool) bool, opts ...request.Option) error {
  3759  	p := request.Pagination{
  3760  		NewRequest: func() (*request.Request, error) {
  3761  			var inCpy *ListDeploymentsInput
  3762  			if input != nil {
  3763  				tmp := *input
  3764  				inCpy = &tmp
  3765  			}
  3766  			req, _ := c.ListDeploymentsRequest(inCpy)
  3767  			req.SetContext(ctx)
  3768  			req.ApplyOptions(opts...)
  3769  			return req, nil
  3770  		},
  3771  	}
  3772  
  3773  	for p.Next() {
  3774  		if !fn(p.Page().(*ListDeploymentsOutput), !p.HasNextPage()) {
  3775  			break
  3776  		}
  3777  	}
  3778  
  3779  	return p.Err()
  3780  }
  3781  
  3782  const opListGitHubAccountTokenNames = "ListGitHubAccountTokenNames"
  3783  
  3784  // ListGitHubAccountTokenNamesRequest generates a "aws/request.Request" representing the
  3785  // client's request for the ListGitHubAccountTokenNames operation. The "output" return
  3786  // value will be populated with the request's response once the request completes
  3787  // successfully.
  3788  //
  3789  // Use "Send" method on the returned Request to send the API call to the service.
  3790  // the "output" return value is not valid until after Send returns without error.
  3791  //
  3792  // See ListGitHubAccountTokenNames for more information on using the ListGitHubAccountTokenNames
  3793  // API call, and error handling.
  3794  //
  3795  // This method is useful when you want to inject custom logic or configuration
  3796  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3797  //
  3798  //
  3799  //    // Example sending a request using the ListGitHubAccountTokenNamesRequest method.
  3800  //    req, resp := client.ListGitHubAccountTokenNamesRequest(params)
  3801  //
  3802  //    err := req.Send()
  3803  //    if err == nil { // resp is now filled
  3804  //        fmt.Println(resp)
  3805  //    }
  3806  //
  3807  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListGitHubAccountTokenNames
  3808  func (c *CodeDeploy) ListGitHubAccountTokenNamesRequest(input *ListGitHubAccountTokenNamesInput) (req *request.Request, output *ListGitHubAccountTokenNamesOutput) {
  3809  	op := &request.Operation{
  3810  		Name:       opListGitHubAccountTokenNames,
  3811  		HTTPMethod: "POST",
  3812  		HTTPPath:   "/",
  3813  	}
  3814  
  3815  	if input == nil {
  3816  		input = &ListGitHubAccountTokenNamesInput{}
  3817  	}
  3818  
  3819  	output = &ListGitHubAccountTokenNamesOutput{}
  3820  	req = c.newRequest(op, input, output)
  3821  	return
  3822  }
  3823  
  3824  // ListGitHubAccountTokenNames API operation for AWS CodeDeploy.
  3825  //
  3826  // Lists the names of stored connections to GitHub accounts.
  3827  //
  3828  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3829  // with awserr.Error's Code and Message methods to get detailed information about
  3830  // the error.
  3831  //
  3832  // See the AWS API reference guide for AWS CodeDeploy's
  3833  // API operation ListGitHubAccountTokenNames for usage and error information.
  3834  //
  3835  // Returned Error Types:
  3836  //   * InvalidNextTokenException
  3837  //   The next token was specified in an invalid format.
  3838  //
  3839  //   * ResourceValidationException
  3840  //   The specified resource could not be validated.
  3841  //
  3842  //   * OperationNotSupportedException
  3843  //   The API used does not support the deployment.
  3844  //
  3845  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListGitHubAccountTokenNames
  3846  func (c *CodeDeploy) ListGitHubAccountTokenNames(input *ListGitHubAccountTokenNamesInput) (*ListGitHubAccountTokenNamesOutput, error) {
  3847  	req, out := c.ListGitHubAccountTokenNamesRequest(input)
  3848  	return out, req.Send()
  3849  }
  3850  
  3851  // ListGitHubAccountTokenNamesWithContext is the same as ListGitHubAccountTokenNames with the addition of
  3852  // the ability to pass a context and additional request options.
  3853  //
  3854  // See ListGitHubAccountTokenNames for details on how to use this API operation.
  3855  //
  3856  // The context must be non-nil and will be used for request cancellation. If
  3857  // the context is nil a panic will occur. In the future the SDK may create
  3858  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3859  // for more information on using Contexts.
  3860  func (c *CodeDeploy) ListGitHubAccountTokenNamesWithContext(ctx aws.Context, input *ListGitHubAccountTokenNamesInput, opts ...request.Option) (*ListGitHubAccountTokenNamesOutput, error) {
  3861  	req, out := c.ListGitHubAccountTokenNamesRequest(input)
  3862  	req.SetContext(ctx)
  3863  	req.ApplyOptions(opts...)
  3864  	return out, req.Send()
  3865  }
  3866  
  3867  const opListOnPremisesInstances = "ListOnPremisesInstances"
  3868  
  3869  // ListOnPremisesInstancesRequest generates a "aws/request.Request" representing the
  3870  // client's request for the ListOnPremisesInstances operation. The "output" return
  3871  // value will be populated with the request's response once the request completes
  3872  // successfully.
  3873  //
  3874  // Use "Send" method on the returned Request to send the API call to the service.
  3875  // the "output" return value is not valid until after Send returns without error.
  3876  //
  3877  // See ListOnPremisesInstances for more information on using the ListOnPremisesInstances
  3878  // API call, and error handling.
  3879  //
  3880  // This method is useful when you want to inject custom logic or configuration
  3881  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3882  //
  3883  //
  3884  //    // Example sending a request using the ListOnPremisesInstancesRequest method.
  3885  //    req, resp := client.ListOnPremisesInstancesRequest(params)
  3886  //
  3887  //    err := req.Send()
  3888  //    if err == nil { // resp is now filled
  3889  //        fmt.Println(resp)
  3890  //    }
  3891  //
  3892  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListOnPremisesInstances
  3893  func (c *CodeDeploy) ListOnPremisesInstancesRequest(input *ListOnPremisesInstancesInput) (req *request.Request, output *ListOnPremisesInstancesOutput) {
  3894  	op := &request.Operation{
  3895  		Name:       opListOnPremisesInstances,
  3896  		HTTPMethod: "POST",
  3897  		HTTPPath:   "/",
  3898  	}
  3899  
  3900  	if input == nil {
  3901  		input = &ListOnPremisesInstancesInput{}
  3902  	}
  3903  
  3904  	output = &ListOnPremisesInstancesOutput{}
  3905  	req = c.newRequest(op, input, output)
  3906  	return
  3907  }
  3908  
  3909  // ListOnPremisesInstances API operation for AWS CodeDeploy.
  3910  //
  3911  // Gets a list of names for one or more on-premises instances.
  3912  //
  3913  // Unless otherwise specified, both registered and deregistered on-premises
  3914  // instance names are listed. To list only registered or deregistered on-premises
  3915  // instance names, use the registration status parameter.
  3916  //
  3917  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3918  // with awserr.Error's Code and Message methods to get detailed information about
  3919  // the error.
  3920  //
  3921  // See the AWS API reference guide for AWS CodeDeploy's
  3922  // API operation ListOnPremisesInstances for usage and error information.
  3923  //
  3924  // Returned Error Types:
  3925  //   * InvalidRegistrationStatusException
  3926  //   The registration status was specified in an invalid format.
  3927  //
  3928  //   * InvalidTagFilterException
  3929  //   The tag filter was specified in an invalid format.
  3930  //
  3931  //   * InvalidNextTokenException
  3932  //   The next token was specified in an invalid format.
  3933  //
  3934  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListOnPremisesInstances
  3935  func (c *CodeDeploy) ListOnPremisesInstances(input *ListOnPremisesInstancesInput) (*ListOnPremisesInstancesOutput, error) {
  3936  	req, out := c.ListOnPremisesInstancesRequest(input)
  3937  	return out, req.Send()
  3938  }
  3939  
  3940  // ListOnPremisesInstancesWithContext is the same as ListOnPremisesInstances with the addition of
  3941  // the ability to pass a context and additional request options.
  3942  //
  3943  // See ListOnPremisesInstances for details on how to use this API operation.
  3944  //
  3945  // The context must be non-nil and will be used for request cancellation. If
  3946  // the context is nil a panic will occur. In the future the SDK may create
  3947  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3948  // for more information on using Contexts.
  3949  func (c *CodeDeploy) ListOnPremisesInstancesWithContext(ctx aws.Context, input *ListOnPremisesInstancesInput, opts ...request.Option) (*ListOnPremisesInstancesOutput, error) {
  3950  	req, out := c.ListOnPremisesInstancesRequest(input)
  3951  	req.SetContext(ctx)
  3952  	req.ApplyOptions(opts...)
  3953  	return out, req.Send()
  3954  }
  3955  
  3956  const opListTagsForResource = "ListTagsForResource"
  3957  
  3958  // ListTagsForResourceRequest generates a "aws/request.Request" representing the
  3959  // client's request for the ListTagsForResource operation. The "output" return
  3960  // value will be populated with the request's response once the request completes
  3961  // successfully.
  3962  //
  3963  // Use "Send" method on the returned Request to send the API call to the service.
  3964  // the "output" return value is not valid until after Send returns without error.
  3965  //
  3966  // See ListTagsForResource for more information on using the ListTagsForResource
  3967  // API call, and error handling.
  3968  //
  3969  // This method is useful when you want to inject custom logic or configuration
  3970  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3971  //
  3972  //
  3973  //    // Example sending a request using the ListTagsForResourceRequest method.
  3974  //    req, resp := client.ListTagsForResourceRequest(params)
  3975  //
  3976  //    err := req.Send()
  3977  //    if err == nil { // resp is now filled
  3978  //        fmt.Println(resp)
  3979  //    }
  3980  //
  3981  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListTagsForResource
  3982  func (c *CodeDeploy) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) {
  3983  	op := &request.Operation{
  3984  		Name:       opListTagsForResource,
  3985  		HTTPMethod: "POST",
  3986  		HTTPPath:   "/",
  3987  	}
  3988  
  3989  	if input == nil {
  3990  		input = &ListTagsForResourceInput{}
  3991  	}
  3992  
  3993  	output = &ListTagsForResourceOutput{}
  3994  	req = c.newRequest(op, input, output)
  3995  	return
  3996  }
  3997  
  3998  // ListTagsForResource API operation for AWS CodeDeploy.
  3999  //
  4000  // Returns a list of tags for the resource identified by a specified Amazon
  4001  // Resource Name (ARN). Tags are used to organize and categorize your CodeDeploy
  4002  // resources.
  4003  //
  4004  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  4005  // with awserr.Error's Code and Message methods to get detailed information about
  4006  // the error.
  4007  //
  4008  // See the AWS API reference guide for AWS CodeDeploy's
  4009  // API operation ListTagsForResource for usage and error information.
  4010  //
  4011  // Returned Error Types:
  4012  //   * ArnNotSupportedException
  4013  //   The specified ARN is not supported. For example, it might be an ARN for a
  4014  //   resource that is not expected.
  4015  //
  4016  //   * InvalidArnException
  4017  //   The specified ARN is not in a valid format.
  4018  //
  4019  //   * ResourceArnRequiredException
  4020  //   The ARN of a resource is required, but was not found.
  4021  //
  4022  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListTagsForResource
  4023  func (c *CodeDeploy) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) {
  4024  	req, out := c.ListTagsForResourceRequest(input)
  4025  	return out, req.Send()
  4026  }
  4027  
  4028  // ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of
  4029  // the ability to pass a context and additional request options.
  4030  //
  4031  // See ListTagsForResource for details on how to use this API operation.
  4032  //
  4033  // The context must be non-nil and will be used for request cancellation. If
  4034  // the context is nil a panic will occur. In the future the SDK may create
  4035  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4036  // for more information on using Contexts.
  4037  func (c *CodeDeploy) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) {
  4038  	req, out := c.ListTagsForResourceRequest(input)
  4039  	req.SetContext(ctx)
  4040  	req.ApplyOptions(opts...)
  4041  	return out, req.Send()
  4042  }
  4043  
  4044  const opPutLifecycleEventHookExecutionStatus = "PutLifecycleEventHookExecutionStatus"
  4045  
  4046  // PutLifecycleEventHookExecutionStatusRequest generates a "aws/request.Request" representing the
  4047  // client's request for the PutLifecycleEventHookExecutionStatus operation. The "output" return
  4048  // value will be populated with the request's response once the request completes
  4049  // successfully.
  4050  //
  4051  // Use "Send" method on the returned Request to send the API call to the service.
  4052  // the "output" return value is not valid until after Send returns without error.
  4053  //
  4054  // See PutLifecycleEventHookExecutionStatus for more information on using the PutLifecycleEventHookExecutionStatus
  4055  // API call, and error handling.
  4056  //
  4057  // This method is useful when you want to inject custom logic or configuration
  4058  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  4059  //
  4060  //
  4061  //    // Example sending a request using the PutLifecycleEventHookExecutionStatusRequest method.
  4062  //    req, resp := client.PutLifecycleEventHookExecutionStatusRequest(params)
  4063  //
  4064  //    err := req.Send()
  4065  //    if err == nil { // resp is now filled
  4066  //        fmt.Println(resp)
  4067  //    }
  4068  //
  4069  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/PutLifecycleEventHookExecutionStatus
  4070  func (c *CodeDeploy) PutLifecycleEventHookExecutionStatusRequest(input *PutLifecycleEventHookExecutionStatusInput) (req *request.Request, output *PutLifecycleEventHookExecutionStatusOutput) {
  4071  	op := &request.Operation{
  4072  		Name:       opPutLifecycleEventHookExecutionStatus,
  4073  		HTTPMethod: "POST",
  4074  		HTTPPath:   "/",
  4075  	}
  4076  
  4077  	if input == nil {
  4078  		input = &PutLifecycleEventHookExecutionStatusInput{}
  4079  	}
  4080  
  4081  	output = &PutLifecycleEventHookExecutionStatusOutput{}
  4082  	req = c.newRequest(op, input, output)
  4083  	return
  4084  }
  4085  
  4086  // PutLifecycleEventHookExecutionStatus API operation for AWS CodeDeploy.
  4087  //
  4088  // Sets the result of a Lambda validation function. The function validates lifecycle
  4089  // hooks during a deployment that uses the AWS Lambda or Amazon ECS compute
  4090  // platform. For AWS Lambda deployments, the available lifecycle hooks are BeforeAllowTraffic
  4091  // and AfterAllowTraffic. For Amazon ECS deployments, the available lifecycle
  4092  // hooks are BeforeInstall, AfterInstall, AfterAllowTestTraffic, BeforeAllowTraffic,
  4093  // and AfterAllowTraffic. Lambda validation functions return Succeeded or Failed.
  4094  // For more information, see AppSpec 'hooks' Section for an AWS Lambda Deployment
  4095  // (https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file-structure-hooks.html#appspec-hooks-lambda)
  4096  // and AppSpec 'hooks' Section for an Amazon ECS Deployment (https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file-structure-hooks.html#appspec-hooks-ecs).
  4097  //
  4098  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  4099  // with awserr.Error's Code and Message methods to get detailed information about
  4100  // the error.
  4101  //
  4102  // See the AWS API reference guide for AWS CodeDeploy's
  4103  // API operation PutLifecycleEventHookExecutionStatus for usage and error information.
  4104  //
  4105  // Returned Error Types:
  4106  //   * InvalidLifecycleEventHookExecutionStatusException
  4107  //   The result of a Lambda validation function that verifies a lifecycle event
  4108  //   is invalid. It should return Succeeded or Failed.
  4109  //
  4110  //   * InvalidLifecycleEventHookExecutionIdException
  4111  //   A lifecycle event hook is invalid. Review the hooks section in your AppSpec
  4112  //   file to ensure the lifecycle events and hooks functions are valid.
  4113  //
  4114  //   * LifecycleEventAlreadyCompletedException
  4115  //   An attempt to return the status of an already completed lifecycle event occurred.
  4116  //
  4117  //   * DeploymentIdRequiredException
  4118  //   At least one deployment ID must be specified.
  4119  //
  4120  //   * DeploymentDoesNotExistException
  4121  //   The deployment with the IAM user or AWS account does not exist.
  4122  //
  4123  //   * InvalidDeploymentIdException
  4124  //   At least one of the deployment IDs was specified in an invalid format.
  4125  //
  4126  //   * UnsupportedActionForDeploymentTypeException
  4127  //   A call was submitted that is not supported for the specified deployment type.
  4128  //
  4129  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/PutLifecycleEventHookExecutionStatus
  4130  func (c *CodeDeploy) PutLifecycleEventHookExecutionStatus(input *PutLifecycleEventHookExecutionStatusInput) (*PutLifecycleEventHookExecutionStatusOutput, error) {
  4131  	req, out := c.PutLifecycleEventHookExecutionStatusRequest(input)
  4132  	return out, req.Send()
  4133  }
  4134  
  4135  // PutLifecycleEventHookExecutionStatusWithContext is the same as PutLifecycleEventHookExecutionStatus with the addition of
  4136  // the ability to pass a context and additional request options.
  4137  //
  4138  // See PutLifecycleEventHookExecutionStatus for details on how to use this API operation.
  4139  //
  4140  // The context must be non-nil and will be used for request cancellation. If
  4141  // the context is nil a panic will occur. In the future the SDK may create
  4142  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4143  // for more information on using Contexts.
  4144  func (c *CodeDeploy) PutLifecycleEventHookExecutionStatusWithContext(ctx aws.Context, input *PutLifecycleEventHookExecutionStatusInput, opts ...request.Option) (*PutLifecycleEventHookExecutionStatusOutput, error) {
  4145  	req, out := c.PutLifecycleEventHookExecutionStatusRequest(input)
  4146  	req.SetContext(ctx)
  4147  	req.ApplyOptions(opts...)
  4148  	return out, req.Send()
  4149  }
  4150  
  4151  const opRegisterApplicationRevision = "RegisterApplicationRevision"
  4152  
  4153  // RegisterApplicationRevisionRequest generates a "aws/request.Request" representing the
  4154  // client's request for the RegisterApplicationRevision operation. The "output" return
  4155  // value will be populated with the request's response once the request completes
  4156  // successfully.
  4157  //
  4158  // Use "Send" method on the returned Request to send the API call to the service.
  4159  // the "output" return value is not valid until after Send returns without error.
  4160  //
  4161  // See RegisterApplicationRevision for more information on using the RegisterApplicationRevision
  4162  // API call, and error handling.
  4163  //
  4164  // This method is useful when you want to inject custom logic or configuration
  4165  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  4166  //
  4167  //
  4168  //    // Example sending a request using the RegisterApplicationRevisionRequest method.
  4169  //    req, resp := client.RegisterApplicationRevisionRequest(params)
  4170  //
  4171  //    err := req.Send()
  4172  //    if err == nil { // resp is now filled
  4173  //        fmt.Println(resp)
  4174  //    }
  4175  //
  4176  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterApplicationRevision
  4177  func (c *CodeDeploy) RegisterApplicationRevisionRequest(input *RegisterApplicationRevisionInput) (req *request.Request, output *RegisterApplicationRevisionOutput) {
  4178  	op := &request.Operation{
  4179  		Name:       opRegisterApplicationRevision,
  4180  		HTTPMethod: "POST",
  4181  		HTTPPath:   "/",
  4182  	}
  4183  
  4184  	if input == nil {
  4185  		input = &RegisterApplicationRevisionInput{}
  4186  	}
  4187  
  4188  	output = &RegisterApplicationRevisionOutput{}
  4189  	req = c.newRequest(op, input, output)
  4190  	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  4191  	return
  4192  }
  4193  
  4194  // RegisterApplicationRevision API operation for AWS CodeDeploy.
  4195  //
  4196  // Registers with AWS CodeDeploy a revision for the specified application.
  4197  //
  4198  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  4199  // with awserr.Error's Code and Message methods to get detailed information about
  4200  // the error.
  4201  //
  4202  // See the AWS API reference guide for AWS CodeDeploy's
  4203  // API operation RegisterApplicationRevision for usage and error information.
  4204  //
  4205  // Returned Error Types:
  4206  //   * ApplicationDoesNotExistException
  4207  //   The application does not exist with the IAM user or AWS account.
  4208  //
  4209  //   * ApplicationNameRequiredException
  4210  //   The minimum number of required application names was not specified.
  4211  //
  4212  //   * InvalidApplicationNameException
  4213  //   The application name was specified in an invalid format.
  4214  //
  4215  //   * DescriptionTooLongException
  4216  //   The description is too long.
  4217  //
  4218  //   * RevisionRequiredException
  4219  //   The revision ID was not specified.
  4220  //
  4221  //   * InvalidRevisionException
  4222  //   The revision was specified in an invalid format.
  4223  //
  4224  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterApplicationRevision
  4225  func (c *CodeDeploy) RegisterApplicationRevision(input *RegisterApplicationRevisionInput) (*RegisterApplicationRevisionOutput, error) {
  4226  	req, out := c.RegisterApplicationRevisionRequest(input)
  4227  	return out, req.Send()
  4228  }
  4229  
  4230  // RegisterApplicationRevisionWithContext is the same as RegisterApplicationRevision with the addition of
  4231  // the ability to pass a context and additional request options.
  4232  //
  4233  // See RegisterApplicationRevision for details on how to use this API operation.
  4234  //
  4235  // The context must be non-nil and will be used for request cancellation. If
  4236  // the context is nil a panic will occur. In the future the SDK may create
  4237  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4238  // for more information on using Contexts.
  4239  func (c *CodeDeploy) RegisterApplicationRevisionWithContext(ctx aws.Context, input *RegisterApplicationRevisionInput, opts ...request.Option) (*RegisterApplicationRevisionOutput, error) {
  4240  	req, out := c.RegisterApplicationRevisionRequest(input)
  4241  	req.SetContext(ctx)
  4242  	req.ApplyOptions(opts...)
  4243  	return out, req.Send()
  4244  }
  4245  
  4246  const opRegisterOnPremisesInstance = "RegisterOnPremisesInstance"
  4247  
  4248  // RegisterOnPremisesInstanceRequest generates a "aws/request.Request" representing the
  4249  // client's request for the RegisterOnPremisesInstance operation. The "output" return
  4250  // value will be populated with the request's response once the request completes
  4251  // successfully.
  4252  //
  4253  // Use "Send" method on the returned Request to send the API call to the service.
  4254  // the "output" return value is not valid until after Send returns without error.
  4255  //
  4256  // See RegisterOnPremisesInstance for more information on using the RegisterOnPremisesInstance
  4257  // API call, and error handling.
  4258  //
  4259  // This method is useful when you want to inject custom logic or configuration
  4260  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  4261  //
  4262  //
  4263  //    // Example sending a request using the RegisterOnPremisesInstanceRequest method.
  4264  //    req, resp := client.RegisterOnPremisesInstanceRequest(params)
  4265  //
  4266  //    err := req.Send()
  4267  //    if err == nil { // resp is now filled
  4268  //        fmt.Println(resp)
  4269  //    }
  4270  //
  4271  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterOnPremisesInstance
  4272  func (c *CodeDeploy) RegisterOnPremisesInstanceRequest(input *RegisterOnPremisesInstanceInput) (req *request.Request, output *RegisterOnPremisesInstanceOutput) {
  4273  	op := &request.Operation{
  4274  		Name:       opRegisterOnPremisesInstance,
  4275  		HTTPMethod: "POST",
  4276  		HTTPPath:   "/",
  4277  	}
  4278  
  4279  	if input == nil {
  4280  		input = &RegisterOnPremisesInstanceInput{}
  4281  	}
  4282  
  4283  	output = &RegisterOnPremisesInstanceOutput{}
  4284  	req = c.newRequest(op, input, output)
  4285  	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  4286  	return
  4287  }
  4288  
  4289  // RegisterOnPremisesInstance API operation for AWS CodeDeploy.
  4290  //
  4291  // Registers an on-premises instance.
  4292  //
  4293  // Only one IAM ARN (an IAM session ARN or IAM user ARN) is supported in the
  4294  // request. You cannot use both.
  4295  //
  4296  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  4297  // with awserr.Error's Code and Message methods to get detailed information about
  4298  // the error.
  4299  //
  4300  // See the AWS API reference guide for AWS CodeDeploy's
  4301  // API operation RegisterOnPremisesInstance for usage and error information.
  4302  //
  4303  // Returned Error Types:
  4304  //   * InstanceNameAlreadyRegisteredException
  4305  //   The specified on-premises instance name is already registered.
  4306  //
  4307  //   * IamArnRequiredException
  4308  //   No IAM ARN was included in the request. You must use an IAM session ARN or
  4309  //   IAM user ARN in the request.
  4310  //
  4311  //   * IamSessionArnAlreadyRegisteredException
  4312  //   The request included an IAM session ARN that has already been used to register
  4313  //   a different instance.
  4314  //
  4315  //   * IamUserArnAlreadyRegisteredException
  4316  //   The specified IAM user ARN is already registered with an on-premises instance.
  4317  //
  4318  //   * InstanceNameRequiredException
  4319  //   An on-premises instance name was not specified.
  4320  //
  4321  //   * IamUserArnRequiredException
  4322  //   An IAM user ARN was not specified.
  4323  //
  4324  //   * InvalidInstanceNameException
  4325  //   The on-premises instance name was specified in an invalid format.
  4326  //
  4327  //   * InvalidIamSessionArnException
  4328  //   The IAM session ARN was specified in an invalid format.
  4329  //
  4330  //   * InvalidIamUserArnException
  4331  //   The IAM user ARN was specified in an invalid format.
  4332  //
  4333  //   * MultipleIamArnsProvidedException
  4334  //   Both an IAM user ARN and an IAM session ARN were included in the request.
  4335  //   Use only one ARN type.
  4336  //
  4337  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterOnPremisesInstance
  4338  func (c *CodeDeploy) RegisterOnPremisesInstance(input *RegisterOnPremisesInstanceInput) (*RegisterOnPremisesInstanceOutput, error) {
  4339  	req, out := c.RegisterOnPremisesInstanceRequest(input)
  4340  	return out, req.Send()
  4341  }
  4342  
  4343  // RegisterOnPremisesInstanceWithContext is the same as RegisterOnPremisesInstance with the addition of
  4344  // the ability to pass a context and additional request options.
  4345  //
  4346  // See RegisterOnPremisesInstance for details on how to use this API operation.
  4347  //
  4348  // The context must be non-nil and will be used for request cancellation. If
  4349  // the context is nil a panic will occur. In the future the SDK may create
  4350  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4351  // for more information on using Contexts.
  4352  func (c *CodeDeploy) RegisterOnPremisesInstanceWithContext(ctx aws.Context, input *RegisterOnPremisesInstanceInput, opts ...request.Option) (*RegisterOnPremisesInstanceOutput, error) {
  4353  	req, out := c.RegisterOnPremisesInstanceRequest(input)
  4354  	req.SetContext(ctx)
  4355  	req.ApplyOptions(opts...)
  4356  	return out, req.Send()
  4357  }
  4358  
  4359  const opRemoveTagsFromOnPremisesInstances = "RemoveTagsFromOnPremisesInstances"
  4360  
  4361  // RemoveTagsFromOnPremisesInstancesRequest generates a "aws/request.Request" representing the
  4362  // client's request for the RemoveTagsFromOnPremisesInstances operation. The "output" return
  4363  // value will be populated with the request's response once the request completes
  4364  // successfully.
  4365  //
  4366  // Use "Send" method on the returned Request to send the API call to the service.
  4367  // the "output" return value is not valid until after Send returns without error.
  4368  //
  4369  // See RemoveTagsFromOnPremisesInstances for more information on using the RemoveTagsFromOnPremisesInstances
  4370  // API call, and error handling.
  4371  //
  4372  // This method is useful when you want to inject custom logic or configuration
  4373  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  4374  //
  4375  //
  4376  //    // Example sending a request using the RemoveTagsFromOnPremisesInstancesRequest method.
  4377  //    req, resp := client.RemoveTagsFromOnPremisesInstancesRequest(params)
  4378  //
  4379  //    err := req.Send()
  4380  //    if err == nil { // resp is now filled
  4381  //        fmt.Println(resp)
  4382  //    }
  4383  //
  4384  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RemoveTagsFromOnPremisesInstances
  4385  func (c *CodeDeploy) RemoveTagsFromOnPremisesInstancesRequest(input *RemoveTagsFromOnPremisesInstancesInput) (req *request.Request, output *RemoveTagsFromOnPremisesInstancesOutput) {
  4386  	op := &request.Operation{
  4387  		Name:       opRemoveTagsFromOnPremisesInstances,
  4388  		HTTPMethod: "POST",
  4389  		HTTPPath:   "/",
  4390  	}
  4391  
  4392  	if input == nil {
  4393  		input = &RemoveTagsFromOnPremisesInstancesInput{}
  4394  	}
  4395  
  4396  	output = &RemoveTagsFromOnPremisesInstancesOutput{}
  4397  	req = c.newRequest(op, input, output)
  4398  	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  4399  	return
  4400  }
  4401  
  4402  // RemoveTagsFromOnPremisesInstances API operation for AWS CodeDeploy.
  4403  //
  4404  // Removes one or more tags from one or more on-premises instances.
  4405  //
  4406  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  4407  // with awserr.Error's Code and Message methods to get detailed information about
  4408  // the error.
  4409  //
  4410  // See the AWS API reference guide for AWS CodeDeploy's
  4411  // API operation RemoveTagsFromOnPremisesInstances for usage and error information.
  4412  //
  4413  // Returned Error Types:
  4414  //   * InstanceNameRequiredException
  4415  //   An on-premises instance name was not specified.
  4416  //
  4417  //   * InvalidInstanceNameException
  4418  //   The on-premises instance name was specified in an invalid format.
  4419  //
  4420  //   * TagRequiredException
  4421  //   A tag was not specified.
  4422  //
  4423  //   * InvalidTagException
  4424  //   The tag was specified in an invalid format.
  4425  //
  4426  //   * TagLimitExceededException
  4427  //   The maximum allowed number of tags was exceeded.
  4428  //
  4429  //   * InstanceLimitExceededException
  4430  //   The maximum number of allowed on-premises instances in a single call was
  4431  //   exceeded.
  4432  //
  4433  //   * InstanceNotRegisteredException
  4434  //   The specified on-premises instance is not registered.
  4435  //
  4436  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RemoveTagsFromOnPremisesInstances
  4437  func (c *CodeDeploy) RemoveTagsFromOnPremisesInstances(input *RemoveTagsFromOnPremisesInstancesInput) (*RemoveTagsFromOnPremisesInstancesOutput, error) {
  4438  	req, out := c.RemoveTagsFromOnPremisesInstancesRequest(input)
  4439  	return out, req.Send()
  4440  }
  4441  
  4442  // RemoveTagsFromOnPremisesInstancesWithContext is the same as RemoveTagsFromOnPremisesInstances with the addition of
  4443  // the ability to pass a context and additional request options.
  4444  //
  4445  // See RemoveTagsFromOnPremisesInstances for details on how to use this API operation.
  4446  //
  4447  // The context must be non-nil and will be used for request cancellation. If
  4448  // the context is nil a panic will occur. In the future the SDK may create
  4449  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4450  // for more information on using Contexts.
  4451  func (c *CodeDeploy) RemoveTagsFromOnPremisesInstancesWithContext(ctx aws.Context, input *RemoveTagsFromOnPremisesInstancesInput, opts ...request.Option) (*RemoveTagsFromOnPremisesInstancesOutput, error) {
  4452  	req, out := c.RemoveTagsFromOnPremisesInstancesRequest(input)
  4453  	req.SetContext(ctx)
  4454  	req.ApplyOptions(opts...)
  4455  	return out, req.Send()
  4456  }
  4457  
  4458  const opSkipWaitTimeForInstanceTermination = "SkipWaitTimeForInstanceTermination"
  4459  
  4460  // SkipWaitTimeForInstanceTerminationRequest generates a "aws/request.Request" representing the
  4461  // client's request for the SkipWaitTimeForInstanceTermination operation. The "output" return
  4462  // value will be populated with the request's response once the request completes
  4463  // successfully.
  4464  //
  4465  // Use "Send" method on the returned Request to send the API call to the service.
  4466  // the "output" return value is not valid until after Send returns without error.
  4467  //
  4468  // See SkipWaitTimeForInstanceTermination for more information on using the SkipWaitTimeForInstanceTermination
  4469  // API call, and error handling.
  4470  //
  4471  // This method is useful when you want to inject custom logic or configuration
  4472  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  4473  //
  4474  //
  4475  //    // Example sending a request using the SkipWaitTimeForInstanceTerminationRequest method.
  4476  //    req, resp := client.SkipWaitTimeForInstanceTerminationRequest(params)
  4477  //
  4478  //    err := req.Send()
  4479  //    if err == nil { // resp is now filled
  4480  //        fmt.Println(resp)
  4481  //    }
  4482  //
  4483  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/SkipWaitTimeForInstanceTermination
  4484  //
  4485  // Deprecated: This operation is deprecated, use ContinueDeployment with DeploymentWaitType instead.
  4486  func (c *CodeDeploy) SkipWaitTimeForInstanceTerminationRequest(input *SkipWaitTimeForInstanceTerminationInput) (req *request.Request, output *SkipWaitTimeForInstanceTerminationOutput) {
  4487  	if c.Client.Config.Logger != nil {
  4488  		c.Client.Config.Logger.Log("This operation, SkipWaitTimeForInstanceTermination, has been deprecated")
  4489  	}
  4490  	op := &request.Operation{
  4491  		Name:       opSkipWaitTimeForInstanceTermination,
  4492  		HTTPMethod: "POST",
  4493  		HTTPPath:   "/",
  4494  	}
  4495  
  4496  	if input == nil {
  4497  		input = &SkipWaitTimeForInstanceTerminationInput{}
  4498  	}
  4499  
  4500  	output = &SkipWaitTimeForInstanceTerminationOutput{}
  4501  	req = c.newRequest(op, input, output)
  4502  	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  4503  	return
  4504  }
  4505  
  4506  // SkipWaitTimeForInstanceTermination API operation for AWS CodeDeploy.
  4507  //
  4508  // In a blue/green deployment, overrides any specified wait time and starts
  4509  // terminating instances immediately after the traffic routing is complete.
  4510  //
  4511  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  4512  // with awserr.Error's Code and Message methods to get detailed information about
  4513  // the error.
  4514  //
  4515  // See the AWS API reference guide for AWS CodeDeploy's
  4516  // API operation SkipWaitTimeForInstanceTermination for usage and error information.
  4517  //
  4518  // Returned Error Types:
  4519  //   * DeploymentIdRequiredException
  4520  //   At least one deployment ID must be specified.
  4521  //
  4522  //   * DeploymentDoesNotExistException
  4523  //   The deployment with the IAM user or AWS account does not exist.
  4524  //
  4525  //   * DeploymentAlreadyCompletedException
  4526  //   The deployment is already complete.
  4527  //
  4528  //   * InvalidDeploymentIdException
  4529  //   At least one of the deployment IDs was specified in an invalid format.
  4530  //
  4531  //   * DeploymentNotStartedException
  4532  //   The specified deployment has not started.
  4533  //
  4534  //   * UnsupportedActionForDeploymentTypeException
  4535  //   A call was submitted that is not supported for the specified deployment type.
  4536  //
  4537  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/SkipWaitTimeForInstanceTermination
  4538  //
  4539  // Deprecated: This operation is deprecated, use ContinueDeployment with DeploymentWaitType instead.
  4540  func (c *CodeDeploy) SkipWaitTimeForInstanceTermination(input *SkipWaitTimeForInstanceTerminationInput) (*SkipWaitTimeForInstanceTerminationOutput, error) {
  4541  	req, out := c.SkipWaitTimeForInstanceTerminationRequest(input)
  4542  	return out, req.Send()
  4543  }
  4544  
  4545  // SkipWaitTimeForInstanceTerminationWithContext is the same as SkipWaitTimeForInstanceTermination with the addition of
  4546  // the ability to pass a context and additional request options.
  4547  //
  4548  // See SkipWaitTimeForInstanceTermination for details on how to use this API operation.
  4549  //
  4550  // The context must be non-nil and will be used for request cancellation. If
  4551  // the context is nil a panic will occur. In the future the SDK may create
  4552  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4553  // for more information on using Contexts.
  4554  //
  4555  // Deprecated: This operation is deprecated, use ContinueDeployment with DeploymentWaitType instead.
  4556  func (c *CodeDeploy) SkipWaitTimeForInstanceTerminationWithContext(ctx aws.Context, input *SkipWaitTimeForInstanceTerminationInput, opts ...request.Option) (*SkipWaitTimeForInstanceTerminationOutput, error) {
  4557  	req, out := c.SkipWaitTimeForInstanceTerminationRequest(input)
  4558  	req.SetContext(ctx)
  4559  	req.ApplyOptions(opts...)
  4560  	return out, req.Send()
  4561  }
  4562  
  4563  const opStopDeployment = "StopDeployment"
  4564  
  4565  // StopDeploymentRequest generates a "aws/request.Request" representing the
  4566  // client's request for the StopDeployment operation. The "output" return
  4567  // value will be populated with the request's response once the request completes
  4568  // successfully.
  4569  //
  4570  // Use "Send" method on the returned Request to send the API call to the service.
  4571  // the "output" return value is not valid until after Send returns without error.
  4572  //
  4573  // See StopDeployment for more information on using the StopDeployment
  4574  // API call, and error handling.
  4575  //
  4576  // This method is useful when you want to inject custom logic or configuration
  4577  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  4578  //
  4579  //
  4580  //    // Example sending a request using the StopDeploymentRequest method.
  4581  //    req, resp := client.StopDeploymentRequest(params)
  4582  //
  4583  //    err := req.Send()
  4584  //    if err == nil { // resp is now filled
  4585  //        fmt.Println(resp)
  4586  //    }
  4587  //
  4588  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/StopDeployment
  4589  func (c *CodeDeploy) StopDeploymentRequest(input *StopDeploymentInput) (req *request.Request, output *StopDeploymentOutput) {
  4590  	op := &request.Operation{
  4591  		Name:       opStopDeployment,
  4592  		HTTPMethod: "POST",
  4593  		HTTPPath:   "/",
  4594  	}
  4595  
  4596  	if input == nil {
  4597  		input = &StopDeploymentInput{}
  4598  	}
  4599  
  4600  	output = &StopDeploymentOutput{}
  4601  	req = c.newRequest(op, input, output)
  4602  	return
  4603  }
  4604  
  4605  // StopDeployment API operation for AWS CodeDeploy.
  4606  //
  4607  // Attempts to stop an ongoing deployment.
  4608  //
  4609  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  4610  // with awserr.Error's Code and Message methods to get detailed information about
  4611  // the error.
  4612  //
  4613  // See the AWS API reference guide for AWS CodeDeploy's
  4614  // API operation StopDeployment for usage and error information.
  4615  //
  4616  // Returned Error Types:
  4617  //   * DeploymentIdRequiredException
  4618  //   At least one deployment ID must be specified.
  4619  //
  4620  //   * DeploymentDoesNotExistException
  4621  //   The deployment with the IAM user or AWS account does not exist.
  4622  //
  4623  //   * DeploymentGroupDoesNotExistException
  4624  //   The named deployment group with the IAM user or AWS account does not exist.
  4625  //
  4626  //   * DeploymentAlreadyCompletedException
  4627  //   The deployment is already complete.
  4628  //
  4629  //   * InvalidDeploymentIdException
  4630  //   At least one of the deployment IDs was specified in an invalid format.
  4631  //
  4632  //   * UnsupportedActionForDeploymentTypeException
  4633  //   A call was submitted that is not supported for the specified deployment type.
  4634  //
  4635  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/StopDeployment
  4636  func (c *CodeDeploy) StopDeployment(input *StopDeploymentInput) (*StopDeploymentOutput, error) {
  4637  	req, out := c.StopDeploymentRequest(input)
  4638  	return out, req.Send()
  4639  }
  4640  
  4641  // StopDeploymentWithContext is the same as StopDeployment with the addition of
  4642  // the ability to pass a context and additional request options.
  4643  //
  4644  // See StopDeployment for details on how to use this API operation.
  4645  //
  4646  // The context must be non-nil and will be used for request cancellation. If
  4647  // the context is nil a panic will occur. In the future the SDK may create
  4648  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4649  // for more information on using Contexts.
  4650  func (c *CodeDeploy) StopDeploymentWithContext(ctx aws.Context, input *StopDeploymentInput, opts ...request.Option) (*StopDeploymentOutput, error) {
  4651  	req, out := c.StopDeploymentRequest(input)
  4652  	req.SetContext(ctx)
  4653  	req.ApplyOptions(opts...)
  4654  	return out, req.Send()
  4655  }
  4656  
  4657  const opTagResource = "TagResource"
  4658  
  4659  // TagResourceRequest generates a "aws/request.Request" representing the
  4660  // client's request for the TagResource operation. The "output" return
  4661  // value will be populated with the request's response once the request completes
  4662  // successfully.
  4663  //
  4664  // Use "Send" method on the returned Request to send the API call to the service.
  4665  // the "output" return value is not valid until after Send returns without error.
  4666  //
  4667  // See TagResource for more information on using the TagResource
  4668  // API call, and error handling.
  4669  //
  4670  // This method is useful when you want to inject custom logic or configuration
  4671  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  4672  //
  4673  //
  4674  //    // Example sending a request using the TagResourceRequest method.
  4675  //    req, resp := client.TagResourceRequest(params)
  4676  //
  4677  //    err := req.Send()
  4678  //    if err == nil { // resp is now filled
  4679  //        fmt.Println(resp)
  4680  //    }
  4681  //
  4682  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TagResource
  4683  func (c *CodeDeploy) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) {
  4684  	op := &request.Operation{
  4685  		Name:       opTagResource,
  4686  		HTTPMethod: "POST",
  4687  		HTTPPath:   "/",
  4688  	}
  4689  
  4690  	if input == nil {
  4691  		input = &TagResourceInput{}
  4692  	}
  4693  
  4694  	output = &TagResourceOutput{}
  4695  	req = c.newRequest(op, input, output)
  4696  	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  4697  	return
  4698  }
  4699  
  4700  // TagResource API operation for AWS CodeDeploy.
  4701  //
  4702  // Associates the list of tags in the input Tags parameter with the resource
  4703  // identified by the ResourceArn input parameter.
  4704  //
  4705  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  4706  // with awserr.Error's Code and Message methods to get detailed information about
  4707  // the error.
  4708  //
  4709  // See the AWS API reference guide for AWS CodeDeploy's
  4710  // API operation TagResource for usage and error information.
  4711  //
  4712  // Returned Error Types:
  4713  //   * ResourceArnRequiredException
  4714  //   The ARN of a resource is required, but was not found.
  4715  //
  4716  //   * ApplicationDoesNotExistException
  4717  //   The application does not exist with the IAM user or AWS account.
  4718  //
  4719  //   * DeploymentGroupDoesNotExistException
  4720  //   The named deployment group with the IAM user or AWS account does not exist.
  4721  //
  4722  //   * DeploymentConfigDoesNotExistException
  4723  //   The deployment configuration does not exist with the IAM user or AWS account.
  4724  //
  4725  //   * TagRequiredException
  4726  //   A tag was not specified.
  4727  //
  4728  //   * InvalidTagsToAddException
  4729  //   The specified tags are not valid.
  4730  //
  4731  //   * ArnNotSupportedException
  4732  //   The specified ARN is not supported. For example, it might be an ARN for a
  4733  //   resource that is not expected.
  4734  //
  4735  //   * InvalidArnException
  4736  //   The specified ARN is not in a valid format.
  4737  //
  4738  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TagResource
  4739  func (c *CodeDeploy) TagResource(input *TagResourceInput) (*TagResourceOutput, error) {
  4740  	req, out := c.TagResourceRequest(input)
  4741  	return out, req.Send()
  4742  }
  4743  
  4744  // TagResourceWithContext is the same as TagResource with the addition of
  4745  // the ability to pass a context and additional request options.
  4746  //
  4747  // See TagResource for details on how to use this API operation.
  4748  //
  4749  // The context must be non-nil and will be used for request cancellation. If
  4750  // the context is nil a panic will occur. In the future the SDK may create
  4751  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4752  // for more information on using Contexts.
  4753  func (c *CodeDeploy) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) {
  4754  	req, out := c.TagResourceRequest(input)
  4755  	req.SetContext(ctx)
  4756  	req.ApplyOptions(opts...)
  4757  	return out, req.Send()
  4758  }
  4759  
  4760  const opUntagResource = "UntagResource"
  4761  
  4762  // UntagResourceRequest generates a "aws/request.Request" representing the
  4763  // client's request for the UntagResource operation. The "output" return
  4764  // value will be populated with the request's response once the request completes
  4765  // successfully.
  4766  //
  4767  // Use "Send" method on the returned Request to send the API call to the service.
  4768  // the "output" return value is not valid until after Send returns without error.
  4769  //
  4770  // See UntagResource for more information on using the UntagResource
  4771  // API call, and error handling.
  4772  //
  4773  // This method is useful when you want to inject custom logic or configuration
  4774  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  4775  //
  4776  //
  4777  //    // Example sending a request using the UntagResourceRequest method.
  4778  //    req, resp := client.UntagResourceRequest(params)
  4779  //
  4780  //    err := req.Send()
  4781  //    if err == nil { // resp is now filled
  4782  //        fmt.Println(resp)
  4783  //    }
  4784  //
  4785  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UntagResource
  4786  func (c *CodeDeploy) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) {
  4787  	op := &request.Operation{
  4788  		Name:       opUntagResource,
  4789  		HTTPMethod: "POST",
  4790  		HTTPPath:   "/",
  4791  	}
  4792  
  4793  	if input == nil {
  4794  		input = &UntagResourceInput{}
  4795  	}
  4796  
  4797  	output = &UntagResourceOutput{}
  4798  	req = c.newRequest(op, input, output)
  4799  	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  4800  	return
  4801  }
  4802  
  4803  // UntagResource API operation for AWS CodeDeploy.
  4804  //
  4805  // Disassociates a resource from a list of tags. The resource is identified
  4806  // by the ResourceArn input parameter. The tags are identified by the list of
  4807  // keys in the TagKeys input parameter.
  4808  //
  4809  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  4810  // with awserr.Error's Code and Message methods to get detailed information about
  4811  // the error.
  4812  //
  4813  // See the AWS API reference guide for AWS CodeDeploy's
  4814  // API operation UntagResource for usage and error information.
  4815  //
  4816  // Returned Error Types:
  4817  //   * ResourceArnRequiredException
  4818  //   The ARN of a resource is required, but was not found.
  4819  //
  4820  //   * ApplicationDoesNotExistException
  4821  //   The application does not exist with the IAM user or AWS account.
  4822  //
  4823  //   * DeploymentGroupDoesNotExistException
  4824  //   The named deployment group with the IAM user or AWS account does not exist.
  4825  //
  4826  //   * DeploymentConfigDoesNotExistException
  4827  //   The deployment configuration does not exist with the IAM user or AWS account.
  4828  //
  4829  //   * TagRequiredException
  4830  //   A tag was not specified.
  4831  //
  4832  //   * InvalidTagsToAddException
  4833  //   The specified tags are not valid.
  4834  //
  4835  //   * ArnNotSupportedException
  4836  //   The specified ARN is not supported. For example, it might be an ARN for a
  4837  //   resource that is not expected.
  4838  //
  4839  //   * InvalidArnException
  4840  //   The specified ARN is not in a valid format.
  4841  //
  4842  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UntagResource
  4843  func (c *CodeDeploy) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) {
  4844  	req, out := c.UntagResourceRequest(input)
  4845  	return out, req.Send()
  4846  }
  4847  
  4848  // UntagResourceWithContext is the same as UntagResource with the addition of
  4849  // the ability to pass a context and additional request options.
  4850  //
  4851  // See UntagResource for details on how to use this API operation.
  4852  //
  4853  // The context must be non-nil and will be used for request cancellation. If
  4854  // the context is nil a panic will occur. In the future the SDK may create
  4855  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4856  // for more information on using Contexts.
  4857  func (c *CodeDeploy) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) {
  4858  	req, out := c.UntagResourceRequest(input)
  4859  	req.SetContext(ctx)
  4860  	req.ApplyOptions(opts...)
  4861  	return out, req.Send()
  4862  }
  4863  
  4864  const opUpdateApplication = "UpdateApplication"
  4865  
  4866  // UpdateApplicationRequest generates a "aws/request.Request" representing the
  4867  // client's request for the UpdateApplication operation. The "output" return
  4868  // value will be populated with the request's response once the request completes
  4869  // successfully.
  4870  //
  4871  // Use "Send" method on the returned Request to send the API call to the service.
  4872  // the "output" return value is not valid until after Send returns without error.
  4873  //
  4874  // See UpdateApplication for more information on using the UpdateApplication
  4875  // API call, and error handling.
  4876  //
  4877  // This method is useful when you want to inject custom logic or configuration
  4878  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  4879  //
  4880  //
  4881  //    // Example sending a request using the UpdateApplicationRequest method.
  4882  //    req, resp := client.UpdateApplicationRequest(params)
  4883  //
  4884  //    err := req.Send()
  4885  //    if err == nil { // resp is now filled
  4886  //        fmt.Println(resp)
  4887  //    }
  4888  //
  4889  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateApplication
  4890  func (c *CodeDeploy) UpdateApplicationRequest(input *UpdateApplicationInput) (req *request.Request, output *UpdateApplicationOutput) {
  4891  	op := &request.Operation{
  4892  		Name:       opUpdateApplication,
  4893  		HTTPMethod: "POST",
  4894  		HTTPPath:   "/",
  4895  	}
  4896  
  4897  	if input == nil {
  4898  		input = &UpdateApplicationInput{}
  4899  	}
  4900  
  4901  	output = &UpdateApplicationOutput{}
  4902  	req = c.newRequest(op, input, output)
  4903  	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  4904  	return
  4905  }
  4906  
  4907  // UpdateApplication API operation for AWS CodeDeploy.
  4908  //
  4909  // Changes the name of an application.
  4910  //
  4911  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  4912  // with awserr.Error's Code and Message methods to get detailed information about
  4913  // the error.
  4914  //
  4915  // See the AWS API reference guide for AWS CodeDeploy's
  4916  // API operation UpdateApplication for usage and error information.
  4917  //
  4918  // Returned Error Types:
  4919  //   * ApplicationNameRequiredException
  4920  //   The minimum number of required application names was not specified.
  4921  //
  4922  //   * InvalidApplicationNameException
  4923  //   The application name was specified in an invalid format.
  4924  //
  4925  //   * ApplicationAlreadyExistsException
  4926  //   An application with the specified name with the IAM user or AWS account already
  4927  //   exists.
  4928  //
  4929  //   * ApplicationDoesNotExistException
  4930  //   The application does not exist with the IAM user or AWS account.
  4931  //
  4932  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateApplication
  4933  func (c *CodeDeploy) UpdateApplication(input *UpdateApplicationInput) (*UpdateApplicationOutput, error) {
  4934  	req, out := c.UpdateApplicationRequest(input)
  4935  	return out, req.Send()
  4936  }
  4937  
  4938  // UpdateApplicationWithContext is the same as UpdateApplication with the addition of
  4939  // the ability to pass a context and additional request options.
  4940  //
  4941  // See UpdateApplication for details on how to use this API operation.
  4942  //
  4943  // The context must be non-nil and will be used for request cancellation. If
  4944  // the context is nil a panic will occur. In the future the SDK may create
  4945  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4946  // for more information on using Contexts.
  4947  func (c *CodeDeploy) UpdateApplicationWithContext(ctx aws.Context, input *UpdateApplicationInput, opts ...request.Option) (*UpdateApplicationOutput, error) {
  4948  	req, out := c.UpdateApplicationRequest(input)
  4949  	req.SetContext(ctx)
  4950  	req.ApplyOptions(opts...)
  4951  	return out, req.Send()
  4952  }
  4953  
  4954  const opUpdateDeploymentGroup = "UpdateDeploymentGroup"
  4955  
  4956  // UpdateDeploymentGroupRequest generates a "aws/request.Request" representing the
  4957  // client's request for the UpdateDeploymentGroup operation. The "output" return
  4958  // value will be populated with the request's response once the request completes
  4959  // successfully.
  4960  //
  4961  // Use "Send" method on the returned Request to send the API call to the service.
  4962  // the "output" return value is not valid until after Send returns without error.
  4963  //
  4964  // See UpdateDeploymentGroup for more information on using the UpdateDeploymentGroup
  4965  // API call, and error handling.
  4966  //
  4967  // This method is useful when you want to inject custom logic or configuration
  4968  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  4969  //
  4970  //
  4971  //    // Example sending a request using the UpdateDeploymentGroupRequest method.
  4972  //    req, resp := client.UpdateDeploymentGroupRequest(params)
  4973  //
  4974  //    err := req.Send()
  4975  //    if err == nil { // resp is now filled
  4976  //        fmt.Println(resp)
  4977  //    }
  4978  //
  4979  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateDeploymentGroup
  4980  func (c *CodeDeploy) UpdateDeploymentGroupRequest(input *UpdateDeploymentGroupInput) (req *request.Request, output *UpdateDeploymentGroupOutput) {
  4981  	op := &request.Operation{
  4982  		Name:       opUpdateDeploymentGroup,
  4983  		HTTPMethod: "POST",
  4984  		HTTPPath:   "/",
  4985  	}
  4986  
  4987  	if input == nil {
  4988  		input = &UpdateDeploymentGroupInput{}
  4989  	}
  4990  
  4991  	output = &UpdateDeploymentGroupOutput{}
  4992  	req = c.newRequest(op, input, output)
  4993  	return
  4994  }
  4995  
  4996  // UpdateDeploymentGroup API operation for AWS CodeDeploy.
  4997  //
  4998  // Changes information about a deployment group.
  4999  //
  5000  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  5001  // with awserr.Error's Code and Message methods to get detailed information about
  5002  // the error.
  5003  //
  5004  // See the AWS API reference guide for AWS CodeDeploy's
  5005  // API operation UpdateDeploymentGroup for usage and error information.
  5006  //
  5007  // Returned Error Types:
  5008  //   * ApplicationNameRequiredException
  5009  //   The minimum number of required application names was not specified.
  5010  //
  5011  //   * InvalidApplicationNameException
  5012  //   The application name was specified in an invalid format.
  5013  //
  5014  //   * ApplicationDoesNotExistException
  5015  //   The application does not exist with the IAM user or AWS account.
  5016  //
  5017  //   * InvalidDeploymentGroupNameException
  5018  //   The deployment group name was specified in an invalid format.
  5019  //
  5020  //   * DeploymentGroupAlreadyExistsException
  5021  //   A deployment group with the specified name with the IAM user or AWS account
  5022  //   already exists.
  5023  //
  5024  //   * DeploymentGroupNameRequiredException
  5025  //   The deployment group name was not specified.
  5026  //
  5027  //   * DeploymentGroupDoesNotExistException
  5028  //   The named deployment group with the IAM user or AWS account does not exist.
  5029  //
  5030  //   * InvalidEC2TagException
  5031  //   The tag was specified in an invalid format.
  5032  //
  5033  //   * InvalidTagException
  5034  //   The tag was specified in an invalid format.
  5035  //
  5036  //   * InvalidAutoScalingGroupException
  5037  //   The Auto Scaling group was specified in an invalid format or does not exist.
  5038  //
  5039  //   * InvalidDeploymentConfigNameException
  5040  //   The deployment configuration name was specified in an invalid format.
  5041  //
  5042  //   * DeploymentConfigDoesNotExistException
  5043  //   The deployment configuration does not exist with the IAM user or AWS account.
  5044  //
  5045  //   * InvalidRoleException
  5046  //   The service role ARN was specified in an invalid format. Or, if an Auto Scaling
  5047  //   group was specified, the specified service role does not grant the appropriate
  5048  //   permissions to Amazon EC2 Auto Scaling.
  5049  //
  5050  //   * LifecycleHookLimitExceededException
  5051  //   The limit for lifecycle hooks was exceeded.
  5052  //
  5053  //   * InvalidTriggerConfigException
  5054  //   The trigger was specified in an invalid format.
  5055  //
  5056  //   * TriggerTargetsLimitExceededException
  5057  //   The maximum allowed number of triggers was exceeded.
  5058  //
  5059  //   * InvalidAlarmConfigException
  5060  //   The format of the alarm configuration is invalid. Possible causes include:
  5061  //
  5062  //      * The alarm list is null.
  5063  //
  5064  //      * The alarm object is null.
  5065  //
  5066  //      * The alarm name is empty or null or exceeds the limit of 255 characters.
  5067  //
  5068  //      * Two alarms with the same name have been specified.
  5069  //
  5070  //      * The alarm configuration is enabled, but the alarm list is empty.
  5071  //
  5072  //   * AlarmsLimitExceededException
  5073  //   The maximum number of alarms for a deployment group (10) was exceeded.
  5074  //
  5075  //   * InvalidAutoRollbackConfigException
  5076  //   The automatic rollback configuration was specified in an invalid format.
  5077  //   For example, automatic rollback is enabled, but an invalid triggering event
  5078  //   type or no event types were listed.
  5079  //
  5080  //   * InvalidLoadBalancerInfoException
  5081  //   An invalid load balancer name, or no load balancer name, was specified.
  5082  //
  5083  //   * InvalidDeploymentStyleException
  5084  //   An invalid deployment style was specified. Valid deployment types include
  5085  //   "IN_PLACE" and "BLUE_GREEN." Valid deployment options include "WITH_TRAFFIC_CONTROL"
  5086  //   and "WITHOUT_TRAFFIC_CONTROL."
  5087  //
  5088  //   * InvalidBlueGreenDeploymentConfigurationException
  5089  //   The configuration for the blue/green deployment group was provided in an
  5090  //   invalid format. For information about deployment configuration format, see
  5091  //   CreateDeploymentConfig.
  5092  //
  5093  //   * InvalidEC2TagCombinationException
  5094  //   A call was submitted that specified both Ec2TagFilters and Ec2TagSet, but
  5095  //   only one of these data types can be used in a single call.
  5096  //
  5097  //   * InvalidOnPremisesTagCombinationException
  5098  //   A call was submitted that specified both OnPremisesTagFilters and OnPremisesTagSet,
  5099  //   but only one of these data types can be used in a single call.
  5100  //
  5101  //   * TagSetListLimitExceededException
  5102  //   The number of tag groups included in the tag set list exceeded the maximum
  5103  //   allowed limit of 3.
  5104  //
  5105  //   * InvalidInputException
  5106  //   The input was specified in an invalid format.
  5107  //
  5108  //   * ThrottlingException
  5109  //   An API function was called too frequently.
  5110  //
  5111  //   * InvalidECSServiceException
  5112  //   The Amazon ECS service identifier is not valid.
  5113  //
  5114  //   * InvalidTargetGroupPairException
  5115  //   A target group pair associated with this deployment is not valid.
  5116  //
  5117  //   * ECSServiceMappingLimitExceededException
  5118  //   The Amazon ECS service is associated with more than one deployment groups.
  5119  //   An Amazon ECS service can be associated with only one deployment group.
  5120  //
  5121  //   * InvalidTrafficRoutingConfigurationException
  5122  //   The configuration that specifies how traffic is routed during a deployment
  5123  //   is invalid.
  5124  //
  5125  // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateDeploymentGroup
  5126  func (c *CodeDeploy) UpdateDeploymentGroup(input *UpdateDeploymentGroupInput) (*UpdateDeploymentGroupOutput, error) {
  5127  	req, out := c.UpdateDeploymentGroupRequest(input)
  5128  	return out, req.Send()
  5129  }
  5130  
  5131  // UpdateDeploymentGroupWithContext is the same as UpdateDeploymentGroup with the addition of
  5132  // the ability to pass a context and additional request options.
  5133  //
  5134  // See UpdateDeploymentGroup for details on how to use this API operation.
  5135  //
  5136  // The context must be non-nil and will be used for request cancellation. If
  5137  // the context is nil a panic will occur. In the future the SDK may create
  5138  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  5139  // for more information on using Contexts.
  5140  func (c *CodeDeploy) UpdateDeploymentGroupWithContext(ctx aws.Context, input *UpdateDeploymentGroupInput, opts ...request.Option) (*UpdateDeploymentGroupOutput, error) {
  5141  	req, out := c.UpdateDeploymentGroupRequest(input)
  5142  	req.SetContext(ctx)
  5143  	req.ApplyOptions(opts...)
  5144  	return out, req.Send()
  5145  }
  5146  
  5147  // Represents the input of, and adds tags to, an on-premises instance operation.
  5148  type AddTagsToOnPremisesInstancesInput struct {
  5149  	_ struct{} `type:"structure"`
  5150  
  5151  	// The names of the on-premises instances to which to add tags.
  5152  	//
  5153  	// InstanceNames is a required field
  5154  	InstanceNames []*string `locationName:"instanceNames" type:"list" required:"true"`
  5155  
  5156  	// The tag key-value pairs to add to the on-premises instances.
  5157  	//
  5158  	// Keys and values are both required. Keys cannot be null or empty strings.
  5159  	// Value-only tags are not allowed.
  5160  	//
  5161  	// Tags is a required field
  5162  	Tags []*Tag `locationName:"tags" type:"list" required:"true"`
  5163  }
  5164  
  5165  // String returns the string representation.
  5166  //
  5167  // API parameter values that are decorated as "sensitive" in the API will not
  5168  // be included in the string output. The member name will be present, but the
  5169  // value will be replaced with "sensitive".
  5170  func (s AddTagsToOnPremisesInstancesInput) String() string {
  5171  	return awsutil.Prettify(s)
  5172  }
  5173  
  5174  // GoString returns the string representation.
  5175  //
  5176  // API parameter values that are decorated as "sensitive" in the API will not
  5177  // be included in the string output. The member name will be present, but the
  5178  // value will be replaced with "sensitive".
  5179  func (s AddTagsToOnPremisesInstancesInput) GoString() string {
  5180  	return s.String()
  5181  }
  5182  
  5183  // Validate inspects the fields of the type to determine if they are valid.
  5184  func (s *AddTagsToOnPremisesInstancesInput) Validate() error {
  5185  	invalidParams := request.ErrInvalidParams{Context: "AddTagsToOnPremisesInstancesInput"}
  5186  	if s.InstanceNames == nil {
  5187  		invalidParams.Add(request.NewErrParamRequired("InstanceNames"))
  5188  	}
  5189  	if s.Tags == nil {
  5190  		invalidParams.Add(request.NewErrParamRequired("Tags"))
  5191  	}
  5192  
  5193  	if invalidParams.Len() > 0 {
  5194  		return invalidParams
  5195  	}
  5196  	return nil
  5197  }
  5198  
  5199  // SetInstanceNames sets the InstanceNames field's value.
  5200  func (s *AddTagsToOnPremisesInstancesInput) SetInstanceNames(v []*string) *AddTagsToOnPremisesInstancesInput {
  5201  	s.InstanceNames = v
  5202  	return s
  5203  }
  5204  
  5205  // SetTags sets the Tags field's value.
  5206  func (s *AddTagsToOnPremisesInstancesInput) SetTags(v []*Tag) *AddTagsToOnPremisesInstancesInput {
  5207  	s.Tags = v
  5208  	return s
  5209  }
  5210  
  5211  type AddTagsToOnPremisesInstancesOutput struct {
  5212  	_ struct{} `type:"structure"`
  5213  }
  5214  
  5215  // String returns the string representation.
  5216  //
  5217  // API parameter values that are decorated as "sensitive" in the API will not
  5218  // be included in the string output. The member name will be present, but the
  5219  // value will be replaced with "sensitive".
  5220  func (s AddTagsToOnPremisesInstancesOutput) String() string {
  5221  	return awsutil.Prettify(s)
  5222  }
  5223  
  5224  // GoString returns the string representation.
  5225  //
  5226  // API parameter values that are decorated as "sensitive" in the API will not
  5227  // be included in the string output. The member name will be present, but the
  5228  // value will be replaced with "sensitive".
  5229  func (s AddTagsToOnPremisesInstancesOutput) GoString() string {
  5230  	return s.String()
  5231  }
  5232  
  5233  // Information about an alarm.
  5234  type Alarm struct {
  5235  	_ struct{} `type:"structure"`
  5236  
  5237  	// The name of the alarm. Maximum length is 255 characters. Each alarm name
  5238  	// can be used only once in a list of alarms.
  5239  	Name *string `locationName:"name" type:"string"`
  5240  }
  5241  
  5242  // String returns the string representation.
  5243  //
  5244  // API parameter values that are decorated as "sensitive" in the API will not
  5245  // be included in the string output. The member name will be present, but the
  5246  // value will be replaced with "sensitive".
  5247  func (s Alarm) String() string {
  5248  	return awsutil.Prettify(s)
  5249  }
  5250  
  5251  // GoString returns the string representation.
  5252  //
  5253  // API parameter values that are decorated as "sensitive" in the API will not
  5254  // be included in the string output. The member name will be present, but the
  5255  // value will be replaced with "sensitive".
  5256  func (s Alarm) GoString() string {
  5257  	return s.String()
  5258  }
  5259  
  5260  // SetName sets the Name field's value.
  5261  func (s *Alarm) SetName(v string) *Alarm {
  5262  	s.Name = &v
  5263  	return s
  5264  }
  5265  
  5266  // Information about alarms associated with the deployment group.
  5267  type AlarmConfiguration struct {
  5268  	_ struct{} `type:"structure"`
  5269  
  5270  	// A list of alarms configured for the deployment group. A maximum of 10 alarms
  5271  	// can be added to a deployment group.
  5272  	Alarms []*Alarm `locationName:"alarms" type:"list"`
  5273  
  5274  	// Indicates whether the alarm configuration is enabled.
  5275  	Enabled *bool `locationName:"enabled" type:"boolean"`
  5276  
  5277  	// Indicates whether a deployment should continue if information about the current
  5278  	// state of alarms cannot be retrieved from Amazon CloudWatch. The default value
  5279  	// is false.
  5280  	//
  5281  	//    * true: The deployment proceeds even if alarm status information can't
  5282  	//    be retrieved from Amazon CloudWatch.
  5283  	//
  5284  	//    * false: The deployment stops if alarm status information can't be retrieved
  5285  	//    from Amazon CloudWatch.
  5286  	IgnorePollAlarmFailure *bool `locationName:"ignorePollAlarmFailure" type:"boolean"`
  5287  }
  5288  
  5289  // String returns the string representation.
  5290  //
  5291  // API parameter values that are decorated as "sensitive" in the API will not
  5292  // be included in the string output. The member name will be present, but the
  5293  // value will be replaced with "sensitive".
  5294  func (s AlarmConfiguration) String() string {
  5295  	return awsutil.Prettify(s)
  5296  }
  5297  
  5298  // GoString returns the string representation.
  5299  //
  5300  // API parameter values that are decorated as "sensitive" in the API will not
  5301  // be included in the string output. The member name will be present, but the
  5302  // value will be replaced with "sensitive".
  5303  func (s AlarmConfiguration) GoString() string {
  5304  	return s.String()
  5305  }
  5306  
  5307  // SetAlarms sets the Alarms field's value.
  5308  func (s *AlarmConfiguration) SetAlarms(v []*Alarm) *AlarmConfiguration {
  5309  	s.Alarms = v
  5310  	return s
  5311  }
  5312  
  5313  // SetEnabled sets the Enabled field's value.
  5314  func (s *AlarmConfiguration) SetEnabled(v bool) *AlarmConfiguration {
  5315  	s.Enabled = &v
  5316  	return s
  5317  }
  5318  
  5319  // SetIgnorePollAlarmFailure sets the IgnorePollAlarmFailure field's value.
  5320  func (s *AlarmConfiguration) SetIgnorePollAlarmFailure(v bool) *AlarmConfiguration {
  5321  	s.IgnorePollAlarmFailure = &v
  5322  	return s
  5323  }
  5324  
  5325  // The maximum number of alarms for a deployment group (10) was exceeded.
  5326  type AlarmsLimitExceededException struct {
  5327  	_            struct{}                  `type:"structure"`
  5328  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  5329  
  5330  	Message_ *string `locationName:"message" type:"string"`
  5331  }
  5332  
  5333  // String returns the string representation.
  5334  //
  5335  // API parameter values that are decorated as "sensitive" in the API will not
  5336  // be included in the string output. The member name will be present, but the
  5337  // value will be replaced with "sensitive".
  5338  func (s AlarmsLimitExceededException) String() string {
  5339  	return awsutil.Prettify(s)
  5340  }
  5341  
  5342  // GoString returns the string representation.
  5343  //
  5344  // API parameter values that are decorated as "sensitive" in the API will not
  5345  // be included in the string output. The member name will be present, but the
  5346  // value will be replaced with "sensitive".
  5347  func (s AlarmsLimitExceededException) GoString() string {
  5348  	return s.String()
  5349  }
  5350  
  5351  func newErrorAlarmsLimitExceededException(v protocol.ResponseMetadata) error {
  5352  	return &AlarmsLimitExceededException{
  5353  		RespMetadata: v,
  5354  	}
  5355  }
  5356  
  5357  // Code returns the exception type name.
  5358  func (s *AlarmsLimitExceededException) Code() string {
  5359  	return "AlarmsLimitExceededException"
  5360  }
  5361  
  5362  // Message returns the exception's message.
  5363  func (s *AlarmsLimitExceededException) Message() string {
  5364  	if s.Message_ != nil {
  5365  		return *s.Message_
  5366  	}
  5367  	return ""
  5368  }
  5369  
  5370  // OrigErr always returns nil, satisfies awserr.Error interface.
  5371  func (s *AlarmsLimitExceededException) OrigErr() error {
  5372  	return nil
  5373  }
  5374  
  5375  func (s *AlarmsLimitExceededException) Error() string {
  5376  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  5377  }
  5378  
  5379  // Status code returns the HTTP status code for the request's response error.
  5380  func (s *AlarmsLimitExceededException) StatusCode() int {
  5381  	return s.RespMetadata.StatusCode
  5382  }
  5383  
  5384  // RequestID returns the service's response RequestID for request.
  5385  func (s *AlarmsLimitExceededException) RequestID() string {
  5386  	return s.RespMetadata.RequestID
  5387  }
  5388  
  5389  // A revision for an AWS Lambda or Amazon ECS deployment that is a YAML-formatted
  5390  // or JSON-formatted string. For AWS Lambda and Amazon ECS deployments, the
  5391  // revision is the same as the AppSpec file. This method replaces the deprecated
  5392  // RawString data type.
  5393  type AppSpecContent struct {
  5394  	_ struct{} `type:"structure"`
  5395  
  5396  	// The YAML-formatted or JSON-formatted revision string.
  5397  	//
  5398  	// For an AWS Lambda deployment, the content includes a Lambda function name,
  5399  	// the alias for its original version, and the alias for its replacement version.
  5400  	// The deployment shifts traffic from the original version of the Lambda function
  5401  	// to the replacement version.
  5402  	//
  5403  	// For an Amazon ECS deployment, the content includes the task name, information
  5404  	// about the load balancer that serves traffic to the container, and more.
  5405  	//
  5406  	// For both types of deployments, the content can specify Lambda functions that
  5407  	// run at specified hooks, such as BeforeInstall, during a deployment.
  5408  	Content *string `locationName:"content" type:"string"`
  5409  
  5410  	// The SHA256 hash value of the revision content.
  5411  	Sha256 *string `locationName:"sha256" type:"string"`
  5412  }
  5413  
  5414  // String returns the string representation.
  5415  //
  5416  // API parameter values that are decorated as "sensitive" in the API will not
  5417  // be included in the string output. The member name will be present, but the
  5418  // value will be replaced with "sensitive".
  5419  func (s AppSpecContent) String() string {
  5420  	return awsutil.Prettify(s)
  5421  }
  5422  
  5423  // GoString returns the string representation.
  5424  //
  5425  // API parameter values that are decorated as "sensitive" in the API will not
  5426  // be included in the string output. The member name will be present, but the
  5427  // value will be replaced with "sensitive".
  5428  func (s AppSpecContent) GoString() string {
  5429  	return s.String()
  5430  }
  5431  
  5432  // SetContent sets the Content field's value.
  5433  func (s *AppSpecContent) SetContent(v string) *AppSpecContent {
  5434  	s.Content = &v
  5435  	return s
  5436  }
  5437  
  5438  // SetSha256 sets the Sha256 field's value.
  5439  func (s *AppSpecContent) SetSha256(v string) *AppSpecContent {
  5440  	s.Sha256 = &v
  5441  	return s
  5442  }
  5443  
  5444  // An application with the specified name with the IAM user or AWS account already
  5445  // exists.
  5446  type ApplicationAlreadyExistsException struct {
  5447  	_            struct{}                  `type:"structure"`
  5448  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  5449  
  5450  	Message_ *string `locationName:"message" type:"string"`
  5451  }
  5452  
  5453  // String returns the string representation.
  5454  //
  5455  // API parameter values that are decorated as "sensitive" in the API will not
  5456  // be included in the string output. The member name will be present, but the
  5457  // value will be replaced with "sensitive".
  5458  func (s ApplicationAlreadyExistsException) String() string {
  5459  	return awsutil.Prettify(s)
  5460  }
  5461  
  5462  // GoString returns the string representation.
  5463  //
  5464  // API parameter values that are decorated as "sensitive" in the API will not
  5465  // be included in the string output. The member name will be present, but the
  5466  // value will be replaced with "sensitive".
  5467  func (s ApplicationAlreadyExistsException) GoString() string {
  5468  	return s.String()
  5469  }
  5470  
  5471  func newErrorApplicationAlreadyExistsException(v protocol.ResponseMetadata) error {
  5472  	return &ApplicationAlreadyExistsException{
  5473  		RespMetadata: v,
  5474  	}
  5475  }
  5476  
  5477  // Code returns the exception type name.
  5478  func (s *ApplicationAlreadyExistsException) Code() string {
  5479  	return "ApplicationAlreadyExistsException"
  5480  }
  5481  
  5482  // Message returns the exception's message.
  5483  func (s *ApplicationAlreadyExistsException) Message() string {
  5484  	if s.Message_ != nil {
  5485  		return *s.Message_
  5486  	}
  5487  	return ""
  5488  }
  5489  
  5490  // OrigErr always returns nil, satisfies awserr.Error interface.
  5491  func (s *ApplicationAlreadyExistsException) OrigErr() error {
  5492  	return nil
  5493  }
  5494  
  5495  func (s *ApplicationAlreadyExistsException) Error() string {
  5496  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  5497  }
  5498  
  5499  // Status code returns the HTTP status code for the request's response error.
  5500  func (s *ApplicationAlreadyExistsException) StatusCode() int {
  5501  	return s.RespMetadata.StatusCode
  5502  }
  5503  
  5504  // RequestID returns the service's response RequestID for request.
  5505  func (s *ApplicationAlreadyExistsException) RequestID() string {
  5506  	return s.RespMetadata.RequestID
  5507  }
  5508  
  5509  // The application does not exist with the IAM user or AWS account.
  5510  type ApplicationDoesNotExistException struct {
  5511  	_            struct{}                  `type:"structure"`
  5512  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  5513  
  5514  	Message_ *string `locationName:"message" type:"string"`
  5515  }
  5516  
  5517  // String returns the string representation.
  5518  //
  5519  // API parameter values that are decorated as "sensitive" in the API will not
  5520  // be included in the string output. The member name will be present, but the
  5521  // value will be replaced with "sensitive".
  5522  func (s ApplicationDoesNotExistException) String() string {
  5523  	return awsutil.Prettify(s)
  5524  }
  5525  
  5526  // GoString returns the string representation.
  5527  //
  5528  // API parameter values that are decorated as "sensitive" in the API will not
  5529  // be included in the string output. The member name will be present, but the
  5530  // value will be replaced with "sensitive".
  5531  func (s ApplicationDoesNotExistException) GoString() string {
  5532  	return s.String()
  5533  }
  5534  
  5535  func newErrorApplicationDoesNotExistException(v protocol.ResponseMetadata) error {
  5536  	return &ApplicationDoesNotExistException{
  5537  		RespMetadata: v,
  5538  	}
  5539  }
  5540  
  5541  // Code returns the exception type name.
  5542  func (s *ApplicationDoesNotExistException) Code() string {
  5543  	return "ApplicationDoesNotExistException"
  5544  }
  5545  
  5546  // Message returns the exception's message.
  5547  func (s *ApplicationDoesNotExistException) Message() string {
  5548  	if s.Message_ != nil {
  5549  		return *s.Message_
  5550  	}
  5551  	return ""
  5552  }
  5553  
  5554  // OrigErr always returns nil, satisfies awserr.Error interface.
  5555  func (s *ApplicationDoesNotExistException) OrigErr() error {
  5556  	return nil
  5557  }
  5558  
  5559  func (s *ApplicationDoesNotExistException) Error() string {
  5560  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  5561  }
  5562  
  5563  // Status code returns the HTTP status code for the request's response error.
  5564  func (s *ApplicationDoesNotExistException) StatusCode() int {
  5565  	return s.RespMetadata.StatusCode
  5566  }
  5567  
  5568  // RequestID returns the service's response RequestID for request.
  5569  func (s *ApplicationDoesNotExistException) RequestID() string {
  5570  	return s.RespMetadata.RequestID
  5571  }
  5572  
  5573  // Information about an application.
  5574  type ApplicationInfo struct {
  5575  	_ struct{} `type:"structure"`
  5576  
  5577  	// The application ID.
  5578  	ApplicationId *string `locationName:"applicationId" type:"string"`
  5579  
  5580  	// The application name.
  5581  	ApplicationName *string `locationName:"applicationName" min:"1" type:"string"`
  5582  
  5583  	// The destination platform type for deployment of the application (Lambda or
  5584  	// Server).
  5585  	ComputePlatform *string `locationName:"computePlatform" type:"string" enum:"ComputePlatform"`
  5586  
  5587  	// The time at which the application was created.
  5588  	CreateTime *time.Time `locationName:"createTime" type:"timestamp"`
  5589  
  5590  	// The name for a connection to a GitHub account.
  5591  	GitHubAccountName *string `locationName:"gitHubAccountName" type:"string"`
  5592  
  5593  	// True if the user has authenticated with GitHub for the specified application.
  5594  	// Otherwise, false.
  5595  	LinkedToGitHub *bool `locationName:"linkedToGitHub" type:"boolean"`
  5596  }
  5597  
  5598  // String returns the string representation.
  5599  //
  5600  // API parameter values that are decorated as "sensitive" in the API will not
  5601  // be included in the string output. The member name will be present, but the
  5602  // value will be replaced with "sensitive".
  5603  func (s ApplicationInfo) String() string {
  5604  	return awsutil.Prettify(s)
  5605  }
  5606  
  5607  // GoString returns the string representation.
  5608  //
  5609  // API parameter values that are decorated as "sensitive" in the API will not
  5610  // be included in the string output. The member name will be present, but the
  5611  // value will be replaced with "sensitive".
  5612  func (s ApplicationInfo) GoString() string {
  5613  	return s.String()
  5614  }
  5615  
  5616  // SetApplicationId sets the ApplicationId field's value.
  5617  func (s *ApplicationInfo) SetApplicationId(v string) *ApplicationInfo {
  5618  	s.ApplicationId = &v
  5619  	return s
  5620  }
  5621  
  5622  // SetApplicationName sets the ApplicationName field's value.
  5623  func (s *ApplicationInfo) SetApplicationName(v string) *ApplicationInfo {
  5624  	s.ApplicationName = &v
  5625  	return s
  5626  }
  5627  
  5628  // SetComputePlatform sets the ComputePlatform field's value.
  5629  func (s *ApplicationInfo) SetComputePlatform(v string) *ApplicationInfo {
  5630  	s.ComputePlatform = &v
  5631  	return s
  5632  }
  5633  
  5634  // SetCreateTime sets the CreateTime field's value.
  5635  func (s *ApplicationInfo) SetCreateTime(v time.Time) *ApplicationInfo {
  5636  	s.CreateTime = &v
  5637  	return s
  5638  }
  5639  
  5640  // SetGitHubAccountName sets the GitHubAccountName field's value.
  5641  func (s *ApplicationInfo) SetGitHubAccountName(v string) *ApplicationInfo {
  5642  	s.GitHubAccountName = &v
  5643  	return s
  5644  }
  5645  
  5646  // SetLinkedToGitHub sets the LinkedToGitHub field's value.
  5647  func (s *ApplicationInfo) SetLinkedToGitHub(v bool) *ApplicationInfo {
  5648  	s.LinkedToGitHub = &v
  5649  	return s
  5650  }
  5651  
  5652  // More applications were attempted to be created than are allowed.
  5653  type ApplicationLimitExceededException struct {
  5654  	_            struct{}                  `type:"structure"`
  5655  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  5656  
  5657  	Message_ *string `locationName:"message" type:"string"`
  5658  }
  5659  
  5660  // String returns the string representation.
  5661  //
  5662  // API parameter values that are decorated as "sensitive" in the API will not
  5663  // be included in the string output. The member name will be present, but the
  5664  // value will be replaced with "sensitive".
  5665  func (s ApplicationLimitExceededException) String() string {
  5666  	return awsutil.Prettify(s)
  5667  }
  5668  
  5669  // GoString returns the string representation.
  5670  //
  5671  // API parameter values that are decorated as "sensitive" in the API will not
  5672  // be included in the string output. The member name will be present, but the
  5673  // value will be replaced with "sensitive".
  5674  func (s ApplicationLimitExceededException) GoString() string {
  5675  	return s.String()
  5676  }
  5677  
  5678  func newErrorApplicationLimitExceededException(v protocol.ResponseMetadata) error {
  5679  	return &ApplicationLimitExceededException{
  5680  		RespMetadata: v,
  5681  	}
  5682  }
  5683  
  5684  // Code returns the exception type name.
  5685  func (s *ApplicationLimitExceededException) Code() string {
  5686  	return "ApplicationLimitExceededException"
  5687  }
  5688  
  5689  // Message returns the exception's message.
  5690  func (s *ApplicationLimitExceededException) Message() string {
  5691  	if s.Message_ != nil {
  5692  		return *s.Message_
  5693  	}
  5694  	return ""
  5695  }
  5696  
  5697  // OrigErr always returns nil, satisfies awserr.Error interface.
  5698  func (s *ApplicationLimitExceededException) OrigErr() error {
  5699  	return nil
  5700  }
  5701  
  5702  func (s *ApplicationLimitExceededException) Error() string {
  5703  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  5704  }
  5705  
  5706  // Status code returns the HTTP status code for the request's response error.
  5707  func (s *ApplicationLimitExceededException) StatusCode() int {
  5708  	return s.RespMetadata.StatusCode
  5709  }
  5710  
  5711  // RequestID returns the service's response RequestID for request.
  5712  func (s *ApplicationLimitExceededException) RequestID() string {
  5713  	return s.RespMetadata.RequestID
  5714  }
  5715  
  5716  // The minimum number of required application names was not specified.
  5717  type ApplicationNameRequiredException struct {
  5718  	_            struct{}                  `type:"structure"`
  5719  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  5720  
  5721  	Message_ *string `locationName:"message" type:"string"`
  5722  }
  5723  
  5724  // String returns the string representation.
  5725  //
  5726  // API parameter values that are decorated as "sensitive" in the API will not
  5727  // be included in the string output. The member name will be present, but the
  5728  // value will be replaced with "sensitive".
  5729  func (s ApplicationNameRequiredException) String() string {
  5730  	return awsutil.Prettify(s)
  5731  }
  5732  
  5733  // GoString returns the string representation.
  5734  //
  5735  // API parameter values that are decorated as "sensitive" in the API will not
  5736  // be included in the string output. The member name will be present, but the
  5737  // value will be replaced with "sensitive".
  5738  func (s ApplicationNameRequiredException) GoString() string {
  5739  	return s.String()
  5740  }
  5741  
  5742  func newErrorApplicationNameRequiredException(v protocol.ResponseMetadata) error {
  5743  	return &ApplicationNameRequiredException{
  5744  		RespMetadata: v,
  5745  	}
  5746  }
  5747  
  5748  // Code returns the exception type name.
  5749  func (s *ApplicationNameRequiredException) Code() string {
  5750  	return "ApplicationNameRequiredException"
  5751  }
  5752  
  5753  // Message returns the exception's message.
  5754  func (s *ApplicationNameRequiredException) Message() string {
  5755  	if s.Message_ != nil {
  5756  		return *s.Message_
  5757  	}
  5758  	return ""
  5759  }
  5760  
  5761  // OrigErr always returns nil, satisfies awserr.Error interface.
  5762  func (s *ApplicationNameRequiredException) OrigErr() error {
  5763  	return nil
  5764  }
  5765  
  5766  func (s *ApplicationNameRequiredException) Error() string {
  5767  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  5768  }
  5769  
  5770  // Status code returns the HTTP status code for the request's response error.
  5771  func (s *ApplicationNameRequiredException) StatusCode() int {
  5772  	return s.RespMetadata.StatusCode
  5773  }
  5774  
  5775  // RequestID returns the service's response RequestID for request.
  5776  func (s *ApplicationNameRequiredException) RequestID() string {
  5777  	return s.RespMetadata.RequestID
  5778  }
  5779  
  5780  // The specified ARN is not supported. For example, it might be an ARN for a
  5781  // resource that is not expected.
  5782  type ArnNotSupportedException struct {
  5783  	_            struct{}                  `type:"structure"`
  5784  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  5785  
  5786  	Message_ *string `locationName:"message" type:"string"`
  5787  }
  5788  
  5789  // String returns the string representation.
  5790  //
  5791  // API parameter values that are decorated as "sensitive" in the API will not
  5792  // be included in the string output. The member name will be present, but the
  5793  // value will be replaced with "sensitive".
  5794  func (s ArnNotSupportedException) String() string {
  5795  	return awsutil.Prettify(s)
  5796  }
  5797  
  5798  // GoString returns the string representation.
  5799  //
  5800  // API parameter values that are decorated as "sensitive" in the API will not
  5801  // be included in the string output. The member name will be present, but the
  5802  // value will be replaced with "sensitive".
  5803  func (s ArnNotSupportedException) GoString() string {
  5804  	return s.String()
  5805  }
  5806  
  5807  func newErrorArnNotSupportedException(v protocol.ResponseMetadata) error {
  5808  	return &ArnNotSupportedException{
  5809  		RespMetadata: v,
  5810  	}
  5811  }
  5812  
  5813  // Code returns the exception type name.
  5814  func (s *ArnNotSupportedException) Code() string {
  5815  	return "ArnNotSupportedException"
  5816  }
  5817  
  5818  // Message returns the exception's message.
  5819  func (s *ArnNotSupportedException) Message() string {
  5820  	if s.Message_ != nil {
  5821  		return *s.Message_
  5822  	}
  5823  	return ""
  5824  }
  5825  
  5826  // OrigErr always returns nil, satisfies awserr.Error interface.
  5827  func (s *ArnNotSupportedException) OrigErr() error {
  5828  	return nil
  5829  }
  5830  
  5831  func (s *ArnNotSupportedException) Error() string {
  5832  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  5833  }
  5834  
  5835  // Status code returns the HTTP status code for the request's response error.
  5836  func (s *ArnNotSupportedException) StatusCode() int {
  5837  	return s.RespMetadata.StatusCode
  5838  }
  5839  
  5840  // RequestID returns the service's response RequestID for request.
  5841  func (s *ArnNotSupportedException) RequestID() string {
  5842  	return s.RespMetadata.RequestID
  5843  }
  5844  
  5845  // Information about a configuration for automatically rolling back to a previous
  5846  // version of an application revision when a deployment is not completed successfully.
  5847  type AutoRollbackConfiguration struct {
  5848  	_ struct{} `type:"structure"`
  5849  
  5850  	// Indicates whether a defined automatic rollback configuration is currently
  5851  	// enabled.
  5852  	Enabled *bool `locationName:"enabled" type:"boolean"`
  5853  
  5854  	// The event type or types that trigger a rollback.
  5855  	Events []*string `locationName:"events" type:"list"`
  5856  }
  5857  
  5858  // String returns the string representation.
  5859  //
  5860  // API parameter values that are decorated as "sensitive" in the API will not
  5861  // be included in the string output. The member name will be present, but the
  5862  // value will be replaced with "sensitive".
  5863  func (s AutoRollbackConfiguration) String() string {
  5864  	return awsutil.Prettify(s)
  5865  }
  5866  
  5867  // GoString returns the string representation.
  5868  //
  5869  // API parameter values that are decorated as "sensitive" in the API will not
  5870  // be included in the string output. The member name will be present, but the
  5871  // value will be replaced with "sensitive".
  5872  func (s AutoRollbackConfiguration) GoString() string {
  5873  	return s.String()
  5874  }
  5875  
  5876  // SetEnabled sets the Enabled field's value.
  5877  func (s *AutoRollbackConfiguration) SetEnabled(v bool) *AutoRollbackConfiguration {
  5878  	s.Enabled = &v
  5879  	return s
  5880  }
  5881  
  5882  // SetEvents sets the Events field's value.
  5883  func (s *AutoRollbackConfiguration) SetEvents(v []*string) *AutoRollbackConfiguration {
  5884  	s.Events = v
  5885  	return s
  5886  }
  5887  
  5888  // Information about an Auto Scaling group.
  5889  type AutoScalingGroup struct {
  5890  	_ struct{} `type:"structure"`
  5891  
  5892  	// An Auto Scaling lifecycle event hook name.
  5893  	Hook *string `locationName:"hook" type:"string"`
  5894  
  5895  	// The Auto Scaling group name.
  5896  	Name *string `locationName:"name" type:"string"`
  5897  }
  5898  
  5899  // String returns the string representation.
  5900  //
  5901  // API parameter values that are decorated as "sensitive" in the API will not
  5902  // be included in the string output. The member name will be present, but the
  5903  // value will be replaced with "sensitive".
  5904  func (s AutoScalingGroup) String() string {
  5905  	return awsutil.Prettify(s)
  5906  }
  5907  
  5908  // GoString returns the string representation.
  5909  //
  5910  // API parameter values that are decorated as "sensitive" in the API will not
  5911  // be included in the string output. The member name will be present, but the
  5912  // value will be replaced with "sensitive".
  5913  func (s AutoScalingGroup) GoString() string {
  5914  	return s.String()
  5915  }
  5916  
  5917  // SetHook sets the Hook field's value.
  5918  func (s *AutoScalingGroup) SetHook(v string) *AutoScalingGroup {
  5919  	s.Hook = &v
  5920  	return s
  5921  }
  5922  
  5923  // SetName sets the Name field's value.
  5924  func (s *AutoScalingGroup) SetName(v string) *AutoScalingGroup {
  5925  	s.Name = &v
  5926  	return s
  5927  }
  5928  
  5929  // Represents the input of a BatchGetApplicationRevisions operation.
  5930  type BatchGetApplicationRevisionsInput struct {
  5931  	_ struct{} `type:"structure"`
  5932  
  5933  	// The name of an AWS CodeDeploy application about which to get revision information.
  5934  	//
  5935  	// ApplicationName is a required field
  5936  	ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`
  5937  
  5938  	// An array of RevisionLocation objects that specify information to get about
  5939  	// the application revisions, including type and location. The maximum number
  5940  	// of RevisionLocation objects you can specify is 25.
  5941  	//
  5942  	// Revisions is a required field
  5943  	Revisions []*RevisionLocation `locationName:"revisions" type:"list" required:"true"`
  5944  }
  5945  
  5946  // String returns the string representation.
  5947  //
  5948  // API parameter values that are decorated as "sensitive" in the API will not
  5949  // be included in the string output. The member name will be present, but the
  5950  // value will be replaced with "sensitive".
  5951  func (s BatchGetApplicationRevisionsInput) String() string {
  5952  	return awsutil.Prettify(s)
  5953  }
  5954  
  5955  // GoString returns the string representation.
  5956  //
  5957  // API parameter values that are decorated as "sensitive" in the API will not
  5958  // be included in the string output. The member name will be present, but the
  5959  // value will be replaced with "sensitive".
  5960  func (s BatchGetApplicationRevisionsInput) GoString() string {
  5961  	return s.String()
  5962  }
  5963  
  5964  // Validate inspects the fields of the type to determine if they are valid.
  5965  func (s *BatchGetApplicationRevisionsInput) Validate() error {
  5966  	invalidParams := request.ErrInvalidParams{Context: "BatchGetApplicationRevisionsInput"}
  5967  	if s.ApplicationName == nil {
  5968  		invalidParams.Add(request.NewErrParamRequired("ApplicationName"))
  5969  	}
  5970  	if s.ApplicationName != nil && len(*s.ApplicationName) < 1 {
  5971  		invalidParams.Add(request.NewErrParamMinLen("ApplicationName", 1))
  5972  	}
  5973  	if s.Revisions == nil {
  5974  		invalidParams.Add(request.NewErrParamRequired("Revisions"))
  5975  	}
  5976  
  5977  	if invalidParams.Len() > 0 {
  5978  		return invalidParams
  5979  	}
  5980  	return nil
  5981  }
  5982  
  5983  // SetApplicationName sets the ApplicationName field's value.
  5984  func (s *BatchGetApplicationRevisionsInput) SetApplicationName(v string) *BatchGetApplicationRevisionsInput {
  5985  	s.ApplicationName = &v
  5986  	return s
  5987  }
  5988  
  5989  // SetRevisions sets the Revisions field's value.
  5990  func (s *BatchGetApplicationRevisionsInput) SetRevisions(v []*RevisionLocation) *BatchGetApplicationRevisionsInput {
  5991  	s.Revisions = v
  5992  	return s
  5993  }
  5994  
  5995  // Represents the output of a BatchGetApplicationRevisions operation.
  5996  type BatchGetApplicationRevisionsOutput struct {
  5997  	_ struct{} `type:"structure"`
  5998  
  5999  	// The name of the application that corresponds to the revisions.
  6000  	ApplicationName *string `locationName:"applicationName" min:"1" type:"string"`
  6001  
  6002  	// Information about errors that might have occurred during the API call.
  6003  	ErrorMessage *string `locationName:"errorMessage" type:"string"`
  6004  
  6005  	// Additional information about the revisions, including the type and location.
  6006  	Revisions []*RevisionInfo `locationName:"revisions" type:"list"`
  6007  }
  6008  
  6009  // String returns the string representation.
  6010  //
  6011  // API parameter values that are decorated as "sensitive" in the API will not
  6012  // be included in the string output. The member name will be present, but the
  6013  // value will be replaced with "sensitive".
  6014  func (s BatchGetApplicationRevisionsOutput) String() string {
  6015  	return awsutil.Prettify(s)
  6016  }
  6017  
  6018  // GoString returns the string representation.
  6019  //
  6020  // API parameter values that are decorated as "sensitive" in the API will not
  6021  // be included in the string output. The member name will be present, but the
  6022  // value will be replaced with "sensitive".
  6023  func (s BatchGetApplicationRevisionsOutput) GoString() string {
  6024  	return s.String()
  6025  }
  6026  
  6027  // SetApplicationName sets the ApplicationName field's value.
  6028  func (s *BatchGetApplicationRevisionsOutput) SetApplicationName(v string) *BatchGetApplicationRevisionsOutput {
  6029  	s.ApplicationName = &v
  6030  	return s
  6031  }
  6032  
  6033  // SetErrorMessage sets the ErrorMessage field's value.
  6034  func (s *BatchGetApplicationRevisionsOutput) SetErrorMessage(v string) *BatchGetApplicationRevisionsOutput {
  6035  	s.ErrorMessage = &v
  6036  	return s
  6037  }
  6038  
  6039  // SetRevisions sets the Revisions field's value.
  6040  func (s *BatchGetApplicationRevisionsOutput) SetRevisions(v []*RevisionInfo) *BatchGetApplicationRevisionsOutput {
  6041  	s.Revisions = v
  6042  	return s
  6043  }
  6044  
  6045  // Represents the input of a BatchGetApplications operation.
  6046  type BatchGetApplicationsInput struct {
  6047  	_ struct{} `type:"structure"`
  6048  
  6049  	// A list of application names separated by spaces. The maximum number of application
  6050  	// names you can specify is 100.
  6051  	//
  6052  	// ApplicationNames is a required field
  6053  	ApplicationNames []*string `locationName:"applicationNames" type:"list" required:"true"`
  6054  }
  6055  
  6056  // String returns the string representation.
  6057  //
  6058  // API parameter values that are decorated as "sensitive" in the API will not
  6059  // be included in the string output. The member name will be present, but the
  6060  // value will be replaced with "sensitive".
  6061  func (s BatchGetApplicationsInput) String() string {
  6062  	return awsutil.Prettify(s)
  6063  }
  6064  
  6065  // GoString returns the string representation.
  6066  //
  6067  // API parameter values that are decorated as "sensitive" in the API will not
  6068  // be included in the string output. The member name will be present, but the
  6069  // value will be replaced with "sensitive".
  6070  func (s BatchGetApplicationsInput) GoString() string {
  6071  	return s.String()
  6072  }
  6073  
  6074  // Validate inspects the fields of the type to determine if they are valid.
  6075  func (s *BatchGetApplicationsInput) Validate() error {
  6076  	invalidParams := request.ErrInvalidParams{Context: "BatchGetApplicationsInput"}
  6077  	if s.ApplicationNames == nil {
  6078  		invalidParams.Add(request.NewErrParamRequired("ApplicationNames"))
  6079  	}
  6080  
  6081  	if invalidParams.Len() > 0 {
  6082  		return invalidParams
  6083  	}
  6084  	return nil
  6085  }
  6086  
  6087  // SetApplicationNames sets the ApplicationNames field's value.
  6088  func (s *BatchGetApplicationsInput) SetApplicationNames(v []*string) *BatchGetApplicationsInput {
  6089  	s.ApplicationNames = v
  6090  	return s
  6091  }
  6092  
  6093  // Represents the output of a BatchGetApplications operation.
  6094  type BatchGetApplicationsOutput struct {
  6095  	_ struct{} `type:"structure"`
  6096  
  6097  	// Information about the applications.
  6098  	ApplicationsInfo []*ApplicationInfo `locationName:"applicationsInfo" type:"list"`
  6099  }
  6100  
  6101  // String returns the string representation.
  6102  //
  6103  // API parameter values that are decorated as "sensitive" in the API will not
  6104  // be included in the string output. The member name will be present, but the
  6105  // value will be replaced with "sensitive".
  6106  func (s BatchGetApplicationsOutput) String() string {
  6107  	return awsutil.Prettify(s)
  6108  }
  6109  
  6110  // GoString returns the string representation.
  6111  //
  6112  // API parameter values that are decorated as "sensitive" in the API will not
  6113  // be included in the string output. The member name will be present, but the
  6114  // value will be replaced with "sensitive".
  6115  func (s BatchGetApplicationsOutput) GoString() string {
  6116  	return s.String()
  6117  }
  6118  
  6119  // SetApplicationsInfo sets the ApplicationsInfo field's value.
  6120  func (s *BatchGetApplicationsOutput) SetApplicationsInfo(v []*ApplicationInfo) *BatchGetApplicationsOutput {
  6121  	s.ApplicationsInfo = v
  6122  	return s
  6123  }
  6124  
  6125  // Represents the input of a BatchGetDeploymentGroups operation.
  6126  type BatchGetDeploymentGroupsInput struct {
  6127  	_ struct{} `type:"structure"`
  6128  
  6129  	// The name of an AWS CodeDeploy application associated with the applicable
  6130  	// IAM user or AWS account.
  6131  	//
  6132  	// ApplicationName is a required field
  6133  	ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`
  6134  
  6135  	// The names of the deployment groups.
  6136  	//
  6137  	// DeploymentGroupNames is a required field
  6138  	DeploymentGroupNames []*string `locationName:"deploymentGroupNames" type:"list" required:"true"`
  6139  }
  6140  
  6141  // String returns the string representation.
  6142  //
  6143  // API parameter values that are decorated as "sensitive" in the API will not
  6144  // be included in the string output. The member name will be present, but the
  6145  // value will be replaced with "sensitive".
  6146  func (s BatchGetDeploymentGroupsInput) String() string {
  6147  	return awsutil.Prettify(s)
  6148  }
  6149  
  6150  // GoString returns the string representation.
  6151  //
  6152  // API parameter values that are decorated as "sensitive" in the API will not
  6153  // be included in the string output. The member name will be present, but the
  6154  // value will be replaced with "sensitive".
  6155  func (s BatchGetDeploymentGroupsInput) GoString() string {
  6156  	return s.String()
  6157  }
  6158  
  6159  // Validate inspects the fields of the type to determine if they are valid.
  6160  func (s *BatchGetDeploymentGroupsInput) Validate() error {
  6161  	invalidParams := request.ErrInvalidParams{Context: "BatchGetDeploymentGroupsInput"}
  6162  	if s.ApplicationName == nil {
  6163  		invalidParams.Add(request.NewErrParamRequired("ApplicationName"))
  6164  	}
  6165  	if s.ApplicationName != nil && len(*s.ApplicationName) < 1 {
  6166  		invalidParams.Add(request.NewErrParamMinLen("ApplicationName", 1))
  6167  	}
  6168  	if s.DeploymentGroupNames == nil {
  6169  		invalidParams.Add(request.NewErrParamRequired("DeploymentGroupNames"))
  6170  	}
  6171  
  6172  	if invalidParams.Len() > 0 {
  6173  		return invalidParams
  6174  	}
  6175  	return nil
  6176  }
  6177  
  6178  // SetApplicationName sets the ApplicationName field's value.
  6179  func (s *BatchGetDeploymentGroupsInput) SetApplicationName(v string) *BatchGetDeploymentGroupsInput {
  6180  	s.ApplicationName = &v
  6181  	return s
  6182  }
  6183  
  6184  // SetDeploymentGroupNames sets the DeploymentGroupNames field's value.
  6185  func (s *BatchGetDeploymentGroupsInput) SetDeploymentGroupNames(v []*string) *BatchGetDeploymentGroupsInput {
  6186  	s.DeploymentGroupNames = v
  6187  	return s
  6188  }
  6189  
  6190  // Represents the output of a BatchGetDeploymentGroups operation.
  6191  type BatchGetDeploymentGroupsOutput struct {
  6192  	_ struct{} `type:"structure"`
  6193  
  6194  	// Information about the deployment groups.
  6195  	DeploymentGroupsInfo []*DeploymentGroupInfo `locationName:"deploymentGroupsInfo" type:"list"`
  6196  
  6197  	// Information about errors that might have occurred during the API call.
  6198  	ErrorMessage *string `locationName:"errorMessage" type:"string"`
  6199  }
  6200  
  6201  // String returns the string representation.
  6202  //
  6203  // API parameter values that are decorated as "sensitive" in the API will not
  6204  // be included in the string output. The member name will be present, but the
  6205  // value will be replaced with "sensitive".
  6206  func (s BatchGetDeploymentGroupsOutput) String() string {
  6207  	return awsutil.Prettify(s)
  6208  }
  6209  
  6210  // GoString returns the string representation.
  6211  //
  6212  // API parameter values that are decorated as "sensitive" in the API will not
  6213  // be included in the string output. The member name will be present, but the
  6214  // value will be replaced with "sensitive".
  6215  func (s BatchGetDeploymentGroupsOutput) GoString() string {
  6216  	return s.String()
  6217  }
  6218  
  6219  // SetDeploymentGroupsInfo sets the DeploymentGroupsInfo field's value.
  6220  func (s *BatchGetDeploymentGroupsOutput) SetDeploymentGroupsInfo(v []*DeploymentGroupInfo) *BatchGetDeploymentGroupsOutput {
  6221  	s.DeploymentGroupsInfo = v
  6222  	return s
  6223  }
  6224  
  6225  // SetErrorMessage sets the ErrorMessage field's value.
  6226  func (s *BatchGetDeploymentGroupsOutput) SetErrorMessage(v string) *BatchGetDeploymentGroupsOutput {
  6227  	s.ErrorMessage = &v
  6228  	return s
  6229  }
  6230  
  6231  // Represents the input of a BatchGetDeploymentInstances operation.
  6232  type BatchGetDeploymentInstancesInput struct {
  6233  	_ struct{} `type:"structure"`
  6234  
  6235  	// The unique ID of a deployment.
  6236  	//
  6237  	// DeploymentId is a required field
  6238  	DeploymentId *string `locationName:"deploymentId" type:"string" required:"true"`
  6239  
  6240  	// The unique IDs of instances used in the deployment. The maximum number of
  6241  	// instance IDs you can specify is 25.
  6242  	//
  6243  	// InstanceIds is a required field
  6244  	InstanceIds []*string `locationName:"instanceIds" type:"list" required:"true"`
  6245  }
  6246  
  6247  // String returns the string representation.
  6248  //
  6249  // API parameter values that are decorated as "sensitive" in the API will not
  6250  // be included in the string output. The member name will be present, but the
  6251  // value will be replaced with "sensitive".
  6252  func (s BatchGetDeploymentInstancesInput) String() string {
  6253  	return awsutil.Prettify(s)
  6254  }
  6255  
  6256  // GoString returns the string representation.
  6257  //
  6258  // API parameter values that are decorated as "sensitive" in the API will not
  6259  // be included in the string output. The member name will be present, but the
  6260  // value will be replaced with "sensitive".
  6261  func (s BatchGetDeploymentInstancesInput) GoString() string {
  6262  	return s.String()
  6263  }
  6264  
  6265  // Validate inspects the fields of the type to determine if they are valid.
  6266  func (s *BatchGetDeploymentInstancesInput) Validate() error {
  6267  	invalidParams := request.ErrInvalidParams{Context: "BatchGetDeploymentInstancesInput"}
  6268  	if s.DeploymentId == nil {
  6269  		invalidParams.Add(request.NewErrParamRequired("DeploymentId"))
  6270  	}
  6271  	if s.InstanceIds == nil {
  6272  		invalidParams.Add(request.NewErrParamRequired("InstanceIds"))
  6273  	}
  6274  
  6275  	if invalidParams.Len() > 0 {
  6276  		return invalidParams
  6277  	}
  6278  	return nil
  6279  }
  6280  
  6281  // SetDeploymentId sets the DeploymentId field's value.
  6282  func (s *BatchGetDeploymentInstancesInput) SetDeploymentId(v string) *BatchGetDeploymentInstancesInput {
  6283  	s.DeploymentId = &v
  6284  	return s
  6285  }
  6286  
  6287  // SetInstanceIds sets the InstanceIds field's value.
  6288  func (s *BatchGetDeploymentInstancesInput) SetInstanceIds(v []*string) *BatchGetDeploymentInstancesInput {
  6289  	s.InstanceIds = v
  6290  	return s
  6291  }
  6292  
  6293  // Represents the output of a BatchGetDeploymentInstances operation.
  6294  type BatchGetDeploymentInstancesOutput struct {
  6295  	_ struct{} `type:"structure"`
  6296  
  6297  	// Information about errors that might have occurred during the API call.
  6298  	ErrorMessage *string `locationName:"errorMessage" type:"string"`
  6299  
  6300  	// Information about the instance.
  6301  	InstancesSummary []*InstanceSummary `locationName:"instancesSummary" type:"list"`
  6302  }
  6303  
  6304  // String returns the string representation.
  6305  //
  6306  // API parameter values that are decorated as "sensitive" in the API will not
  6307  // be included in the string output. The member name will be present, but the
  6308  // value will be replaced with "sensitive".
  6309  func (s BatchGetDeploymentInstancesOutput) String() string {
  6310  	return awsutil.Prettify(s)
  6311  }
  6312  
  6313  // GoString returns the string representation.
  6314  //
  6315  // API parameter values that are decorated as "sensitive" in the API will not
  6316  // be included in the string output. The member name will be present, but the
  6317  // value will be replaced with "sensitive".
  6318  func (s BatchGetDeploymentInstancesOutput) GoString() string {
  6319  	return s.String()
  6320  }
  6321  
  6322  // SetErrorMessage sets the ErrorMessage field's value.
  6323  func (s *BatchGetDeploymentInstancesOutput) SetErrorMessage(v string) *BatchGetDeploymentInstancesOutput {
  6324  	s.ErrorMessage = &v
  6325  	return s
  6326  }
  6327  
  6328  // SetInstancesSummary sets the InstancesSummary field's value.
  6329  func (s *BatchGetDeploymentInstancesOutput) SetInstancesSummary(v []*InstanceSummary) *BatchGetDeploymentInstancesOutput {
  6330  	s.InstancesSummary = v
  6331  	return s
  6332  }
  6333  
  6334  type BatchGetDeploymentTargetsInput struct {
  6335  	_ struct{} `type:"structure"`
  6336  
  6337  	// The unique ID of a deployment.
  6338  	DeploymentId *string `locationName:"deploymentId" type:"string"`
  6339  
  6340  	// The unique IDs of the deployment targets. The compute platform of the deployment
  6341  	// determines the type of the targets and their formats. The maximum number
  6342  	// of deployment target IDs you can specify is 25.
  6343  	//
  6344  	//    * For deployments that use the EC2/On-premises compute platform, the target
  6345  	//    IDs are EC2 or on-premises instances IDs, and their target type is instanceTarget.
  6346  	//
  6347  	//    * For deployments that use the AWS Lambda compute platform, the target
  6348  	//    IDs are the names of Lambda functions, and their target type is instanceTarget.
  6349  	//
  6350  	//    * For deployments that use the Amazon ECS compute platform, the target
  6351  	//    IDs are pairs of Amazon ECS clusters and services specified using the
  6352  	//    format <clustername>:<servicename>. Their target type is ecsTarget.
  6353  	//
  6354  	//    * For deployments that are deployed with AWS CloudFormation, the target
  6355  	//    IDs are CloudFormation stack IDs. Their target type is cloudFormationTarget.
  6356  	TargetIds []*string `locationName:"targetIds" type:"list"`
  6357  }
  6358  
  6359  // String returns the string representation.
  6360  //
  6361  // API parameter values that are decorated as "sensitive" in the API will not
  6362  // be included in the string output. The member name will be present, but the
  6363  // value will be replaced with "sensitive".
  6364  func (s BatchGetDeploymentTargetsInput) String() string {
  6365  	return awsutil.Prettify(s)
  6366  }
  6367  
  6368  // GoString returns the string representation.
  6369  //
  6370  // API parameter values that are decorated as "sensitive" in the API will not
  6371  // be included in the string output. The member name will be present, but the
  6372  // value will be replaced with "sensitive".
  6373  func (s BatchGetDeploymentTargetsInput) GoString() string {
  6374  	return s.String()
  6375  }
  6376  
  6377  // SetDeploymentId sets the DeploymentId field's value.
  6378  func (s *BatchGetDeploymentTargetsInput) SetDeploymentId(v string) *BatchGetDeploymentTargetsInput {
  6379  	s.DeploymentId = &v
  6380  	return s
  6381  }
  6382  
  6383  // SetTargetIds sets the TargetIds field's value.
  6384  func (s *BatchGetDeploymentTargetsInput) SetTargetIds(v []*string) *BatchGetDeploymentTargetsInput {
  6385  	s.TargetIds = v
  6386  	return s
  6387  }
  6388  
  6389  type BatchGetDeploymentTargetsOutput struct {
  6390  	_ struct{} `type:"structure"`
  6391  
  6392  	// A list of target objects for a deployment. Each target object contains details
  6393  	// about the target, such as its status and lifecycle events. The type of the
  6394  	// target objects depends on the deployment' compute platform.
  6395  	//
  6396  	//    * EC2/On-premises: Each target object is an EC2 or on-premises instance.
  6397  	//
  6398  	//    * AWS Lambda: The target object is a specific version of an AWS Lambda
  6399  	//    function.
  6400  	//
  6401  	//    * Amazon ECS: The target object is an Amazon ECS service.
  6402  	//
  6403  	//    * CloudFormation: The target object is an AWS CloudFormation blue/green
  6404  	//    deployment.
  6405  	DeploymentTargets []*DeploymentTarget `locationName:"deploymentTargets" type:"list"`
  6406  }
  6407  
  6408  // String returns the string representation.
  6409  //
  6410  // API parameter values that are decorated as "sensitive" in the API will not
  6411  // be included in the string output. The member name will be present, but the
  6412  // value will be replaced with "sensitive".
  6413  func (s BatchGetDeploymentTargetsOutput) String() string {
  6414  	return awsutil.Prettify(s)
  6415  }
  6416  
  6417  // GoString returns the string representation.
  6418  //
  6419  // API parameter values that are decorated as "sensitive" in the API will not
  6420  // be included in the string output. The member name will be present, but the
  6421  // value will be replaced with "sensitive".
  6422  func (s BatchGetDeploymentTargetsOutput) GoString() string {
  6423  	return s.String()
  6424  }
  6425  
  6426  // SetDeploymentTargets sets the DeploymentTargets field's value.
  6427  func (s *BatchGetDeploymentTargetsOutput) SetDeploymentTargets(v []*DeploymentTarget) *BatchGetDeploymentTargetsOutput {
  6428  	s.DeploymentTargets = v
  6429  	return s
  6430  }
  6431  
  6432  // Represents the input of a BatchGetDeployments operation.
  6433  type BatchGetDeploymentsInput struct {
  6434  	_ struct{} `type:"structure"`
  6435  
  6436  	// A list of deployment IDs, separated by spaces. The maximum number of deployment
  6437  	// IDs you can specify is 25.
  6438  	//
  6439  	// DeploymentIds is a required field
  6440  	DeploymentIds []*string `locationName:"deploymentIds" type:"list" required:"true"`
  6441  }
  6442  
  6443  // String returns the string representation.
  6444  //
  6445  // API parameter values that are decorated as "sensitive" in the API will not
  6446  // be included in the string output. The member name will be present, but the
  6447  // value will be replaced with "sensitive".
  6448  func (s BatchGetDeploymentsInput) String() string {
  6449  	return awsutil.Prettify(s)
  6450  }
  6451  
  6452  // GoString returns the string representation.
  6453  //
  6454  // API parameter values that are decorated as "sensitive" in the API will not
  6455  // be included in the string output. The member name will be present, but the
  6456  // value will be replaced with "sensitive".
  6457  func (s BatchGetDeploymentsInput) GoString() string {
  6458  	return s.String()
  6459  }
  6460  
  6461  // Validate inspects the fields of the type to determine if they are valid.
  6462  func (s *BatchGetDeploymentsInput) Validate() error {
  6463  	invalidParams := request.ErrInvalidParams{Context: "BatchGetDeploymentsInput"}
  6464  	if s.DeploymentIds == nil {
  6465  		invalidParams.Add(request.NewErrParamRequired("DeploymentIds"))
  6466  	}
  6467  
  6468  	if invalidParams.Len() > 0 {
  6469  		return invalidParams
  6470  	}
  6471  	return nil
  6472  }
  6473  
  6474  // SetDeploymentIds sets the DeploymentIds field's value.
  6475  func (s *BatchGetDeploymentsInput) SetDeploymentIds(v []*string) *BatchGetDeploymentsInput {
  6476  	s.DeploymentIds = v
  6477  	return s
  6478  }
  6479  
  6480  // Represents the output of a BatchGetDeployments operation.
  6481  type BatchGetDeploymentsOutput struct {
  6482  	_ struct{} `type:"structure"`
  6483  
  6484  	// Information about the deployments.
  6485  	DeploymentsInfo []*DeploymentInfo `locationName:"deploymentsInfo" type:"list"`
  6486  }
  6487  
  6488  // String returns the string representation.
  6489  //
  6490  // API parameter values that are decorated as "sensitive" in the API will not
  6491  // be included in the string output. The member name will be present, but the
  6492  // value will be replaced with "sensitive".
  6493  func (s BatchGetDeploymentsOutput) String() string {
  6494  	return awsutil.Prettify(s)
  6495  }
  6496  
  6497  // GoString returns the string representation.
  6498  //
  6499  // API parameter values that are decorated as "sensitive" in the API will not
  6500  // be included in the string output. The member name will be present, but the
  6501  // value will be replaced with "sensitive".
  6502  func (s BatchGetDeploymentsOutput) GoString() string {
  6503  	return s.String()
  6504  }
  6505  
  6506  // SetDeploymentsInfo sets the DeploymentsInfo field's value.
  6507  func (s *BatchGetDeploymentsOutput) SetDeploymentsInfo(v []*DeploymentInfo) *BatchGetDeploymentsOutput {
  6508  	s.DeploymentsInfo = v
  6509  	return s
  6510  }
  6511  
  6512  // Represents the input of a BatchGetOnPremisesInstances operation.
  6513  type BatchGetOnPremisesInstancesInput struct {
  6514  	_ struct{} `type:"structure"`
  6515  
  6516  	// The names of the on-premises instances about which to get information. The
  6517  	// maximum number of instance names you can specify is 25.
  6518  	//
  6519  	// InstanceNames is a required field
  6520  	InstanceNames []*string `locationName:"instanceNames" type:"list" required:"true"`
  6521  }
  6522  
  6523  // String returns the string representation.
  6524  //
  6525  // API parameter values that are decorated as "sensitive" in the API will not
  6526  // be included in the string output. The member name will be present, but the
  6527  // value will be replaced with "sensitive".
  6528  func (s BatchGetOnPremisesInstancesInput) String() string {
  6529  	return awsutil.Prettify(s)
  6530  }
  6531  
  6532  // GoString returns the string representation.
  6533  //
  6534  // API parameter values that are decorated as "sensitive" in the API will not
  6535  // be included in the string output. The member name will be present, but the
  6536  // value will be replaced with "sensitive".
  6537  func (s BatchGetOnPremisesInstancesInput) GoString() string {
  6538  	return s.String()
  6539  }
  6540  
  6541  // Validate inspects the fields of the type to determine if they are valid.
  6542  func (s *BatchGetOnPremisesInstancesInput) Validate() error {
  6543  	invalidParams := request.ErrInvalidParams{Context: "BatchGetOnPremisesInstancesInput"}
  6544  	if s.InstanceNames == nil {
  6545  		invalidParams.Add(request.NewErrParamRequired("InstanceNames"))
  6546  	}
  6547  
  6548  	if invalidParams.Len() > 0 {
  6549  		return invalidParams
  6550  	}
  6551  	return nil
  6552  }
  6553  
  6554  // SetInstanceNames sets the InstanceNames field's value.
  6555  func (s *BatchGetOnPremisesInstancesInput) SetInstanceNames(v []*string) *BatchGetOnPremisesInstancesInput {
  6556  	s.InstanceNames = v
  6557  	return s
  6558  }
  6559  
  6560  // Represents the output of a BatchGetOnPremisesInstances operation.
  6561  type BatchGetOnPremisesInstancesOutput struct {
  6562  	_ struct{} `type:"structure"`
  6563  
  6564  	// Information about the on-premises instances.
  6565  	InstanceInfos []*InstanceInfo `locationName:"instanceInfos" type:"list"`
  6566  }
  6567  
  6568  // String returns the string representation.
  6569  //
  6570  // API parameter values that are decorated as "sensitive" in the API will not
  6571  // be included in the string output. The member name will be present, but the
  6572  // value will be replaced with "sensitive".
  6573  func (s BatchGetOnPremisesInstancesOutput) String() string {
  6574  	return awsutil.Prettify(s)
  6575  }
  6576  
  6577  // GoString returns the string representation.
  6578  //
  6579  // API parameter values that are decorated as "sensitive" in the API will not
  6580  // be included in the string output. The member name will be present, but the
  6581  // value will be replaced with "sensitive".
  6582  func (s BatchGetOnPremisesInstancesOutput) GoString() string {
  6583  	return s.String()
  6584  }
  6585  
  6586  // SetInstanceInfos sets the InstanceInfos field's value.
  6587  func (s *BatchGetOnPremisesInstancesOutput) SetInstanceInfos(v []*InstanceInfo) *BatchGetOnPremisesInstancesOutput {
  6588  	s.InstanceInfos = v
  6589  	return s
  6590  }
  6591  
  6592  // The maximum number of names or IDs allowed for this request (100) was exceeded.
  6593  type BatchLimitExceededException struct {
  6594  	_            struct{}                  `type:"structure"`
  6595  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  6596  
  6597  	Message_ *string `locationName:"message" type:"string"`
  6598  }
  6599  
  6600  // String returns the string representation.
  6601  //
  6602  // API parameter values that are decorated as "sensitive" in the API will not
  6603  // be included in the string output. The member name will be present, but the
  6604  // value will be replaced with "sensitive".
  6605  func (s BatchLimitExceededException) String() string {
  6606  	return awsutil.Prettify(s)
  6607  }
  6608  
  6609  // GoString returns the string representation.
  6610  //
  6611  // API parameter values that are decorated as "sensitive" in the API will not
  6612  // be included in the string output. The member name will be present, but the
  6613  // value will be replaced with "sensitive".
  6614  func (s BatchLimitExceededException) GoString() string {
  6615  	return s.String()
  6616  }
  6617  
  6618  func newErrorBatchLimitExceededException(v protocol.ResponseMetadata) error {
  6619  	return &BatchLimitExceededException{
  6620  		RespMetadata: v,
  6621  	}
  6622  }
  6623  
  6624  // Code returns the exception type name.
  6625  func (s *BatchLimitExceededException) Code() string {
  6626  	return "BatchLimitExceededException"
  6627  }
  6628  
  6629  // Message returns the exception's message.
  6630  func (s *BatchLimitExceededException) Message() string {
  6631  	if s.Message_ != nil {
  6632  		return *s.Message_
  6633  	}
  6634  	return ""
  6635  }
  6636  
  6637  // OrigErr always returns nil, satisfies awserr.Error interface.
  6638  func (s *BatchLimitExceededException) OrigErr() error {
  6639  	return nil
  6640  }
  6641  
  6642  func (s *BatchLimitExceededException) Error() string {
  6643  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  6644  }
  6645  
  6646  // Status code returns the HTTP status code for the request's response error.
  6647  func (s *BatchLimitExceededException) StatusCode() int {
  6648  	return s.RespMetadata.StatusCode
  6649  }
  6650  
  6651  // RequestID returns the service's response RequestID for request.
  6652  func (s *BatchLimitExceededException) RequestID() string {
  6653  	return s.RespMetadata.RequestID
  6654  }
  6655  
  6656  // Information about blue/green deployment options for a deployment group.
  6657  type BlueGreenDeploymentConfiguration struct {
  6658  	_ struct{} `type:"structure"`
  6659  
  6660  	// Information about the action to take when newly provisioned instances are
  6661  	// ready to receive traffic in a blue/green deployment.
  6662  	DeploymentReadyOption *DeploymentReadyOption `locationName:"deploymentReadyOption" type:"structure"`
  6663  
  6664  	// Information about how instances are provisioned for a replacement environment
  6665  	// in a blue/green deployment.
  6666  	GreenFleetProvisioningOption *GreenFleetProvisioningOption `locationName:"greenFleetProvisioningOption" type:"structure"`
  6667  
  6668  	// Information about whether to terminate instances in the original fleet during
  6669  	// a blue/green deployment.
  6670  	TerminateBlueInstancesOnDeploymentSuccess *BlueInstanceTerminationOption `locationName:"terminateBlueInstancesOnDeploymentSuccess" type:"structure"`
  6671  }
  6672  
  6673  // String returns the string representation.
  6674  //
  6675  // API parameter values that are decorated as "sensitive" in the API will not
  6676  // be included in the string output. The member name will be present, but the
  6677  // value will be replaced with "sensitive".
  6678  func (s BlueGreenDeploymentConfiguration) String() string {
  6679  	return awsutil.Prettify(s)
  6680  }
  6681  
  6682  // GoString returns the string representation.
  6683  //
  6684  // API parameter values that are decorated as "sensitive" in the API will not
  6685  // be included in the string output. The member name will be present, but the
  6686  // value will be replaced with "sensitive".
  6687  func (s BlueGreenDeploymentConfiguration) GoString() string {
  6688  	return s.String()
  6689  }
  6690  
  6691  // SetDeploymentReadyOption sets the DeploymentReadyOption field's value.
  6692  func (s *BlueGreenDeploymentConfiguration) SetDeploymentReadyOption(v *DeploymentReadyOption) *BlueGreenDeploymentConfiguration {
  6693  	s.DeploymentReadyOption = v
  6694  	return s
  6695  }
  6696  
  6697  // SetGreenFleetProvisioningOption sets the GreenFleetProvisioningOption field's value.
  6698  func (s *BlueGreenDeploymentConfiguration) SetGreenFleetProvisioningOption(v *GreenFleetProvisioningOption) *BlueGreenDeploymentConfiguration {
  6699  	s.GreenFleetProvisioningOption = v
  6700  	return s
  6701  }
  6702  
  6703  // SetTerminateBlueInstancesOnDeploymentSuccess sets the TerminateBlueInstancesOnDeploymentSuccess field's value.
  6704  func (s *BlueGreenDeploymentConfiguration) SetTerminateBlueInstancesOnDeploymentSuccess(v *BlueInstanceTerminationOption) *BlueGreenDeploymentConfiguration {
  6705  	s.TerminateBlueInstancesOnDeploymentSuccess = v
  6706  	return s
  6707  }
  6708  
  6709  // Information about whether instances in the original environment are terminated
  6710  // when a blue/green deployment is successful. BlueInstanceTerminationOption
  6711  // does not apply to Lambda deployments.
  6712  type BlueInstanceTerminationOption struct {
  6713  	_ struct{} `type:"structure"`
  6714  
  6715  	// The action to take on instances in the original environment after a successful
  6716  	// blue/green deployment.
  6717  	//
  6718  	//    * TERMINATE: Instances are terminated after a specified wait time.
  6719  	//
  6720  	//    * KEEP_ALIVE: Instances are left running after they are deregistered from
  6721  	//    the load balancer and removed from the deployment group.
  6722  	Action *string `locationName:"action" type:"string" enum:"InstanceAction"`
  6723  
  6724  	// For an Amazon EC2 deployment, the number of minutes to wait after a successful
  6725  	// blue/green deployment before terminating instances from the original environment.
  6726  	//
  6727  	// For an Amazon ECS deployment, the number of minutes before deleting the original
  6728  	// (blue) task set. During an Amazon ECS deployment, CodeDeploy shifts traffic
  6729  	// from the original (blue) task set to a replacement (green) task set.
  6730  	//
  6731  	// The maximum setting is 2880 minutes (2 days).
  6732  	TerminationWaitTimeInMinutes *int64 `locationName:"terminationWaitTimeInMinutes" type:"integer"`
  6733  }
  6734  
  6735  // String returns the string representation.
  6736  //
  6737  // API parameter values that are decorated as "sensitive" in the API will not
  6738  // be included in the string output. The member name will be present, but the
  6739  // value will be replaced with "sensitive".
  6740  func (s BlueInstanceTerminationOption) String() string {
  6741  	return awsutil.Prettify(s)
  6742  }
  6743  
  6744  // GoString returns the string representation.
  6745  //
  6746  // API parameter values that are decorated as "sensitive" in the API will not
  6747  // be included in the string output. The member name will be present, but the
  6748  // value will be replaced with "sensitive".
  6749  func (s BlueInstanceTerminationOption) GoString() string {
  6750  	return s.String()
  6751  }
  6752  
  6753  // SetAction sets the Action field's value.
  6754  func (s *BlueInstanceTerminationOption) SetAction(v string) *BlueInstanceTerminationOption {
  6755  	s.Action = &v
  6756  	return s
  6757  }
  6758  
  6759  // SetTerminationWaitTimeInMinutes sets the TerminationWaitTimeInMinutes field's value.
  6760  func (s *BlueInstanceTerminationOption) SetTerminationWaitTimeInMinutes(v int64) *BlueInstanceTerminationOption {
  6761  	s.TerminationWaitTimeInMinutes = &v
  6762  	return s
  6763  }
  6764  
  6765  // A bucket name is required, but was not provided.
  6766  type BucketNameFilterRequiredException struct {
  6767  	_            struct{}                  `type:"structure"`
  6768  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  6769  
  6770  	Message_ *string `locationName:"message" type:"string"`
  6771  }
  6772  
  6773  // String returns the string representation.
  6774  //
  6775  // API parameter values that are decorated as "sensitive" in the API will not
  6776  // be included in the string output. The member name will be present, but the
  6777  // value will be replaced with "sensitive".
  6778  func (s BucketNameFilterRequiredException) String() string {
  6779  	return awsutil.Prettify(s)
  6780  }
  6781  
  6782  // GoString returns the string representation.
  6783  //
  6784  // API parameter values that are decorated as "sensitive" in the API will not
  6785  // be included in the string output. The member name will be present, but the
  6786  // value will be replaced with "sensitive".
  6787  func (s BucketNameFilterRequiredException) GoString() string {
  6788  	return s.String()
  6789  }
  6790  
  6791  func newErrorBucketNameFilterRequiredException(v protocol.ResponseMetadata) error {
  6792  	return &BucketNameFilterRequiredException{
  6793  		RespMetadata: v,
  6794  	}
  6795  }
  6796  
  6797  // Code returns the exception type name.
  6798  func (s *BucketNameFilterRequiredException) Code() string {
  6799  	return "BucketNameFilterRequiredException"
  6800  }
  6801  
  6802  // Message returns the exception's message.
  6803  func (s *BucketNameFilterRequiredException) Message() string {
  6804  	if s.Message_ != nil {
  6805  		return *s.Message_
  6806  	}
  6807  	return ""
  6808  }
  6809  
  6810  // OrigErr always returns nil, satisfies awserr.Error interface.
  6811  func (s *BucketNameFilterRequiredException) OrigErr() error {
  6812  	return nil
  6813  }
  6814  
  6815  func (s *BucketNameFilterRequiredException) Error() string {
  6816  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  6817  }
  6818  
  6819  // Status code returns the HTTP status code for the request's response error.
  6820  func (s *BucketNameFilterRequiredException) StatusCode() int {
  6821  	return s.RespMetadata.StatusCode
  6822  }
  6823  
  6824  // RequestID returns the service's response RequestID for request.
  6825  func (s *BucketNameFilterRequiredException) RequestID() string {
  6826  	return s.RespMetadata.RequestID
  6827  }
  6828  
  6829  // Information about the target to be updated by an AWS CloudFormation blue/green
  6830  // deployment. This target type is used for all deployments initiated by a CloudFormation
  6831  // stack update.
  6832  type CloudFormationTarget struct {
  6833  	_ struct{} `type:"structure"`
  6834  
  6835  	// The unique ID of an AWS CloudFormation blue/green deployment.
  6836  	DeploymentId *string `locationName:"deploymentId" type:"string"`
  6837  
  6838  	// The date and time when the target application was updated by an AWS CloudFormation
  6839  	// blue/green deployment.
  6840  	LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
  6841  
  6842  	// The lifecycle events of the AWS CloudFormation blue/green deployment to this
  6843  	// target application.
  6844  	LifecycleEvents []*LifecycleEvent `locationName:"lifecycleEvents" type:"list"`
  6845  
  6846  	// The resource type for the AWS CloudFormation blue/green deployment.
  6847  	ResourceType *string `locationName:"resourceType" type:"string"`
  6848  
  6849  	// The status of an AWS CloudFormation blue/green deployment's target application.
  6850  	Status *string `locationName:"status" type:"string" enum:"TargetStatus"`
  6851  
  6852  	// The unique ID of a deployment target that has a type of CloudFormationTarget.
  6853  	TargetId *string `locationName:"targetId" type:"string"`
  6854  
  6855  	// The percentage of production traffic that the target version of an AWS CloudFormation
  6856  	// blue/green deployment receives.
  6857  	TargetVersionWeight *float64 `locationName:"targetVersionWeight" type:"double"`
  6858  }
  6859  
  6860  // String returns the string representation.
  6861  //
  6862  // API parameter values that are decorated as "sensitive" in the API will not
  6863  // be included in the string output. The member name will be present, but the
  6864  // value will be replaced with "sensitive".
  6865  func (s CloudFormationTarget) String() string {
  6866  	return awsutil.Prettify(s)
  6867  }
  6868  
  6869  // GoString returns the string representation.
  6870  //
  6871  // API parameter values that are decorated as "sensitive" in the API will not
  6872  // be included in the string output. The member name will be present, but the
  6873  // value will be replaced with "sensitive".
  6874  func (s CloudFormationTarget) GoString() string {
  6875  	return s.String()
  6876  }
  6877  
  6878  // SetDeploymentId sets the DeploymentId field's value.
  6879  func (s *CloudFormationTarget) SetDeploymentId(v string) *CloudFormationTarget {
  6880  	s.DeploymentId = &v
  6881  	return s
  6882  }
  6883  
  6884  // SetLastUpdatedAt sets the LastUpdatedAt field's value.
  6885  func (s *CloudFormationTarget) SetLastUpdatedAt(v time.Time) *CloudFormationTarget {
  6886  	s.LastUpdatedAt = &v
  6887  	return s
  6888  }
  6889  
  6890  // SetLifecycleEvents sets the LifecycleEvents field's value.
  6891  func (s *CloudFormationTarget) SetLifecycleEvents(v []*LifecycleEvent) *CloudFormationTarget {
  6892  	s.LifecycleEvents = v
  6893  	return s
  6894  }
  6895  
  6896  // SetResourceType sets the ResourceType field's value.
  6897  func (s *CloudFormationTarget) SetResourceType(v string) *CloudFormationTarget {
  6898  	s.ResourceType = &v
  6899  	return s
  6900  }
  6901  
  6902  // SetStatus sets the Status field's value.
  6903  func (s *CloudFormationTarget) SetStatus(v string) *CloudFormationTarget {
  6904  	s.Status = &v
  6905  	return s
  6906  }
  6907  
  6908  // SetTargetId sets the TargetId field's value.
  6909  func (s *CloudFormationTarget) SetTargetId(v string) *CloudFormationTarget {
  6910  	s.TargetId = &v
  6911  	return s
  6912  }
  6913  
  6914  // SetTargetVersionWeight sets the TargetVersionWeight field's value.
  6915  func (s *CloudFormationTarget) SetTargetVersionWeight(v float64) *CloudFormationTarget {
  6916  	s.TargetVersionWeight = &v
  6917  	return s
  6918  }
  6919  
  6920  type ContinueDeploymentInput struct {
  6921  	_ struct{} `type:"structure"`
  6922  
  6923  	// The unique ID of a blue/green deployment for which you want to start rerouting
  6924  	// traffic to the replacement environment.
  6925  	DeploymentId *string `locationName:"deploymentId" type:"string"`
  6926  
  6927  	// The status of the deployment's waiting period. READY_WAIT indicates that
  6928  	// the deployment is ready to start shifting traffic. TERMINATION_WAIT indicates
  6929  	// that the traffic is shifted, but the original target is not terminated.
  6930  	DeploymentWaitType *string `locationName:"deploymentWaitType" type:"string" enum:"DeploymentWaitType"`
  6931  }
  6932  
  6933  // String returns the string representation.
  6934  //
  6935  // API parameter values that are decorated as "sensitive" in the API will not
  6936  // be included in the string output. The member name will be present, but the
  6937  // value will be replaced with "sensitive".
  6938  func (s ContinueDeploymentInput) String() string {
  6939  	return awsutil.Prettify(s)
  6940  }
  6941  
  6942  // GoString returns the string representation.
  6943  //
  6944  // API parameter values that are decorated as "sensitive" in the API will not
  6945  // be included in the string output. The member name will be present, but the
  6946  // value will be replaced with "sensitive".
  6947  func (s ContinueDeploymentInput) GoString() string {
  6948  	return s.String()
  6949  }
  6950  
  6951  // SetDeploymentId sets the DeploymentId field's value.
  6952  func (s *ContinueDeploymentInput) SetDeploymentId(v string) *ContinueDeploymentInput {
  6953  	s.DeploymentId = &v
  6954  	return s
  6955  }
  6956  
  6957  // SetDeploymentWaitType sets the DeploymentWaitType field's value.
  6958  func (s *ContinueDeploymentInput) SetDeploymentWaitType(v string) *ContinueDeploymentInput {
  6959  	s.DeploymentWaitType = &v
  6960  	return s
  6961  }
  6962  
  6963  type ContinueDeploymentOutput struct {
  6964  	_ struct{} `type:"structure"`
  6965  }
  6966  
  6967  // String returns the string representation.
  6968  //
  6969  // API parameter values that are decorated as "sensitive" in the API will not
  6970  // be included in the string output. The member name will be present, but the
  6971  // value will be replaced with "sensitive".
  6972  func (s ContinueDeploymentOutput) String() string {
  6973  	return awsutil.Prettify(s)
  6974  }
  6975  
  6976  // GoString returns the string representation.
  6977  //
  6978  // API parameter values that are decorated as "sensitive" in the API will not
  6979  // be included in the string output. The member name will be present, but the
  6980  // value will be replaced with "sensitive".
  6981  func (s ContinueDeploymentOutput) GoString() string {
  6982  	return s.String()
  6983  }
  6984  
  6985  // Represents the input of a CreateApplication operation.
  6986  type CreateApplicationInput struct {
  6987  	_ struct{} `type:"structure"`
  6988  
  6989  	// The name of the application. This name must be unique with the applicable
  6990  	// IAM user or AWS account.
  6991  	//
  6992  	// ApplicationName is a required field
  6993  	ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`
  6994  
  6995  	// The destination platform type for the deployment (Lambda, Server, or ECS).
  6996  	ComputePlatform *string `locationName:"computePlatform" type:"string" enum:"ComputePlatform"`
  6997  
  6998  	// The metadata that you apply to CodeDeploy applications to help you organize
  6999  	// and categorize them. Each tag consists of a key and an optional value, both
  7000  	// of which you define.
  7001  	Tags []*Tag `locationName:"tags" type:"list"`
  7002  }
  7003  
  7004  // String returns the string representation.
  7005  //
  7006  // API parameter values that are decorated as "sensitive" in the API will not
  7007  // be included in the string output. The member name will be present, but the
  7008  // value will be replaced with "sensitive".
  7009  func (s CreateApplicationInput) String() string {
  7010  	return awsutil.Prettify(s)
  7011  }
  7012  
  7013  // GoString returns the string representation.
  7014  //
  7015  // API parameter values that are decorated as "sensitive" in the API will not
  7016  // be included in the string output. The member name will be present, but the
  7017  // value will be replaced with "sensitive".
  7018  func (s CreateApplicationInput) GoString() string {
  7019  	return s.String()
  7020  }
  7021  
  7022  // Validate inspects the fields of the type to determine if they are valid.
  7023  func (s *CreateApplicationInput) Validate() error {
  7024  	invalidParams := request.ErrInvalidParams{Context: "CreateApplicationInput"}
  7025  	if s.ApplicationName == nil {
  7026  		invalidParams.Add(request.NewErrParamRequired("ApplicationName"))
  7027  	}
  7028  	if s.ApplicationName != nil && len(*s.ApplicationName) < 1 {
  7029  		invalidParams.Add(request.NewErrParamMinLen("ApplicationName", 1))
  7030  	}
  7031  
  7032  	if invalidParams.Len() > 0 {
  7033  		return invalidParams
  7034  	}
  7035  	return nil
  7036  }
  7037  
  7038  // SetApplicationName sets the ApplicationName field's value.
  7039  func (s *CreateApplicationInput) SetApplicationName(v string) *CreateApplicationInput {
  7040  	s.ApplicationName = &v
  7041  	return s
  7042  }
  7043  
  7044  // SetComputePlatform sets the ComputePlatform field's value.
  7045  func (s *CreateApplicationInput) SetComputePlatform(v string) *CreateApplicationInput {
  7046  	s.ComputePlatform = &v
  7047  	return s
  7048  }
  7049  
  7050  // SetTags sets the Tags field's value.
  7051  func (s *CreateApplicationInput) SetTags(v []*Tag) *CreateApplicationInput {
  7052  	s.Tags = v
  7053  	return s
  7054  }
  7055  
  7056  // Represents the output of a CreateApplication operation.
  7057  type CreateApplicationOutput struct {
  7058  	_ struct{} `type:"structure"`
  7059  
  7060  	// A unique application ID.
  7061  	ApplicationId *string `locationName:"applicationId" type:"string"`
  7062  }
  7063  
  7064  // String returns the string representation.
  7065  //
  7066  // API parameter values that are decorated as "sensitive" in the API will not
  7067  // be included in the string output. The member name will be present, but the
  7068  // value will be replaced with "sensitive".
  7069  func (s CreateApplicationOutput) String() string {
  7070  	return awsutil.Prettify(s)
  7071  }
  7072  
  7073  // GoString returns the string representation.
  7074  //
  7075  // API parameter values that are decorated as "sensitive" in the API will not
  7076  // be included in the string output. The member name will be present, but the
  7077  // value will be replaced with "sensitive".
  7078  func (s CreateApplicationOutput) GoString() string {
  7079  	return s.String()
  7080  }
  7081  
  7082  // SetApplicationId sets the ApplicationId field's value.
  7083  func (s *CreateApplicationOutput) SetApplicationId(v string) *CreateApplicationOutput {
  7084  	s.ApplicationId = &v
  7085  	return s
  7086  }
  7087  
  7088  // Represents the input of a CreateDeploymentConfig operation.
  7089  type CreateDeploymentConfigInput struct {
  7090  	_ struct{} `type:"structure"`
  7091  
  7092  	// The destination platform type for the deployment (Lambda, Server, or ECS).
  7093  	ComputePlatform *string `locationName:"computePlatform" type:"string" enum:"ComputePlatform"`
  7094  
  7095  	// The name of the deployment configuration to create.
  7096  	//
  7097  	// DeploymentConfigName is a required field
  7098  	DeploymentConfigName *string `locationName:"deploymentConfigName" min:"1" type:"string" required:"true"`
  7099  
  7100  	// The minimum number of healthy instances that should be available at any time
  7101  	// during the deployment. There are two parameters expected in the input: type
  7102  	// and value.
  7103  	//
  7104  	// The type parameter takes either of the following values:
  7105  	//
  7106  	//    * HOST_COUNT: The value parameter represents the minimum number of healthy
  7107  	//    instances as an absolute value.
  7108  	//
  7109  	//    * FLEET_PERCENT: The value parameter represents the minimum number of
  7110  	//    healthy instances as a percentage of the total number of instances in
  7111  	//    the deployment. If you specify FLEET_PERCENT, at the start of the deployment,
  7112  	//    AWS CodeDeploy converts the percentage to the equivalent number of instances
  7113  	//    and rounds up fractional instances.
  7114  	//
  7115  	// The value parameter takes an integer.
  7116  	//
  7117  	// For example, to set a minimum of 95% healthy instance, specify a type of
  7118  	// FLEET_PERCENT and a value of 95.
  7119  	MinimumHealthyHosts *MinimumHealthyHosts `locationName:"minimumHealthyHosts" type:"structure"`
  7120  
  7121  	// The configuration that specifies how the deployment traffic is routed.
  7122  	TrafficRoutingConfig *TrafficRoutingConfig `locationName:"trafficRoutingConfig" type:"structure"`
  7123  }
  7124  
  7125  // String returns the string representation.
  7126  //
  7127  // API parameter values that are decorated as "sensitive" in the API will not
  7128  // be included in the string output. The member name will be present, but the
  7129  // value will be replaced with "sensitive".
  7130  func (s CreateDeploymentConfigInput) String() string {
  7131  	return awsutil.Prettify(s)
  7132  }
  7133  
  7134  // GoString returns the string representation.
  7135  //
  7136  // API parameter values that are decorated as "sensitive" in the API will not
  7137  // be included in the string output. The member name will be present, but the
  7138  // value will be replaced with "sensitive".
  7139  func (s CreateDeploymentConfigInput) GoString() string {
  7140  	return s.String()
  7141  }
  7142  
  7143  // Validate inspects the fields of the type to determine if they are valid.
  7144  func (s *CreateDeploymentConfigInput) Validate() error {
  7145  	invalidParams := request.ErrInvalidParams{Context: "CreateDeploymentConfigInput"}
  7146  	if s.DeploymentConfigName == nil {
  7147  		invalidParams.Add(request.NewErrParamRequired("DeploymentConfigName"))
  7148  	}
  7149  	if s.DeploymentConfigName != nil && len(*s.DeploymentConfigName) < 1 {
  7150  		invalidParams.Add(request.NewErrParamMinLen("DeploymentConfigName", 1))
  7151  	}
  7152  
  7153  	if invalidParams.Len() > 0 {
  7154  		return invalidParams
  7155  	}
  7156  	return nil
  7157  }
  7158  
  7159  // SetComputePlatform sets the ComputePlatform field's value.
  7160  func (s *CreateDeploymentConfigInput) SetComputePlatform(v string) *CreateDeploymentConfigInput {
  7161  	s.ComputePlatform = &v
  7162  	return s
  7163  }
  7164  
  7165  // SetDeploymentConfigName sets the DeploymentConfigName field's value.
  7166  func (s *CreateDeploymentConfigInput) SetDeploymentConfigName(v string) *CreateDeploymentConfigInput {
  7167  	s.DeploymentConfigName = &v
  7168  	return s
  7169  }
  7170  
  7171  // SetMinimumHealthyHosts sets the MinimumHealthyHosts field's value.
  7172  func (s *CreateDeploymentConfigInput) SetMinimumHealthyHosts(v *MinimumHealthyHosts) *CreateDeploymentConfigInput {
  7173  	s.MinimumHealthyHosts = v
  7174  	return s
  7175  }
  7176  
  7177  // SetTrafficRoutingConfig sets the TrafficRoutingConfig field's value.
  7178  func (s *CreateDeploymentConfigInput) SetTrafficRoutingConfig(v *TrafficRoutingConfig) *CreateDeploymentConfigInput {
  7179  	s.TrafficRoutingConfig = v
  7180  	return s
  7181  }
  7182  
  7183  // Represents the output of a CreateDeploymentConfig operation.
  7184  type CreateDeploymentConfigOutput struct {
  7185  	_ struct{} `type:"structure"`
  7186  
  7187  	// A unique deployment configuration ID.
  7188  	DeploymentConfigId *string `locationName:"deploymentConfigId" type:"string"`
  7189  }
  7190  
  7191  // String returns the string representation.
  7192  //
  7193  // API parameter values that are decorated as "sensitive" in the API will not
  7194  // be included in the string output. The member name will be present, but the
  7195  // value will be replaced with "sensitive".
  7196  func (s CreateDeploymentConfigOutput) String() string {
  7197  	return awsutil.Prettify(s)
  7198  }
  7199  
  7200  // GoString returns the string representation.
  7201  //
  7202  // API parameter values that are decorated as "sensitive" in the API will not
  7203  // be included in the string output. The member name will be present, but the
  7204  // value will be replaced with "sensitive".
  7205  func (s CreateDeploymentConfigOutput) GoString() string {
  7206  	return s.String()
  7207  }
  7208  
  7209  // SetDeploymentConfigId sets the DeploymentConfigId field's value.
  7210  func (s *CreateDeploymentConfigOutput) SetDeploymentConfigId(v string) *CreateDeploymentConfigOutput {
  7211  	s.DeploymentConfigId = &v
  7212  	return s
  7213  }
  7214  
  7215  // Represents the input of a CreateDeploymentGroup operation.
  7216  type CreateDeploymentGroupInput struct {
  7217  	_ struct{} `type:"structure"`
  7218  
  7219  	// Information to add about Amazon CloudWatch alarms when the deployment group
  7220  	// is created.
  7221  	AlarmConfiguration *AlarmConfiguration `locationName:"alarmConfiguration" type:"structure"`
  7222  
  7223  	// The name of an AWS CodeDeploy application associated with the IAM user or
  7224  	// AWS account.
  7225  	//
  7226  	// ApplicationName is a required field
  7227  	ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`
  7228  
  7229  	// Configuration information for an automatic rollback that is added when a
  7230  	// deployment group is created.
  7231  	AutoRollbackConfiguration *AutoRollbackConfiguration `locationName:"autoRollbackConfiguration" type:"structure"`
  7232  
  7233  	// A list of associated Amazon EC2 Auto Scaling groups.
  7234  	AutoScalingGroups []*string `locationName:"autoScalingGroups" type:"list"`
  7235  
  7236  	// Information about blue/green deployment options for a deployment group.
  7237  	BlueGreenDeploymentConfiguration *BlueGreenDeploymentConfiguration `locationName:"blueGreenDeploymentConfiguration" type:"structure"`
  7238  
  7239  	// If specified, the deployment configuration name can be either one of the
  7240  	// predefined configurations provided with AWS CodeDeploy or a custom deployment
  7241  	// configuration that you create by calling the create deployment configuration
  7242  	// operation.
  7243  	//
  7244  	// CodeDeployDefault.OneAtATime is the default deployment configuration. It
  7245  	// is used if a configuration isn't specified for the deployment or deployment
  7246  	// group.
  7247  	//
  7248  	// For more information about the predefined deployment configurations in AWS
  7249  	// CodeDeploy, see Working with Deployment Configurations in CodeDeploy (https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations.html)
  7250  	// in the AWS CodeDeploy User Guide.
  7251  	DeploymentConfigName *string `locationName:"deploymentConfigName" min:"1" type:"string"`
  7252  
  7253  	// The name of a new deployment group for the specified application.
  7254  	//
  7255  	// DeploymentGroupName is a required field
  7256  	DeploymentGroupName *string `locationName:"deploymentGroupName" min:"1" type:"string" required:"true"`
  7257  
  7258  	// Information about the type of deployment, in-place or blue/green, that you
  7259  	// want to run and whether to route deployment traffic behind a load balancer.
  7260  	DeploymentStyle *DeploymentStyle `locationName:"deploymentStyle" type:"structure"`
  7261  
  7262  	// The Amazon EC2 tags on which to filter. The deployment group includes EC2
  7263  	// instances with any of the specified tags. Cannot be used in the same call
  7264  	// as ec2TagSet.
  7265  	Ec2TagFilters []*EC2TagFilter `locationName:"ec2TagFilters" type:"list"`
  7266  
  7267  	// Information about groups of tags applied to EC2 instances. The deployment
  7268  	// group includes only EC2 instances identified by all the tag groups. Cannot
  7269  	// be used in the same call as ec2TagFilters.
  7270  	Ec2TagSet *EC2TagSet `locationName:"ec2TagSet" type:"structure"`
  7271  
  7272  	// The target Amazon ECS services in the deployment group. This applies only
  7273  	// to deployment groups that use the Amazon ECS compute platform. A target Amazon
  7274  	// ECS service is specified as an Amazon ECS cluster and service name pair using
  7275  	// the format <clustername>:<servicename>.
  7276  	EcsServices []*ECSService `locationName:"ecsServices" type:"list"`
  7277  
  7278  	// Information about the load balancer used in a deployment.
  7279  	LoadBalancerInfo *LoadBalancerInfo `locationName:"loadBalancerInfo" type:"structure"`
  7280  
  7281  	// The on-premises instance tags on which to filter. The deployment group includes
  7282  	// on-premises instances with any of the specified tags. Cannot be used in the
  7283  	// same call as OnPremisesTagSet.
  7284  	OnPremisesInstanceTagFilters []*TagFilter `locationName:"onPremisesInstanceTagFilters" type:"list"`
  7285  
  7286  	// Information about groups of tags applied to on-premises instances. The deployment
  7287  	// group includes only on-premises instances identified by all of the tag groups.
  7288  	// Cannot be used in the same call as onPremisesInstanceTagFilters.
  7289  	OnPremisesTagSet *OnPremisesTagSet `locationName:"onPremisesTagSet" type:"structure"`
  7290  
  7291  	// Indicates what happens when new EC2 instances are launched mid-deployment
  7292  	// and do not receive the deployed application revision.
  7293  	//
  7294  	// If this option is set to UPDATE or is unspecified, CodeDeploy initiates one
  7295  	// or more 'auto-update outdated instances' deployments to apply the deployed
  7296  	// application revision to the new EC2 instances.
  7297  	//
  7298  	// If this option is set to IGNORE, CodeDeploy does not initiate a deployment
  7299  	// to update the new EC2 instances. This may result in instances having different
  7300  	// revisions.
  7301  	OutdatedInstancesStrategy *string `locationName:"outdatedInstancesStrategy" type:"string" enum:"OutdatedInstancesStrategy"`
  7302  
  7303  	// A service role Amazon Resource Name (ARN) that allows AWS CodeDeploy to act
  7304  	// on the user's behalf when interacting with AWS services.
  7305  	//
  7306  	// ServiceRoleArn is a required field
  7307  	ServiceRoleArn *string `locationName:"serviceRoleArn" type:"string" required:"true"`
  7308  
  7309  	// The metadata that you apply to CodeDeploy deployment groups to help you organize
  7310  	// and categorize them. Each tag consists of a key and an optional value, both
  7311  	// of which you define.
  7312  	Tags []*Tag `locationName:"tags" type:"list"`
  7313  
  7314  	// Information about triggers to create when the deployment group is created.
  7315  	// For examples, see Create a Trigger for an AWS CodeDeploy Event (https://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-notify-sns.html)
  7316  	// in the AWS CodeDeploy User Guide.
  7317  	TriggerConfigurations []*TriggerConfig `locationName:"triggerConfigurations" type:"list"`
  7318  }
  7319  
  7320  // String returns the string representation.
  7321  //
  7322  // API parameter values that are decorated as "sensitive" in the API will not
  7323  // be included in the string output. The member name will be present, but the
  7324  // value will be replaced with "sensitive".
  7325  func (s CreateDeploymentGroupInput) String() string {
  7326  	return awsutil.Prettify(s)
  7327  }
  7328  
  7329  // GoString returns the string representation.
  7330  //
  7331  // API parameter values that are decorated as "sensitive" in the API will not
  7332  // be included in the string output. The member name will be present, but the
  7333  // value will be replaced with "sensitive".
  7334  func (s CreateDeploymentGroupInput) GoString() string {
  7335  	return s.String()
  7336  }
  7337  
  7338  // Validate inspects the fields of the type to determine if they are valid.
  7339  func (s *CreateDeploymentGroupInput) Validate() error {
  7340  	invalidParams := request.ErrInvalidParams{Context: "CreateDeploymentGroupInput"}
  7341  	if s.ApplicationName == nil {
  7342  		invalidParams.Add(request.NewErrParamRequired("ApplicationName"))
  7343  	}
  7344  	if s.ApplicationName != nil && len(*s.ApplicationName) < 1 {
  7345  		invalidParams.Add(request.NewErrParamMinLen("ApplicationName", 1))
  7346  	}
  7347  	if s.DeploymentConfigName != nil && len(*s.DeploymentConfigName) < 1 {
  7348  		invalidParams.Add(request.NewErrParamMinLen("DeploymentConfigName", 1))
  7349  	}
  7350  	if s.DeploymentGroupName == nil {
  7351  		invalidParams.Add(request.NewErrParamRequired("DeploymentGroupName"))
  7352  	}
  7353  	if s.DeploymentGroupName != nil && len(*s.DeploymentGroupName) < 1 {
  7354  		invalidParams.Add(request.NewErrParamMinLen("DeploymentGroupName", 1))
  7355  	}
  7356  	if s.ServiceRoleArn == nil {
  7357  		invalidParams.Add(request.NewErrParamRequired("ServiceRoleArn"))
  7358  	}
  7359  
  7360  	if invalidParams.Len() > 0 {
  7361  		return invalidParams
  7362  	}
  7363  	return nil
  7364  }
  7365  
  7366  // SetAlarmConfiguration sets the AlarmConfiguration field's value.
  7367  func (s *CreateDeploymentGroupInput) SetAlarmConfiguration(v *AlarmConfiguration) *CreateDeploymentGroupInput {
  7368  	s.AlarmConfiguration = v
  7369  	return s
  7370  }
  7371  
  7372  // SetApplicationName sets the ApplicationName field's value.
  7373  func (s *CreateDeploymentGroupInput) SetApplicationName(v string) *CreateDeploymentGroupInput {
  7374  	s.ApplicationName = &v
  7375  	return s
  7376  }
  7377  
  7378  // SetAutoRollbackConfiguration sets the AutoRollbackConfiguration field's value.
  7379  func (s *CreateDeploymentGroupInput) SetAutoRollbackConfiguration(v *AutoRollbackConfiguration) *CreateDeploymentGroupInput {
  7380  	s.AutoRollbackConfiguration = v
  7381  	return s
  7382  }
  7383  
  7384  // SetAutoScalingGroups sets the AutoScalingGroups field's value.
  7385  func (s *CreateDeploymentGroupInput) SetAutoScalingGroups(v []*string) *CreateDeploymentGroupInput {
  7386  	s.AutoScalingGroups = v
  7387  	return s
  7388  }
  7389  
  7390  // SetBlueGreenDeploymentConfiguration sets the BlueGreenDeploymentConfiguration field's value.
  7391  func (s *CreateDeploymentGroupInput) SetBlueGreenDeploymentConfiguration(v *BlueGreenDeploymentConfiguration) *CreateDeploymentGroupInput {
  7392  	s.BlueGreenDeploymentConfiguration = v
  7393  	return s
  7394  }
  7395  
  7396  // SetDeploymentConfigName sets the DeploymentConfigName field's value.
  7397  func (s *CreateDeploymentGroupInput) SetDeploymentConfigName(v string) *CreateDeploymentGroupInput {
  7398  	s.DeploymentConfigName = &v
  7399  	return s
  7400  }
  7401  
  7402  // SetDeploymentGroupName sets the DeploymentGroupName field's value.
  7403  func (s *CreateDeploymentGroupInput) SetDeploymentGroupName(v string) *CreateDeploymentGroupInput {
  7404  	s.DeploymentGroupName = &v
  7405  	return s
  7406  }
  7407  
  7408  // SetDeploymentStyle sets the DeploymentStyle field's value.
  7409  func (s *CreateDeploymentGroupInput) SetDeploymentStyle(v *DeploymentStyle) *CreateDeploymentGroupInput {
  7410  	s.DeploymentStyle = v
  7411  	return s
  7412  }
  7413  
  7414  // SetEc2TagFilters sets the Ec2TagFilters field's value.
  7415  func (s *CreateDeploymentGroupInput) SetEc2TagFilters(v []*EC2TagFilter) *CreateDeploymentGroupInput {
  7416  	s.Ec2TagFilters = v
  7417  	return s
  7418  }
  7419  
  7420  // SetEc2TagSet sets the Ec2TagSet field's value.
  7421  func (s *CreateDeploymentGroupInput) SetEc2TagSet(v *EC2TagSet) *CreateDeploymentGroupInput {
  7422  	s.Ec2TagSet = v
  7423  	return s
  7424  }
  7425  
  7426  // SetEcsServices sets the EcsServices field's value.
  7427  func (s *CreateDeploymentGroupInput) SetEcsServices(v []*ECSService) *CreateDeploymentGroupInput {
  7428  	s.EcsServices = v
  7429  	return s
  7430  }
  7431  
  7432  // SetLoadBalancerInfo sets the LoadBalancerInfo field's value.
  7433  func (s *CreateDeploymentGroupInput) SetLoadBalancerInfo(v *LoadBalancerInfo) *CreateDeploymentGroupInput {
  7434  	s.LoadBalancerInfo = v
  7435  	return s
  7436  }
  7437  
  7438  // SetOnPremisesInstanceTagFilters sets the OnPremisesInstanceTagFilters field's value.
  7439  func (s *CreateDeploymentGroupInput) SetOnPremisesInstanceTagFilters(v []*TagFilter) *CreateDeploymentGroupInput {
  7440  	s.OnPremisesInstanceTagFilters = v
  7441  	return s
  7442  }
  7443  
  7444  // SetOnPremisesTagSet sets the OnPremisesTagSet field's value.
  7445  func (s *CreateDeploymentGroupInput) SetOnPremisesTagSet(v *OnPremisesTagSet) *CreateDeploymentGroupInput {
  7446  	s.OnPremisesTagSet = v
  7447  	return s
  7448  }
  7449  
  7450  // SetOutdatedInstancesStrategy sets the OutdatedInstancesStrategy field's value.
  7451  func (s *CreateDeploymentGroupInput) SetOutdatedInstancesStrategy(v string) *CreateDeploymentGroupInput {
  7452  	s.OutdatedInstancesStrategy = &v
  7453  	return s
  7454  }
  7455  
  7456  // SetServiceRoleArn sets the ServiceRoleArn field's value.
  7457  func (s *CreateDeploymentGroupInput) SetServiceRoleArn(v string) *CreateDeploymentGroupInput {
  7458  	s.ServiceRoleArn = &v
  7459  	return s
  7460  }
  7461  
  7462  // SetTags sets the Tags field's value.
  7463  func (s *CreateDeploymentGroupInput) SetTags(v []*Tag) *CreateDeploymentGroupInput {
  7464  	s.Tags = v
  7465  	return s
  7466  }
  7467  
  7468  // SetTriggerConfigurations sets the TriggerConfigurations field's value.
  7469  func (s *CreateDeploymentGroupInput) SetTriggerConfigurations(v []*TriggerConfig) *CreateDeploymentGroupInput {
  7470  	s.TriggerConfigurations = v
  7471  	return s
  7472  }
  7473  
  7474  // Represents the output of a CreateDeploymentGroup operation.
  7475  type CreateDeploymentGroupOutput struct {
  7476  	_ struct{} `type:"structure"`
  7477  
  7478  	// A unique deployment group ID.
  7479  	DeploymentGroupId *string `locationName:"deploymentGroupId" type:"string"`
  7480  }
  7481  
  7482  // String returns the string representation.
  7483  //
  7484  // API parameter values that are decorated as "sensitive" in the API will not
  7485  // be included in the string output. The member name will be present, but the
  7486  // value will be replaced with "sensitive".
  7487  func (s CreateDeploymentGroupOutput) String() string {
  7488  	return awsutil.Prettify(s)
  7489  }
  7490  
  7491  // GoString returns the string representation.
  7492  //
  7493  // API parameter values that are decorated as "sensitive" in the API will not
  7494  // be included in the string output. The member name will be present, but the
  7495  // value will be replaced with "sensitive".
  7496  func (s CreateDeploymentGroupOutput) GoString() string {
  7497  	return s.String()
  7498  }
  7499  
  7500  // SetDeploymentGroupId sets the DeploymentGroupId field's value.
  7501  func (s *CreateDeploymentGroupOutput) SetDeploymentGroupId(v string) *CreateDeploymentGroupOutput {
  7502  	s.DeploymentGroupId = &v
  7503  	return s
  7504  }
  7505  
  7506  // Represents the input of a CreateDeployment operation.
  7507  type CreateDeploymentInput struct {
  7508  	_ struct{} `type:"structure"`
  7509  
  7510  	// The name of an AWS CodeDeploy application associated with the IAM user or
  7511  	// AWS account.
  7512  	//
  7513  	// ApplicationName is a required field
  7514  	ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`
  7515  
  7516  	// Configuration information for an automatic rollback that is added when a
  7517  	// deployment is created.
  7518  	AutoRollbackConfiguration *AutoRollbackConfiguration `locationName:"autoRollbackConfiguration" type:"structure"`
  7519  
  7520  	// The name of a deployment configuration associated with the IAM user or AWS
  7521  	// account.
  7522  	//
  7523  	// If not specified, the value configured in the deployment group is used as
  7524  	// the default. If the deployment group does not have a deployment configuration
  7525  	// associated with it, CodeDeployDefault.OneAtATime is used by default.
  7526  	DeploymentConfigName *string `locationName:"deploymentConfigName" min:"1" type:"string"`
  7527  
  7528  	// The name of the deployment group.
  7529  	DeploymentGroupName *string `locationName:"deploymentGroupName" min:"1" type:"string"`
  7530  
  7531  	// A comment about the deployment.
  7532  	Description *string `locationName:"description" type:"string"`
  7533  
  7534  	// Information about how AWS CodeDeploy handles files that already exist in
  7535  	// a deployment target location but weren't part of the previous successful
  7536  	// deployment.
  7537  	//
  7538  	// The fileExistsBehavior parameter takes any of the following values:
  7539  	//
  7540  	//    * DISALLOW: The deployment fails. This is also the default behavior if
  7541  	//    no option is specified.
  7542  	//
  7543  	//    * OVERWRITE: The version of the file from the application revision currently
  7544  	//    being deployed replaces the version already on the instance.
  7545  	//
  7546  	//    * RETAIN: The version of the file already on the instance is kept and
  7547  	//    used as part of the new deployment.
  7548  	FileExistsBehavior *string `locationName:"fileExistsBehavior" type:"string" enum:"FileExistsBehavior"`
  7549  
  7550  	// If true, then if an ApplicationStop, BeforeBlockTraffic, or AfterBlockTraffic
  7551  	// deployment lifecycle event to an instance fails, then the deployment continues
  7552  	// to the next deployment lifecycle event. For example, if ApplicationStop fails,
  7553  	// the deployment continues with DownloadBundle. If BeforeBlockTraffic fails,
  7554  	// the deployment continues with BlockTraffic. If AfterBlockTraffic fails, the
  7555  	// deployment continues with ApplicationStop.
  7556  	//
  7557  	// If false or not specified, then if a lifecycle event fails during a deployment
  7558  	// to an instance, that deployment fails. If deployment to that instance is
  7559  	// part of an overall deployment and the number of healthy hosts is not less
  7560  	// than the minimum number of healthy hosts, then a deployment to the next instance
  7561  	// is attempted.
  7562  	//
  7563  	// During a deployment, the AWS CodeDeploy agent runs the scripts specified
  7564  	// for ApplicationStop, BeforeBlockTraffic, and AfterBlockTraffic in the AppSpec
  7565  	// file from the previous successful deployment. (All other scripts are run
  7566  	// from the AppSpec file in the current deployment.) If one of these scripts
  7567  	// contains an error and does not run successfully, the deployment can fail.
  7568  	//
  7569  	// If the cause of the failure is a script from the last successful deployment
  7570  	// that will never run successfully, create a new deployment and use ignoreApplicationStopFailures
  7571  	// to specify that the ApplicationStop, BeforeBlockTraffic, and AfterBlockTraffic
  7572  	// failures should be ignored.
  7573  	IgnoreApplicationStopFailures *bool `locationName:"ignoreApplicationStopFailures" type:"boolean"`
  7574  
  7575  	// The type and location of the revision to deploy.
  7576  	Revision *RevisionLocation `locationName:"revision" type:"structure"`
  7577  
  7578  	// Information about the instances that belong to the replacement environment
  7579  	// in a blue/green deployment.
  7580  	TargetInstances *TargetInstances `locationName:"targetInstances" type:"structure"`
  7581  
  7582  	// Indicates whether to deploy to all instances or only to instances that are
  7583  	// not running the latest application revision.
  7584  	UpdateOutdatedInstancesOnly *bool `locationName:"updateOutdatedInstancesOnly" type:"boolean"`
  7585  }
  7586  
  7587  // String returns the string representation.
  7588  //
  7589  // API parameter values that are decorated as "sensitive" in the API will not
  7590  // be included in the string output. The member name will be present, but the
  7591  // value will be replaced with "sensitive".
  7592  func (s CreateDeploymentInput) String() string {
  7593  	return awsutil.Prettify(s)
  7594  }
  7595  
  7596  // GoString returns the string representation.
  7597  //
  7598  // API parameter values that are decorated as "sensitive" in the API will not
  7599  // be included in the string output. The member name will be present, but the
  7600  // value will be replaced with "sensitive".
  7601  func (s CreateDeploymentInput) GoString() string {
  7602  	return s.String()
  7603  }
  7604  
  7605  // Validate inspects the fields of the type to determine if they are valid.
  7606  func (s *CreateDeploymentInput) Validate() error {
  7607  	invalidParams := request.ErrInvalidParams{Context: "CreateDeploymentInput"}
  7608  	if s.ApplicationName == nil {
  7609  		invalidParams.Add(request.NewErrParamRequired("ApplicationName"))
  7610  	}
  7611  	if s.ApplicationName != nil && len(*s.ApplicationName) < 1 {
  7612  		invalidParams.Add(request.NewErrParamMinLen("ApplicationName", 1))
  7613  	}
  7614  	if s.DeploymentConfigName != nil && len(*s.DeploymentConfigName) < 1 {
  7615  		invalidParams.Add(request.NewErrParamMinLen("DeploymentConfigName", 1))
  7616  	}
  7617  	if s.DeploymentGroupName != nil && len(*s.DeploymentGroupName) < 1 {
  7618  		invalidParams.Add(request.NewErrParamMinLen("DeploymentGroupName", 1))
  7619  	}
  7620  
  7621  	if invalidParams.Len() > 0 {
  7622  		return invalidParams
  7623  	}
  7624  	return nil
  7625  }
  7626  
  7627  // SetApplicationName sets the ApplicationName field's value.
  7628  func (s *CreateDeploymentInput) SetApplicationName(v string) *CreateDeploymentInput {
  7629  	s.ApplicationName = &v
  7630  	return s
  7631  }
  7632  
  7633  // SetAutoRollbackConfiguration sets the AutoRollbackConfiguration field's value.
  7634  func (s *CreateDeploymentInput) SetAutoRollbackConfiguration(v *AutoRollbackConfiguration) *CreateDeploymentInput {
  7635  	s.AutoRollbackConfiguration = v
  7636  	return s
  7637  }
  7638  
  7639  // SetDeploymentConfigName sets the DeploymentConfigName field's value.
  7640  func (s *CreateDeploymentInput) SetDeploymentConfigName(v string) *CreateDeploymentInput {
  7641  	s.DeploymentConfigName = &v
  7642  	return s
  7643  }
  7644  
  7645  // SetDeploymentGroupName sets the DeploymentGroupName field's value.
  7646  func (s *CreateDeploymentInput) SetDeploymentGroupName(v string) *CreateDeploymentInput {
  7647  	s.DeploymentGroupName = &v
  7648  	return s
  7649  }
  7650  
  7651  // SetDescription sets the Description field's value.
  7652  func (s *CreateDeploymentInput) SetDescription(v string) *CreateDeploymentInput {
  7653  	s.Description = &v
  7654  	return s
  7655  }
  7656  
  7657  // SetFileExistsBehavior sets the FileExistsBehavior field's value.
  7658  func (s *CreateDeploymentInput) SetFileExistsBehavior(v string) *CreateDeploymentInput {
  7659  	s.FileExistsBehavior = &v
  7660  	return s
  7661  }
  7662  
  7663  // SetIgnoreApplicationStopFailures sets the IgnoreApplicationStopFailures field's value.
  7664  func (s *CreateDeploymentInput) SetIgnoreApplicationStopFailures(v bool) *CreateDeploymentInput {
  7665  	s.IgnoreApplicationStopFailures = &v
  7666  	return s
  7667  }
  7668  
  7669  // SetRevision sets the Revision field's value.
  7670  func (s *CreateDeploymentInput) SetRevision(v *RevisionLocation) *CreateDeploymentInput {
  7671  	s.Revision = v
  7672  	return s
  7673  }
  7674  
  7675  // SetTargetInstances sets the TargetInstances field's value.
  7676  func (s *CreateDeploymentInput) SetTargetInstances(v *TargetInstances) *CreateDeploymentInput {
  7677  	s.TargetInstances = v
  7678  	return s
  7679  }
  7680  
  7681  // SetUpdateOutdatedInstancesOnly sets the UpdateOutdatedInstancesOnly field's value.
  7682  func (s *CreateDeploymentInput) SetUpdateOutdatedInstancesOnly(v bool) *CreateDeploymentInput {
  7683  	s.UpdateOutdatedInstancesOnly = &v
  7684  	return s
  7685  }
  7686  
  7687  // Represents the output of a CreateDeployment operation.
  7688  type CreateDeploymentOutput struct {
  7689  	_ struct{} `type:"structure"`
  7690  
  7691  	// The unique ID of a deployment.
  7692  	DeploymentId *string `locationName:"deploymentId" type:"string"`
  7693  }
  7694  
  7695  // String returns the string representation.
  7696  //
  7697  // API parameter values that are decorated as "sensitive" in the API will not
  7698  // be included in the string output. The member name will be present, but the
  7699  // value will be replaced with "sensitive".
  7700  func (s CreateDeploymentOutput) String() string {
  7701  	return awsutil.Prettify(s)
  7702  }
  7703  
  7704  // GoString returns the string representation.
  7705  //
  7706  // API parameter values that are decorated as "sensitive" in the API will not
  7707  // be included in the string output. The member name will be present, but the
  7708  // value will be replaced with "sensitive".
  7709  func (s CreateDeploymentOutput) GoString() string {
  7710  	return s.String()
  7711  }
  7712  
  7713  // SetDeploymentId sets the DeploymentId field's value.
  7714  func (s *CreateDeploymentOutput) SetDeploymentId(v string) *CreateDeploymentOutput {
  7715  	s.DeploymentId = &v
  7716  	return s
  7717  }
  7718  
  7719  // Represents the input of a DeleteApplication operation.
  7720  type DeleteApplicationInput struct {
  7721  	_ struct{} `type:"structure"`
  7722  
  7723  	// The name of an AWS CodeDeploy application associated with the IAM user or
  7724  	// AWS account.
  7725  	//
  7726  	// ApplicationName is a required field
  7727  	ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`
  7728  }
  7729  
  7730  // String returns the string representation.
  7731  //
  7732  // API parameter values that are decorated as "sensitive" in the API will not
  7733  // be included in the string output. The member name will be present, but the
  7734  // value will be replaced with "sensitive".
  7735  func (s DeleteApplicationInput) String() string {
  7736  	return awsutil.Prettify(s)
  7737  }
  7738  
  7739  // GoString returns the string representation.
  7740  //
  7741  // API parameter values that are decorated as "sensitive" in the API will not
  7742  // be included in the string output. The member name will be present, but the
  7743  // value will be replaced with "sensitive".
  7744  func (s DeleteApplicationInput) GoString() string {
  7745  	return s.String()
  7746  }
  7747  
  7748  // Validate inspects the fields of the type to determine if they are valid.
  7749  func (s *DeleteApplicationInput) Validate() error {
  7750  	invalidParams := request.ErrInvalidParams{Context: "DeleteApplicationInput"}
  7751  	if s.ApplicationName == nil {
  7752  		invalidParams.Add(request.NewErrParamRequired("ApplicationName"))
  7753  	}
  7754  	if s.ApplicationName != nil && len(*s.ApplicationName) < 1 {
  7755  		invalidParams.Add(request.NewErrParamMinLen("ApplicationName", 1))
  7756  	}
  7757  
  7758  	if invalidParams.Len() > 0 {
  7759  		return invalidParams
  7760  	}
  7761  	return nil
  7762  }
  7763  
  7764  // SetApplicationName sets the ApplicationName field's value.
  7765  func (s *DeleteApplicationInput) SetApplicationName(v string) *DeleteApplicationInput {
  7766  	s.ApplicationName = &v
  7767  	return s
  7768  }
  7769  
  7770  type DeleteApplicationOutput struct {
  7771  	_ struct{} `type:"structure"`
  7772  }
  7773  
  7774  // String returns the string representation.
  7775  //
  7776  // API parameter values that are decorated as "sensitive" in the API will not
  7777  // be included in the string output. The member name will be present, but the
  7778  // value will be replaced with "sensitive".
  7779  func (s DeleteApplicationOutput) String() string {
  7780  	return awsutil.Prettify(s)
  7781  }
  7782  
  7783  // GoString returns the string representation.
  7784  //
  7785  // API parameter values that are decorated as "sensitive" in the API will not
  7786  // be included in the string output. The member name will be present, but the
  7787  // value will be replaced with "sensitive".
  7788  func (s DeleteApplicationOutput) GoString() string {
  7789  	return s.String()
  7790  }
  7791  
  7792  // Represents the input of a DeleteDeploymentConfig operation.
  7793  type DeleteDeploymentConfigInput struct {
  7794  	_ struct{} `type:"structure"`
  7795  
  7796  	// The name of a deployment configuration associated with the IAM user or AWS
  7797  	// account.
  7798  	//
  7799  	// DeploymentConfigName is a required field
  7800  	DeploymentConfigName *string `locationName:"deploymentConfigName" min:"1" type:"string" required:"true"`
  7801  }
  7802  
  7803  // String returns the string representation.
  7804  //
  7805  // API parameter values that are decorated as "sensitive" in the API will not
  7806  // be included in the string output. The member name will be present, but the
  7807  // value will be replaced with "sensitive".
  7808  func (s DeleteDeploymentConfigInput) String() string {
  7809  	return awsutil.Prettify(s)
  7810  }
  7811  
  7812  // GoString returns the string representation.
  7813  //
  7814  // API parameter values that are decorated as "sensitive" in the API will not
  7815  // be included in the string output. The member name will be present, but the
  7816  // value will be replaced with "sensitive".
  7817  func (s DeleteDeploymentConfigInput) GoString() string {
  7818  	return s.String()
  7819  }
  7820  
  7821  // Validate inspects the fields of the type to determine if they are valid.
  7822  func (s *DeleteDeploymentConfigInput) Validate() error {
  7823  	invalidParams := request.ErrInvalidParams{Context: "DeleteDeploymentConfigInput"}
  7824  	if s.DeploymentConfigName == nil {
  7825  		invalidParams.Add(request.NewErrParamRequired("DeploymentConfigName"))
  7826  	}
  7827  	if s.DeploymentConfigName != nil && len(*s.DeploymentConfigName) < 1 {
  7828  		invalidParams.Add(request.NewErrParamMinLen("DeploymentConfigName", 1))
  7829  	}
  7830  
  7831  	if invalidParams.Len() > 0 {
  7832  		return invalidParams
  7833  	}
  7834  	return nil
  7835  }
  7836  
  7837  // SetDeploymentConfigName sets the DeploymentConfigName field's value.
  7838  func (s *DeleteDeploymentConfigInput) SetDeploymentConfigName(v string) *DeleteDeploymentConfigInput {
  7839  	s.DeploymentConfigName = &v
  7840  	return s
  7841  }
  7842  
  7843  type DeleteDeploymentConfigOutput struct {
  7844  	_ struct{} `type:"structure"`
  7845  }
  7846  
  7847  // String returns the string representation.
  7848  //
  7849  // API parameter values that are decorated as "sensitive" in the API will not
  7850  // be included in the string output. The member name will be present, but the
  7851  // value will be replaced with "sensitive".
  7852  func (s DeleteDeploymentConfigOutput) String() string {
  7853  	return awsutil.Prettify(s)
  7854  }
  7855  
  7856  // GoString returns the string representation.
  7857  //
  7858  // API parameter values that are decorated as "sensitive" in the API will not
  7859  // be included in the string output. The member name will be present, but the
  7860  // value will be replaced with "sensitive".
  7861  func (s DeleteDeploymentConfigOutput) GoString() string {
  7862  	return s.String()
  7863  }
  7864  
  7865  // Represents the input of a DeleteDeploymentGroup operation.
  7866  type DeleteDeploymentGroupInput struct {
  7867  	_ struct{} `type:"structure"`
  7868  
  7869  	// The name of an AWS CodeDeploy application associated with the IAM user or
  7870  	// AWS account.
  7871  	//
  7872  	// ApplicationName is a required field
  7873  	ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`
  7874  
  7875  	// The name of a deployment group for the specified application.
  7876  	//
  7877  	// DeploymentGroupName is a required field
  7878  	DeploymentGroupName *string `locationName:"deploymentGroupName" min:"1" type:"string" required:"true"`
  7879  }
  7880  
  7881  // String returns the string representation.
  7882  //
  7883  // API parameter values that are decorated as "sensitive" in the API will not
  7884  // be included in the string output. The member name will be present, but the
  7885  // value will be replaced with "sensitive".
  7886  func (s DeleteDeploymentGroupInput) String() string {
  7887  	return awsutil.Prettify(s)
  7888  }
  7889  
  7890  // GoString returns the string representation.
  7891  //
  7892  // API parameter values that are decorated as "sensitive" in the API will not
  7893  // be included in the string output. The member name will be present, but the
  7894  // value will be replaced with "sensitive".
  7895  func (s DeleteDeploymentGroupInput) GoString() string {
  7896  	return s.String()
  7897  }
  7898  
  7899  // Validate inspects the fields of the type to determine if they are valid.
  7900  func (s *DeleteDeploymentGroupInput) Validate() error {
  7901  	invalidParams := request.ErrInvalidParams{Context: "DeleteDeploymentGroupInput"}
  7902  	if s.ApplicationName == nil {
  7903  		invalidParams.Add(request.NewErrParamRequired("ApplicationName"))
  7904  	}
  7905  	if s.ApplicationName != nil && len(*s.ApplicationName) < 1 {
  7906  		invalidParams.Add(request.NewErrParamMinLen("ApplicationName", 1))
  7907  	}
  7908  	if s.DeploymentGroupName == nil {
  7909  		invalidParams.Add(request.NewErrParamRequired("DeploymentGroupName"))
  7910  	}
  7911  	if s.DeploymentGroupName != nil && len(*s.DeploymentGroupName) < 1 {
  7912  		invalidParams.Add(request.NewErrParamMinLen("DeploymentGroupName", 1))
  7913  	}
  7914  
  7915  	if invalidParams.Len() > 0 {
  7916  		return invalidParams
  7917  	}
  7918  	return nil
  7919  }
  7920  
  7921  // SetApplicationName sets the ApplicationName field's value.
  7922  func (s *DeleteDeploymentGroupInput) SetApplicationName(v string) *DeleteDeploymentGroupInput {
  7923  	s.ApplicationName = &v
  7924  	return s
  7925  }
  7926  
  7927  // SetDeploymentGroupName sets the DeploymentGroupName field's value.
  7928  func (s *DeleteDeploymentGroupInput) SetDeploymentGroupName(v string) *DeleteDeploymentGroupInput {
  7929  	s.DeploymentGroupName = &v
  7930  	return s
  7931  }
  7932  
  7933  // Represents the output of a DeleteDeploymentGroup operation.
  7934  type DeleteDeploymentGroupOutput struct {
  7935  	_ struct{} `type:"structure"`
  7936  
  7937  	// If the output contains no data, and the corresponding deployment group contained
  7938  	// at least one Auto Scaling group, AWS CodeDeploy successfully removed all
  7939  	// corresponding Auto Scaling lifecycle event hooks from the Amazon EC2 instances
  7940  	// in the Auto Scaling group. If the output contains data, AWS CodeDeploy could
  7941  	// not remove some Auto Scaling lifecycle event hooks from the Amazon EC2 instances
  7942  	// in the Auto Scaling group.
  7943  	HooksNotCleanedUp []*AutoScalingGroup `locationName:"hooksNotCleanedUp" type:"list"`
  7944  }
  7945  
  7946  // String returns the string representation.
  7947  //
  7948  // API parameter values that are decorated as "sensitive" in the API will not
  7949  // be included in the string output. The member name will be present, but the
  7950  // value will be replaced with "sensitive".
  7951  func (s DeleteDeploymentGroupOutput) String() string {
  7952  	return awsutil.Prettify(s)
  7953  }
  7954  
  7955  // GoString returns the string representation.
  7956  //
  7957  // API parameter values that are decorated as "sensitive" in the API will not
  7958  // be included in the string output. The member name will be present, but the
  7959  // value will be replaced with "sensitive".
  7960  func (s DeleteDeploymentGroupOutput) GoString() string {
  7961  	return s.String()
  7962  }
  7963  
  7964  // SetHooksNotCleanedUp sets the HooksNotCleanedUp field's value.
  7965  func (s *DeleteDeploymentGroupOutput) SetHooksNotCleanedUp(v []*AutoScalingGroup) *DeleteDeploymentGroupOutput {
  7966  	s.HooksNotCleanedUp = v
  7967  	return s
  7968  }
  7969  
  7970  // Represents the input of a DeleteGitHubAccount operation.
  7971  type DeleteGitHubAccountTokenInput struct {
  7972  	_ struct{} `type:"structure"`
  7973  
  7974  	// The name of the GitHub account connection to delete.
  7975  	TokenName *string `locationName:"tokenName" type:"string"`
  7976  }
  7977  
  7978  // String returns the string representation.
  7979  //
  7980  // API parameter values that are decorated as "sensitive" in the API will not
  7981  // be included in the string output. The member name will be present, but the
  7982  // value will be replaced with "sensitive".
  7983  func (s DeleteGitHubAccountTokenInput) String() string {
  7984  	return awsutil.Prettify(s)
  7985  }
  7986  
  7987  // GoString returns the string representation.
  7988  //
  7989  // API parameter values that are decorated as "sensitive" in the API will not
  7990  // be included in the string output. The member name will be present, but the
  7991  // value will be replaced with "sensitive".
  7992  func (s DeleteGitHubAccountTokenInput) GoString() string {
  7993  	return s.String()
  7994  }
  7995  
  7996  // SetTokenName sets the TokenName field's value.
  7997  func (s *DeleteGitHubAccountTokenInput) SetTokenName(v string) *DeleteGitHubAccountTokenInput {
  7998  	s.TokenName = &v
  7999  	return s
  8000  }
  8001  
  8002  // Represents the output of a DeleteGitHubAccountToken operation.
  8003  type DeleteGitHubAccountTokenOutput struct {
  8004  	_ struct{} `type:"structure"`
  8005  
  8006  	// The name of the GitHub account connection that was deleted.
  8007  	TokenName *string `locationName:"tokenName" type:"string"`
  8008  }
  8009  
  8010  // String returns the string representation.
  8011  //
  8012  // API parameter values that are decorated as "sensitive" in the API will not
  8013  // be included in the string output. The member name will be present, but the
  8014  // value will be replaced with "sensitive".
  8015  func (s DeleteGitHubAccountTokenOutput) String() string {
  8016  	return awsutil.Prettify(s)
  8017  }
  8018  
  8019  // GoString returns the string representation.
  8020  //
  8021  // API parameter values that are decorated as "sensitive" in the API will not
  8022  // be included in the string output. The member name will be present, but the
  8023  // value will be replaced with "sensitive".
  8024  func (s DeleteGitHubAccountTokenOutput) GoString() string {
  8025  	return s.String()
  8026  }
  8027  
  8028  // SetTokenName sets the TokenName field's value.
  8029  func (s *DeleteGitHubAccountTokenOutput) SetTokenName(v string) *DeleteGitHubAccountTokenOutput {
  8030  	s.TokenName = &v
  8031  	return s
  8032  }
  8033  
  8034  type DeleteResourcesByExternalIdInput struct {
  8035  	_ struct{} `type:"structure"`
  8036  
  8037  	// The unique ID of an external resource (for example, a CloudFormation stack
  8038  	// ID) that is linked to one or more CodeDeploy resources.
  8039  	ExternalId *string `locationName:"externalId" type:"string"`
  8040  }
  8041  
  8042  // String returns the string representation.
  8043  //
  8044  // API parameter values that are decorated as "sensitive" in the API will not
  8045  // be included in the string output. The member name will be present, but the
  8046  // value will be replaced with "sensitive".
  8047  func (s DeleteResourcesByExternalIdInput) String() string {
  8048  	return awsutil.Prettify(s)
  8049  }
  8050  
  8051  // GoString returns the string representation.
  8052  //
  8053  // API parameter values that are decorated as "sensitive" in the API will not
  8054  // be included in the string output. The member name will be present, but the
  8055  // value will be replaced with "sensitive".
  8056  func (s DeleteResourcesByExternalIdInput) GoString() string {
  8057  	return s.String()
  8058  }
  8059  
  8060  // SetExternalId sets the ExternalId field's value.
  8061  func (s *DeleteResourcesByExternalIdInput) SetExternalId(v string) *DeleteResourcesByExternalIdInput {
  8062  	s.ExternalId = &v
  8063  	return s
  8064  }
  8065  
  8066  type DeleteResourcesByExternalIdOutput struct {
  8067  	_ struct{} `type:"structure"`
  8068  }
  8069  
  8070  // String returns the string representation.
  8071  //
  8072  // API parameter values that are decorated as "sensitive" in the API will not
  8073  // be included in the string output. The member name will be present, but the
  8074  // value will be replaced with "sensitive".
  8075  func (s DeleteResourcesByExternalIdOutput) String() string {
  8076  	return awsutil.Prettify(s)
  8077  }
  8078  
  8079  // GoString returns the string representation.
  8080  //
  8081  // API parameter values that are decorated as "sensitive" in the API will not
  8082  // be included in the string output. The member name will be present, but the
  8083  // value will be replaced with "sensitive".
  8084  func (s DeleteResourcesByExternalIdOutput) GoString() string {
  8085  	return s.String()
  8086  }
  8087  
  8088  // The deployment is already complete.
  8089  type DeploymentAlreadyCompletedException struct {
  8090  	_            struct{}                  `type:"structure"`
  8091  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  8092  
  8093  	Message_ *string `locationName:"message" type:"string"`
  8094  }
  8095  
  8096  // String returns the string representation.
  8097  //
  8098  // API parameter values that are decorated as "sensitive" in the API will not
  8099  // be included in the string output. The member name will be present, but the
  8100  // value will be replaced with "sensitive".
  8101  func (s DeploymentAlreadyCompletedException) String() string {
  8102  	return awsutil.Prettify(s)
  8103  }
  8104  
  8105  // GoString returns the string representation.
  8106  //
  8107  // API parameter values that are decorated as "sensitive" in the API will not
  8108  // be included in the string output. The member name will be present, but the
  8109  // value will be replaced with "sensitive".
  8110  func (s DeploymentAlreadyCompletedException) GoString() string {
  8111  	return s.String()
  8112  }
  8113  
  8114  func newErrorDeploymentAlreadyCompletedException(v protocol.ResponseMetadata) error {
  8115  	return &DeploymentAlreadyCompletedException{
  8116  		RespMetadata: v,
  8117  	}
  8118  }
  8119  
  8120  // Code returns the exception type name.
  8121  func (s *DeploymentAlreadyCompletedException) Code() string {
  8122  	return "DeploymentAlreadyCompletedException"
  8123  }
  8124  
  8125  // Message returns the exception's message.
  8126  func (s *DeploymentAlreadyCompletedException) Message() string {
  8127  	if s.Message_ != nil {
  8128  		return *s.Message_
  8129  	}
  8130  	return ""
  8131  }
  8132  
  8133  // OrigErr always returns nil, satisfies awserr.Error interface.
  8134  func (s *DeploymentAlreadyCompletedException) OrigErr() error {
  8135  	return nil
  8136  }
  8137  
  8138  func (s *DeploymentAlreadyCompletedException) Error() string {
  8139  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  8140  }
  8141  
  8142  // Status code returns the HTTP status code for the request's response error.
  8143  func (s *DeploymentAlreadyCompletedException) StatusCode() int {
  8144  	return s.RespMetadata.StatusCode
  8145  }
  8146  
  8147  // RequestID returns the service's response RequestID for request.
  8148  func (s *DeploymentAlreadyCompletedException) RequestID() string {
  8149  	return s.RespMetadata.RequestID
  8150  }
  8151  
  8152  // A deployment configuration with the specified name with the IAM user or AWS
  8153  // account already exists.
  8154  type DeploymentConfigAlreadyExistsException struct {
  8155  	_            struct{}                  `type:"structure"`
  8156  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  8157  
  8158  	Message_ *string `locationName:"message" type:"string"`
  8159  }
  8160  
  8161  // String returns the string representation.
  8162  //
  8163  // API parameter values that are decorated as "sensitive" in the API will not
  8164  // be included in the string output. The member name will be present, but the
  8165  // value will be replaced with "sensitive".
  8166  func (s DeploymentConfigAlreadyExistsException) String() string {
  8167  	return awsutil.Prettify(s)
  8168  }
  8169  
  8170  // GoString returns the string representation.
  8171  //
  8172  // API parameter values that are decorated as "sensitive" in the API will not
  8173  // be included in the string output. The member name will be present, but the
  8174  // value will be replaced with "sensitive".
  8175  func (s DeploymentConfigAlreadyExistsException) GoString() string {
  8176  	return s.String()
  8177  }
  8178  
  8179  func newErrorDeploymentConfigAlreadyExistsException(v protocol.ResponseMetadata) error {
  8180  	return &DeploymentConfigAlreadyExistsException{
  8181  		RespMetadata: v,
  8182  	}
  8183  }
  8184  
  8185  // Code returns the exception type name.
  8186  func (s *DeploymentConfigAlreadyExistsException) Code() string {
  8187  	return "DeploymentConfigAlreadyExistsException"
  8188  }
  8189  
  8190  // Message returns the exception's message.
  8191  func (s *DeploymentConfigAlreadyExistsException) Message() string {
  8192  	if s.Message_ != nil {
  8193  		return *s.Message_
  8194  	}
  8195  	return ""
  8196  }
  8197  
  8198  // OrigErr always returns nil, satisfies awserr.Error interface.
  8199  func (s *DeploymentConfigAlreadyExistsException) OrigErr() error {
  8200  	return nil
  8201  }
  8202  
  8203  func (s *DeploymentConfigAlreadyExistsException) Error() string {
  8204  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  8205  }
  8206  
  8207  // Status code returns the HTTP status code for the request's response error.
  8208  func (s *DeploymentConfigAlreadyExistsException) StatusCode() int {
  8209  	return s.RespMetadata.StatusCode
  8210  }
  8211  
  8212  // RequestID returns the service's response RequestID for request.
  8213  func (s *DeploymentConfigAlreadyExistsException) RequestID() string {
  8214  	return s.RespMetadata.RequestID
  8215  }
  8216  
  8217  // The deployment configuration does not exist with the IAM user or AWS account.
  8218  type DeploymentConfigDoesNotExistException struct {
  8219  	_            struct{}                  `type:"structure"`
  8220  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  8221  
  8222  	Message_ *string `locationName:"message" type:"string"`
  8223  }
  8224  
  8225  // String returns the string representation.
  8226  //
  8227  // API parameter values that are decorated as "sensitive" in the API will not
  8228  // be included in the string output. The member name will be present, but the
  8229  // value will be replaced with "sensitive".
  8230  func (s DeploymentConfigDoesNotExistException) String() string {
  8231  	return awsutil.Prettify(s)
  8232  }
  8233  
  8234  // GoString returns the string representation.
  8235  //
  8236  // API parameter values that are decorated as "sensitive" in the API will not
  8237  // be included in the string output. The member name will be present, but the
  8238  // value will be replaced with "sensitive".
  8239  func (s DeploymentConfigDoesNotExistException) GoString() string {
  8240  	return s.String()
  8241  }
  8242  
  8243  func newErrorDeploymentConfigDoesNotExistException(v protocol.ResponseMetadata) error {
  8244  	return &DeploymentConfigDoesNotExistException{
  8245  		RespMetadata: v,
  8246  	}
  8247  }
  8248  
  8249  // Code returns the exception type name.
  8250  func (s *DeploymentConfigDoesNotExistException) Code() string {
  8251  	return "DeploymentConfigDoesNotExistException"
  8252  }
  8253  
  8254  // Message returns the exception's message.
  8255  func (s *DeploymentConfigDoesNotExistException) Message() string {
  8256  	if s.Message_ != nil {
  8257  		return *s.Message_
  8258  	}
  8259  	return ""
  8260  }
  8261  
  8262  // OrigErr always returns nil, satisfies awserr.Error interface.
  8263  func (s *DeploymentConfigDoesNotExistException) OrigErr() error {
  8264  	return nil
  8265  }
  8266  
  8267  func (s *DeploymentConfigDoesNotExistException) Error() string {
  8268  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  8269  }
  8270  
  8271  // Status code returns the HTTP status code for the request's response error.
  8272  func (s *DeploymentConfigDoesNotExistException) StatusCode() int {
  8273  	return s.RespMetadata.StatusCode
  8274  }
  8275  
  8276  // RequestID returns the service's response RequestID for request.
  8277  func (s *DeploymentConfigDoesNotExistException) RequestID() string {
  8278  	return s.RespMetadata.RequestID
  8279  }
  8280  
  8281  // The deployment configuration is still in use.
  8282  type DeploymentConfigInUseException struct {
  8283  	_            struct{}                  `type:"structure"`
  8284  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  8285  
  8286  	Message_ *string `locationName:"message" type:"string"`
  8287  }
  8288  
  8289  // String returns the string representation.
  8290  //
  8291  // API parameter values that are decorated as "sensitive" in the API will not
  8292  // be included in the string output. The member name will be present, but the
  8293  // value will be replaced with "sensitive".
  8294  func (s DeploymentConfigInUseException) String() string {
  8295  	return awsutil.Prettify(s)
  8296  }
  8297  
  8298  // GoString returns the string representation.
  8299  //
  8300  // API parameter values that are decorated as "sensitive" in the API will not
  8301  // be included in the string output. The member name will be present, but the
  8302  // value will be replaced with "sensitive".
  8303  func (s DeploymentConfigInUseException) GoString() string {
  8304  	return s.String()
  8305  }
  8306  
  8307  func newErrorDeploymentConfigInUseException(v protocol.ResponseMetadata) error {
  8308  	return &DeploymentConfigInUseException{
  8309  		RespMetadata: v,
  8310  	}
  8311  }
  8312  
  8313  // Code returns the exception type name.
  8314  func (s *DeploymentConfigInUseException) Code() string {
  8315  	return "DeploymentConfigInUseException"
  8316  }
  8317  
  8318  // Message returns the exception's message.
  8319  func (s *DeploymentConfigInUseException) Message() string {
  8320  	if s.Message_ != nil {
  8321  		return *s.Message_
  8322  	}
  8323  	return ""
  8324  }
  8325  
  8326  // OrigErr always returns nil, satisfies awserr.Error interface.
  8327  func (s *DeploymentConfigInUseException) OrigErr() error {
  8328  	return nil
  8329  }
  8330  
  8331  func (s *DeploymentConfigInUseException) Error() string {
  8332  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  8333  }
  8334  
  8335  // Status code returns the HTTP status code for the request's response error.
  8336  func (s *DeploymentConfigInUseException) StatusCode() int {
  8337  	return s.RespMetadata.StatusCode
  8338  }
  8339  
  8340  // RequestID returns the service's response RequestID for request.
  8341  func (s *DeploymentConfigInUseException) RequestID() string {
  8342  	return s.RespMetadata.RequestID
  8343  }
  8344  
  8345  // Information about a deployment configuration.
  8346  type DeploymentConfigInfo struct {
  8347  	_ struct{} `type:"structure"`
  8348  
  8349  	// The destination platform type for the deployment (Lambda, Server, or ECS).
  8350  	ComputePlatform *string `locationName:"computePlatform" type:"string" enum:"ComputePlatform"`
  8351  
  8352  	// The time at which the deployment configuration was created.
  8353  	CreateTime *time.Time `locationName:"createTime" type:"timestamp"`
  8354  
  8355  	// The deployment configuration ID.
  8356  	DeploymentConfigId *string `locationName:"deploymentConfigId" type:"string"`
  8357  
  8358  	// The deployment configuration name.
  8359  	DeploymentConfigName *string `locationName:"deploymentConfigName" min:"1" type:"string"`
  8360  
  8361  	// Information about the number or percentage of minimum healthy instance.
  8362  	MinimumHealthyHosts *MinimumHealthyHosts `locationName:"minimumHealthyHosts" type:"structure"`
  8363  
  8364  	// The configuration that specifies how the deployment traffic is routed. Used
  8365  	// for deployments with a Lambda or ECS compute platform only.
  8366  	TrafficRoutingConfig *TrafficRoutingConfig `locationName:"trafficRoutingConfig" type:"structure"`
  8367  }
  8368  
  8369  // String returns the string representation.
  8370  //
  8371  // API parameter values that are decorated as "sensitive" in the API will not
  8372  // be included in the string output. The member name will be present, but the
  8373  // value will be replaced with "sensitive".
  8374  func (s DeploymentConfigInfo) String() string {
  8375  	return awsutil.Prettify(s)
  8376  }
  8377  
  8378  // GoString returns the string representation.
  8379  //
  8380  // API parameter values that are decorated as "sensitive" in the API will not
  8381  // be included in the string output. The member name will be present, but the
  8382  // value will be replaced with "sensitive".
  8383  func (s DeploymentConfigInfo) GoString() string {
  8384  	return s.String()
  8385  }
  8386  
  8387  // SetComputePlatform sets the ComputePlatform field's value.
  8388  func (s *DeploymentConfigInfo) SetComputePlatform(v string) *DeploymentConfigInfo {
  8389  	s.ComputePlatform = &v
  8390  	return s
  8391  }
  8392  
  8393  // SetCreateTime sets the CreateTime field's value.
  8394  func (s *DeploymentConfigInfo) SetCreateTime(v time.Time) *DeploymentConfigInfo {
  8395  	s.CreateTime = &v
  8396  	return s
  8397  }
  8398  
  8399  // SetDeploymentConfigId sets the DeploymentConfigId field's value.
  8400  func (s *DeploymentConfigInfo) SetDeploymentConfigId(v string) *DeploymentConfigInfo {
  8401  	s.DeploymentConfigId = &v
  8402  	return s
  8403  }
  8404  
  8405  // SetDeploymentConfigName sets the DeploymentConfigName field's value.
  8406  func (s *DeploymentConfigInfo) SetDeploymentConfigName(v string) *DeploymentConfigInfo {
  8407  	s.DeploymentConfigName = &v
  8408  	return s
  8409  }
  8410  
  8411  // SetMinimumHealthyHosts sets the MinimumHealthyHosts field's value.
  8412  func (s *DeploymentConfigInfo) SetMinimumHealthyHosts(v *MinimumHealthyHosts) *DeploymentConfigInfo {
  8413  	s.MinimumHealthyHosts = v
  8414  	return s
  8415  }
  8416  
  8417  // SetTrafficRoutingConfig sets the TrafficRoutingConfig field's value.
  8418  func (s *DeploymentConfigInfo) SetTrafficRoutingConfig(v *TrafficRoutingConfig) *DeploymentConfigInfo {
  8419  	s.TrafficRoutingConfig = v
  8420  	return s
  8421  }
  8422  
  8423  // The deployment configurations limit was exceeded.
  8424  type DeploymentConfigLimitExceededException struct {
  8425  	_            struct{}                  `type:"structure"`
  8426  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  8427  
  8428  	Message_ *string `locationName:"message" type:"string"`
  8429  }
  8430  
  8431  // String returns the string representation.
  8432  //
  8433  // API parameter values that are decorated as "sensitive" in the API will not
  8434  // be included in the string output. The member name will be present, but the
  8435  // value will be replaced with "sensitive".
  8436  func (s DeploymentConfigLimitExceededException) String() string {
  8437  	return awsutil.Prettify(s)
  8438  }
  8439  
  8440  // GoString returns the string representation.
  8441  //
  8442  // API parameter values that are decorated as "sensitive" in the API will not
  8443  // be included in the string output. The member name will be present, but the
  8444  // value will be replaced with "sensitive".
  8445  func (s DeploymentConfigLimitExceededException) GoString() string {
  8446  	return s.String()
  8447  }
  8448  
  8449  func newErrorDeploymentConfigLimitExceededException(v protocol.ResponseMetadata) error {
  8450  	return &DeploymentConfigLimitExceededException{
  8451  		RespMetadata: v,
  8452  	}
  8453  }
  8454  
  8455  // Code returns the exception type name.
  8456  func (s *DeploymentConfigLimitExceededException) Code() string {
  8457  	return "DeploymentConfigLimitExceededException"
  8458  }
  8459  
  8460  // Message returns the exception's message.
  8461  func (s *DeploymentConfigLimitExceededException) Message() string {
  8462  	if s.Message_ != nil {
  8463  		return *s.Message_
  8464  	}
  8465  	return ""
  8466  }
  8467  
  8468  // OrigErr always returns nil, satisfies awserr.Error interface.
  8469  func (s *DeploymentConfigLimitExceededException) OrigErr() error {
  8470  	return nil
  8471  }
  8472  
  8473  func (s *DeploymentConfigLimitExceededException) Error() string {
  8474  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  8475  }
  8476  
  8477  // Status code returns the HTTP status code for the request's response error.
  8478  func (s *DeploymentConfigLimitExceededException) StatusCode() int {
  8479  	return s.RespMetadata.StatusCode
  8480  }
  8481  
  8482  // RequestID returns the service's response RequestID for request.
  8483  func (s *DeploymentConfigLimitExceededException) RequestID() string {
  8484  	return s.RespMetadata.RequestID
  8485  }
  8486  
  8487  // The deployment configuration name was not specified.
  8488  type DeploymentConfigNameRequiredException struct {
  8489  	_            struct{}                  `type:"structure"`
  8490  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  8491  
  8492  	Message_ *string `locationName:"message" type:"string"`
  8493  }
  8494  
  8495  // String returns the string representation.
  8496  //
  8497  // API parameter values that are decorated as "sensitive" in the API will not
  8498  // be included in the string output. The member name will be present, but the
  8499  // value will be replaced with "sensitive".
  8500  func (s DeploymentConfigNameRequiredException) String() string {
  8501  	return awsutil.Prettify(s)
  8502  }
  8503  
  8504  // GoString returns the string representation.
  8505  //
  8506  // API parameter values that are decorated as "sensitive" in the API will not
  8507  // be included in the string output. The member name will be present, but the
  8508  // value will be replaced with "sensitive".
  8509  func (s DeploymentConfigNameRequiredException) GoString() string {
  8510  	return s.String()
  8511  }
  8512  
  8513  func newErrorDeploymentConfigNameRequiredException(v protocol.ResponseMetadata) error {
  8514  	return &DeploymentConfigNameRequiredException{
  8515  		RespMetadata: v,
  8516  	}
  8517  }
  8518  
  8519  // Code returns the exception type name.
  8520  func (s *DeploymentConfigNameRequiredException) Code() string {
  8521  	return "DeploymentConfigNameRequiredException"
  8522  }
  8523  
  8524  // Message returns the exception's message.
  8525  func (s *DeploymentConfigNameRequiredException) Message() string {
  8526  	if s.Message_ != nil {
  8527  		return *s.Message_
  8528  	}
  8529  	return ""
  8530  }
  8531  
  8532  // OrigErr always returns nil, satisfies awserr.Error interface.
  8533  func (s *DeploymentConfigNameRequiredException) OrigErr() error {
  8534  	return nil
  8535  }
  8536  
  8537  func (s *DeploymentConfigNameRequiredException) Error() string {
  8538  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  8539  }
  8540  
  8541  // Status code returns the HTTP status code for the request's response error.
  8542  func (s *DeploymentConfigNameRequiredException) StatusCode() int {
  8543  	return s.RespMetadata.StatusCode
  8544  }
  8545  
  8546  // RequestID returns the service's response RequestID for request.
  8547  func (s *DeploymentConfigNameRequiredException) RequestID() string {
  8548  	return s.RespMetadata.RequestID
  8549  }
  8550  
  8551  // The deployment with the IAM user or AWS account does not exist.
  8552  type DeploymentDoesNotExistException struct {
  8553  	_            struct{}                  `type:"structure"`
  8554  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  8555  
  8556  	Message_ *string `locationName:"message" type:"string"`
  8557  }
  8558  
  8559  // String returns the string representation.
  8560  //
  8561  // API parameter values that are decorated as "sensitive" in the API will not
  8562  // be included in the string output. The member name will be present, but the
  8563  // value will be replaced with "sensitive".
  8564  func (s DeploymentDoesNotExistException) String() string {
  8565  	return awsutil.Prettify(s)
  8566  }
  8567  
  8568  // GoString returns the string representation.
  8569  //
  8570  // API parameter values that are decorated as "sensitive" in the API will not
  8571  // be included in the string output. The member name will be present, but the
  8572  // value will be replaced with "sensitive".
  8573  func (s DeploymentDoesNotExistException) GoString() string {
  8574  	return s.String()
  8575  }
  8576  
  8577  func newErrorDeploymentDoesNotExistException(v protocol.ResponseMetadata) error {
  8578  	return &DeploymentDoesNotExistException{
  8579  		RespMetadata: v,
  8580  	}
  8581  }
  8582  
  8583  // Code returns the exception type name.
  8584  func (s *DeploymentDoesNotExistException) Code() string {
  8585  	return "DeploymentDoesNotExistException"
  8586  }
  8587  
  8588  // Message returns the exception's message.
  8589  func (s *DeploymentDoesNotExistException) Message() string {
  8590  	if s.Message_ != nil {
  8591  		return *s.Message_
  8592  	}
  8593  	return ""
  8594  }
  8595  
  8596  // OrigErr always returns nil, satisfies awserr.Error interface.
  8597  func (s *DeploymentDoesNotExistException) OrigErr() error {
  8598  	return nil
  8599  }
  8600  
  8601  func (s *DeploymentDoesNotExistException) Error() string {
  8602  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  8603  }
  8604  
  8605  // Status code returns the HTTP status code for the request's response error.
  8606  func (s *DeploymentDoesNotExistException) StatusCode() int {
  8607  	return s.RespMetadata.StatusCode
  8608  }
  8609  
  8610  // RequestID returns the service's response RequestID for request.
  8611  func (s *DeploymentDoesNotExistException) RequestID() string {
  8612  	return s.RespMetadata.RequestID
  8613  }
  8614  
  8615  // A deployment group with the specified name with the IAM user or AWS account
  8616  // already exists.
  8617  type DeploymentGroupAlreadyExistsException struct {
  8618  	_            struct{}                  `type:"structure"`
  8619  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  8620  
  8621  	Message_ *string `locationName:"message" type:"string"`
  8622  }
  8623  
  8624  // String returns the string representation.
  8625  //
  8626  // API parameter values that are decorated as "sensitive" in the API will not
  8627  // be included in the string output. The member name will be present, but the
  8628  // value will be replaced with "sensitive".
  8629  func (s DeploymentGroupAlreadyExistsException) String() string {
  8630  	return awsutil.Prettify(s)
  8631  }
  8632  
  8633  // GoString returns the string representation.
  8634  //
  8635  // API parameter values that are decorated as "sensitive" in the API will not
  8636  // be included in the string output. The member name will be present, but the
  8637  // value will be replaced with "sensitive".
  8638  func (s DeploymentGroupAlreadyExistsException) GoString() string {
  8639  	return s.String()
  8640  }
  8641  
  8642  func newErrorDeploymentGroupAlreadyExistsException(v protocol.ResponseMetadata) error {
  8643  	return &DeploymentGroupAlreadyExistsException{
  8644  		RespMetadata: v,
  8645  	}
  8646  }
  8647  
  8648  // Code returns the exception type name.
  8649  func (s *DeploymentGroupAlreadyExistsException) Code() string {
  8650  	return "DeploymentGroupAlreadyExistsException"
  8651  }
  8652  
  8653  // Message returns the exception's message.
  8654  func (s *DeploymentGroupAlreadyExistsException) Message() string {
  8655  	if s.Message_ != nil {
  8656  		return *s.Message_
  8657  	}
  8658  	return ""
  8659  }
  8660  
  8661  // OrigErr always returns nil, satisfies awserr.Error interface.
  8662  func (s *DeploymentGroupAlreadyExistsException) OrigErr() error {
  8663  	return nil
  8664  }
  8665  
  8666  func (s *DeploymentGroupAlreadyExistsException) Error() string {
  8667  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  8668  }
  8669  
  8670  // Status code returns the HTTP status code for the request's response error.
  8671  func (s *DeploymentGroupAlreadyExistsException) StatusCode() int {
  8672  	return s.RespMetadata.StatusCode
  8673  }
  8674  
  8675  // RequestID returns the service's response RequestID for request.
  8676  func (s *DeploymentGroupAlreadyExistsException) RequestID() string {
  8677  	return s.RespMetadata.RequestID
  8678  }
  8679  
  8680  // The named deployment group with the IAM user or AWS account does not exist.
  8681  type DeploymentGroupDoesNotExistException struct {
  8682  	_            struct{}                  `type:"structure"`
  8683  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  8684  
  8685  	Message_ *string `locationName:"message" type:"string"`
  8686  }
  8687  
  8688  // String returns the string representation.
  8689  //
  8690  // API parameter values that are decorated as "sensitive" in the API will not
  8691  // be included in the string output. The member name will be present, but the
  8692  // value will be replaced with "sensitive".
  8693  func (s DeploymentGroupDoesNotExistException) String() string {
  8694  	return awsutil.Prettify(s)
  8695  }
  8696  
  8697  // GoString returns the string representation.
  8698  //
  8699  // API parameter values that are decorated as "sensitive" in the API will not
  8700  // be included in the string output. The member name will be present, but the
  8701  // value will be replaced with "sensitive".
  8702  func (s DeploymentGroupDoesNotExistException) GoString() string {
  8703  	return s.String()
  8704  }
  8705  
  8706  func newErrorDeploymentGroupDoesNotExistException(v protocol.ResponseMetadata) error {
  8707  	return &DeploymentGroupDoesNotExistException{
  8708  		RespMetadata: v,
  8709  	}
  8710  }
  8711  
  8712  // Code returns the exception type name.
  8713  func (s *DeploymentGroupDoesNotExistException) Code() string {
  8714  	return "DeploymentGroupDoesNotExistException"
  8715  }
  8716  
  8717  // Message returns the exception's message.
  8718  func (s *DeploymentGroupDoesNotExistException) Message() string {
  8719  	if s.Message_ != nil {
  8720  		return *s.Message_
  8721  	}
  8722  	return ""
  8723  }
  8724  
  8725  // OrigErr always returns nil, satisfies awserr.Error interface.
  8726  func (s *DeploymentGroupDoesNotExistException) OrigErr() error {
  8727  	return nil
  8728  }
  8729  
  8730  func (s *DeploymentGroupDoesNotExistException) Error() string {
  8731  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  8732  }
  8733  
  8734  // Status code returns the HTTP status code for the request's response error.
  8735  func (s *DeploymentGroupDoesNotExistException) StatusCode() int {
  8736  	return s.RespMetadata.StatusCode
  8737  }
  8738  
  8739  // RequestID returns the service's response RequestID for request.
  8740  func (s *DeploymentGroupDoesNotExistException) RequestID() string {
  8741  	return s.RespMetadata.RequestID
  8742  }
  8743  
  8744  // Information about a deployment group.
  8745  type DeploymentGroupInfo struct {
  8746  	_ struct{} `type:"structure"`
  8747  
  8748  	// A list of alarms associated with the deployment group.
  8749  	AlarmConfiguration *AlarmConfiguration `locationName:"alarmConfiguration" type:"structure"`
  8750  
  8751  	// The application name.
  8752  	ApplicationName *string `locationName:"applicationName" min:"1" type:"string"`
  8753  
  8754  	// Information about the automatic rollback configuration associated with the
  8755  	// deployment group.
  8756  	AutoRollbackConfiguration *AutoRollbackConfiguration `locationName:"autoRollbackConfiguration" type:"structure"`
  8757  
  8758  	// A list of associated Auto Scaling groups.
  8759  	AutoScalingGroups []*AutoScalingGroup `locationName:"autoScalingGroups" type:"list"`
  8760  
  8761  	// Information about blue/green deployment options for a deployment group.
  8762  	BlueGreenDeploymentConfiguration *BlueGreenDeploymentConfiguration `locationName:"blueGreenDeploymentConfiguration" type:"structure"`
  8763  
  8764  	// The destination platform type for the deployment (Lambda, Server, or ECS).
  8765  	ComputePlatform *string `locationName:"computePlatform" type:"string" enum:"ComputePlatform"`
  8766  
  8767  	// The deployment configuration name.
  8768  	DeploymentConfigName *string `locationName:"deploymentConfigName" min:"1" type:"string"`
  8769  
  8770  	// The deployment group ID.
  8771  	DeploymentGroupId *string `locationName:"deploymentGroupId" type:"string"`
  8772  
  8773  	// The deployment group name.
  8774  	DeploymentGroupName *string `locationName:"deploymentGroupName" min:"1" type:"string"`
  8775  
  8776  	// Information about the type of deployment, either in-place or blue/green,
  8777  	// you want to run and whether to route deployment traffic behind a load balancer.
  8778  	DeploymentStyle *DeploymentStyle `locationName:"deploymentStyle" type:"structure"`
  8779  
  8780  	// The Amazon EC2 tags on which to filter. The deployment group includes EC2
  8781  	// instances with any of the specified tags.
  8782  	Ec2TagFilters []*EC2TagFilter `locationName:"ec2TagFilters" type:"list"`
  8783  
  8784  	// Information about groups of tags applied to an EC2 instance. The deployment
  8785  	// group includes only EC2 instances identified by all of the tag groups. Cannot
  8786  	// be used in the same call as ec2TagFilters.
  8787  	Ec2TagSet *EC2TagSet `locationName:"ec2TagSet" type:"structure"`
  8788  
  8789  	// The target Amazon ECS services in the deployment group. This applies only
  8790  	// to deployment groups that use the Amazon ECS compute platform. A target Amazon
  8791  	// ECS service is specified as an Amazon ECS cluster and service name pair using
  8792  	// the format <clustername>:<servicename>.
  8793  	EcsServices []*ECSService `locationName:"ecsServices" type:"list"`
  8794  
  8795  	// Information about the most recent attempted deployment to the deployment
  8796  	// group.
  8797  	LastAttemptedDeployment *LastDeploymentInfo `locationName:"lastAttemptedDeployment" type:"structure"`
  8798  
  8799  	// Information about the most recent successful deployment to the deployment
  8800  	// group.
  8801  	LastSuccessfulDeployment *LastDeploymentInfo `locationName:"lastSuccessfulDeployment" type:"structure"`
  8802  
  8803  	// Information about the load balancer to use in a deployment.
  8804  	LoadBalancerInfo *LoadBalancerInfo `locationName:"loadBalancerInfo" type:"structure"`
  8805  
  8806  	// The on-premises instance tags on which to filter. The deployment group includes
  8807  	// on-premises instances with any of the specified tags.
  8808  	OnPremisesInstanceTagFilters []*TagFilter `locationName:"onPremisesInstanceTagFilters" type:"list"`
  8809  
  8810  	// Information about groups of tags applied to an on-premises instance. The
  8811  	// deployment group includes only on-premises instances identified by all the
  8812  	// tag groups. Cannot be used in the same call as onPremisesInstanceTagFilters.
  8813  	OnPremisesTagSet *OnPremisesTagSet `locationName:"onPremisesTagSet" type:"structure"`
  8814  
  8815  	// Indicates what happens when new EC2 instances are launched mid-deployment
  8816  	// and do not receive the deployed application revision.
  8817  	//
  8818  	// If this option is set to UPDATE or is unspecified, CodeDeploy initiates one
  8819  	// or more 'auto-update outdated instances' deployments to apply the deployed
  8820  	// application revision to the new EC2 instances.
  8821  	//
  8822  	// If this option is set to IGNORE, CodeDeploy does not initiate a deployment
  8823  	// to update the new EC2 instances. This may result in instances having different
  8824  	// revisions.
  8825  	OutdatedInstancesStrategy *string `locationName:"outdatedInstancesStrategy" type:"string" enum:"OutdatedInstancesStrategy"`
  8826  
  8827  	// A service role Amazon Resource Name (ARN) that grants CodeDeploy permission
  8828  	// to make calls to AWS services on your behalf. For more information, see Create
  8829  	// a Service Role for AWS CodeDeploy (https://docs.aws.amazon.com/codedeploy/latest/userguide/getting-started-create-service-role.html)
  8830  	// in the AWS CodeDeploy User Guide.
  8831  	ServiceRoleArn *string `locationName:"serviceRoleArn" type:"string"`
  8832  
  8833  	// Information about the deployment group's target revision, including type
  8834  	// and location.
  8835  	TargetRevision *RevisionLocation `locationName:"targetRevision" type:"structure"`
  8836  
  8837  	// Information about triggers associated with the deployment group.
  8838  	TriggerConfigurations []*TriggerConfig `locationName:"triggerConfigurations" type:"list"`
  8839  }
  8840  
  8841  // String returns the string representation.
  8842  //
  8843  // API parameter values that are decorated as "sensitive" in the API will not
  8844  // be included in the string output. The member name will be present, but the
  8845  // value will be replaced with "sensitive".
  8846  func (s DeploymentGroupInfo) String() string {
  8847  	return awsutil.Prettify(s)
  8848  }
  8849  
  8850  // GoString returns the string representation.
  8851  //
  8852  // API parameter values that are decorated as "sensitive" in the API will not
  8853  // be included in the string output. The member name will be present, but the
  8854  // value will be replaced with "sensitive".
  8855  func (s DeploymentGroupInfo) GoString() string {
  8856  	return s.String()
  8857  }
  8858  
  8859  // SetAlarmConfiguration sets the AlarmConfiguration field's value.
  8860  func (s *DeploymentGroupInfo) SetAlarmConfiguration(v *AlarmConfiguration) *DeploymentGroupInfo {
  8861  	s.AlarmConfiguration = v
  8862  	return s
  8863  }
  8864  
  8865  // SetApplicationName sets the ApplicationName field's value.
  8866  func (s *DeploymentGroupInfo) SetApplicationName(v string) *DeploymentGroupInfo {
  8867  	s.ApplicationName = &v
  8868  	return s
  8869  }
  8870  
  8871  // SetAutoRollbackConfiguration sets the AutoRollbackConfiguration field's value.
  8872  func (s *DeploymentGroupInfo) SetAutoRollbackConfiguration(v *AutoRollbackConfiguration) *DeploymentGroupInfo {
  8873  	s.AutoRollbackConfiguration = v
  8874  	return s
  8875  }
  8876  
  8877  // SetAutoScalingGroups sets the AutoScalingGroups field's value.
  8878  func (s *DeploymentGroupInfo) SetAutoScalingGroups(v []*AutoScalingGroup) *DeploymentGroupInfo {
  8879  	s.AutoScalingGroups = v
  8880  	return s
  8881  }
  8882  
  8883  // SetBlueGreenDeploymentConfiguration sets the BlueGreenDeploymentConfiguration field's value.
  8884  func (s *DeploymentGroupInfo) SetBlueGreenDeploymentConfiguration(v *BlueGreenDeploymentConfiguration) *DeploymentGroupInfo {
  8885  	s.BlueGreenDeploymentConfiguration = v
  8886  	return s
  8887  }
  8888  
  8889  // SetComputePlatform sets the ComputePlatform field's value.
  8890  func (s *DeploymentGroupInfo) SetComputePlatform(v string) *DeploymentGroupInfo {
  8891  	s.ComputePlatform = &v
  8892  	return s
  8893  }
  8894  
  8895  // SetDeploymentConfigName sets the DeploymentConfigName field's value.
  8896  func (s *DeploymentGroupInfo) SetDeploymentConfigName(v string) *DeploymentGroupInfo {
  8897  	s.DeploymentConfigName = &v
  8898  	return s
  8899  }
  8900  
  8901  // SetDeploymentGroupId sets the DeploymentGroupId field's value.
  8902  func (s *DeploymentGroupInfo) SetDeploymentGroupId(v string) *DeploymentGroupInfo {
  8903  	s.DeploymentGroupId = &v
  8904  	return s
  8905  }
  8906  
  8907  // SetDeploymentGroupName sets the DeploymentGroupName field's value.
  8908  func (s *DeploymentGroupInfo) SetDeploymentGroupName(v string) *DeploymentGroupInfo {
  8909  	s.DeploymentGroupName = &v
  8910  	return s
  8911  }
  8912  
  8913  // SetDeploymentStyle sets the DeploymentStyle field's value.
  8914  func (s *DeploymentGroupInfo) SetDeploymentStyle(v *DeploymentStyle) *DeploymentGroupInfo {
  8915  	s.DeploymentStyle = v
  8916  	return s
  8917  }
  8918  
  8919  // SetEc2TagFilters sets the Ec2TagFilters field's value.
  8920  func (s *DeploymentGroupInfo) SetEc2TagFilters(v []*EC2TagFilter) *DeploymentGroupInfo {
  8921  	s.Ec2TagFilters = v
  8922  	return s
  8923  }
  8924  
  8925  // SetEc2TagSet sets the Ec2TagSet field's value.
  8926  func (s *DeploymentGroupInfo) SetEc2TagSet(v *EC2TagSet) *DeploymentGroupInfo {
  8927  	s.Ec2TagSet = v
  8928  	return s
  8929  }
  8930  
  8931  // SetEcsServices sets the EcsServices field's value.
  8932  func (s *DeploymentGroupInfo) SetEcsServices(v []*ECSService) *DeploymentGroupInfo {
  8933  	s.EcsServices = v
  8934  	return s
  8935  }
  8936  
  8937  // SetLastAttemptedDeployment sets the LastAttemptedDeployment field's value.
  8938  func (s *DeploymentGroupInfo) SetLastAttemptedDeployment(v *LastDeploymentInfo) *DeploymentGroupInfo {
  8939  	s.LastAttemptedDeployment = v
  8940  	return s
  8941  }
  8942  
  8943  // SetLastSuccessfulDeployment sets the LastSuccessfulDeployment field's value.
  8944  func (s *DeploymentGroupInfo) SetLastSuccessfulDeployment(v *LastDeploymentInfo) *DeploymentGroupInfo {
  8945  	s.LastSuccessfulDeployment = v
  8946  	return s
  8947  }
  8948  
  8949  // SetLoadBalancerInfo sets the LoadBalancerInfo field's value.
  8950  func (s *DeploymentGroupInfo) SetLoadBalancerInfo(v *LoadBalancerInfo) *DeploymentGroupInfo {
  8951  	s.LoadBalancerInfo = v
  8952  	return s
  8953  }
  8954  
  8955  // SetOnPremisesInstanceTagFilters sets the OnPremisesInstanceTagFilters field's value.
  8956  func (s *DeploymentGroupInfo) SetOnPremisesInstanceTagFilters(v []*TagFilter) *DeploymentGroupInfo {
  8957  	s.OnPremisesInstanceTagFilters = v
  8958  	return s
  8959  }
  8960  
  8961  // SetOnPremisesTagSet sets the OnPremisesTagSet field's value.
  8962  func (s *DeploymentGroupInfo) SetOnPremisesTagSet(v *OnPremisesTagSet) *DeploymentGroupInfo {
  8963  	s.OnPremisesTagSet = v
  8964  	return s
  8965  }
  8966  
  8967  // SetOutdatedInstancesStrategy sets the OutdatedInstancesStrategy field's value.
  8968  func (s *DeploymentGroupInfo) SetOutdatedInstancesStrategy(v string) *DeploymentGroupInfo {
  8969  	s.OutdatedInstancesStrategy = &v
  8970  	return s
  8971  }
  8972  
  8973  // SetServiceRoleArn sets the ServiceRoleArn field's value.
  8974  func (s *DeploymentGroupInfo) SetServiceRoleArn(v string) *DeploymentGroupInfo {
  8975  	s.ServiceRoleArn = &v
  8976  	return s
  8977  }
  8978  
  8979  // SetTargetRevision sets the TargetRevision field's value.
  8980  func (s *DeploymentGroupInfo) SetTargetRevision(v *RevisionLocation) *DeploymentGroupInfo {
  8981  	s.TargetRevision = v
  8982  	return s
  8983  }
  8984  
  8985  // SetTriggerConfigurations sets the TriggerConfigurations field's value.
  8986  func (s *DeploymentGroupInfo) SetTriggerConfigurations(v []*TriggerConfig) *DeploymentGroupInfo {
  8987  	s.TriggerConfigurations = v
  8988  	return s
  8989  }
  8990  
  8991  // The deployment groups limit was exceeded.
  8992  type DeploymentGroupLimitExceededException struct {
  8993  	_            struct{}                  `type:"structure"`
  8994  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  8995  
  8996  	Message_ *string `locationName:"message" type:"string"`
  8997  }
  8998  
  8999  // String returns the string representation.
  9000  //
  9001  // API parameter values that are decorated as "sensitive" in the API will not
  9002  // be included in the string output. The member name will be present, but the
  9003  // value will be replaced with "sensitive".
  9004  func (s DeploymentGroupLimitExceededException) String() string {
  9005  	return awsutil.Prettify(s)
  9006  }
  9007  
  9008  // GoString returns the string representation.
  9009  //
  9010  // API parameter values that are decorated as "sensitive" in the API will not
  9011  // be included in the string output. The member name will be present, but the
  9012  // value will be replaced with "sensitive".
  9013  func (s DeploymentGroupLimitExceededException) GoString() string {
  9014  	return s.String()
  9015  }
  9016  
  9017  func newErrorDeploymentGroupLimitExceededException(v protocol.ResponseMetadata) error {
  9018  	return &DeploymentGroupLimitExceededException{
  9019  		RespMetadata: v,
  9020  	}
  9021  }
  9022  
  9023  // Code returns the exception type name.
  9024  func (s *DeploymentGroupLimitExceededException) Code() string {
  9025  	return "DeploymentGroupLimitExceededException"
  9026  }
  9027  
  9028  // Message returns the exception's message.
  9029  func (s *DeploymentGroupLimitExceededException) Message() string {
  9030  	if s.Message_ != nil {
  9031  		return *s.Message_
  9032  	}
  9033  	return ""
  9034  }
  9035  
  9036  // OrigErr always returns nil, satisfies awserr.Error interface.
  9037  func (s *DeploymentGroupLimitExceededException) OrigErr() error {
  9038  	return nil
  9039  }
  9040  
  9041  func (s *DeploymentGroupLimitExceededException) Error() string {
  9042  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  9043  }
  9044  
  9045  // Status code returns the HTTP status code for the request's response error.
  9046  func (s *DeploymentGroupLimitExceededException) StatusCode() int {
  9047  	return s.RespMetadata.StatusCode
  9048  }
  9049  
  9050  // RequestID returns the service's response RequestID for request.
  9051  func (s *DeploymentGroupLimitExceededException) RequestID() string {
  9052  	return s.RespMetadata.RequestID
  9053  }
  9054  
  9055  // The deployment group name was not specified.
  9056  type DeploymentGroupNameRequiredException struct {
  9057  	_            struct{}                  `type:"structure"`
  9058  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  9059  
  9060  	Message_ *string `locationName:"message" type:"string"`
  9061  }
  9062  
  9063  // String returns the string representation.
  9064  //
  9065  // API parameter values that are decorated as "sensitive" in the API will not
  9066  // be included in the string output. The member name will be present, but the
  9067  // value will be replaced with "sensitive".
  9068  func (s DeploymentGroupNameRequiredException) String() string {
  9069  	return awsutil.Prettify(s)
  9070  }
  9071  
  9072  // GoString returns the string representation.
  9073  //
  9074  // API parameter values that are decorated as "sensitive" in the API will not
  9075  // be included in the string output. The member name will be present, but the
  9076  // value will be replaced with "sensitive".
  9077  func (s DeploymentGroupNameRequiredException) GoString() string {
  9078  	return s.String()
  9079  }
  9080  
  9081  func newErrorDeploymentGroupNameRequiredException(v protocol.ResponseMetadata) error {
  9082  	return &DeploymentGroupNameRequiredException{
  9083  		RespMetadata: v,
  9084  	}
  9085  }
  9086  
  9087  // Code returns the exception type name.
  9088  func (s *DeploymentGroupNameRequiredException) Code() string {
  9089  	return "DeploymentGroupNameRequiredException"
  9090  }
  9091  
  9092  // Message returns the exception's message.
  9093  func (s *DeploymentGroupNameRequiredException) Message() string {
  9094  	if s.Message_ != nil {
  9095  		return *s.Message_
  9096  	}
  9097  	return ""
  9098  }
  9099  
  9100  // OrigErr always returns nil, satisfies awserr.Error interface.
  9101  func (s *DeploymentGroupNameRequiredException) OrigErr() error {
  9102  	return nil
  9103  }
  9104  
  9105  func (s *DeploymentGroupNameRequiredException) Error() string {
  9106  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  9107  }
  9108  
  9109  // Status code returns the HTTP status code for the request's response error.
  9110  func (s *DeploymentGroupNameRequiredException) StatusCode() int {
  9111  	return s.RespMetadata.StatusCode
  9112  }
  9113  
  9114  // RequestID returns the service's response RequestID for request.
  9115  func (s *DeploymentGroupNameRequiredException) RequestID() string {
  9116  	return s.RespMetadata.RequestID
  9117  }
  9118  
  9119  // At least one deployment ID must be specified.
  9120  type DeploymentIdRequiredException struct {
  9121  	_            struct{}                  `type:"structure"`
  9122  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  9123  
  9124  	Message_ *string `locationName:"message" type:"string"`
  9125  }
  9126  
  9127  // String returns the string representation.
  9128  //
  9129  // API parameter values that are decorated as "sensitive" in the API will not
  9130  // be included in the string output. The member name will be present, but the
  9131  // value will be replaced with "sensitive".
  9132  func (s DeploymentIdRequiredException) String() string {
  9133  	return awsutil.Prettify(s)
  9134  }
  9135  
  9136  // GoString returns the string representation.
  9137  //
  9138  // API parameter values that are decorated as "sensitive" in the API will not
  9139  // be included in the string output. The member name will be present, but the
  9140  // value will be replaced with "sensitive".
  9141  func (s DeploymentIdRequiredException) GoString() string {
  9142  	return s.String()
  9143  }
  9144  
  9145  func newErrorDeploymentIdRequiredException(v protocol.ResponseMetadata) error {
  9146  	return &DeploymentIdRequiredException{
  9147  		RespMetadata: v,
  9148  	}
  9149  }
  9150  
  9151  // Code returns the exception type name.
  9152  func (s *DeploymentIdRequiredException) Code() string {
  9153  	return "DeploymentIdRequiredException"
  9154  }
  9155  
  9156  // Message returns the exception's message.
  9157  func (s *DeploymentIdRequiredException) Message() string {
  9158  	if s.Message_ != nil {
  9159  		return *s.Message_
  9160  	}
  9161  	return ""
  9162  }
  9163  
  9164  // OrigErr always returns nil, satisfies awserr.Error interface.
  9165  func (s *DeploymentIdRequiredException) OrigErr() error {
  9166  	return nil
  9167  }
  9168  
  9169  func (s *DeploymentIdRequiredException) Error() string {
  9170  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  9171  }
  9172  
  9173  // Status code returns the HTTP status code for the request's response error.
  9174  func (s *DeploymentIdRequiredException) StatusCode() int {
  9175  	return s.RespMetadata.StatusCode
  9176  }
  9177  
  9178  // RequestID returns the service's response RequestID for request.
  9179  func (s *DeploymentIdRequiredException) RequestID() string {
  9180  	return s.RespMetadata.RequestID
  9181  }
  9182  
  9183  // Information about a deployment.
  9184  type DeploymentInfo struct {
  9185  	_ struct{} `type:"structure"`
  9186  
  9187  	// Provides information about the results of a deployment, such as whether instances
  9188  	// in the original environment in a blue/green deployment were not terminated.
  9189  	AdditionalDeploymentStatusInfo *string `locationName:"additionalDeploymentStatusInfo" deprecated:"true" type:"string"`
  9190  
  9191  	// The application name.
  9192  	ApplicationName *string `locationName:"applicationName" min:"1" type:"string"`
  9193  
  9194  	// Information about the automatic rollback configuration associated with the
  9195  	// deployment.
  9196  	AutoRollbackConfiguration *AutoRollbackConfiguration `locationName:"autoRollbackConfiguration" type:"structure"`
  9197  
  9198  	// Information about blue/green deployment options for this deployment.
  9199  	BlueGreenDeploymentConfiguration *BlueGreenDeploymentConfiguration `locationName:"blueGreenDeploymentConfiguration" type:"structure"`
  9200  
  9201  	// A timestamp that indicates when the deployment was complete.
  9202  	CompleteTime *time.Time `locationName:"completeTime" type:"timestamp"`
  9203  
  9204  	// The destination platform type for the deployment (Lambda, Server, or ECS).
  9205  	ComputePlatform *string `locationName:"computePlatform" type:"string" enum:"ComputePlatform"`
  9206  
  9207  	// A timestamp that indicates when the deployment was created.
  9208  	CreateTime *time.Time `locationName:"createTime" type:"timestamp"`
  9209  
  9210  	// The means by which the deployment was created:
  9211  	//
  9212  	//    * user: A user created the deployment.
  9213  	//
  9214  	//    * autoscaling: Amazon EC2 Auto Scaling created the deployment.
  9215  	//
  9216  	//    * codeDeployRollback: A rollback process created the deployment.
  9217  	//
  9218  	//    * CodeDeployAutoUpdate: An auto-update process created the deployment
  9219  	//    when it detected outdated EC2 instances.
  9220  	Creator *string `locationName:"creator" type:"string" enum:"DeploymentCreator"`
  9221  
  9222  	// The deployment configuration name.
  9223  	DeploymentConfigName *string `locationName:"deploymentConfigName" min:"1" type:"string"`
  9224  
  9225  	// The deployment group name.
  9226  	DeploymentGroupName *string `locationName:"deploymentGroupName" min:"1" type:"string"`
  9227  
  9228  	// The unique ID of a deployment.
  9229  	DeploymentId *string `locationName:"deploymentId" type:"string"`
  9230  
  9231  	// A summary of the deployment status of the instances in the deployment.
  9232  	DeploymentOverview *DeploymentOverview `locationName:"deploymentOverview" type:"structure"`
  9233  
  9234  	// Messages that contain information about the status of a deployment.
  9235  	DeploymentStatusMessages []*string `locationName:"deploymentStatusMessages" type:"list"`
  9236  
  9237  	// Information about the type of deployment, either in-place or blue/green,
  9238  	// you want to run and whether to route deployment traffic behind a load balancer.
  9239  	DeploymentStyle *DeploymentStyle `locationName:"deploymentStyle" type:"structure"`
  9240  
  9241  	// A comment about the deployment.
  9242  	Description *string `locationName:"description" type:"string"`
  9243  
  9244  	// Information about any error associated with this deployment.
  9245  	ErrorInformation *ErrorInformation `locationName:"errorInformation" type:"structure"`
  9246  
  9247  	// The unique ID for an external resource (for example, a CloudFormation stack
  9248  	// ID) that is linked to this deployment.
  9249  	ExternalId *string `locationName:"externalId" type:"string"`
  9250  
  9251  	// Information about how AWS CodeDeploy handles files that already exist in
  9252  	// a deployment target location but weren't part of the previous successful
  9253  	// deployment.
  9254  	//
  9255  	//    * DISALLOW: The deployment fails. This is also the default behavior if
  9256  	//    no option is specified.
  9257  	//
  9258  	//    * OVERWRITE: The version of the file from the application revision currently
  9259  	//    being deployed replaces the version already on the instance.
  9260  	//
  9261  	//    * RETAIN: The version of the file already on the instance is kept and
  9262  	//    used as part of the new deployment.
  9263  	FileExistsBehavior *string `locationName:"fileExistsBehavior" type:"string" enum:"FileExistsBehavior"`
  9264  
  9265  	// If true, then if an ApplicationStop, BeforeBlockTraffic, or AfterBlockTraffic
  9266  	// deployment lifecycle event to an instance fails, then the deployment continues
  9267  	// to the next deployment lifecycle event. For example, if ApplicationStop fails,
  9268  	// the deployment continues with DownloadBundle. If BeforeBlockTraffic fails,
  9269  	// the deployment continues with BlockTraffic. If AfterBlockTraffic fails, the
  9270  	// deployment continues with ApplicationStop.
  9271  	//
  9272  	// If false or not specified, then if a lifecycle event fails during a deployment
  9273  	// to an instance, that deployment fails. If deployment to that instance is
  9274  	// part of an overall deployment and the number of healthy hosts is not less
  9275  	// than the minimum number of healthy hosts, then a deployment to the next instance
  9276  	// is attempted.
  9277  	//
  9278  	// During a deployment, the AWS CodeDeploy agent runs the scripts specified
  9279  	// for ApplicationStop, BeforeBlockTraffic, and AfterBlockTraffic in the AppSpec
  9280  	// file from the previous successful deployment. (All other scripts are run
  9281  	// from the AppSpec file in the current deployment.) If one of these scripts
  9282  	// contains an error and does not run successfully, the deployment can fail.
  9283  	//
  9284  	// If the cause of the failure is a script from the last successful deployment
  9285  	// that will never run successfully, create a new deployment and use ignoreApplicationStopFailures
  9286  	// to specify that the ApplicationStop, BeforeBlockTraffic, and AfterBlockTraffic
  9287  	// failures should be ignored.
  9288  	IgnoreApplicationStopFailures *bool `locationName:"ignoreApplicationStopFailures" type:"boolean"`
  9289  
  9290  	// Indicates whether the wait period set for the termination of instances in
  9291  	// the original environment has started. Status is 'false' if the KEEP_ALIVE
  9292  	// option is specified. Otherwise, 'true' as soon as the termination wait period
  9293  	// starts.
  9294  	InstanceTerminationWaitTimeStarted *bool `locationName:"instanceTerminationWaitTimeStarted" type:"boolean"`
  9295  
  9296  	// Information about the load balancer used in the deployment.
  9297  	LoadBalancerInfo *LoadBalancerInfo `locationName:"loadBalancerInfo" type:"structure"`
  9298  
  9299  	// Information about the application revision that was deployed to the deployment
  9300  	// group before the most recent successful deployment.
  9301  	PreviousRevision *RevisionLocation `locationName:"previousRevision" type:"structure"`
  9302  
  9303  	// Information about deployments related to the specified deployment.
  9304  	RelatedDeployments *RelatedDeployments `locationName:"relatedDeployments" type:"structure"`
  9305  
  9306  	// Information about the location of stored application artifacts and the service
  9307  	// from which to retrieve them.
  9308  	Revision *RevisionLocation `locationName:"revision" type:"structure"`
  9309  
  9310  	// Information about a deployment rollback.
  9311  	RollbackInfo *RollbackInfo `locationName:"rollbackInfo" type:"structure"`
  9312  
  9313  	// A timestamp that indicates when the deployment was deployed to the deployment
  9314  	// group.
  9315  	//
  9316  	// In some cases, the reported value of the start time might be later than the
  9317  	// complete time. This is due to differences in the clock settings of backend
  9318  	// servers that participate in the deployment process.
  9319  	StartTime *time.Time `locationName:"startTime" type:"timestamp"`
  9320  
  9321  	// The current state of the deployment as a whole.
  9322  	Status *string `locationName:"status" type:"string" enum:"DeploymentStatus"`
  9323  
  9324  	// Information about the instances that belong to the replacement environment
  9325  	// in a blue/green deployment.
  9326  	TargetInstances *TargetInstances `locationName:"targetInstances" type:"structure"`
  9327  
  9328  	// Indicates whether only instances that are not running the latest application
  9329  	// revision are to be deployed to.
  9330  	UpdateOutdatedInstancesOnly *bool `locationName:"updateOutdatedInstancesOnly" type:"boolean"`
  9331  }
  9332  
  9333  // String returns the string representation.
  9334  //
  9335  // API parameter values that are decorated as "sensitive" in the API will not
  9336  // be included in the string output. The member name will be present, but the
  9337  // value will be replaced with "sensitive".
  9338  func (s DeploymentInfo) String() string {
  9339  	return awsutil.Prettify(s)
  9340  }
  9341  
  9342  // GoString returns the string representation.
  9343  //
  9344  // API parameter values that are decorated as "sensitive" in the API will not
  9345  // be included in the string output. The member name will be present, but the
  9346  // value will be replaced with "sensitive".
  9347  func (s DeploymentInfo) GoString() string {
  9348  	return s.String()
  9349  }
  9350  
  9351  // SetAdditionalDeploymentStatusInfo sets the AdditionalDeploymentStatusInfo field's value.
  9352  func (s *DeploymentInfo) SetAdditionalDeploymentStatusInfo(v string) *DeploymentInfo {
  9353  	s.AdditionalDeploymentStatusInfo = &v
  9354  	return s
  9355  }
  9356  
  9357  // SetApplicationName sets the ApplicationName field's value.
  9358  func (s *DeploymentInfo) SetApplicationName(v string) *DeploymentInfo {
  9359  	s.ApplicationName = &v
  9360  	return s
  9361  }
  9362  
  9363  // SetAutoRollbackConfiguration sets the AutoRollbackConfiguration field's value.
  9364  func (s *DeploymentInfo) SetAutoRollbackConfiguration(v *AutoRollbackConfiguration) *DeploymentInfo {
  9365  	s.AutoRollbackConfiguration = v
  9366  	return s
  9367  }
  9368  
  9369  // SetBlueGreenDeploymentConfiguration sets the BlueGreenDeploymentConfiguration field's value.
  9370  func (s *DeploymentInfo) SetBlueGreenDeploymentConfiguration(v *BlueGreenDeploymentConfiguration) *DeploymentInfo {
  9371  	s.BlueGreenDeploymentConfiguration = v
  9372  	return s
  9373  }
  9374  
  9375  // SetCompleteTime sets the CompleteTime field's value.
  9376  func (s *DeploymentInfo) SetCompleteTime(v time.Time) *DeploymentInfo {
  9377  	s.CompleteTime = &v
  9378  	return s
  9379  }
  9380  
  9381  // SetComputePlatform sets the ComputePlatform field's value.
  9382  func (s *DeploymentInfo) SetComputePlatform(v string) *DeploymentInfo {
  9383  	s.ComputePlatform = &v
  9384  	return s
  9385  }
  9386  
  9387  // SetCreateTime sets the CreateTime field's value.
  9388  func (s *DeploymentInfo) SetCreateTime(v time.Time) *DeploymentInfo {
  9389  	s.CreateTime = &v
  9390  	return s
  9391  }
  9392  
  9393  // SetCreator sets the Creator field's value.
  9394  func (s *DeploymentInfo) SetCreator(v string) *DeploymentInfo {
  9395  	s.Creator = &v
  9396  	return s
  9397  }
  9398  
  9399  // SetDeploymentConfigName sets the DeploymentConfigName field's value.
  9400  func (s *DeploymentInfo) SetDeploymentConfigName(v string) *DeploymentInfo {
  9401  	s.DeploymentConfigName = &v
  9402  	return s
  9403  }
  9404  
  9405  // SetDeploymentGroupName sets the DeploymentGroupName field's value.
  9406  func (s *DeploymentInfo) SetDeploymentGroupName(v string) *DeploymentInfo {
  9407  	s.DeploymentGroupName = &v
  9408  	return s
  9409  }
  9410  
  9411  // SetDeploymentId sets the DeploymentId field's value.
  9412  func (s *DeploymentInfo) SetDeploymentId(v string) *DeploymentInfo {
  9413  	s.DeploymentId = &v
  9414  	return s
  9415  }
  9416  
  9417  // SetDeploymentOverview sets the DeploymentOverview field's value.
  9418  func (s *DeploymentInfo) SetDeploymentOverview(v *DeploymentOverview) *DeploymentInfo {
  9419  	s.DeploymentOverview = v
  9420  	return s
  9421  }
  9422  
  9423  // SetDeploymentStatusMessages sets the DeploymentStatusMessages field's value.
  9424  func (s *DeploymentInfo) SetDeploymentStatusMessages(v []*string) *DeploymentInfo {
  9425  	s.DeploymentStatusMessages = v
  9426  	return s
  9427  }
  9428  
  9429  // SetDeploymentStyle sets the DeploymentStyle field's value.
  9430  func (s *DeploymentInfo) SetDeploymentStyle(v *DeploymentStyle) *DeploymentInfo {
  9431  	s.DeploymentStyle = v
  9432  	return s
  9433  }
  9434  
  9435  // SetDescription sets the Description field's value.
  9436  func (s *DeploymentInfo) SetDescription(v string) *DeploymentInfo {
  9437  	s.Description = &v
  9438  	return s
  9439  }
  9440  
  9441  // SetErrorInformation sets the ErrorInformation field's value.
  9442  func (s *DeploymentInfo) SetErrorInformation(v *ErrorInformation) *DeploymentInfo {
  9443  	s.ErrorInformation = v
  9444  	return s
  9445  }
  9446  
  9447  // SetExternalId sets the ExternalId field's value.
  9448  func (s *DeploymentInfo) SetExternalId(v string) *DeploymentInfo {
  9449  	s.ExternalId = &v
  9450  	return s
  9451  }
  9452  
  9453  // SetFileExistsBehavior sets the FileExistsBehavior field's value.
  9454  func (s *DeploymentInfo) SetFileExistsBehavior(v string) *DeploymentInfo {
  9455  	s.FileExistsBehavior = &v
  9456  	return s
  9457  }
  9458  
  9459  // SetIgnoreApplicationStopFailures sets the IgnoreApplicationStopFailures field's value.
  9460  func (s *DeploymentInfo) SetIgnoreApplicationStopFailures(v bool) *DeploymentInfo {
  9461  	s.IgnoreApplicationStopFailures = &v
  9462  	return s
  9463  }
  9464  
  9465  // SetInstanceTerminationWaitTimeStarted sets the InstanceTerminationWaitTimeStarted field's value.
  9466  func (s *DeploymentInfo) SetInstanceTerminationWaitTimeStarted(v bool) *DeploymentInfo {
  9467  	s.InstanceTerminationWaitTimeStarted = &v
  9468  	return s
  9469  }
  9470  
  9471  // SetLoadBalancerInfo sets the LoadBalancerInfo field's value.
  9472  func (s *DeploymentInfo) SetLoadBalancerInfo(v *LoadBalancerInfo) *DeploymentInfo {
  9473  	s.LoadBalancerInfo = v
  9474  	return s
  9475  }
  9476  
  9477  // SetPreviousRevision sets the PreviousRevision field's value.
  9478  func (s *DeploymentInfo) SetPreviousRevision(v *RevisionLocation) *DeploymentInfo {
  9479  	s.PreviousRevision = v
  9480  	return s
  9481  }
  9482  
  9483  // SetRelatedDeployments sets the RelatedDeployments field's value.
  9484  func (s *DeploymentInfo) SetRelatedDeployments(v *RelatedDeployments) *DeploymentInfo {
  9485  	s.RelatedDeployments = v
  9486  	return s
  9487  }
  9488  
  9489  // SetRevision sets the Revision field's value.
  9490  func (s *DeploymentInfo) SetRevision(v *RevisionLocation) *DeploymentInfo {
  9491  	s.Revision = v
  9492  	return s
  9493  }
  9494  
  9495  // SetRollbackInfo sets the RollbackInfo field's value.
  9496  func (s *DeploymentInfo) SetRollbackInfo(v *RollbackInfo) *DeploymentInfo {
  9497  	s.RollbackInfo = v
  9498  	return s
  9499  }
  9500  
  9501  // SetStartTime sets the StartTime field's value.
  9502  func (s *DeploymentInfo) SetStartTime(v time.Time) *DeploymentInfo {
  9503  	s.StartTime = &v
  9504  	return s
  9505  }
  9506  
  9507  // SetStatus sets the Status field's value.
  9508  func (s *DeploymentInfo) SetStatus(v string) *DeploymentInfo {
  9509  	s.Status = &v
  9510  	return s
  9511  }
  9512  
  9513  // SetTargetInstances sets the TargetInstances field's value.
  9514  func (s *DeploymentInfo) SetTargetInstances(v *TargetInstances) *DeploymentInfo {
  9515  	s.TargetInstances = v
  9516  	return s
  9517  }
  9518  
  9519  // SetUpdateOutdatedInstancesOnly sets the UpdateOutdatedInstancesOnly field's value.
  9520  func (s *DeploymentInfo) SetUpdateOutdatedInstancesOnly(v bool) *DeploymentInfo {
  9521  	s.UpdateOutdatedInstancesOnly = &v
  9522  	return s
  9523  }
  9524  
  9525  // The deployment does not have a status of Ready and can't continue yet.
  9526  type DeploymentIsNotInReadyStateException struct {
  9527  	_            struct{}                  `type:"structure"`
  9528  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  9529  
  9530  	Message_ *string `locationName:"message" type:"string"`
  9531  }
  9532  
  9533  // String returns the string representation.
  9534  //
  9535  // API parameter values that are decorated as "sensitive" in the API will not
  9536  // be included in the string output. The member name will be present, but the
  9537  // value will be replaced with "sensitive".
  9538  func (s DeploymentIsNotInReadyStateException) String() string {
  9539  	return awsutil.Prettify(s)
  9540  }
  9541  
  9542  // GoString returns the string representation.
  9543  //
  9544  // API parameter values that are decorated as "sensitive" in the API will not
  9545  // be included in the string output. The member name will be present, but the
  9546  // value will be replaced with "sensitive".
  9547  func (s DeploymentIsNotInReadyStateException) GoString() string {
  9548  	return s.String()
  9549  }
  9550  
  9551  func newErrorDeploymentIsNotInReadyStateException(v protocol.ResponseMetadata) error {
  9552  	return &DeploymentIsNotInReadyStateException{
  9553  		RespMetadata: v,
  9554  	}
  9555  }
  9556  
  9557  // Code returns the exception type name.
  9558  func (s *DeploymentIsNotInReadyStateException) Code() string {
  9559  	return "DeploymentIsNotInReadyStateException"
  9560  }
  9561  
  9562  // Message returns the exception's message.
  9563  func (s *DeploymentIsNotInReadyStateException) Message() string {
  9564  	if s.Message_ != nil {
  9565  		return *s.Message_
  9566  	}
  9567  	return ""
  9568  }
  9569  
  9570  // OrigErr always returns nil, satisfies awserr.Error interface.
  9571  func (s *DeploymentIsNotInReadyStateException) OrigErr() error {
  9572  	return nil
  9573  }
  9574  
  9575  func (s *DeploymentIsNotInReadyStateException) Error() string {
  9576  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  9577  }
  9578  
  9579  // Status code returns the HTTP status code for the request's response error.
  9580  func (s *DeploymentIsNotInReadyStateException) StatusCode() int {
  9581  	return s.RespMetadata.StatusCode
  9582  }
  9583  
  9584  // RequestID returns the service's response RequestID for request.
  9585  func (s *DeploymentIsNotInReadyStateException) RequestID() string {
  9586  	return s.RespMetadata.RequestID
  9587  }
  9588  
  9589  // The number of allowed deployments was exceeded.
  9590  type DeploymentLimitExceededException struct {
  9591  	_            struct{}                  `type:"structure"`
  9592  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  9593  
  9594  	Message_ *string `locationName:"message" type:"string"`
  9595  }
  9596  
  9597  // String returns the string representation.
  9598  //
  9599  // API parameter values that are decorated as "sensitive" in the API will not
  9600  // be included in the string output. The member name will be present, but the
  9601  // value will be replaced with "sensitive".
  9602  func (s DeploymentLimitExceededException) String() string {
  9603  	return awsutil.Prettify(s)
  9604  }
  9605  
  9606  // GoString returns the string representation.
  9607  //
  9608  // API parameter values that are decorated as "sensitive" in the API will not
  9609  // be included in the string output. The member name will be present, but the
  9610  // value will be replaced with "sensitive".
  9611  func (s DeploymentLimitExceededException) GoString() string {
  9612  	return s.String()
  9613  }
  9614  
  9615  func newErrorDeploymentLimitExceededException(v protocol.ResponseMetadata) error {
  9616  	return &DeploymentLimitExceededException{
  9617  		RespMetadata: v,
  9618  	}
  9619  }
  9620  
  9621  // Code returns the exception type name.
  9622  func (s *DeploymentLimitExceededException) Code() string {
  9623  	return "DeploymentLimitExceededException"
  9624  }
  9625  
  9626  // Message returns the exception's message.
  9627  func (s *DeploymentLimitExceededException) Message() string {
  9628  	if s.Message_ != nil {
  9629  		return *s.Message_
  9630  	}
  9631  	return ""
  9632  }
  9633  
  9634  // OrigErr always returns nil, satisfies awserr.Error interface.
  9635  func (s *DeploymentLimitExceededException) OrigErr() error {
  9636  	return nil
  9637  }
  9638  
  9639  func (s *DeploymentLimitExceededException) Error() string {
  9640  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  9641  }
  9642  
  9643  // Status code returns the HTTP status code for the request's response error.
  9644  func (s *DeploymentLimitExceededException) StatusCode() int {
  9645  	return s.RespMetadata.StatusCode
  9646  }
  9647  
  9648  // RequestID returns the service's response RequestID for request.
  9649  func (s *DeploymentLimitExceededException) RequestID() string {
  9650  	return s.RespMetadata.RequestID
  9651  }
  9652  
  9653  // The specified deployment has not started.
  9654  type DeploymentNotStartedException struct {
  9655  	_            struct{}                  `type:"structure"`
  9656  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  9657  
  9658  	Message_ *string `locationName:"message" type:"string"`
  9659  }
  9660  
  9661  // String returns the string representation.
  9662  //
  9663  // API parameter values that are decorated as "sensitive" in the API will not
  9664  // be included in the string output. The member name will be present, but the
  9665  // value will be replaced with "sensitive".
  9666  func (s DeploymentNotStartedException) String() string {
  9667  	return awsutil.Prettify(s)
  9668  }
  9669  
  9670  // GoString returns the string representation.
  9671  //
  9672  // API parameter values that are decorated as "sensitive" in the API will not
  9673  // be included in the string output. The member name will be present, but the
  9674  // value will be replaced with "sensitive".
  9675  func (s DeploymentNotStartedException) GoString() string {
  9676  	return s.String()
  9677  }
  9678  
  9679  func newErrorDeploymentNotStartedException(v protocol.ResponseMetadata) error {
  9680  	return &DeploymentNotStartedException{
  9681  		RespMetadata: v,
  9682  	}
  9683  }
  9684  
  9685  // Code returns the exception type name.
  9686  func (s *DeploymentNotStartedException) Code() string {
  9687  	return "DeploymentNotStartedException"
  9688  }
  9689  
  9690  // Message returns the exception's message.
  9691  func (s *DeploymentNotStartedException) Message() string {
  9692  	if s.Message_ != nil {
  9693  		return *s.Message_
  9694  	}
  9695  	return ""
  9696  }
  9697  
  9698  // OrigErr always returns nil, satisfies awserr.Error interface.
  9699  func (s *DeploymentNotStartedException) OrigErr() error {
  9700  	return nil
  9701  }
  9702  
  9703  func (s *DeploymentNotStartedException) Error() string {
  9704  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  9705  }
  9706  
  9707  // Status code returns the HTTP status code for the request's response error.
  9708  func (s *DeploymentNotStartedException) StatusCode() int {
  9709  	return s.RespMetadata.StatusCode
  9710  }
  9711  
  9712  // RequestID returns the service's response RequestID for request.
  9713  func (s *DeploymentNotStartedException) RequestID() string {
  9714  	return s.RespMetadata.RequestID
  9715  }
  9716  
  9717  // Information about the deployment status of the instances in the deployment.
  9718  type DeploymentOverview struct {
  9719  	_ struct{} `type:"structure"`
  9720  
  9721  	// The number of instances in the deployment in a failed state.
  9722  	Failed *int64 `type:"long"`
  9723  
  9724  	// The number of instances in which the deployment is in progress.
  9725  	InProgress *int64 `type:"long"`
  9726  
  9727  	// The number of instances in the deployment in a pending state.
  9728  	Pending *int64 `type:"long"`
  9729  
  9730  	// The number of instances in a replacement environment ready to receive traffic
  9731  	// in a blue/green deployment.
  9732  	Ready *int64 `type:"long"`
  9733  
  9734  	// The number of instances in the deployment in a skipped state.
  9735  	Skipped *int64 `type:"long"`
  9736  
  9737  	// The number of instances in the deployment to which revisions have been successfully
  9738  	// deployed.
  9739  	Succeeded *int64 `type:"long"`
  9740  }
  9741  
  9742  // String returns the string representation.
  9743  //
  9744  // API parameter values that are decorated as "sensitive" in the API will not
  9745  // be included in the string output. The member name will be present, but the
  9746  // value will be replaced with "sensitive".
  9747  func (s DeploymentOverview) String() string {
  9748  	return awsutil.Prettify(s)
  9749  }
  9750  
  9751  // GoString returns the string representation.
  9752  //
  9753  // API parameter values that are decorated as "sensitive" in the API will not
  9754  // be included in the string output. The member name will be present, but the
  9755  // value will be replaced with "sensitive".
  9756  func (s DeploymentOverview) GoString() string {
  9757  	return s.String()
  9758  }
  9759  
  9760  // SetFailed sets the Failed field's value.
  9761  func (s *DeploymentOverview) SetFailed(v int64) *DeploymentOverview {
  9762  	s.Failed = &v
  9763  	return s
  9764  }
  9765  
  9766  // SetInProgress sets the InProgress field's value.
  9767  func (s *DeploymentOverview) SetInProgress(v int64) *DeploymentOverview {
  9768  	s.InProgress = &v
  9769  	return s
  9770  }
  9771  
  9772  // SetPending sets the Pending field's value.
  9773  func (s *DeploymentOverview) SetPending(v int64) *DeploymentOverview {
  9774  	s.Pending = &v
  9775  	return s
  9776  }
  9777  
  9778  // SetReady sets the Ready field's value.
  9779  func (s *DeploymentOverview) SetReady(v int64) *DeploymentOverview {
  9780  	s.Ready = &v
  9781  	return s
  9782  }
  9783  
  9784  // SetSkipped sets the Skipped field's value.
  9785  func (s *DeploymentOverview) SetSkipped(v int64) *DeploymentOverview {
  9786  	s.Skipped = &v
  9787  	return s
  9788  }
  9789  
  9790  // SetSucceeded sets the Succeeded field's value.
  9791  func (s *DeploymentOverview) SetSucceeded(v int64) *DeploymentOverview {
  9792  	s.Succeeded = &v
  9793  	return s
  9794  }
  9795  
  9796  // Information about how traffic is rerouted to instances in a replacement environment
  9797  // in a blue/green deployment.
  9798  type DeploymentReadyOption struct {
  9799  	_ struct{} `type:"structure"`
  9800  
  9801  	// Information about when to reroute traffic from an original environment to
  9802  	// a replacement environment in a blue/green deployment.
  9803  	//
  9804  	//    * CONTINUE_DEPLOYMENT: Register new instances with the load balancer immediately
  9805  	//    after the new application revision is installed on the instances in the
  9806  	//    replacement environment.
  9807  	//
  9808  	//    * STOP_DEPLOYMENT: Do not register new instances with a load balancer
  9809  	//    unless traffic rerouting is started using ContinueDeployment. If traffic
  9810  	//    rerouting is not started before the end of the specified wait period,
  9811  	//    the deployment status is changed to Stopped.
  9812  	ActionOnTimeout *string `locationName:"actionOnTimeout" type:"string" enum:"DeploymentReadyAction"`
  9813  
  9814  	// The number of minutes to wait before the status of a blue/green deployment
  9815  	// is changed to Stopped if rerouting is not started manually. Applies only
  9816  	// to the STOP_DEPLOYMENT option for actionOnTimeout.
  9817  	WaitTimeInMinutes *int64 `locationName:"waitTimeInMinutes" type:"integer"`
  9818  }
  9819  
  9820  // String returns the string representation.
  9821  //
  9822  // API parameter values that are decorated as "sensitive" in the API will not
  9823  // be included in the string output. The member name will be present, but the
  9824  // value will be replaced with "sensitive".
  9825  func (s DeploymentReadyOption) String() string {
  9826  	return awsutil.Prettify(s)
  9827  }
  9828  
  9829  // GoString returns the string representation.
  9830  //
  9831  // API parameter values that are decorated as "sensitive" in the API will not
  9832  // be included in the string output. The member name will be present, but the
  9833  // value will be replaced with "sensitive".
  9834  func (s DeploymentReadyOption) GoString() string {
  9835  	return s.String()
  9836  }
  9837  
  9838  // SetActionOnTimeout sets the ActionOnTimeout field's value.
  9839  func (s *DeploymentReadyOption) SetActionOnTimeout(v string) *DeploymentReadyOption {
  9840  	s.ActionOnTimeout = &v
  9841  	return s
  9842  }
  9843  
  9844  // SetWaitTimeInMinutes sets the WaitTimeInMinutes field's value.
  9845  func (s *DeploymentReadyOption) SetWaitTimeInMinutes(v int64) *DeploymentReadyOption {
  9846  	s.WaitTimeInMinutes = &v
  9847  	return s
  9848  }
  9849  
  9850  // Information about the type of deployment, either in-place or blue/green,
  9851  // you want to run and whether to route deployment traffic behind a load balancer.
  9852  type DeploymentStyle struct {
  9853  	_ struct{} `type:"structure"`
  9854  
  9855  	// Indicates whether to route deployment traffic behind a load balancer.
  9856  	DeploymentOption *string `locationName:"deploymentOption" type:"string" enum:"DeploymentOption"`
  9857  
  9858  	// Indicates whether to run an in-place deployment or a blue/green deployment.
  9859  	DeploymentType *string `locationName:"deploymentType" type:"string" enum:"DeploymentType"`
  9860  }
  9861  
  9862  // String returns the string representation.
  9863  //
  9864  // API parameter values that are decorated as "sensitive" in the API will not
  9865  // be included in the string output. The member name will be present, but the
  9866  // value will be replaced with "sensitive".
  9867  func (s DeploymentStyle) String() string {
  9868  	return awsutil.Prettify(s)
  9869  }
  9870  
  9871  // GoString returns the string representation.
  9872  //
  9873  // API parameter values that are decorated as "sensitive" in the API will not
  9874  // be included in the string output. The member name will be present, but the
  9875  // value will be replaced with "sensitive".
  9876  func (s DeploymentStyle) GoString() string {
  9877  	return s.String()
  9878  }
  9879  
  9880  // SetDeploymentOption sets the DeploymentOption field's value.
  9881  func (s *DeploymentStyle) SetDeploymentOption(v string) *DeploymentStyle {
  9882  	s.DeploymentOption = &v
  9883  	return s
  9884  }
  9885  
  9886  // SetDeploymentType sets the DeploymentType field's value.
  9887  func (s *DeploymentStyle) SetDeploymentType(v string) *DeploymentStyle {
  9888  	s.DeploymentType = &v
  9889  	return s
  9890  }
  9891  
  9892  // Information about the deployment target.
  9893  type DeploymentTarget struct {
  9894  	_ struct{} `type:"structure"`
  9895  
  9896  	// Information about the target to be updated by an AWS CloudFormation blue/green
  9897  	// deployment. This target type is used for all deployments initiated by a CloudFormation
  9898  	// stack update.
  9899  	CloudFormationTarget *CloudFormationTarget `locationName:"cloudFormationTarget" type:"structure"`
  9900  
  9901  	// The deployment type that is specific to the deployment's compute platform
  9902  	// or deployments initiated by a CloudFormation stack update.
  9903  	DeploymentTargetType *string `locationName:"deploymentTargetType" type:"string" enum:"DeploymentTargetType"`
  9904  
  9905  	// Information about the target for a deployment that uses the Amazon ECS compute
  9906  	// platform.
  9907  	EcsTarget *ECSTarget `locationName:"ecsTarget" type:"structure"`
  9908  
  9909  	// Information about the target for a deployment that uses the EC2/On-premises
  9910  	// compute platform.
  9911  	InstanceTarget *InstanceTarget `locationName:"instanceTarget" type:"structure"`
  9912  
  9913  	// Information about the target for a deployment that uses the AWS Lambda compute
  9914  	// platform.
  9915  	LambdaTarget *LambdaTarget `locationName:"lambdaTarget" type:"structure"`
  9916  }
  9917  
  9918  // String returns the string representation.
  9919  //
  9920  // API parameter values that are decorated as "sensitive" in the API will not
  9921  // be included in the string output. The member name will be present, but the
  9922  // value will be replaced with "sensitive".
  9923  func (s DeploymentTarget) String() string {
  9924  	return awsutil.Prettify(s)
  9925  }
  9926  
  9927  // GoString returns the string representation.
  9928  //
  9929  // API parameter values that are decorated as "sensitive" in the API will not
  9930  // be included in the string output. The member name will be present, but the
  9931  // value will be replaced with "sensitive".
  9932  func (s DeploymentTarget) GoString() string {
  9933  	return s.String()
  9934  }
  9935  
  9936  // SetCloudFormationTarget sets the CloudFormationTarget field's value.
  9937  func (s *DeploymentTarget) SetCloudFormationTarget(v *CloudFormationTarget) *DeploymentTarget {
  9938  	s.CloudFormationTarget = v
  9939  	return s
  9940  }
  9941  
  9942  // SetDeploymentTargetType sets the DeploymentTargetType field's value.
  9943  func (s *DeploymentTarget) SetDeploymentTargetType(v string) *DeploymentTarget {
  9944  	s.DeploymentTargetType = &v
  9945  	return s
  9946  }
  9947  
  9948  // SetEcsTarget sets the EcsTarget field's value.
  9949  func (s *DeploymentTarget) SetEcsTarget(v *ECSTarget) *DeploymentTarget {
  9950  	s.EcsTarget = v
  9951  	return s
  9952  }
  9953  
  9954  // SetInstanceTarget sets the InstanceTarget field's value.
  9955  func (s *DeploymentTarget) SetInstanceTarget(v *InstanceTarget) *DeploymentTarget {
  9956  	s.InstanceTarget = v
  9957  	return s
  9958  }
  9959  
  9960  // SetLambdaTarget sets the LambdaTarget field's value.
  9961  func (s *DeploymentTarget) SetLambdaTarget(v *LambdaTarget) *DeploymentTarget {
  9962  	s.LambdaTarget = v
  9963  	return s
  9964  }
  9965  
  9966  // The provided target ID does not belong to the attempted deployment.
  9967  type DeploymentTargetDoesNotExistException struct {
  9968  	_            struct{}                  `type:"structure"`
  9969  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  9970  
  9971  	Message_ *string `locationName:"message" type:"string"`
  9972  }
  9973  
  9974  // String returns the string representation.
  9975  //
  9976  // API parameter values that are decorated as "sensitive" in the API will not
  9977  // be included in the string output. The member name will be present, but the
  9978  // value will be replaced with "sensitive".
  9979  func (s DeploymentTargetDoesNotExistException) String() string {
  9980  	return awsutil.Prettify(s)
  9981  }
  9982  
  9983  // GoString returns the string representation.
  9984  //
  9985  // API parameter values that are decorated as "sensitive" in the API will not
  9986  // be included in the string output. The member name will be present, but the
  9987  // value will be replaced with "sensitive".
  9988  func (s DeploymentTargetDoesNotExistException) GoString() string {
  9989  	return s.String()
  9990  }
  9991  
  9992  func newErrorDeploymentTargetDoesNotExistException(v protocol.ResponseMetadata) error {
  9993  	return &DeploymentTargetDoesNotExistException{
  9994  		RespMetadata: v,
  9995  	}
  9996  }
  9997  
  9998  // Code returns the exception type name.
  9999  func (s *DeploymentTargetDoesNotExistException) Code() string {
 10000  	return "DeploymentTargetDoesNotExistException"
 10001  }
 10002  
 10003  // Message returns the exception's message.
 10004  func (s *DeploymentTargetDoesNotExistException) Message() string {
 10005  	if s.Message_ != nil {
 10006  		return *s.Message_
 10007  	}
 10008  	return ""
 10009  }
 10010  
 10011  // OrigErr always returns nil, satisfies awserr.Error interface.
 10012  func (s *DeploymentTargetDoesNotExistException) OrigErr() error {
 10013  	return nil
 10014  }
 10015  
 10016  func (s *DeploymentTargetDoesNotExistException) Error() string {
 10017  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 10018  }
 10019  
 10020  // Status code returns the HTTP status code for the request's response error.
 10021  func (s *DeploymentTargetDoesNotExistException) StatusCode() int {
 10022  	return s.RespMetadata.StatusCode
 10023  }
 10024  
 10025  // RequestID returns the service's response RequestID for request.
 10026  func (s *DeploymentTargetDoesNotExistException) RequestID() string {
 10027  	return s.RespMetadata.RequestID
 10028  }
 10029  
 10030  // A deployment target ID was not provided.
 10031  type DeploymentTargetIdRequiredException struct {
 10032  	_            struct{}                  `type:"structure"`
 10033  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 10034  
 10035  	Message_ *string `locationName:"message" type:"string"`
 10036  }
 10037  
 10038  // String returns the string representation.
 10039  //
 10040  // API parameter values that are decorated as "sensitive" in the API will not
 10041  // be included in the string output. The member name will be present, but the
 10042  // value will be replaced with "sensitive".
 10043  func (s DeploymentTargetIdRequiredException) String() string {
 10044  	return awsutil.Prettify(s)
 10045  }
 10046  
 10047  // GoString returns the string representation.
 10048  //
 10049  // API parameter values that are decorated as "sensitive" in the API will not
 10050  // be included in the string output. The member name will be present, but the
 10051  // value will be replaced with "sensitive".
 10052  func (s DeploymentTargetIdRequiredException) GoString() string {
 10053  	return s.String()
 10054  }
 10055  
 10056  func newErrorDeploymentTargetIdRequiredException(v protocol.ResponseMetadata) error {
 10057  	return &DeploymentTargetIdRequiredException{
 10058  		RespMetadata: v,
 10059  	}
 10060  }
 10061  
 10062  // Code returns the exception type name.
 10063  func (s *DeploymentTargetIdRequiredException) Code() string {
 10064  	return "DeploymentTargetIdRequiredException"
 10065  }
 10066  
 10067  // Message returns the exception's message.
 10068  func (s *DeploymentTargetIdRequiredException) Message() string {
 10069  	if s.Message_ != nil {
 10070  		return *s.Message_
 10071  	}
 10072  	return ""
 10073  }
 10074  
 10075  // OrigErr always returns nil, satisfies awserr.Error interface.
 10076  func (s *DeploymentTargetIdRequiredException) OrigErr() error {
 10077  	return nil
 10078  }
 10079  
 10080  func (s *DeploymentTargetIdRequiredException) Error() string {
 10081  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 10082  }
 10083  
 10084  // Status code returns the HTTP status code for the request's response error.
 10085  func (s *DeploymentTargetIdRequiredException) StatusCode() int {
 10086  	return s.RespMetadata.StatusCode
 10087  }
 10088  
 10089  // RequestID returns the service's response RequestID for request.
 10090  func (s *DeploymentTargetIdRequiredException) RequestID() string {
 10091  	return s.RespMetadata.RequestID
 10092  }
 10093  
 10094  // The maximum number of targets that can be associated with an Amazon ECS or
 10095  // AWS Lambda deployment was exceeded. The target list of both types of deployments
 10096  // must have exactly one item. This exception does not apply to EC2/On-premises
 10097  // deployments.
 10098  type DeploymentTargetListSizeExceededException struct {
 10099  	_            struct{}                  `type:"structure"`
 10100  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 10101  
 10102  	Message_ *string `locationName:"message" type:"string"`
 10103  }
 10104  
 10105  // String returns the string representation.
 10106  //
 10107  // API parameter values that are decorated as "sensitive" in the API will not
 10108  // be included in the string output. The member name will be present, but the
 10109  // value will be replaced with "sensitive".
 10110  func (s DeploymentTargetListSizeExceededException) String() string {
 10111  	return awsutil.Prettify(s)
 10112  }
 10113  
 10114  // GoString returns the string representation.
 10115  //
 10116  // API parameter values that are decorated as "sensitive" in the API will not
 10117  // be included in the string output. The member name will be present, but the
 10118  // value will be replaced with "sensitive".
 10119  func (s DeploymentTargetListSizeExceededException) GoString() string {
 10120  	return s.String()
 10121  }
 10122  
 10123  func newErrorDeploymentTargetListSizeExceededException(v protocol.ResponseMetadata) error {
 10124  	return &DeploymentTargetListSizeExceededException{
 10125  		RespMetadata: v,
 10126  	}
 10127  }
 10128  
 10129  // Code returns the exception type name.
 10130  func (s *DeploymentTargetListSizeExceededException) Code() string {
 10131  	return "DeploymentTargetListSizeExceededException"
 10132  }
 10133  
 10134  // Message returns the exception's message.
 10135  func (s *DeploymentTargetListSizeExceededException) Message() string {
 10136  	if s.Message_ != nil {
 10137  		return *s.Message_
 10138  	}
 10139  	return ""
 10140  }
 10141  
 10142  // OrigErr always returns nil, satisfies awserr.Error interface.
 10143  func (s *DeploymentTargetListSizeExceededException) OrigErr() error {
 10144  	return nil
 10145  }
 10146  
 10147  func (s *DeploymentTargetListSizeExceededException) Error() string {
 10148  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 10149  }
 10150  
 10151  // Status code returns the HTTP status code for the request's response error.
 10152  func (s *DeploymentTargetListSizeExceededException) StatusCode() int {
 10153  	return s.RespMetadata.StatusCode
 10154  }
 10155  
 10156  // RequestID returns the service's response RequestID for request.
 10157  func (s *DeploymentTargetListSizeExceededException) RequestID() string {
 10158  	return s.RespMetadata.RequestID
 10159  }
 10160  
 10161  // Represents the input of a DeregisterOnPremisesInstance operation.
 10162  type DeregisterOnPremisesInstanceInput struct {
 10163  	_ struct{} `type:"structure"`
 10164  
 10165  	// The name of the on-premises instance to deregister.
 10166  	//
 10167  	// InstanceName is a required field
 10168  	InstanceName *string `locationName:"instanceName" type:"string" required:"true"`
 10169  }
 10170  
 10171  // String returns the string representation.
 10172  //
 10173  // API parameter values that are decorated as "sensitive" in the API will not
 10174  // be included in the string output. The member name will be present, but the
 10175  // value will be replaced with "sensitive".
 10176  func (s DeregisterOnPremisesInstanceInput) String() string {
 10177  	return awsutil.Prettify(s)
 10178  }
 10179  
 10180  // GoString returns the string representation.
 10181  //
 10182  // API parameter values that are decorated as "sensitive" in the API will not
 10183  // be included in the string output. The member name will be present, but the
 10184  // value will be replaced with "sensitive".
 10185  func (s DeregisterOnPremisesInstanceInput) GoString() string {
 10186  	return s.String()
 10187  }
 10188  
 10189  // Validate inspects the fields of the type to determine if they are valid.
 10190  func (s *DeregisterOnPremisesInstanceInput) Validate() error {
 10191  	invalidParams := request.ErrInvalidParams{Context: "DeregisterOnPremisesInstanceInput"}
 10192  	if s.InstanceName == nil {
 10193  		invalidParams.Add(request.NewErrParamRequired("InstanceName"))
 10194  	}
 10195  
 10196  	if invalidParams.Len() > 0 {
 10197  		return invalidParams
 10198  	}
 10199  	return nil
 10200  }
 10201  
 10202  // SetInstanceName sets the InstanceName field's value.
 10203  func (s *DeregisterOnPremisesInstanceInput) SetInstanceName(v string) *DeregisterOnPremisesInstanceInput {
 10204  	s.InstanceName = &v
 10205  	return s
 10206  }
 10207  
 10208  type DeregisterOnPremisesInstanceOutput struct {
 10209  	_ struct{} `type:"structure"`
 10210  }
 10211  
 10212  // String returns the string representation.
 10213  //
 10214  // API parameter values that are decorated as "sensitive" in the API will not
 10215  // be included in the string output. The member name will be present, but the
 10216  // value will be replaced with "sensitive".
 10217  func (s DeregisterOnPremisesInstanceOutput) String() string {
 10218  	return awsutil.Prettify(s)
 10219  }
 10220  
 10221  // GoString returns the string representation.
 10222  //
 10223  // API parameter values that are decorated as "sensitive" in the API will not
 10224  // be included in the string output. The member name will be present, but the
 10225  // value will be replaced with "sensitive".
 10226  func (s DeregisterOnPremisesInstanceOutput) GoString() string {
 10227  	return s.String()
 10228  }
 10229  
 10230  // The description is too long.
 10231  type DescriptionTooLongException struct {
 10232  	_            struct{}                  `type:"structure"`
 10233  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 10234  
 10235  	Message_ *string `locationName:"message" type:"string"`
 10236  }
 10237  
 10238  // String returns the string representation.
 10239  //
 10240  // API parameter values that are decorated as "sensitive" in the API will not
 10241  // be included in the string output. The member name will be present, but the
 10242  // value will be replaced with "sensitive".
 10243  func (s DescriptionTooLongException) String() string {
 10244  	return awsutil.Prettify(s)
 10245  }
 10246  
 10247  // GoString returns the string representation.
 10248  //
 10249  // API parameter values that are decorated as "sensitive" in the API will not
 10250  // be included in the string output. The member name will be present, but the
 10251  // value will be replaced with "sensitive".
 10252  func (s DescriptionTooLongException) GoString() string {
 10253  	return s.String()
 10254  }
 10255  
 10256  func newErrorDescriptionTooLongException(v protocol.ResponseMetadata) error {
 10257  	return &DescriptionTooLongException{
 10258  		RespMetadata: v,
 10259  	}
 10260  }
 10261  
 10262  // Code returns the exception type name.
 10263  func (s *DescriptionTooLongException) Code() string {
 10264  	return "DescriptionTooLongException"
 10265  }
 10266  
 10267  // Message returns the exception's message.
 10268  func (s *DescriptionTooLongException) Message() string {
 10269  	if s.Message_ != nil {
 10270  		return *s.Message_
 10271  	}
 10272  	return ""
 10273  }
 10274  
 10275  // OrigErr always returns nil, satisfies awserr.Error interface.
 10276  func (s *DescriptionTooLongException) OrigErr() error {
 10277  	return nil
 10278  }
 10279  
 10280  func (s *DescriptionTooLongException) Error() string {
 10281  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 10282  }
 10283  
 10284  // Status code returns the HTTP status code for the request's response error.
 10285  func (s *DescriptionTooLongException) StatusCode() int {
 10286  	return s.RespMetadata.StatusCode
 10287  }
 10288  
 10289  // RequestID returns the service's response RequestID for request.
 10290  func (s *DescriptionTooLongException) RequestID() string {
 10291  	return s.RespMetadata.RequestID
 10292  }
 10293  
 10294  // Diagnostic information about executable scripts that are part of a deployment.
 10295  type Diagnostics struct {
 10296  	_ struct{} `type:"structure"`
 10297  
 10298  	// The associated error code:
 10299  	//
 10300  	//    * Success: The specified script ran.
 10301  	//
 10302  	//    * ScriptMissing: The specified script was not found in the specified location.
 10303  	//
 10304  	//    * ScriptNotExecutable: The specified script is not a recognized executable
 10305  	//    file type.
 10306  	//
 10307  	//    * ScriptTimedOut: The specified script did not finish running in the specified
 10308  	//    time period.
 10309  	//
 10310  	//    * ScriptFailed: The specified script failed to run as expected.
 10311  	//
 10312  	//    * UnknownError: The specified script did not run for an unknown reason.
 10313  	ErrorCode *string `locationName:"errorCode" type:"string" enum:"LifecycleErrorCode"`
 10314  
 10315  	// The last portion of the diagnostic log.
 10316  	//
 10317  	// If available, AWS CodeDeploy returns up to the last 4 KB of the diagnostic
 10318  	// log.
 10319  	LogTail *string `locationName:"logTail" type:"string"`
 10320  
 10321  	// The message associated with the error.
 10322  	Message *string `locationName:"message" type:"string"`
 10323  
 10324  	// The name of the script.
 10325  	ScriptName *string `locationName:"scriptName" type:"string"`
 10326  }
 10327  
 10328  // String returns the string representation.
 10329  //
 10330  // API parameter values that are decorated as "sensitive" in the API will not
 10331  // be included in the string output. The member name will be present, but the
 10332  // value will be replaced with "sensitive".
 10333  func (s Diagnostics) String() string {
 10334  	return awsutil.Prettify(s)
 10335  }
 10336  
 10337  // GoString returns the string representation.
 10338  //
 10339  // API parameter values that are decorated as "sensitive" in the API will not
 10340  // be included in the string output. The member name will be present, but the
 10341  // value will be replaced with "sensitive".
 10342  func (s Diagnostics) GoString() string {
 10343  	return s.String()
 10344  }
 10345  
 10346  // SetErrorCode sets the ErrorCode field's value.
 10347  func (s *Diagnostics) SetErrorCode(v string) *Diagnostics {
 10348  	s.ErrorCode = &v
 10349  	return s
 10350  }
 10351  
 10352  // SetLogTail sets the LogTail field's value.
 10353  func (s *Diagnostics) SetLogTail(v string) *Diagnostics {
 10354  	s.LogTail = &v
 10355  	return s
 10356  }
 10357  
 10358  // SetMessage sets the Message field's value.
 10359  func (s *Diagnostics) SetMessage(v string) *Diagnostics {
 10360  	s.Message = &v
 10361  	return s
 10362  }
 10363  
 10364  // SetScriptName sets the ScriptName field's value.
 10365  func (s *Diagnostics) SetScriptName(v string) *Diagnostics {
 10366  	s.ScriptName = &v
 10367  	return s
 10368  }
 10369  
 10370  // Information about an EC2 tag filter.
 10371  type EC2TagFilter struct {
 10372  	_ struct{} `type:"structure"`
 10373  
 10374  	// The tag filter key.
 10375  	Key *string `type:"string"`
 10376  
 10377  	// The tag filter type:
 10378  	//
 10379  	//    * KEY_ONLY: Key only.
 10380  	//
 10381  	//    * VALUE_ONLY: Value only.
 10382  	//
 10383  	//    * KEY_AND_VALUE: Key and value.
 10384  	Type *string `type:"string" enum:"EC2TagFilterType"`
 10385  
 10386  	// The tag filter value.
 10387  	Value *string `type:"string"`
 10388  }
 10389  
 10390  // String returns the string representation.
 10391  //
 10392  // API parameter values that are decorated as "sensitive" in the API will not
 10393  // be included in the string output. The member name will be present, but the
 10394  // value will be replaced with "sensitive".
 10395  func (s EC2TagFilter) String() string {
 10396  	return awsutil.Prettify(s)
 10397  }
 10398  
 10399  // GoString returns the string representation.
 10400  //
 10401  // API parameter values that are decorated as "sensitive" in the API will not
 10402  // be included in the string output. The member name will be present, but the
 10403  // value will be replaced with "sensitive".
 10404  func (s EC2TagFilter) GoString() string {
 10405  	return s.String()
 10406  }
 10407  
 10408  // SetKey sets the Key field's value.
 10409  func (s *EC2TagFilter) SetKey(v string) *EC2TagFilter {
 10410  	s.Key = &v
 10411  	return s
 10412  }
 10413  
 10414  // SetType sets the Type field's value.
 10415  func (s *EC2TagFilter) SetType(v string) *EC2TagFilter {
 10416  	s.Type = &v
 10417  	return s
 10418  }
 10419  
 10420  // SetValue sets the Value field's value.
 10421  func (s *EC2TagFilter) SetValue(v string) *EC2TagFilter {
 10422  	s.Value = &v
 10423  	return s
 10424  }
 10425  
 10426  // Information about groups of EC2 instance tags.
 10427  type EC2TagSet struct {
 10428  	_ struct{} `type:"structure"`
 10429  
 10430  	// A list that contains other lists of EC2 instance tag groups. For an instance
 10431  	// to be included in the deployment group, it must be identified by all of the
 10432  	// tag groups in the list.
 10433  	Ec2TagSetList [][]*EC2TagFilter `locationName:"ec2TagSetList" type:"list"`
 10434  }
 10435  
 10436  // String returns the string representation.
 10437  //
 10438  // API parameter values that are decorated as "sensitive" in the API will not
 10439  // be included in the string output. The member name will be present, but the
 10440  // value will be replaced with "sensitive".
 10441  func (s EC2TagSet) String() string {
 10442  	return awsutil.Prettify(s)
 10443  }
 10444  
 10445  // GoString returns the string representation.
 10446  //
 10447  // API parameter values that are decorated as "sensitive" in the API will not
 10448  // be included in the string output. The member name will be present, but the
 10449  // value will be replaced with "sensitive".
 10450  func (s EC2TagSet) GoString() string {
 10451  	return s.String()
 10452  }
 10453  
 10454  // SetEc2TagSetList sets the Ec2TagSetList field's value.
 10455  func (s *EC2TagSet) SetEc2TagSetList(v [][]*EC2TagFilter) *EC2TagSet {
 10456  	s.Ec2TagSetList = v
 10457  	return s
 10458  }
 10459  
 10460  // Contains the service and cluster names used to identify an Amazon ECS deployment's
 10461  // target.
 10462  type ECSService struct {
 10463  	_ struct{} `type:"structure"`
 10464  
 10465  	// The name of the cluster that the Amazon ECS service is associated with.
 10466  	ClusterName *string `locationName:"clusterName" type:"string"`
 10467  
 10468  	// The name of the target Amazon ECS service.
 10469  	ServiceName *string `locationName:"serviceName" type:"string"`
 10470  }
 10471  
 10472  // String returns the string representation.
 10473  //
 10474  // API parameter values that are decorated as "sensitive" in the API will not
 10475  // be included in the string output. The member name will be present, but the
 10476  // value will be replaced with "sensitive".
 10477  func (s ECSService) String() string {
 10478  	return awsutil.Prettify(s)
 10479  }
 10480  
 10481  // GoString returns the string representation.
 10482  //
 10483  // API parameter values that are decorated as "sensitive" in the API will not
 10484  // be included in the string output. The member name will be present, but the
 10485  // value will be replaced with "sensitive".
 10486  func (s ECSService) GoString() string {
 10487  	return s.String()
 10488  }
 10489  
 10490  // SetClusterName sets the ClusterName field's value.
 10491  func (s *ECSService) SetClusterName(v string) *ECSService {
 10492  	s.ClusterName = &v
 10493  	return s
 10494  }
 10495  
 10496  // SetServiceName sets the ServiceName field's value.
 10497  func (s *ECSService) SetServiceName(v string) *ECSService {
 10498  	s.ServiceName = &v
 10499  	return s
 10500  }
 10501  
 10502  // The Amazon ECS service is associated with more than one deployment groups.
 10503  // An Amazon ECS service can be associated with only one deployment group.
 10504  type ECSServiceMappingLimitExceededException struct {
 10505  	_            struct{}                  `type:"structure"`
 10506  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 10507  
 10508  	Message_ *string `locationName:"message" type:"string"`
 10509  }
 10510  
 10511  // String returns the string representation.
 10512  //
 10513  // API parameter values that are decorated as "sensitive" in the API will not
 10514  // be included in the string output. The member name will be present, but the
 10515  // value will be replaced with "sensitive".
 10516  func (s ECSServiceMappingLimitExceededException) String() string {
 10517  	return awsutil.Prettify(s)
 10518  }
 10519  
 10520  // GoString returns the string representation.
 10521  //
 10522  // API parameter values that are decorated as "sensitive" in the API will not
 10523  // be included in the string output. The member name will be present, but the
 10524  // value will be replaced with "sensitive".
 10525  func (s ECSServiceMappingLimitExceededException) GoString() string {
 10526  	return s.String()
 10527  }
 10528  
 10529  func newErrorECSServiceMappingLimitExceededException(v protocol.ResponseMetadata) error {
 10530  	return &ECSServiceMappingLimitExceededException{
 10531  		RespMetadata: v,
 10532  	}
 10533  }
 10534  
 10535  // Code returns the exception type name.
 10536  func (s *ECSServiceMappingLimitExceededException) Code() string {
 10537  	return "ECSServiceMappingLimitExceededException"
 10538  }
 10539  
 10540  // Message returns the exception's message.
 10541  func (s *ECSServiceMappingLimitExceededException) Message() string {
 10542  	if s.Message_ != nil {
 10543  		return *s.Message_
 10544  	}
 10545  	return ""
 10546  }
 10547  
 10548  // OrigErr always returns nil, satisfies awserr.Error interface.
 10549  func (s *ECSServiceMappingLimitExceededException) OrigErr() error {
 10550  	return nil
 10551  }
 10552  
 10553  func (s *ECSServiceMappingLimitExceededException) Error() string {
 10554  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 10555  }
 10556  
 10557  // Status code returns the HTTP status code for the request's response error.
 10558  func (s *ECSServiceMappingLimitExceededException) StatusCode() int {
 10559  	return s.RespMetadata.StatusCode
 10560  }
 10561  
 10562  // RequestID returns the service's response RequestID for request.
 10563  func (s *ECSServiceMappingLimitExceededException) RequestID() string {
 10564  	return s.RespMetadata.RequestID
 10565  }
 10566  
 10567  // Information about the target of an Amazon ECS deployment.
 10568  type ECSTarget struct {
 10569  	_ struct{} `type:"structure"`
 10570  
 10571  	// The unique ID of a deployment.
 10572  	DeploymentId *string `locationName:"deploymentId" type:"string"`
 10573  
 10574  	// The date and time when the target Amazon ECS application was updated by a
 10575  	// deployment.
 10576  	LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
 10577  
 10578  	// The lifecycle events of the deployment to this target Amazon ECS application.
 10579  	LifecycleEvents []*LifecycleEvent `locationName:"lifecycleEvents" type:"list"`
 10580  
 10581  	// The status an Amazon ECS deployment's target ECS application.
 10582  	Status *string `locationName:"status" type:"string" enum:"TargetStatus"`
 10583  
 10584  	// The Amazon Resource Name (ARN) of the target.
 10585  	TargetArn *string `locationName:"targetArn" type:"string"`
 10586  
 10587  	// The unique ID of a deployment target that has a type of ecsTarget.
 10588  	TargetId *string `locationName:"targetId" type:"string"`
 10589  
 10590  	// The ECSTaskSet objects associated with the ECS target.
 10591  	TaskSetsInfo []*ECSTaskSet `locationName:"taskSetsInfo" type:"list"`
 10592  }
 10593  
 10594  // String returns the string representation.
 10595  //
 10596  // API parameter values that are decorated as "sensitive" in the API will not
 10597  // be included in the string output. The member name will be present, but the
 10598  // value will be replaced with "sensitive".
 10599  func (s ECSTarget) String() string {
 10600  	return awsutil.Prettify(s)
 10601  }
 10602  
 10603  // GoString returns the string representation.
 10604  //
 10605  // API parameter values that are decorated as "sensitive" in the API will not
 10606  // be included in the string output. The member name will be present, but the
 10607  // value will be replaced with "sensitive".
 10608  func (s ECSTarget) GoString() string {
 10609  	return s.String()
 10610  }
 10611  
 10612  // SetDeploymentId sets the DeploymentId field's value.
 10613  func (s *ECSTarget) SetDeploymentId(v string) *ECSTarget {
 10614  	s.DeploymentId = &v
 10615  	return s
 10616  }
 10617  
 10618  // SetLastUpdatedAt sets the LastUpdatedAt field's value.
 10619  func (s *ECSTarget) SetLastUpdatedAt(v time.Time) *ECSTarget {
 10620  	s.LastUpdatedAt = &v
 10621  	return s
 10622  }
 10623  
 10624  // SetLifecycleEvents sets the LifecycleEvents field's value.
 10625  func (s *ECSTarget) SetLifecycleEvents(v []*LifecycleEvent) *ECSTarget {
 10626  	s.LifecycleEvents = v
 10627  	return s
 10628  }
 10629  
 10630  // SetStatus sets the Status field's value.
 10631  func (s *ECSTarget) SetStatus(v string) *ECSTarget {
 10632  	s.Status = &v
 10633  	return s
 10634  }
 10635  
 10636  // SetTargetArn sets the TargetArn field's value.
 10637  func (s *ECSTarget) SetTargetArn(v string) *ECSTarget {
 10638  	s.TargetArn = &v
 10639  	return s
 10640  }
 10641  
 10642  // SetTargetId sets the TargetId field's value.
 10643  func (s *ECSTarget) SetTargetId(v string) *ECSTarget {
 10644  	s.TargetId = &v
 10645  	return s
 10646  }
 10647  
 10648  // SetTaskSetsInfo sets the TaskSetsInfo field's value.
 10649  func (s *ECSTarget) SetTaskSetsInfo(v []*ECSTaskSet) *ECSTarget {
 10650  	s.TaskSetsInfo = v
 10651  	return s
 10652  }
 10653  
 10654  // Information about a set of Amazon ECS tasks in an AWS CodeDeploy deployment.
 10655  // An Amazon ECS task set includes details such as the desired number of tasks,
 10656  // how many tasks are running, and whether the task set serves production traffic.
 10657  // An AWS CodeDeploy application that uses the Amazon ECS compute platform deploys
 10658  // a containerized application in an Amazon ECS service as a task set.
 10659  type ECSTaskSet struct {
 10660  	_ struct{} `type:"structure"`
 10661  
 10662  	// The number of tasks in a task set. During a deployment that uses the Amazon
 10663  	// ECS compute type, CodeDeploy instructs Amazon ECS to create a new task set
 10664  	// and uses this value to determine how many tasks to create. After the updated
 10665  	// task set is created, CodeDeploy shifts traffic to the new task set.
 10666  	DesiredCount *int64 `locationName:"desiredCount" type:"long"`
 10667  
 10668  	// A unique ID of an ECSTaskSet.
 10669  	Identifer *string `locationName:"identifer" type:"string"`
 10670  
 10671  	// The number of tasks in the task set that are in the PENDING status during
 10672  	// an Amazon ECS deployment. A task in the PENDING state is preparing to enter
 10673  	// the RUNNING state. A task set enters the PENDING status when it launches
 10674  	// for the first time, or when it is restarted after being in the STOPPED state.
 10675  	PendingCount *int64 `locationName:"pendingCount" type:"long"`
 10676  
 10677  	// The number of tasks in the task set that are in the RUNNING status during
 10678  	// an Amazon ECS deployment. A task in the RUNNING state is running and ready
 10679  	// for use.
 10680  	RunningCount *int64 `locationName:"runningCount" type:"long"`
 10681  
 10682  	// The status of the task set. There are three valid task set statuses:
 10683  	//
 10684  	//    * PRIMARY: Indicates the task set is serving production traffic.
 10685  	//
 10686  	//    * ACTIVE: Indicates the task set is not serving production traffic.
 10687  	//
 10688  	//    * DRAINING: Indicates the tasks in the task set are being stopped and
 10689  	//    their corresponding targets are being deregistered from their target group.
 10690  	Status *string `locationName:"status" type:"string"`
 10691  
 10692  	// The target group associated with the task set. The target group is used by
 10693  	// AWS CodeDeploy to manage traffic to a task set.
 10694  	TargetGroup *TargetGroupInfo `locationName:"targetGroup" type:"structure"`
 10695  
 10696  	// A label that identifies whether the ECS task set is an original target (BLUE)
 10697  	// or a replacement target (GREEN).
 10698  	TaskSetLabel *string `locationName:"taskSetLabel" type:"string" enum:"TargetLabel"`
 10699  
 10700  	// The percentage of traffic served by this task set.
 10701  	TrafficWeight *float64 `locationName:"trafficWeight" type:"double"`
 10702  }
 10703  
 10704  // String returns the string representation.
 10705  //
 10706  // API parameter values that are decorated as "sensitive" in the API will not
 10707  // be included in the string output. The member name will be present, but the
 10708  // value will be replaced with "sensitive".
 10709  func (s ECSTaskSet) String() string {
 10710  	return awsutil.Prettify(s)
 10711  }
 10712  
 10713  // GoString returns the string representation.
 10714  //
 10715  // API parameter values that are decorated as "sensitive" in the API will not
 10716  // be included in the string output. The member name will be present, but the
 10717  // value will be replaced with "sensitive".
 10718  func (s ECSTaskSet) GoString() string {
 10719  	return s.String()
 10720  }
 10721  
 10722  // SetDesiredCount sets the DesiredCount field's value.
 10723  func (s *ECSTaskSet) SetDesiredCount(v int64) *ECSTaskSet {
 10724  	s.DesiredCount = &v
 10725  	return s
 10726  }
 10727  
 10728  // SetIdentifer sets the Identifer field's value.
 10729  func (s *ECSTaskSet) SetIdentifer(v string) *ECSTaskSet {
 10730  	s.Identifer = &v
 10731  	return s
 10732  }
 10733  
 10734  // SetPendingCount sets the PendingCount field's value.
 10735  func (s *ECSTaskSet) SetPendingCount(v int64) *ECSTaskSet {
 10736  	s.PendingCount = &v
 10737  	return s
 10738  }
 10739  
 10740  // SetRunningCount sets the RunningCount field's value.
 10741  func (s *ECSTaskSet) SetRunningCount(v int64) *ECSTaskSet {
 10742  	s.RunningCount = &v
 10743  	return s
 10744  }
 10745  
 10746  // SetStatus sets the Status field's value.
 10747  func (s *ECSTaskSet) SetStatus(v string) *ECSTaskSet {
 10748  	s.Status = &v
 10749  	return s
 10750  }
 10751  
 10752  // SetTargetGroup sets the TargetGroup field's value.
 10753  func (s *ECSTaskSet) SetTargetGroup(v *TargetGroupInfo) *ECSTaskSet {
 10754  	s.TargetGroup = v
 10755  	return s
 10756  }
 10757  
 10758  // SetTaskSetLabel sets the TaskSetLabel field's value.
 10759  func (s *ECSTaskSet) SetTaskSetLabel(v string) *ECSTaskSet {
 10760  	s.TaskSetLabel = &v
 10761  	return s
 10762  }
 10763  
 10764  // SetTrafficWeight sets the TrafficWeight field's value.
 10765  func (s *ECSTaskSet) SetTrafficWeight(v float64) *ECSTaskSet {
 10766  	s.TrafficWeight = &v
 10767  	return s
 10768  }
 10769  
 10770  // Information about a load balancer in Elastic Load Balancing to use in a deployment.
 10771  // Instances are registered directly with a load balancer, and traffic is routed
 10772  // to the load balancer.
 10773  type ELBInfo struct {
 10774  	_ struct{} `type:"structure"`
 10775  
 10776  	// For blue/green deployments, the name of the load balancer that is used to
 10777  	// route traffic from original instances to replacement instances in a blue/green
 10778  	// deployment. For in-place deployments, the name of the load balancer that
 10779  	// instances are deregistered from so they are not serving traffic during a
 10780  	// deployment, and then re-registered with after the deployment is complete.
 10781  	Name *string `locationName:"name" type:"string"`
 10782  }
 10783  
 10784  // String returns the string representation.
 10785  //
 10786  // API parameter values that are decorated as "sensitive" in the API will not
 10787  // be included in the string output. The member name will be present, but the
 10788  // value will be replaced with "sensitive".
 10789  func (s ELBInfo) String() string {
 10790  	return awsutil.Prettify(s)
 10791  }
 10792  
 10793  // GoString returns the string representation.
 10794  //
 10795  // API parameter values that are decorated as "sensitive" in the API will not
 10796  // be included in the string output. The member name will be present, but the
 10797  // value will be replaced with "sensitive".
 10798  func (s ELBInfo) GoString() string {
 10799  	return s.String()
 10800  }
 10801  
 10802  // SetName sets the Name field's value.
 10803  func (s *ELBInfo) SetName(v string) *ELBInfo {
 10804  	s.Name = &v
 10805  	return s
 10806  }
 10807  
 10808  // Information about a deployment error.
 10809  type ErrorInformation struct {
 10810  	_ struct{} `type:"structure"`
 10811  
 10812  	// For more information, see Error Codes for AWS CodeDeploy (https://docs.aws.amazon.com/codedeploy/latest/userguide/error-codes.html)
 10813  	// in the AWS CodeDeploy User Guide (https://docs.aws.amazon.com/codedeploy/latest/userguide).
 10814  	//
 10815  	// The error code:
 10816  	//
 10817  	//    * APPLICATION_MISSING: The application was missing. This error code is
 10818  	//    most likely raised if the application is deleted after the deployment
 10819  	//    is created, but before it is started.
 10820  	//
 10821  	//    * DEPLOYMENT_GROUP_MISSING: The deployment group was missing. This error
 10822  	//    code is most likely raised if the deployment group is deleted after the
 10823  	//    deployment is created, but before it is started.
 10824  	//
 10825  	//    * HEALTH_CONSTRAINTS: The deployment failed on too many instances to be
 10826  	//    successfully deployed within the instance health constraints specified.
 10827  	//
 10828  	//    * HEALTH_CONSTRAINTS_INVALID: The revision cannot be successfully deployed
 10829  	//    within the instance health constraints specified.
 10830  	//
 10831  	//    * IAM_ROLE_MISSING: The service role cannot be accessed.
 10832  	//
 10833  	//    * IAM_ROLE_PERMISSIONS: The service role does not have the correct permissions.
 10834  	//
 10835  	//    * INTERNAL_ERROR: There was an internal error.
 10836  	//
 10837  	//    * NO_EC2_SUBSCRIPTION: The calling account is not subscribed to Amazon
 10838  	//    EC2.
 10839  	//
 10840  	//    * NO_INSTANCES: No instances were specified, or no instances can be found.
 10841  	//
 10842  	//    * OVER_MAX_INSTANCES: The maximum number of instances was exceeded.
 10843  	//
 10844  	//    * THROTTLED: The operation was throttled because the calling account exceeded
 10845  	//    the throttling limits of one or more AWS services.
 10846  	//
 10847  	//    * TIMEOUT: The deployment has timed out.
 10848  	//
 10849  	//    * REVISION_MISSING: The revision ID was missing. This error code is most
 10850  	//    likely raised if the revision is deleted after the deployment is created,
 10851  	//    but before it is started.
 10852  	Code *string `locationName:"code" type:"string" enum:"ErrorCode"`
 10853  
 10854  	// An accompanying error message.
 10855  	Message *string `locationName:"message" type:"string"`
 10856  }
 10857  
 10858  // String returns the string representation.
 10859  //
 10860  // API parameter values that are decorated as "sensitive" in the API will not
 10861  // be included in the string output. The member name will be present, but the
 10862  // value will be replaced with "sensitive".
 10863  func (s ErrorInformation) String() string {
 10864  	return awsutil.Prettify(s)
 10865  }
 10866  
 10867  // GoString returns the string representation.
 10868  //
 10869  // API parameter values that are decorated as "sensitive" in the API will not
 10870  // be included in the string output. The member name will be present, but the
 10871  // value will be replaced with "sensitive".
 10872  func (s ErrorInformation) GoString() string {
 10873  	return s.String()
 10874  }
 10875  
 10876  // SetCode sets the Code field's value.
 10877  func (s *ErrorInformation) SetCode(v string) *ErrorInformation {
 10878  	s.Code = &v
 10879  	return s
 10880  }
 10881  
 10882  // SetMessage sets the Message field's value.
 10883  func (s *ErrorInformation) SetMessage(v string) *ErrorInformation {
 10884  	s.Message = &v
 10885  	return s
 10886  }
 10887  
 10888  // Information about an application revision.
 10889  type GenericRevisionInfo struct {
 10890  	_ struct{} `type:"structure"`
 10891  
 10892  	// The deployment groups for which this is the current target revision.
 10893  	DeploymentGroups []*string `locationName:"deploymentGroups" type:"list"`
 10894  
 10895  	// A comment about the revision.
 10896  	Description *string `locationName:"description" type:"string"`
 10897  
 10898  	// When the revision was first used by AWS CodeDeploy.
 10899  	FirstUsedTime *time.Time `locationName:"firstUsedTime" type:"timestamp"`
 10900  
 10901  	// When the revision was last used by AWS CodeDeploy.
 10902  	LastUsedTime *time.Time `locationName:"lastUsedTime" type:"timestamp"`
 10903  
 10904  	// When the revision was registered with AWS CodeDeploy.
 10905  	RegisterTime *time.Time `locationName:"registerTime" type:"timestamp"`
 10906  }
 10907  
 10908  // String returns the string representation.
 10909  //
 10910  // API parameter values that are decorated as "sensitive" in the API will not
 10911  // be included in the string output. The member name will be present, but the
 10912  // value will be replaced with "sensitive".
 10913  func (s GenericRevisionInfo) String() string {
 10914  	return awsutil.Prettify(s)
 10915  }
 10916  
 10917  // GoString returns the string representation.
 10918  //
 10919  // API parameter values that are decorated as "sensitive" in the API will not
 10920  // be included in the string output. The member name will be present, but the
 10921  // value will be replaced with "sensitive".
 10922  func (s GenericRevisionInfo) GoString() string {
 10923  	return s.String()
 10924  }
 10925  
 10926  // SetDeploymentGroups sets the DeploymentGroups field's value.
 10927  func (s *GenericRevisionInfo) SetDeploymentGroups(v []*string) *GenericRevisionInfo {
 10928  	s.DeploymentGroups = v
 10929  	return s
 10930  }
 10931  
 10932  // SetDescription sets the Description field's value.
 10933  func (s *GenericRevisionInfo) SetDescription(v string) *GenericRevisionInfo {
 10934  	s.Description = &v
 10935  	return s
 10936  }
 10937  
 10938  // SetFirstUsedTime sets the FirstUsedTime field's value.
 10939  func (s *GenericRevisionInfo) SetFirstUsedTime(v time.Time) *GenericRevisionInfo {
 10940  	s.FirstUsedTime = &v
 10941  	return s
 10942  }
 10943  
 10944  // SetLastUsedTime sets the LastUsedTime field's value.
 10945  func (s *GenericRevisionInfo) SetLastUsedTime(v time.Time) *GenericRevisionInfo {
 10946  	s.LastUsedTime = &v
 10947  	return s
 10948  }
 10949  
 10950  // SetRegisterTime sets the RegisterTime field's value.
 10951  func (s *GenericRevisionInfo) SetRegisterTime(v time.Time) *GenericRevisionInfo {
 10952  	s.RegisterTime = &v
 10953  	return s
 10954  }
 10955  
 10956  // Represents the input of a GetApplication operation.
 10957  type GetApplicationInput struct {
 10958  	_ struct{} `type:"structure"`
 10959  
 10960  	// The name of an AWS CodeDeploy application associated with the IAM user or
 10961  	// AWS account.
 10962  	//
 10963  	// ApplicationName is a required field
 10964  	ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`
 10965  }
 10966  
 10967  // String returns the string representation.
 10968  //
 10969  // API parameter values that are decorated as "sensitive" in the API will not
 10970  // be included in the string output. The member name will be present, but the
 10971  // value will be replaced with "sensitive".
 10972  func (s GetApplicationInput) String() string {
 10973  	return awsutil.Prettify(s)
 10974  }
 10975  
 10976  // GoString returns the string representation.
 10977  //
 10978  // API parameter values that are decorated as "sensitive" in the API will not
 10979  // be included in the string output. The member name will be present, but the
 10980  // value will be replaced with "sensitive".
 10981  func (s GetApplicationInput) GoString() string {
 10982  	return s.String()
 10983  }
 10984  
 10985  // Validate inspects the fields of the type to determine if they are valid.
 10986  func (s *GetApplicationInput) Validate() error {
 10987  	invalidParams := request.ErrInvalidParams{Context: "GetApplicationInput"}
 10988  	if s.ApplicationName == nil {
 10989  		invalidParams.Add(request.NewErrParamRequired("ApplicationName"))
 10990  	}
 10991  	if s.ApplicationName != nil && len(*s.ApplicationName) < 1 {
 10992  		invalidParams.Add(request.NewErrParamMinLen("ApplicationName", 1))
 10993  	}
 10994  
 10995  	if invalidParams.Len() > 0 {
 10996  		return invalidParams
 10997  	}
 10998  	return nil
 10999  }
 11000  
 11001  // SetApplicationName sets the ApplicationName field's value.
 11002  func (s *GetApplicationInput) SetApplicationName(v string) *GetApplicationInput {
 11003  	s.ApplicationName = &v
 11004  	return s
 11005  }
 11006  
 11007  // Represents the output of a GetApplication operation.
 11008  type GetApplicationOutput struct {
 11009  	_ struct{} `type:"structure"`
 11010  
 11011  	// Information about the application.
 11012  	Application *ApplicationInfo `locationName:"application" type:"structure"`
 11013  }
 11014  
 11015  // String returns the string representation.
 11016  //
 11017  // API parameter values that are decorated as "sensitive" in the API will not
 11018  // be included in the string output. The member name will be present, but the
 11019  // value will be replaced with "sensitive".
 11020  func (s GetApplicationOutput) String() string {
 11021  	return awsutil.Prettify(s)
 11022  }
 11023  
 11024  // GoString returns the string representation.
 11025  //
 11026  // API parameter values that are decorated as "sensitive" in the API will not
 11027  // be included in the string output. The member name will be present, but the
 11028  // value will be replaced with "sensitive".
 11029  func (s GetApplicationOutput) GoString() string {
 11030  	return s.String()
 11031  }
 11032  
 11033  // SetApplication sets the Application field's value.
 11034  func (s *GetApplicationOutput) SetApplication(v *ApplicationInfo) *GetApplicationOutput {
 11035  	s.Application = v
 11036  	return s
 11037  }
 11038  
 11039  // Represents the input of a GetApplicationRevision operation.
 11040  type GetApplicationRevisionInput struct {
 11041  	_ struct{} `type:"structure"`
 11042  
 11043  	// The name of the application that corresponds to the revision.
 11044  	//
 11045  	// ApplicationName is a required field
 11046  	ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`
 11047  
 11048  	// Information about the application revision to get, including type and location.
 11049  	//
 11050  	// Revision is a required field
 11051  	Revision *RevisionLocation `locationName:"revision" type:"structure" required:"true"`
 11052  }
 11053  
 11054  // String returns the string representation.
 11055  //
 11056  // API parameter values that are decorated as "sensitive" in the API will not
 11057  // be included in the string output. The member name will be present, but the
 11058  // value will be replaced with "sensitive".
 11059  func (s GetApplicationRevisionInput) String() string {
 11060  	return awsutil.Prettify(s)
 11061  }
 11062  
 11063  // GoString returns the string representation.
 11064  //
 11065  // API parameter values that are decorated as "sensitive" in the API will not
 11066  // be included in the string output. The member name will be present, but the
 11067  // value will be replaced with "sensitive".
 11068  func (s GetApplicationRevisionInput) GoString() string {
 11069  	return s.String()
 11070  }
 11071  
 11072  // Validate inspects the fields of the type to determine if they are valid.
 11073  func (s *GetApplicationRevisionInput) Validate() error {
 11074  	invalidParams := request.ErrInvalidParams{Context: "GetApplicationRevisionInput"}
 11075  	if s.ApplicationName == nil {
 11076  		invalidParams.Add(request.NewErrParamRequired("ApplicationName"))
 11077  	}
 11078  	if s.ApplicationName != nil && len(*s.ApplicationName) < 1 {
 11079  		invalidParams.Add(request.NewErrParamMinLen("ApplicationName", 1))
 11080  	}
 11081  	if s.Revision == nil {
 11082  		invalidParams.Add(request.NewErrParamRequired("Revision"))
 11083  	}
 11084  
 11085  	if invalidParams.Len() > 0 {
 11086  		return invalidParams
 11087  	}
 11088  	return nil
 11089  }
 11090  
 11091  // SetApplicationName sets the ApplicationName field's value.
 11092  func (s *GetApplicationRevisionInput) SetApplicationName(v string) *GetApplicationRevisionInput {
 11093  	s.ApplicationName = &v
 11094  	return s
 11095  }
 11096  
 11097  // SetRevision sets the Revision field's value.
 11098  func (s *GetApplicationRevisionInput) SetRevision(v *RevisionLocation) *GetApplicationRevisionInput {
 11099  	s.Revision = v
 11100  	return s
 11101  }
 11102  
 11103  // Represents the output of a GetApplicationRevision operation.
 11104  type GetApplicationRevisionOutput struct {
 11105  	_ struct{} `type:"structure"`
 11106  
 11107  	// The name of the application that corresponds to the revision.
 11108  	ApplicationName *string `locationName:"applicationName" min:"1" type:"string"`
 11109  
 11110  	// Additional information about the revision, including type and location.
 11111  	Revision *RevisionLocation `locationName:"revision" type:"structure"`
 11112  
 11113  	// General information about the revision.
 11114  	RevisionInfo *GenericRevisionInfo `locationName:"revisionInfo" type:"structure"`
 11115  }
 11116  
 11117  // String returns the string representation.
 11118  //
 11119  // API parameter values that are decorated as "sensitive" in the API will not
 11120  // be included in the string output. The member name will be present, but the
 11121  // value will be replaced with "sensitive".
 11122  func (s GetApplicationRevisionOutput) String() string {
 11123  	return awsutil.Prettify(s)
 11124  }
 11125  
 11126  // GoString returns the string representation.
 11127  //
 11128  // API parameter values that are decorated as "sensitive" in the API will not
 11129  // be included in the string output. The member name will be present, but the
 11130  // value will be replaced with "sensitive".
 11131  func (s GetApplicationRevisionOutput) GoString() string {
 11132  	return s.String()
 11133  }
 11134  
 11135  // SetApplicationName sets the ApplicationName field's value.
 11136  func (s *GetApplicationRevisionOutput) SetApplicationName(v string) *GetApplicationRevisionOutput {
 11137  	s.ApplicationName = &v
 11138  	return s
 11139  }
 11140  
 11141  // SetRevision sets the Revision field's value.
 11142  func (s *GetApplicationRevisionOutput) SetRevision(v *RevisionLocation) *GetApplicationRevisionOutput {
 11143  	s.Revision = v
 11144  	return s
 11145  }
 11146  
 11147  // SetRevisionInfo sets the RevisionInfo field's value.
 11148  func (s *GetApplicationRevisionOutput) SetRevisionInfo(v *GenericRevisionInfo) *GetApplicationRevisionOutput {
 11149  	s.RevisionInfo = v
 11150  	return s
 11151  }
 11152  
 11153  // Represents the input of a GetDeploymentConfig operation.
 11154  type GetDeploymentConfigInput struct {
 11155  	_ struct{} `type:"structure"`
 11156  
 11157  	// The name of a deployment configuration associated with the IAM user or AWS
 11158  	// account.
 11159  	//
 11160  	// DeploymentConfigName is a required field
 11161  	DeploymentConfigName *string `locationName:"deploymentConfigName" min:"1" type:"string" required:"true"`
 11162  }
 11163  
 11164  // String returns the string representation.
 11165  //
 11166  // API parameter values that are decorated as "sensitive" in the API will not
 11167  // be included in the string output. The member name will be present, but the
 11168  // value will be replaced with "sensitive".
 11169  func (s GetDeploymentConfigInput) String() string {
 11170  	return awsutil.Prettify(s)
 11171  }
 11172  
 11173  // GoString returns the string representation.
 11174  //
 11175  // API parameter values that are decorated as "sensitive" in the API will not
 11176  // be included in the string output. The member name will be present, but the
 11177  // value will be replaced with "sensitive".
 11178  func (s GetDeploymentConfigInput) GoString() string {
 11179  	return s.String()
 11180  }
 11181  
 11182  // Validate inspects the fields of the type to determine if they are valid.
 11183  func (s *GetDeploymentConfigInput) Validate() error {
 11184  	invalidParams := request.ErrInvalidParams{Context: "GetDeploymentConfigInput"}
 11185  	if s.DeploymentConfigName == nil {
 11186  		invalidParams.Add(request.NewErrParamRequired("DeploymentConfigName"))
 11187  	}
 11188  	if s.DeploymentConfigName != nil && len(*s.DeploymentConfigName) < 1 {
 11189  		invalidParams.Add(request.NewErrParamMinLen("DeploymentConfigName", 1))
 11190  	}
 11191  
 11192  	if invalidParams.Len() > 0 {
 11193  		return invalidParams
 11194  	}
 11195  	return nil
 11196  }
 11197  
 11198  // SetDeploymentConfigName sets the DeploymentConfigName field's value.
 11199  func (s *GetDeploymentConfigInput) SetDeploymentConfigName(v string) *GetDeploymentConfigInput {
 11200  	s.DeploymentConfigName = &v
 11201  	return s
 11202  }
 11203  
 11204  // Represents the output of a GetDeploymentConfig operation.
 11205  type GetDeploymentConfigOutput struct {
 11206  	_ struct{} `type:"structure"`
 11207  
 11208  	// Information about the deployment configuration.
 11209  	DeploymentConfigInfo *DeploymentConfigInfo `locationName:"deploymentConfigInfo" type:"structure"`
 11210  }
 11211  
 11212  // String returns the string representation.
 11213  //
 11214  // API parameter values that are decorated as "sensitive" in the API will not
 11215  // be included in the string output. The member name will be present, but the
 11216  // value will be replaced with "sensitive".
 11217  func (s GetDeploymentConfigOutput) String() string {
 11218  	return awsutil.Prettify(s)
 11219  }
 11220  
 11221  // GoString returns the string representation.
 11222  //
 11223  // API parameter values that are decorated as "sensitive" in the API will not
 11224  // be included in the string output. The member name will be present, but the
 11225  // value will be replaced with "sensitive".
 11226  func (s GetDeploymentConfigOutput) GoString() string {
 11227  	return s.String()
 11228  }
 11229  
 11230  // SetDeploymentConfigInfo sets the DeploymentConfigInfo field's value.
 11231  func (s *GetDeploymentConfigOutput) SetDeploymentConfigInfo(v *DeploymentConfigInfo) *GetDeploymentConfigOutput {
 11232  	s.DeploymentConfigInfo = v
 11233  	return s
 11234  }
 11235  
 11236  // Represents the input of a GetDeploymentGroup operation.
 11237  type GetDeploymentGroupInput struct {
 11238  	_ struct{} `type:"structure"`
 11239  
 11240  	// The name of an AWS CodeDeploy application associated with the IAM user or
 11241  	// AWS account.
 11242  	//
 11243  	// ApplicationName is a required field
 11244  	ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`
 11245  
 11246  	// The name of a deployment group for the specified application.
 11247  	//
 11248  	// DeploymentGroupName is a required field
 11249  	DeploymentGroupName *string `locationName:"deploymentGroupName" min:"1" type:"string" required:"true"`
 11250  }
 11251  
 11252  // String returns the string representation.
 11253  //
 11254  // API parameter values that are decorated as "sensitive" in the API will not
 11255  // be included in the string output. The member name will be present, but the
 11256  // value will be replaced with "sensitive".
 11257  func (s GetDeploymentGroupInput) String() string {
 11258  	return awsutil.Prettify(s)
 11259  }
 11260  
 11261  // GoString returns the string representation.
 11262  //
 11263  // API parameter values that are decorated as "sensitive" in the API will not
 11264  // be included in the string output. The member name will be present, but the
 11265  // value will be replaced with "sensitive".
 11266  func (s GetDeploymentGroupInput) GoString() string {
 11267  	return s.String()
 11268  }
 11269  
 11270  // Validate inspects the fields of the type to determine if they are valid.
 11271  func (s *GetDeploymentGroupInput) Validate() error {
 11272  	invalidParams := request.ErrInvalidParams{Context: "GetDeploymentGroupInput"}
 11273  	if s.ApplicationName == nil {
 11274  		invalidParams.Add(request.NewErrParamRequired("ApplicationName"))
 11275  	}
 11276  	if s.ApplicationName != nil && len(*s.ApplicationName) < 1 {
 11277  		invalidParams.Add(request.NewErrParamMinLen("ApplicationName", 1))
 11278  	}
 11279  	if s.DeploymentGroupName == nil {
 11280  		invalidParams.Add(request.NewErrParamRequired("DeploymentGroupName"))
 11281  	}
 11282  	if s.DeploymentGroupName != nil && len(*s.DeploymentGroupName) < 1 {
 11283  		invalidParams.Add(request.NewErrParamMinLen("DeploymentGroupName", 1))
 11284  	}
 11285  
 11286  	if invalidParams.Len() > 0 {
 11287  		return invalidParams
 11288  	}
 11289  	return nil
 11290  }
 11291  
 11292  // SetApplicationName sets the ApplicationName field's value.
 11293  func (s *GetDeploymentGroupInput) SetApplicationName(v string) *GetDeploymentGroupInput {
 11294  	s.ApplicationName = &v
 11295  	return s
 11296  }
 11297  
 11298  // SetDeploymentGroupName sets the DeploymentGroupName field's value.
 11299  func (s *GetDeploymentGroupInput) SetDeploymentGroupName(v string) *GetDeploymentGroupInput {
 11300  	s.DeploymentGroupName = &v
 11301  	return s
 11302  }
 11303  
 11304  // Represents the output of a GetDeploymentGroup operation.
 11305  type GetDeploymentGroupOutput struct {
 11306  	_ struct{} `type:"structure"`
 11307  
 11308  	// Information about the deployment group.
 11309  	DeploymentGroupInfo *DeploymentGroupInfo `locationName:"deploymentGroupInfo" type:"structure"`
 11310  }
 11311  
 11312  // String returns the string representation.
 11313  //
 11314  // API parameter values that are decorated as "sensitive" in the API will not
 11315  // be included in the string output. The member name will be present, but the
 11316  // value will be replaced with "sensitive".
 11317  func (s GetDeploymentGroupOutput) String() string {
 11318  	return awsutil.Prettify(s)
 11319  }
 11320  
 11321  // GoString returns the string representation.
 11322  //
 11323  // API parameter values that are decorated as "sensitive" in the API will not
 11324  // be included in the string output. The member name will be present, but the
 11325  // value will be replaced with "sensitive".
 11326  func (s GetDeploymentGroupOutput) GoString() string {
 11327  	return s.String()
 11328  }
 11329  
 11330  // SetDeploymentGroupInfo sets the DeploymentGroupInfo field's value.
 11331  func (s *GetDeploymentGroupOutput) SetDeploymentGroupInfo(v *DeploymentGroupInfo) *GetDeploymentGroupOutput {
 11332  	s.DeploymentGroupInfo = v
 11333  	return s
 11334  }
 11335  
 11336  // Represents the input of a GetDeployment operation.
 11337  type GetDeploymentInput struct {
 11338  	_ struct{} `type:"structure"`
 11339  
 11340  	// The unique ID of a deployment associated with the IAM user or AWS account.
 11341  	//
 11342  	// DeploymentId is a required field
 11343  	DeploymentId *string `locationName:"deploymentId" type:"string" required:"true"`
 11344  }
 11345  
 11346  // String returns the string representation.
 11347  //
 11348  // API parameter values that are decorated as "sensitive" in the API will not
 11349  // be included in the string output. The member name will be present, but the
 11350  // value will be replaced with "sensitive".
 11351  func (s GetDeploymentInput) String() string {
 11352  	return awsutil.Prettify(s)
 11353  }
 11354  
 11355  // GoString returns the string representation.
 11356  //
 11357  // API parameter values that are decorated as "sensitive" in the API will not
 11358  // be included in the string output. The member name will be present, but the
 11359  // value will be replaced with "sensitive".
 11360  func (s GetDeploymentInput) GoString() string {
 11361  	return s.String()
 11362  }
 11363  
 11364  // Validate inspects the fields of the type to determine if they are valid.
 11365  func (s *GetDeploymentInput) Validate() error {
 11366  	invalidParams := request.ErrInvalidParams{Context: "GetDeploymentInput"}
 11367  	if s.DeploymentId == nil {
 11368  		invalidParams.Add(request.NewErrParamRequired("DeploymentId"))
 11369  	}
 11370  
 11371  	if invalidParams.Len() > 0 {
 11372  		return invalidParams
 11373  	}
 11374  	return nil
 11375  }
 11376  
 11377  // SetDeploymentId sets the DeploymentId field's value.
 11378  func (s *GetDeploymentInput) SetDeploymentId(v string) *GetDeploymentInput {
 11379  	s.DeploymentId = &v
 11380  	return s
 11381  }
 11382  
 11383  // Represents the input of a GetDeploymentInstance operation.
 11384  type GetDeploymentInstanceInput struct {
 11385  	_ struct{} `type:"structure"`
 11386  
 11387  	// The unique ID of a deployment.
 11388  	//
 11389  	// DeploymentId is a required field
 11390  	DeploymentId *string `locationName:"deploymentId" type:"string" required:"true"`
 11391  
 11392  	// The unique ID of an instance in the deployment group.
 11393  	//
 11394  	// InstanceId is a required field
 11395  	InstanceId *string `locationName:"instanceId" type:"string" required:"true"`
 11396  }
 11397  
 11398  // String returns the string representation.
 11399  //
 11400  // API parameter values that are decorated as "sensitive" in the API will not
 11401  // be included in the string output. The member name will be present, but the
 11402  // value will be replaced with "sensitive".
 11403  func (s GetDeploymentInstanceInput) String() string {
 11404  	return awsutil.Prettify(s)
 11405  }
 11406  
 11407  // GoString returns the string representation.
 11408  //
 11409  // API parameter values that are decorated as "sensitive" in the API will not
 11410  // be included in the string output. The member name will be present, but the
 11411  // value will be replaced with "sensitive".
 11412  func (s GetDeploymentInstanceInput) GoString() string {
 11413  	return s.String()
 11414  }
 11415  
 11416  // Validate inspects the fields of the type to determine if they are valid.
 11417  func (s *GetDeploymentInstanceInput) Validate() error {
 11418  	invalidParams := request.ErrInvalidParams{Context: "GetDeploymentInstanceInput"}
 11419  	if s.DeploymentId == nil {
 11420  		invalidParams.Add(request.NewErrParamRequired("DeploymentId"))
 11421  	}
 11422  	if s.InstanceId == nil {
 11423  		invalidParams.Add(request.NewErrParamRequired("InstanceId"))
 11424  	}
 11425  
 11426  	if invalidParams.Len() > 0 {
 11427  		return invalidParams
 11428  	}
 11429  	return nil
 11430  }
 11431  
 11432  // SetDeploymentId sets the DeploymentId field's value.
 11433  func (s *GetDeploymentInstanceInput) SetDeploymentId(v string) *GetDeploymentInstanceInput {
 11434  	s.DeploymentId = &v
 11435  	return s
 11436  }
 11437  
 11438  // SetInstanceId sets the InstanceId field's value.
 11439  func (s *GetDeploymentInstanceInput) SetInstanceId(v string) *GetDeploymentInstanceInput {
 11440  	s.InstanceId = &v
 11441  	return s
 11442  }
 11443  
 11444  // Represents the output of a GetDeploymentInstance operation.
 11445  type GetDeploymentInstanceOutput struct {
 11446  	_ struct{} `type:"structure"`
 11447  
 11448  	// Information about the instance.
 11449  	InstanceSummary *InstanceSummary `locationName:"instanceSummary" deprecated:"true" type:"structure"`
 11450  }
 11451  
 11452  // String returns the string representation.
 11453  //
 11454  // API parameter values that are decorated as "sensitive" in the API will not
 11455  // be included in the string output. The member name will be present, but the
 11456  // value will be replaced with "sensitive".
 11457  func (s GetDeploymentInstanceOutput) String() string {
 11458  	return awsutil.Prettify(s)
 11459  }
 11460  
 11461  // GoString returns the string representation.
 11462  //
 11463  // API parameter values that are decorated as "sensitive" in the API will not
 11464  // be included in the string output. The member name will be present, but the
 11465  // value will be replaced with "sensitive".
 11466  func (s GetDeploymentInstanceOutput) GoString() string {
 11467  	return s.String()
 11468  }
 11469  
 11470  // SetInstanceSummary sets the InstanceSummary field's value.
 11471  func (s *GetDeploymentInstanceOutput) SetInstanceSummary(v *InstanceSummary) *GetDeploymentInstanceOutput {
 11472  	s.InstanceSummary = v
 11473  	return s
 11474  }
 11475  
 11476  // Represents the output of a GetDeployment operation.
 11477  type GetDeploymentOutput struct {
 11478  	_ struct{} `type:"structure"`
 11479  
 11480  	// Information about the deployment.
 11481  	DeploymentInfo *DeploymentInfo `locationName:"deploymentInfo" type:"structure"`
 11482  }
 11483  
 11484  // String returns the string representation.
 11485  //
 11486  // API parameter values that are decorated as "sensitive" in the API will not
 11487  // be included in the string output. The member name will be present, but the
 11488  // value will be replaced with "sensitive".
 11489  func (s GetDeploymentOutput) String() string {
 11490  	return awsutil.Prettify(s)
 11491  }
 11492  
 11493  // GoString returns the string representation.
 11494  //
 11495  // API parameter values that are decorated as "sensitive" in the API will not
 11496  // be included in the string output. The member name will be present, but the
 11497  // value will be replaced with "sensitive".
 11498  func (s GetDeploymentOutput) GoString() string {
 11499  	return s.String()
 11500  }
 11501  
 11502  // SetDeploymentInfo sets the DeploymentInfo field's value.
 11503  func (s *GetDeploymentOutput) SetDeploymentInfo(v *DeploymentInfo) *GetDeploymentOutput {
 11504  	s.DeploymentInfo = v
 11505  	return s
 11506  }
 11507  
 11508  type GetDeploymentTargetInput struct {
 11509  	_ struct{} `type:"structure"`
 11510  
 11511  	// The unique ID of a deployment.
 11512  	DeploymentId *string `locationName:"deploymentId" type:"string"`
 11513  
 11514  	// The unique ID of a deployment target.
 11515  	TargetId *string `locationName:"targetId" type:"string"`
 11516  }
 11517  
 11518  // String returns the string representation.
 11519  //
 11520  // API parameter values that are decorated as "sensitive" in the API will not
 11521  // be included in the string output. The member name will be present, but the
 11522  // value will be replaced with "sensitive".
 11523  func (s GetDeploymentTargetInput) String() string {
 11524  	return awsutil.Prettify(s)
 11525  }
 11526  
 11527  // GoString returns the string representation.
 11528  //
 11529  // API parameter values that are decorated as "sensitive" in the API will not
 11530  // be included in the string output. The member name will be present, but the
 11531  // value will be replaced with "sensitive".
 11532  func (s GetDeploymentTargetInput) GoString() string {
 11533  	return s.String()
 11534  }
 11535  
 11536  // SetDeploymentId sets the DeploymentId field's value.
 11537  func (s *GetDeploymentTargetInput) SetDeploymentId(v string) *GetDeploymentTargetInput {
 11538  	s.DeploymentId = &v
 11539  	return s
 11540  }
 11541  
 11542  // SetTargetId sets the TargetId field's value.
 11543  func (s *GetDeploymentTargetInput) SetTargetId(v string) *GetDeploymentTargetInput {
 11544  	s.TargetId = &v
 11545  	return s
 11546  }
 11547  
 11548  type GetDeploymentTargetOutput struct {
 11549  	_ struct{} `type:"structure"`
 11550  
 11551  	// A deployment target that contains information about a deployment such as
 11552  	// its status, lifecycle events, and when it was last updated. It also contains
 11553  	// metadata about the deployment target. The deployment target metadata depends
 11554  	// on the deployment target's type (instanceTarget, lambdaTarget, or ecsTarget).
 11555  	DeploymentTarget *DeploymentTarget `locationName:"deploymentTarget" type:"structure"`
 11556  }
 11557  
 11558  // String returns the string representation.
 11559  //
 11560  // API parameter values that are decorated as "sensitive" in the API will not
 11561  // be included in the string output. The member name will be present, but the
 11562  // value will be replaced with "sensitive".
 11563  func (s GetDeploymentTargetOutput) String() string {
 11564  	return awsutil.Prettify(s)
 11565  }
 11566  
 11567  // GoString returns the string representation.
 11568  //
 11569  // API parameter values that are decorated as "sensitive" in the API will not
 11570  // be included in the string output. The member name will be present, but the
 11571  // value will be replaced with "sensitive".
 11572  func (s GetDeploymentTargetOutput) GoString() string {
 11573  	return s.String()
 11574  }
 11575  
 11576  // SetDeploymentTarget sets the DeploymentTarget field's value.
 11577  func (s *GetDeploymentTargetOutput) SetDeploymentTarget(v *DeploymentTarget) *GetDeploymentTargetOutput {
 11578  	s.DeploymentTarget = v
 11579  	return s
 11580  }
 11581  
 11582  // Represents the input of a GetOnPremisesInstance operation.
 11583  type GetOnPremisesInstanceInput struct {
 11584  	_ struct{} `type:"structure"`
 11585  
 11586  	// The name of the on-premises instance about which to get information.
 11587  	//
 11588  	// InstanceName is a required field
 11589  	InstanceName *string `locationName:"instanceName" type:"string" required:"true"`
 11590  }
 11591  
 11592  // String returns the string representation.
 11593  //
 11594  // API parameter values that are decorated as "sensitive" in the API will not
 11595  // be included in the string output. The member name will be present, but the
 11596  // value will be replaced with "sensitive".
 11597  func (s GetOnPremisesInstanceInput) String() string {
 11598  	return awsutil.Prettify(s)
 11599  }
 11600  
 11601  // GoString returns the string representation.
 11602  //
 11603  // API parameter values that are decorated as "sensitive" in the API will not
 11604  // be included in the string output. The member name will be present, but the
 11605  // value will be replaced with "sensitive".
 11606  func (s GetOnPremisesInstanceInput) GoString() string {
 11607  	return s.String()
 11608  }
 11609  
 11610  // Validate inspects the fields of the type to determine if they are valid.
 11611  func (s *GetOnPremisesInstanceInput) Validate() error {
 11612  	invalidParams := request.ErrInvalidParams{Context: "GetOnPremisesInstanceInput"}
 11613  	if s.InstanceName == nil {
 11614  		invalidParams.Add(request.NewErrParamRequired("InstanceName"))
 11615  	}
 11616  
 11617  	if invalidParams.Len() > 0 {
 11618  		return invalidParams
 11619  	}
 11620  	return nil
 11621  }
 11622  
 11623  // SetInstanceName sets the InstanceName field's value.
 11624  func (s *GetOnPremisesInstanceInput) SetInstanceName(v string) *GetOnPremisesInstanceInput {
 11625  	s.InstanceName = &v
 11626  	return s
 11627  }
 11628  
 11629  // Represents the output of a GetOnPremisesInstance operation.
 11630  type GetOnPremisesInstanceOutput struct {
 11631  	_ struct{} `type:"structure"`
 11632  
 11633  	// Information about the on-premises instance.
 11634  	InstanceInfo *InstanceInfo `locationName:"instanceInfo" type:"structure"`
 11635  }
 11636  
 11637  // String returns the string representation.
 11638  //
 11639  // API parameter values that are decorated as "sensitive" in the API will not
 11640  // be included in the string output. The member name will be present, but the
 11641  // value will be replaced with "sensitive".
 11642  func (s GetOnPremisesInstanceOutput) String() string {
 11643  	return awsutil.Prettify(s)
 11644  }
 11645  
 11646  // GoString returns the string representation.
 11647  //
 11648  // API parameter values that are decorated as "sensitive" in the API will not
 11649  // be included in the string output. The member name will be present, but the
 11650  // value will be replaced with "sensitive".
 11651  func (s GetOnPremisesInstanceOutput) GoString() string {
 11652  	return s.String()
 11653  }
 11654  
 11655  // SetInstanceInfo sets the InstanceInfo field's value.
 11656  func (s *GetOnPremisesInstanceOutput) SetInstanceInfo(v *InstanceInfo) *GetOnPremisesInstanceOutput {
 11657  	s.InstanceInfo = v
 11658  	return s
 11659  }
 11660  
 11661  // No GitHub account connection exists with the named specified in the call.
 11662  type GitHubAccountTokenDoesNotExistException struct {
 11663  	_            struct{}                  `type:"structure"`
 11664  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 11665  
 11666  	Message_ *string `locationName:"message" type:"string"`
 11667  }
 11668  
 11669  // String returns the string representation.
 11670  //
 11671  // API parameter values that are decorated as "sensitive" in the API will not
 11672  // be included in the string output. The member name will be present, but the
 11673  // value will be replaced with "sensitive".
 11674  func (s GitHubAccountTokenDoesNotExistException) String() string {
 11675  	return awsutil.Prettify(s)
 11676  }
 11677  
 11678  // GoString returns the string representation.
 11679  //
 11680  // API parameter values that are decorated as "sensitive" in the API will not
 11681  // be included in the string output. The member name will be present, but the
 11682  // value will be replaced with "sensitive".
 11683  func (s GitHubAccountTokenDoesNotExistException) GoString() string {
 11684  	return s.String()
 11685  }
 11686  
 11687  func newErrorGitHubAccountTokenDoesNotExistException(v protocol.ResponseMetadata) error {
 11688  	return &GitHubAccountTokenDoesNotExistException{
 11689  		RespMetadata: v,
 11690  	}
 11691  }
 11692  
 11693  // Code returns the exception type name.
 11694  func (s *GitHubAccountTokenDoesNotExistException) Code() string {
 11695  	return "GitHubAccountTokenDoesNotExistException"
 11696  }
 11697  
 11698  // Message returns the exception's message.
 11699  func (s *GitHubAccountTokenDoesNotExistException) Message() string {
 11700  	if s.Message_ != nil {
 11701  		return *s.Message_
 11702  	}
 11703  	return ""
 11704  }
 11705  
 11706  // OrigErr always returns nil, satisfies awserr.Error interface.
 11707  func (s *GitHubAccountTokenDoesNotExistException) OrigErr() error {
 11708  	return nil
 11709  }
 11710  
 11711  func (s *GitHubAccountTokenDoesNotExistException) Error() string {
 11712  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 11713  }
 11714  
 11715  // Status code returns the HTTP status code for the request's response error.
 11716  func (s *GitHubAccountTokenDoesNotExistException) StatusCode() int {
 11717  	return s.RespMetadata.StatusCode
 11718  }
 11719  
 11720  // RequestID returns the service's response RequestID for request.
 11721  func (s *GitHubAccountTokenDoesNotExistException) RequestID() string {
 11722  	return s.RespMetadata.RequestID
 11723  }
 11724  
 11725  // The call is missing a required GitHub account connection name.
 11726  type GitHubAccountTokenNameRequiredException struct {
 11727  	_            struct{}                  `type:"structure"`
 11728  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 11729  
 11730  	Message_ *string `locationName:"message" type:"string"`
 11731  }
 11732  
 11733  // String returns the string representation.
 11734  //
 11735  // API parameter values that are decorated as "sensitive" in the API will not
 11736  // be included in the string output. The member name will be present, but the
 11737  // value will be replaced with "sensitive".
 11738  func (s GitHubAccountTokenNameRequiredException) String() string {
 11739  	return awsutil.Prettify(s)
 11740  }
 11741  
 11742  // GoString returns the string representation.
 11743  //
 11744  // API parameter values that are decorated as "sensitive" in the API will not
 11745  // be included in the string output. The member name will be present, but the
 11746  // value will be replaced with "sensitive".
 11747  func (s GitHubAccountTokenNameRequiredException) GoString() string {
 11748  	return s.String()
 11749  }
 11750  
 11751  func newErrorGitHubAccountTokenNameRequiredException(v protocol.ResponseMetadata) error {
 11752  	return &GitHubAccountTokenNameRequiredException{
 11753  		RespMetadata: v,
 11754  	}
 11755  }
 11756  
 11757  // Code returns the exception type name.
 11758  func (s *GitHubAccountTokenNameRequiredException) Code() string {
 11759  	return "GitHubAccountTokenNameRequiredException"
 11760  }
 11761  
 11762  // Message returns the exception's message.
 11763  func (s *GitHubAccountTokenNameRequiredException) Message() string {
 11764  	if s.Message_ != nil {
 11765  		return *s.Message_
 11766  	}
 11767  	return ""
 11768  }
 11769  
 11770  // OrigErr always returns nil, satisfies awserr.Error interface.
 11771  func (s *GitHubAccountTokenNameRequiredException) OrigErr() error {
 11772  	return nil
 11773  }
 11774  
 11775  func (s *GitHubAccountTokenNameRequiredException) Error() string {
 11776  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 11777  }
 11778  
 11779  // Status code returns the HTTP status code for the request's response error.
 11780  func (s *GitHubAccountTokenNameRequiredException) StatusCode() int {
 11781  	return s.RespMetadata.StatusCode
 11782  }
 11783  
 11784  // RequestID returns the service's response RequestID for request.
 11785  func (s *GitHubAccountTokenNameRequiredException) RequestID() string {
 11786  	return s.RespMetadata.RequestID
 11787  }
 11788  
 11789  // Information about the location of application artifacts stored in GitHub.
 11790  type GitHubLocation struct {
 11791  	_ struct{} `type:"structure"`
 11792  
 11793  	// The SHA1 commit ID of the GitHub commit that represents the bundled artifacts
 11794  	// for the application revision.
 11795  	CommitId *string `locationName:"commitId" type:"string"`
 11796  
 11797  	// The GitHub account and repository pair that stores a reference to the commit
 11798  	// that represents the bundled artifacts for the application revision.
 11799  	//
 11800  	// Specified as account/repository.
 11801  	Repository *string `locationName:"repository" type:"string"`
 11802  }
 11803  
 11804  // String returns the string representation.
 11805  //
 11806  // API parameter values that are decorated as "sensitive" in the API will not
 11807  // be included in the string output. The member name will be present, but the
 11808  // value will be replaced with "sensitive".
 11809  func (s GitHubLocation) String() string {
 11810  	return awsutil.Prettify(s)
 11811  }
 11812  
 11813  // GoString returns the string representation.
 11814  //
 11815  // API parameter values that are decorated as "sensitive" in the API will not
 11816  // be included in the string output. The member name will be present, but the
 11817  // value will be replaced with "sensitive".
 11818  func (s GitHubLocation) GoString() string {
 11819  	return s.String()
 11820  }
 11821  
 11822  // SetCommitId sets the CommitId field's value.
 11823  func (s *GitHubLocation) SetCommitId(v string) *GitHubLocation {
 11824  	s.CommitId = &v
 11825  	return s
 11826  }
 11827  
 11828  // SetRepository sets the Repository field's value.
 11829  func (s *GitHubLocation) SetRepository(v string) *GitHubLocation {
 11830  	s.Repository = &v
 11831  	return s
 11832  }
 11833  
 11834  // Information about the instances that belong to the replacement environment
 11835  // in a blue/green deployment.
 11836  type GreenFleetProvisioningOption struct {
 11837  	_ struct{} `type:"structure"`
 11838  
 11839  	// The method used to add instances to a replacement environment.
 11840  	//
 11841  	//    * DISCOVER_EXISTING: Use instances that already exist or will be created
 11842  	//    manually.
 11843  	//
 11844  	//    * COPY_AUTO_SCALING_GROUP: Use settings from a specified Auto Scaling
 11845  	//    group to define and create instances in a new Auto Scaling group.
 11846  	Action *string `locationName:"action" type:"string" enum:"GreenFleetProvisioningAction"`
 11847  }
 11848  
 11849  // String returns the string representation.
 11850  //
 11851  // API parameter values that are decorated as "sensitive" in the API will not
 11852  // be included in the string output. The member name will be present, but the
 11853  // value will be replaced with "sensitive".
 11854  func (s GreenFleetProvisioningOption) String() string {
 11855  	return awsutil.Prettify(s)
 11856  }
 11857  
 11858  // GoString returns the string representation.
 11859  //
 11860  // API parameter values that are decorated as "sensitive" in the API will not
 11861  // be included in the string output. The member name will be present, but the
 11862  // value will be replaced with "sensitive".
 11863  func (s GreenFleetProvisioningOption) GoString() string {
 11864  	return s.String()
 11865  }
 11866  
 11867  // SetAction sets the Action field's value.
 11868  func (s *GreenFleetProvisioningOption) SetAction(v string) *GreenFleetProvisioningOption {
 11869  	s.Action = &v
 11870  	return s
 11871  }
 11872  
 11873  // No IAM ARN was included in the request. You must use an IAM session ARN or
 11874  // IAM user ARN in the request.
 11875  type IamArnRequiredException struct {
 11876  	_            struct{}                  `type:"structure"`
 11877  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 11878  
 11879  	Message_ *string `locationName:"message" type:"string"`
 11880  }
 11881  
 11882  // String returns the string representation.
 11883  //
 11884  // API parameter values that are decorated as "sensitive" in the API will not
 11885  // be included in the string output. The member name will be present, but the
 11886  // value will be replaced with "sensitive".
 11887  func (s IamArnRequiredException) String() string {
 11888  	return awsutil.Prettify(s)
 11889  }
 11890  
 11891  // GoString returns the string representation.
 11892  //
 11893  // API parameter values that are decorated as "sensitive" in the API will not
 11894  // be included in the string output. The member name will be present, but the
 11895  // value will be replaced with "sensitive".
 11896  func (s IamArnRequiredException) GoString() string {
 11897  	return s.String()
 11898  }
 11899  
 11900  func newErrorIamArnRequiredException(v protocol.ResponseMetadata) error {
 11901  	return &IamArnRequiredException{
 11902  		RespMetadata: v,
 11903  	}
 11904  }
 11905  
 11906  // Code returns the exception type name.
 11907  func (s *IamArnRequiredException) Code() string {
 11908  	return "IamArnRequiredException"
 11909  }
 11910  
 11911  // Message returns the exception's message.
 11912  func (s *IamArnRequiredException) Message() string {
 11913  	if s.Message_ != nil {
 11914  		return *s.Message_
 11915  	}
 11916  	return ""
 11917  }
 11918  
 11919  // OrigErr always returns nil, satisfies awserr.Error interface.
 11920  func (s *IamArnRequiredException) OrigErr() error {
 11921  	return nil
 11922  }
 11923  
 11924  func (s *IamArnRequiredException) Error() string {
 11925  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 11926  }
 11927  
 11928  // Status code returns the HTTP status code for the request's response error.
 11929  func (s *IamArnRequiredException) StatusCode() int {
 11930  	return s.RespMetadata.StatusCode
 11931  }
 11932  
 11933  // RequestID returns the service's response RequestID for request.
 11934  func (s *IamArnRequiredException) RequestID() string {
 11935  	return s.RespMetadata.RequestID
 11936  }
 11937  
 11938  // The request included an IAM session ARN that has already been used to register
 11939  // a different instance.
 11940  type IamSessionArnAlreadyRegisteredException struct {
 11941  	_            struct{}                  `type:"structure"`
 11942  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 11943  
 11944  	Message_ *string `locationName:"message" type:"string"`
 11945  }
 11946  
 11947  // String returns the string representation.
 11948  //
 11949  // API parameter values that are decorated as "sensitive" in the API will not
 11950  // be included in the string output. The member name will be present, but the
 11951  // value will be replaced with "sensitive".
 11952  func (s IamSessionArnAlreadyRegisteredException) String() string {
 11953  	return awsutil.Prettify(s)
 11954  }
 11955  
 11956  // GoString returns the string representation.
 11957  //
 11958  // API parameter values that are decorated as "sensitive" in the API will not
 11959  // be included in the string output. The member name will be present, but the
 11960  // value will be replaced with "sensitive".
 11961  func (s IamSessionArnAlreadyRegisteredException) GoString() string {
 11962  	return s.String()
 11963  }
 11964  
 11965  func newErrorIamSessionArnAlreadyRegisteredException(v protocol.ResponseMetadata) error {
 11966  	return &IamSessionArnAlreadyRegisteredException{
 11967  		RespMetadata: v,
 11968  	}
 11969  }
 11970  
 11971  // Code returns the exception type name.
 11972  func (s *IamSessionArnAlreadyRegisteredException) Code() string {
 11973  	return "IamSessionArnAlreadyRegisteredException"
 11974  }
 11975  
 11976  // Message returns the exception's message.
 11977  func (s *IamSessionArnAlreadyRegisteredException) Message() string {
 11978  	if s.Message_ != nil {
 11979  		return *s.Message_
 11980  	}
 11981  	return ""
 11982  }
 11983  
 11984  // OrigErr always returns nil, satisfies awserr.Error interface.
 11985  func (s *IamSessionArnAlreadyRegisteredException) OrigErr() error {
 11986  	return nil
 11987  }
 11988  
 11989  func (s *IamSessionArnAlreadyRegisteredException) Error() string {
 11990  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 11991  }
 11992  
 11993  // Status code returns the HTTP status code for the request's response error.
 11994  func (s *IamSessionArnAlreadyRegisteredException) StatusCode() int {
 11995  	return s.RespMetadata.StatusCode
 11996  }
 11997  
 11998  // RequestID returns the service's response RequestID for request.
 11999  func (s *IamSessionArnAlreadyRegisteredException) RequestID() string {
 12000  	return s.RespMetadata.RequestID
 12001  }
 12002  
 12003  // The specified IAM user ARN is already registered with an on-premises instance.
 12004  type IamUserArnAlreadyRegisteredException struct {
 12005  	_            struct{}                  `type:"structure"`
 12006  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 12007  
 12008  	Message_ *string `locationName:"message" type:"string"`
 12009  }
 12010  
 12011  // String returns the string representation.
 12012  //
 12013  // API parameter values that are decorated as "sensitive" in the API will not
 12014  // be included in the string output. The member name will be present, but the
 12015  // value will be replaced with "sensitive".
 12016  func (s IamUserArnAlreadyRegisteredException) String() string {
 12017  	return awsutil.Prettify(s)
 12018  }
 12019  
 12020  // GoString returns the string representation.
 12021  //
 12022  // API parameter values that are decorated as "sensitive" in the API will not
 12023  // be included in the string output. The member name will be present, but the
 12024  // value will be replaced with "sensitive".
 12025  func (s IamUserArnAlreadyRegisteredException) GoString() string {
 12026  	return s.String()
 12027  }
 12028  
 12029  func newErrorIamUserArnAlreadyRegisteredException(v protocol.ResponseMetadata) error {
 12030  	return &IamUserArnAlreadyRegisteredException{
 12031  		RespMetadata: v,
 12032  	}
 12033  }
 12034  
 12035  // Code returns the exception type name.
 12036  func (s *IamUserArnAlreadyRegisteredException) Code() string {
 12037  	return "IamUserArnAlreadyRegisteredException"
 12038  }
 12039  
 12040  // Message returns the exception's message.
 12041  func (s *IamUserArnAlreadyRegisteredException) Message() string {
 12042  	if s.Message_ != nil {
 12043  		return *s.Message_
 12044  	}
 12045  	return ""
 12046  }
 12047  
 12048  // OrigErr always returns nil, satisfies awserr.Error interface.
 12049  func (s *IamUserArnAlreadyRegisteredException) OrigErr() error {
 12050  	return nil
 12051  }
 12052  
 12053  func (s *IamUserArnAlreadyRegisteredException) Error() string {
 12054  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 12055  }
 12056  
 12057  // Status code returns the HTTP status code for the request's response error.
 12058  func (s *IamUserArnAlreadyRegisteredException) StatusCode() int {
 12059  	return s.RespMetadata.StatusCode
 12060  }
 12061  
 12062  // RequestID returns the service's response RequestID for request.
 12063  func (s *IamUserArnAlreadyRegisteredException) RequestID() string {
 12064  	return s.RespMetadata.RequestID
 12065  }
 12066  
 12067  // An IAM user ARN was not specified.
 12068  type IamUserArnRequiredException struct {
 12069  	_            struct{}                  `type:"structure"`
 12070  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 12071  
 12072  	Message_ *string `locationName:"message" type:"string"`
 12073  }
 12074  
 12075  // String returns the string representation.
 12076  //
 12077  // API parameter values that are decorated as "sensitive" in the API will not
 12078  // be included in the string output. The member name will be present, but the
 12079  // value will be replaced with "sensitive".
 12080  func (s IamUserArnRequiredException) String() string {
 12081  	return awsutil.Prettify(s)
 12082  }
 12083  
 12084  // GoString returns the string representation.
 12085  //
 12086  // API parameter values that are decorated as "sensitive" in the API will not
 12087  // be included in the string output. The member name will be present, but the
 12088  // value will be replaced with "sensitive".
 12089  func (s IamUserArnRequiredException) GoString() string {
 12090  	return s.String()
 12091  }
 12092  
 12093  func newErrorIamUserArnRequiredException(v protocol.ResponseMetadata) error {
 12094  	return &IamUserArnRequiredException{
 12095  		RespMetadata: v,
 12096  	}
 12097  }
 12098  
 12099  // Code returns the exception type name.
 12100  func (s *IamUserArnRequiredException) Code() string {
 12101  	return "IamUserArnRequiredException"
 12102  }
 12103  
 12104  // Message returns the exception's message.
 12105  func (s *IamUserArnRequiredException) Message() string {
 12106  	if s.Message_ != nil {
 12107  		return *s.Message_
 12108  	}
 12109  	return ""
 12110  }
 12111  
 12112  // OrigErr always returns nil, satisfies awserr.Error interface.
 12113  func (s *IamUserArnRequiredException) OrigErr() error {
 12114  	return nil
 12115  }
 12116  
 12117  func (s *IamUserArnRequiredException) Error() string {
 12118  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 12119  }
 12120  
 12121  // Status code returns the HTTP status code for the request's response error.
 12122  func (s *IamUserArnRequiredException) StatusCode() int {
 12123  	return s.RespMetadata.StatusCode
 12124  }
 12125  
 12126  // RequestID returns the service's response RequestID for request.
 12127  func (s *IamUserArnRequiredException) RequestID() string {
 12128  	return s.RespMetadata.RequestID
 12129  }
 12130  
 12131  // The specified instance does not exist in the deployment group.
 12132  //
 12133  // Deprecated: This exception is deprecated, use DeploymentTargetDoesNotExistException instead.
 12134  type InstanceDoesNotExistException struct {
 12135  	_            struct{}                  `deprecated:"true" type:"structure"`
 12136  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 12137  
 12138  	Message_ *string `locationName:"message" type:"string"`
 12139  }
 12140  
 12141  // String returns the string representation.
 12142  //
 12143  // API parameter values that are decorated as "sensitive" in the API will not
 12144  // be included in the string output. The member name will be present, but the
 12145  // value will be replaced with "sensitive".
 12146  func (s InstanceDoesNotExistException) String() string {
 12147  	return awsutil.Prettify(s)
 12148  }
 12149  
 12150  // GoString returns the string representation.
 12151  //
 12152  // API parameter values that are decorated as "sensitive" in the API will not
 12153  // be included in the string output. The member name will be present, but the
 12154  // value will be replaced with "sensitive".
 12155  func (s InstanceDoesNotExistException) GoString() string {
 12156  	return s.String()
 12157  }
 12158  
 12159  func newErrorInstanceDoesNotExistException(v protocol.ResponseMetadata) error {
 12160  	return &InstanceDoesNotExistException{
 12161  		RespMetadata: v,
 12162  	}
 12163  }
 12164  
 12165  // Code returns the exception type name.
 12166  func (s *InstanceDoesNotExistException) Code() string {
 12167  	return "InstanceDoesNotExistException"
 12168  }
 12169  
 12170  // Message returns the exception's message.
 12171  func (s *InstanceDoesNotExistException) Message() string {
 12172  	if s.Message_ != nil {
 12173  		return *s.Message_
 12174  	}
 12175  	return ""
 12176  }
 12177  
 12178  // OrigErr always returns nil, satisfies awserr.Error interface.
 12179  func (s *InstanceDoesNotExistException) OrigErr() error {
 12180  	return nil
 12181  }
 12182  
 12183  func (s *InstanceDoesNotExistException) Error() string {
 12184  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 12185  }
 12186  
 12187  // Status code returns the HTTP status code for the request's response error.
 12188  func (s *InstanceDoesNotExistException) StatusCode() int {
 12189  	return s.RespMetadata.StatusCode
 12190  }
 12191  
 12192  // RequestID returns the service's response RequestID for request.
 12193  func (s *InstanceDoesNotExistException) RequestID() string {
 12194  	return s.RespMetadata.RequestID
 12195  }
 12196  
 12197  // The instance ID was not specified.
 12198  //
 12199  // Deprecated: This exception is deprecated, use DeploymentTargetIdRequiredException instead.
 12200  type InstanceIdRequiredException struct {
 12201  	_            struct{}                  `deprecated:"true" type:"structure"`
 12202  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 12203  
 12204  	Message_ *string `locationName:"message" type:"string"`
 12205  }
 12206  
 12207  // String returns the string representation.
 12208  //
 12209  // API parameter values that are decorated as "sensitive" in the API will not
 12210  // be included in the string output. The member name will be present, but the
 12211  // value will be replaced with "sensitive".
 12212  func (s InstanceIdRequiredException) String() string {
 12213  	return awsutil.Prettify(s)
 12214  }
 12215  
 12216  // GoString returns the string representation.
 12217  //
 12218  // API parameter values that are decorated as "sensitive" in the API will not
 12219  // be included in the string output. The member name will be present, but the
 12220  // value will be replaced with "sensitive".
 12221  func (s InstanceIdRequiredException) GoString() string {
 12222  	return s.String()
 12223  }
 12224  
 12225  func newErrorInstanceIdRequiredException(v protocol.ResponseMetadata) error {
 12226  	return &InstanceIdRequiredException{
 12227  		RespMetadata: v,
 12228  	}
 12229  }
 12230  
 12231  // Code returns the exception type name.
 12232  func (s *InstanceIdRequiredException) Code() string {
 12233  	return "InstanceIdRequiredException"
 12234  }
 12235  
 12236  // Message returns the exception's message.
 12237  func (s *InstanceIdRequiredException) Message() string {
 12238  	if s.Message_ != nil {
 12239  		return *s.Message_
 12240  	}
 12241  	return ""
 12242  }
 12243  
 12244  // OrigErr always returns nil, satisfies awserr.Error interface.
 12245  func (s *InstanceIdRequiredException) OrigErr() error {
 12246  	return nil
 12247  }
 12248  
 12249  func (s *InstanceIdRequiredException) Error() string {
 12250  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 12251  }
 12252  
 12253  // Status code returns the HTTP status code for the request's response error.
 12254  func (s *InstanceIdRequiredException) StatusCode() int {
 12255  	return s.RespMetadata.StatusCode
 12256  }
 12257  
 12258  // RequestID returns the service's response RequestID for request.
 12259  func (s *InstanceIdRequiredException) RequestID() string {
 12260  	return s.RespMetadata.RequestID
 12261  }
 12262  
 12263  // Information about an on-premises instance.
 12264  type InstanceInfo struct {
 12265  	_ struct{} `type:"structure"`
 12266  
 12267  	// If the on-premises instance was deregistered, the time at which the on-premises
 12268  	// instance was deregistered.
 12269  	DeregisterTime *time.Time `locationName:"deregisterTime" type:"timestamp"`
 12270  
 12271  	// The ARN of the IAM session associated with the on-premises instance.
 12272  	IamSessionArn *string `locationName:"iamSessionArn" type:"string"`
 12273  
 12274  	// The IAM user ARN associated with the on-premises instance.
 12275  	IamUserArn *string `locationName:"iamUserArn" type:"string"`
 12276  
 12277  	// The ARN of the on-premises instance.
 12278  	InstanceArn *string `locationName:"instanceArn" type:"string"`
 12279  
 12280  	// The name of the on-premises instance.
 12281  	InstanceName *string `locationName:"instanceName" type:"string"`
 12282  
 12283  	// The time at which the on-premises instance was registered.
 12284  	RegisterTime *time.Time `locationName:"registerTime" type:"timestamp"`
 12285  
 12286  	// The tags currently associated with the on-premises instance.
 12287  	Tags []*Tag `locationName:"tags" type:"list"`
 12288  }
 12289  
 12290  // String returns the string representation.
 12291  //
 12292  // API parameter values that are decorated as "sensitive" in the API will not
 12293  // be included in the string output. The member name will be present, but the
 12294  // value will be replaced with "sensitive".
 12295  func (s InstanceInfo) String() string {
 12296  	return awsutil.Prettify(s)
 12297  }
 12298  
 12299  // GoString returns the string representation.
 12300  //
 12301  // API parameter values that are decorated as "sensitive" in the API will not
 12302  // be included in the string output. The member name will be present, but the
 12303  // value will be replaced with "sensitive".
 12304  func (s InstanceInfo) GoString() string {
 12305  	return s.String()
 12306  }
 12307  
 12308  // SetDeregisterTime sets the DeregisterTime field's value.
 12309  func (s *InstanceInfo) SetDeregisterTime(v time.Time) *InstanceInfo {
 12310  	s.DeregisterTime = &v
 12311  	return s
 12312  }
 12313  
 12314  // SetIamSessionArn sets the IamSessionArn field's value.
 12315  func (s *InstanceInfo) SetIamSessionArn(v string) *InstanceInfo {
 12316  	s.IamSessionArn = &v
 12317  	return s
 12318  }
 12319  
 12320  // SetIamUserArn sets the IamUserArn field's value.
 12321  func (s *InstanceInfo) SetIamUserArn(v string) *InstanceInfo {
 12322  	s.IamUserArn = &v
 12323  	return s
 12324  }
 12325  
 12326  // SetInstanceArn sets the InstanceArn field's value.
 12327  func (s *InstanceInfo) SetInstanceArn(v string) *InstanceInfo {
 12328  	s.InstanceArn = &v
 12329  	return s
 12330  }
 12331  
 12332  // SetInstanceName sets the InstanceName field's value.
 12333  func (s *InstanceInfo) SetInstanceName(v string) *InstanceInfo {
 12334  	s.InstanceName = &v
 12335  	return s
 12336  }
 12337  
 12338  // SetRegisterTime sets the RegisterTime field's value.
 12339  func (s *InstanceInfo) SetRegisterTime(v time.Time) *InstanceInfo {
 12340  	s.RegisterTime = &v
 12341  	return s
 12342  }
 12343  
 12344  // SetTags sets the Tags field's value.
 12345  func (s *InstanceInfo) SetTags(v []*Tag) *InstanceInfo {
 12346  	s.Tags = v
 12347  	return s
 12348  }
 12349  
 12350  // The maximum number of allowed on-premises instances in a single call was
 12351  // exceeded.
 12352  type InstanceLimitExceededException struct {
 12353  	_            struct{}                  `type:"structure"`
 12354  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 12355  
 12356  	Message_ *string `locationName:"message" type:"string"`
 12357  }
 12358  
 12359  // String returns the string representation.
 12360  //
 12361  // API parameter values that are decorated as "sensitive" in the API will not
 12362  // be included in the string output. The member name will be present, but the
 12363  // value will be replaced with "sensitive".
 12364  func (s InstanceLimitExceededException) String() string {
 12365  	return awsutil.Prettify(s)
 12366  }
 12367  
 12368  // GoString returns the string representation.
 12369  //
 12370  // API parameter values that are decorated as "sensitive" in the API will not
 12371  // be included in the string output. The member name will be present, but the
 12372  // value will be replaced with "sensitive".
 12373  func (s InstanceLimitExceededException) GoString() string {
 12374  	return s.String()
 12375  }
 12376  
 12377  func newErrorInstanceLimitExceededException(v protocol.ResponseMetadata) error {
 12378  	return &InstanceLimitExceededException{
 12379  		RespMetadata: v,
 12380  	}
 12381  }
 12382  
 12383  // Code returns the exception type name.
 12384  func (s *InstanceLimitExceededException) Code() string {
 12385  	return "InstanceLimitExceededException"
 12386  }
 12387  
 12388  // Message returns the exception's message.
 12389  func (s *InstanceLimitExceededException) Message() string {
 12390  	if s.Message_ != nil {
 12391  		return *s.Message_
 12392  	}
 12393  	return ""
 12394  }
 12395  
 12396  // OrigErr always returns nil, satisfies awserr.Error interface.
 12397  func (s *InstanceLimitExceededException) OrigErr() error {
 12398  	return nil
 12399  }
 12400  
 12401  func (s *InstanceLimitExceededException) Error() string {
 12402  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 12403  }
 12404  
 12405  // Status code returns the HTTP status code for the request's response error.
 12406  func (s *InstanceLimitExceededException) StatusCode() int {
 12407  	return s.RespMetadata.StatusCode
 12408  }
 12409  
 12410  // RequestID returns the service's response RequestID for request.
 12411  func (s *InstanceLimitExceededException) RequestID() string {
 12412  	return s.RespMetadata.RequestID
 12413  }
 12414  
 12415  // The specified on-premises instance name is already registered.
 12416  type InstanceNameAlreadyRegisteredException struct {
 12417  	_            struct{}                  `type:"structure"`
 12418  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 12419  
 12420  	Message_ *string `locationName:"message" type:"string"`
 12421  }
 12422  
 12423  // String returns the string representation.
 12424  //
 12425  // API parameter values that are decorated as "sensitive" in the API will not
 12426  // be included in the string output. The member name will be present, but the
 12427  // value will be replaced with "sensitive".
 12428  func (s InstanceNameAlreadyRegisteredException) String() string {
 12429  	return awsutil.Prettify(s)
 12430  }
 12431  
 12432  // GoString returns the string representation.
 12433  //
 12434  // API parameter values that are decorated as "sensitive" in the API will not
 12435  // be included in the string output. The member name will be present, but the
 12436  // value will be replaced with "sensitive".
 12437  func (s InstanceNameAlreadyRegisteredException) GoString() string {
 12438  	return s.String()
 12439  }
 12440  
 12441  func newErrorInstanceNameAlreadyRegisteredException(v protocol.ResponseMetadata) error {
 12442  	return &InstanceNameAlreadyRegisteredException{
 12443  		RespMetadata: v,
 12444  	}
 12445  }
 12446  
 12447  // Code returns the exception type name.
 12448  func (s *InstanceNameAlreadyRegisteredException) Code() string {
 12449  	return "InstanceNameAlreadyRegisteredException"
 12450  }
 12451  
 12452  // Message returns the exception's message.
 12453  func (s *InstanceNameAlreadyRegisteredException) Message() string {
 12454  	if s.Message_ != nil {
 12455  		return *s.Message_
 12456  	}
 12457  	return ""
 12458  }
 12459  
 12460  // OrigErr always returns nil, satisfies awserr.Error interface.
 12461  func (s *InstanceNameAlreadyRegisteredException) OrigErr() error {
 12462  	return nil
 12463  }
 12464  
 12465  func (s *InstanceNameAlreadyRegisteredException) Error() string {
 12466  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 12467  }
 12468  
 12469  // Status code returns the HTTP status code for the request's response error.
 12470  func (s *InstanceNameAlreadyRegisteredException) StatusCode() int {
 12471  	return s.RespMetadata.StatusCode
 12472  }
 12473  
 12474  // RequestID returns the service's response RequestID for request.
 12475  func (s *InstanceNameAlreadyRegisteredException) RequestID() string {
 12476  	return s.RespMetadata.RequestID
 12477  }
 12478  
 12479  // An on-premises instance name was not specified.
 12480  type InstanceNameRequiredException struct {
 12481  	_            struct{}                  `type:"structure"`
 12482  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 12483  
 12484  	Message_ *string `locationName:"message" type:"string"`
 12485  }
 12486  
 12487  // String returns the string representation.
 12488  //
 12489  // API parameter values that are decorated as "sensitive" in the API will not
 12490  // be included in the string output. The member name will be present, but the
 12491  // value will be replaced with "sensitive".
 12492  func (s InstanceNameRequiredException) String() string {
 12493  	return awsutil.Prettify(s)
 12494  }
 12495  
 12496  // GoString returns the string representation.
 12497  //
 12498  // API parameter values that are decorated as "sensitive" in the API will not
 12499  // be included in the string output. The member name will be present, but the
 12500  // value will be replaced with "sensitive".
 12501  func (s InstanceNameRequiredException) GoString() string {
 12502  	return s.String()
 12503  }
 12504  
 12505  func newErrorInstanceNameRequiredException(v protocol.ResponseMetadata) error {
 12506  	return &InstanceNameRequiredException{
 12507  		RespMetadata: v,
 12508  	}
 12509  }
 12510  
 12511  // Code returns the exception type name.
 12512  func (s *InstanceNameRequiredException) Code() string {
 12513  	return "InstanceNameRequiredException"
 12514  }
 12515  
 12516  // Message returns the exception's message.
 12517  func (s *InstanceNameRequiredException) Message() string {
 12518  	if s.Message_ != nil {
 12519  		return *s.Message_
 12520  	}
 12521  	return ""
 12522  }
 12523  
 12524  // OrigErr always returns nil, satisfies awserr.Error interface.
 12525  func (s *InstanceNameRequiredException) OrigErr() error {
 12526  	return nil
 12527  }
 12528  
 12529  func (s *InstanceNameRequiredException) Error() string {
 12530  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 12531  }
 12532  
 12533  // Status code returns the HTTP status code for the request's response error.
 12534  func (s *InstanceNameRequiredException) StatusCode() int {
 12535  	return s.RespMetadata.StatusCode
 12536  }
 12537  
 12538  // RequestID returns the service's response RequestID for request.
 12539  func (s *InstanceNameRequiredException) RequestID() string {
 12540  	return s.RespMetadata.RequestID
 12541  }
 12542  
 12543  // The specified on-premises instance is not registered.
 12544  type InstanceNotRegisteredException struct {
 12545  	_            struct{}                  `type:"structure"`
 12546  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 12547  
 12548  	Message_ *string `locationName:"message" type:"string"`
 12549  }
 12550  
 12551  // String returns the string representation.
 12552  //
 12553  // API parameter values that are decorated as "sensitive" in the API will not
 12554  // be included in the string output. The member name will be present, but the
 12555  // value will be replaced with "sensitive".
 12556  func (s InstanceNotRegisteredException) String() string {
 12557  	return awsutil.Prettify(s)
 12558  }
 12559  
 12560  // GoString returns the string representation.
 12561  //
 12562  // API parameter values that are decorated as "sensitive" in the API will not
 12563  // be included in the string output. The member name will be present, but the
 12564  // value will be replaced with "sensitive".
 12565  func (s InstanceNotRegisteredException) GoString() string {
 12566  	return s.String()
 12567  }
 12568  
 12569  func newErrorInstanceNotRegisteredException(v protocol.ResponseMetadata) error {
 12570  	return &InstanceNotRegisteredException{
 12571  		RespMetadata: v,
 12572  	}
 12573  }
 12574  
 12575  // Code returns the exception type name.
 12576  func (s *InstanceNotRegisteredException) Code() string {
 12577  	return "InstanceNotRegisteredException"
 12578  }
 12579  
 12580  // Message returns the exception's message.
 12581  func (s *InstanceNotRegisteredException) Message() string {
 12582  	if s.Message_ != nil {
 12583  		return *s.Message_
 12584  	}
 12585  	return ""
 12586  }
 12587  
 12588  // OrigErr always returns nil, satisfies awserr.Error interface.
 12589  func (s *InstanceNotRegisteredException) OrigErr() error {
 12590  	return nil
 12591  }
 12592  
 12593  func (s *InstanceNotRegisteredException) Error() string {
 12594  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 12595  }
 12596  
 12597  // Status code returns the HTTP status code for the request's response error.
 12598  func (s *InstanceNotRegisteredException) StatusCode() int {
 12599  	return s.RespMetadata.StatusCode
 12600  }
 12601  
 12602  // RequestID returns the service's response RequestID for request.
 12603  func (s *InstanceNotRegisteredException) RequestID() string {
 12604  	return s.RespMetadata.RequestID
 12605  }
 12606  
 12607  // Information about an instance in a deployment.
 12608  //
 12609  // Deprecated: InstanceSummary is deprecated, use DeploymentTarget instead.
 12610  type InstanceSummary struct {
 12611  	_ struct{} `deprecated:"true" type:"structure"`
 12612  
 12613  	// The unique ID of a deployment.
 12614  	DeploymentId *string `locationName:"deploymentId" type:"string"`
 12615  
 12616  	// The instance ID.
 12617  	InstanceId *string `locationName:"instanceId" type:"string"`
 12618  
 12619  	// Information about which environment an instance belongs to in a blue/green
 12620  	// deployment.
 12621  	//
 12622  	//    * BLUE: The instance is part of the original environment.
 12623  	//
 12624  	//    * GREEN: The instance is part of the replacement environment.
 12625  	InstanceType *string `locationName:"instanceType" type:"string" enum:"InstanceType"`
 12626  
 12627  	// A timestamp that indicates when the instance information was last updated.
 12628  	LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
 12629  
 12630  	// A list of lifecycle events for this instance.
 12631  	LifecycleEvents []*LifecycleEvent `locationName:"lifecycleEvents" type:"list"`
 12632  
 12633  	// The deployment status for this instance:
 12634  	//
 12635  	//    * Pending: The deployment is pending for this instance.
 12636  	//
 12637  	//    * In Progress: The deployment is in progress for this instance.
 12638  	//
 12639  	//    * Succeeded: The deployment has succeeded for this instance.
 12640  	//
 12641  	//    * Failed: The deployment has failed for this instance.
 12642  	//
 12643  	//    * Skipped: The deployment has been skipped for this instance.
 12644  	//
 12645  	//    * Unknown: The deployment status is unknown for this instance.
 12646  	Status *string `locationName:"status" deprecated:"true" type:"string" enum:"InstanceStatus"`
 12647  }
 12648  
 12649  // String returns the string representation.
 12650  //
 12651  // API parameter values that are decorated as "sensitive" in the API will not
 12652  // be included in the string output. The member name will be present, but the
 12653  // value will be replaced with "sensitive".
 12654  func (s InstanceSummary) String() string {
 12655  	return awsutil.Prettify(s)
 12656  }
 12657  
 12658  // GoString returns the string representation.
 12659  //
 12660  // API parameter values that are decorated as "sensitive" in the API will not
 12661  // be included in the string output. The member name will be present, but the
 12662  // value will be replaced with "sensitive".
 12663  func (s InstanceSummary) GoString() string {
 12664  	return s.String()
 12665  }
 12666  
 12667  // SetDeploymentId sets the DeploymentId field's value.
 12668  func (s *InstanceSummary) SetDeploymentId(v string) *InstanceSummary {
 12669  	s.DeploymentId = &v
 12670  	return s
 12671  }
 12672  
 12673  // SetInstanceId sets the InstanceId field's value.
 12674  func (s *InstanceSummary) SetInstanceId(v string) *InstanceSummary {
 12675  	s.InstanceId = &v
 12676  	return s
 12677  }
 12678  
 12679  // SetInstanceType sets the InstanceType field's value.
 12680  func (s *InstanceSummary) SetInstanceType(v string) *InstanceSummary {
 12681  	s.InstanceType = &v
 12682  	return s
 12683  }
 12684  
 12685  // SetLastUpdatedAt sets the LastUpdatedAt field's value.
 12686  func (s *InstanceSummary) SetLastUpdatedAt(v time.Time) *InstanceSummary {
 12687  	s.LastUpdatedAt = &v
 12688  	return s
 12689  }
 12690  
 12691  // SetLifecycleEvents sets the LifecycleEvents field's value.
 12692  func (s *InstanceSummary) SetLifecycleEvents(v []*LifecycleEvent) *InstanceSummary {
 12693  	s.LifecycleEvents = v
 12694  	return s
 12695  }
 12696  
 12697  // SetStatus sets the Status field's value.
 12698  func (s *InstanceSummary) SetStatus(v string) *InstanceSummary {
 12699  	s.Status = &v
 12700  	return s
 12701  }
 12702  
 12703  // A target Amazon EC2 or on-premises instance during a deployment that uses
 12704  // the EC2/On-premises compute platform.
 12705  type InstanceTarget struct {
 12706  	_ struct{} `type:"structure"`
 12707  
 12708  	// The unique ID of a deployment.
 12709  	DeploymentId *string `locationName:"deploymentId" type:"string"`
 12710  
 12711  	// A label that identifies whether the instance is an original target (BLUE)
 12712  	// or a replacement target (GREEN).
 12713  	InstanceLabel *string `locationName:"instanceLabel" type:"string" enum:"TargetLabel"`
 12714  
 12715  	// The date and time when the target instance was updated by a deployment.
 12716  	LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
 12717  
 12718  	// The lifecycle events of the deployment to this target instance.
 12719  	LifecycleEvents []*LifecycleEvent `locationName:"lifecycleEvents" type:"list"`
 12720  
 12721  	// The status an EC2/On-premises deployment's target instance.
 12722  	Status *string `locationName:"status" type:"string" enum:"TargetStatus"`
 12723  
 12724  	// The Amazon Resource Name (ARN) of the target.
 12725  	TargetArn *string `locationName:"targetArn" type:"string"`
 12726  
 12727  	// The unique ID of a deployment target that has a type of instanceTarget.
 12728  	TargetId *string `locationName:"targetId" type:"string"`
 12729  }
 12730  
 12731  // String returns the string representation.
 12732  //
 12733  // API parameter values that are decorated as "sensitive" in the API will not
 12734  // be included in the string output. The member name will be present, but the
 12735  // value will be replaced with "sensitive".
 12736  func (s InstanceTarget) String() string {
 12737  	return awsutil.Prettify(s)
 12738  }
 12739  
 12740  // GoString returns the string representation.
 12741  //
 12742  // API parameter values that are decorated as "sensitive" in the API will not
 12743  // be included in the string output. The member name will be present, but the
 12744  // value will be replaced with "sensitive".
 12745  func (s InstanceTarget) GoString() string {
 12746  	return s.String()
 12747  }
 12748  
 12749  // SetDeploymentId sets the DeploymentId field's value.
 12750  func (s *InstanceTarget) SetDeploymentId(v string) *InstanceTarget {
 12751  	s.DeploymentId = &v
 12752  	return s
 12753  }
 12754  
 12755  // SetInstanceLabel sets the InstanceLabel field's value.
 12756  func (s *InstanceTarget) SetInstanceLabel(v string) *InstanceTarget {
 12757  	s.InstanceLabel = &v
 12758  	return s
 12759  }
 12760  
 12761  // SetLastUpdatedAt sets the LastUpdatedAt field's value.
 12762  func (s *InstanceTarget) SetLastUpdatedAt(v time.Time) *InstanceTarget {
 12763  	s.LastUpdatedAt = &v
 12764  	return s
 12765  }
 12766  
 12767  // SetLifecycleEvents sets the LifecycleEvents field's value.
 12768  func (s *InstanceTarget) SetLifecycleEvents(v []*LifecycleEvent) *InstanceTarget {
 12769  	s.LifecycleEvents = v
 12770  	return s
 12771  }
 12772  
 12773  // SetStatus sets the Status field's value.
 12774  func (s *InstanceTarget) SetStatus(v string) *InstanceTarget {
 12775  	s.Status = &v
 12776  	return s
 12777  }
 12778  
 12779  // SetTargetArn sets the TargetArn field's value.
 12780  func (s *InstanceTarget) SetTargetArn(v string) *InstanceTarget {
 12781  	s.TargetArn = &v
 12782  	return s
 12783  }
 12784  
 12785  // SetTargetId sets the TargetId field's value.
 12786  func (s *InstanceTarget) SetTargetId(v string) *InstanceTarget {
 12787  	s.TargetId = &v
 12788  	return s
 12789  }
 12790  
 12791  // The format of the alarm configuration is invalid. Possible causes include:
 12792  //
 12793  //    * The alarm list is null.
 12794  //
 12795  //    * The alarm object is null.
 12796  //
 12797  //    * The alarm name is empty or null or exceeds the limit of 255 characters.
 12798  //
 12799  //    * Two alarms with the same name have been specified.
 12800  //
 12801  //    * The alarm configuration is enabled, but the alarm list is empty.
 12802  type InvalidAlarmConfigException struct {
 12803  	_            struct{}                  `type:"structure"`
 12804  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 12805  
 12806  	Message_ *string `locationName:"message" type:"string"`
 12807  }
 12808  
 12809  // String returns the string representation.
 12810  //
 12811  // API parameter values that are decorated as "sensitive" in the API will not
 12812  // be included in the string output. The member name will be present, but the
 12813  // value will be replaced with "sensitive".
 12814  func (s InvalidAlarmConfigException) String() string {
 12815  	return awsutil.Prettify(s)
 12816  }
 12817  
 12818  // GoString returns the string representation.
 12819  //
 12820  // API parameter values that are decorated as "sensitive" in the API will not
 12821  // be included in the string output. The member name will be present, but the
 12822  // value will be replaced with "sensitive".
 12823  func (s InvalidAlarmConfigException) GoString() string {
 12824  	return s.String()
 12825  }
 12826  
 12827  func newErrorInvalidAlarmConfigException(v protocol.ResponseMetadata) error {
 12828  	return &InvalidAlarmConfigException{
 12829  		RespMetadata: v,
 12830  	}
 12831  }
 12832  
 12833  // Code returns the exception type name.
 12834  func (s *InvalidAlarmConfigException) Code() string {
 12835  	return "InvalidAlarmConfigException"
 12836  }
 12837  
 12838  // Message returns the exception's message.
 12839  func (s *InvalidAlarmConfigException) Message() string {
 12840  	if s.Message_ != nil {
 12841  		return *s.Message_
 12842  	}
 12843  	return ""
 12844  }
 12845  
 12846  // OrigErr always returns nil, satisfies awserr.Error interface.
 12847  func (s *InvalidAlarmConfigException) OrigErr() error {
 12848  	return nil
 12849  }
 12850  
 12851  func (s *InvalidAlarmConfigException) Error() string {
 12852  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 12853  }
 12854  
 12855  // Status code returns the HTTP status code for the request's response error.
 12856  func (s *InvalidAlarmConfigException) StatusCode() int {
 12857  	return s.RespMetadata.StatusCode
 12858  }
 12859  
 12860  // RequestID returns the service's response RequestID for request.
 12861  func (s *InvalidAlarmConfigException) RequestID() string {
 12862  	return s.RespMetadata.RequestID
 12863  }
 12864  
 12865  // The application name was specified in an invalid format.
 12866  type InvalidApplicationNameException struct {
 12867  	_            struct{}                  `type:"structure"`
 12868  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 12869  
 12870  	Message_ *string `locationName:"message" type:"string"`
 12871  }
 12872  
 12873  // String returns the string representation.
 12874  //
 12875  // API parameter values that are decorated as "sensitive" in the API will not
 12876  // be included in the string output. The member name will be present, but the
 12877  // value will be replaced with "sensitive".
 12878  func (s InvalidApplicationNameException) String() string {
 12879  	return awsutil.Prettify(s)
 12880  }
 12881  
 12882  // GoString returns the string representation.
 12883  //
 12884  // API parameter values that are decorated as "sensitive" in the API will not
 12885  // be included in the string output. The member name will be present, but the
 12886  // value will be replaced with "sensitive".
 12887  func (s InvalidApplicationNameException) GoString() string {
 12888  	return s.String()
 12889  }
 12890  
 12891  func newErrorInvalidApplicationNameException(v protocol.ResponseMetadata) error {
 12892  	return &InvalidApplicationNameException{
 12893  		RespMetadata: v,
 12894  	}
 12895  }
 12896  
 12897  // Code returns the exception type name.
 12898  func (s *InvalidApplicationNameException) Code() string {
 12899  	return "InvalidApplicationNameException"
 12900  }
 12901  
 12902  // Message returns the exception's message.
 12903  func (s *InvalidApplicationNameException) Message() string {
 12904  	if s.Message_ != nil {
 12905  		return *s.Message_
 12906  	}
 12907  	return ""
 12908  }
 12909  
 12910  // OrigErr always returns nil, satisfies awserr.Error interface.
 12911  func (s *InvalidApplicationNameException) OrigErr() error {
 12912  	return nil
 12913  }
 12914  
 12915  func (s *InvalidApplicationNameException) Error() string {
 12916  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 12917  }
 12918  
 12919  // Status code returns the HTTP status code for the request's response error.
 12920  func (s *InvalidApplicationNameException) StatusCode() int {
 12921  	return s.RespMetadata.StatusCode
 12922  }
 12923  
 12924  // RequestID returns the service's response RequestID for request.
 12925  func (s *InvalidApplicationNameException) RequestID() string {
 12926  	return s.RespMetadata.RequestID
 12927  }
 12928  
 12929  // The specified ARN is not in a valid format.
 12930  type InvalidArnException struct {
 12931  	_            struct{}                  `type:"structure"`
 12932  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 12933  
 12934  	Message_ *string `locationName:"message" type:"string"`
 12935  }
 12936  
 12937  // String returns the string representation.
 12938  //
 12939  // API parameter values that are decorated as "sensitive" in the API will not
 12940  // be included in the string output. The member name will be present, but the
 12941  // value will be replaced with "sensitive".
 12942  func (s InvalidArnException) String() string {
 12943  	return awsutil.Prettify(s)
 12944  }
 12945  
 12946  // GoString returns the string representation.
 12947  //
 12948  // API parameter values that are decorated as "sensitive" in the API will not
 12949  // be included in the string output. The member name will be present, but the
 12950  // value will be replaced with "sensitive".
 12951  func (s InvalidArnException) GoString() string {
 12952  	return s.String()
 12953  }
 12954  
 12955  func newErrorInvalidArnException(v protocol.ResponseMetadata) error {
 12956  	return &InvalidArnException{
 12957  		RespMetadata: v,
 12958  	}
 12959  }
 12960  
 12961  // Code returns the exception type name.
 12962  func (s *InvalidArnException) Code() string {
 12963  	return "InvalidArnException"
 12964  }
 12965  
 12966  // Message returns the exception's message.
 12967  func (s *InvalidArnException) Message() string {
 12968  	if s.Message_ != nil {
 12969  		return *s.Message_
 12970  	}
 12971  	return ""
 12972  }
 12973  
 12974  // OrigErr always returns nil, satisfies awserr.Error interface.
 12975  func (s *InvalidArnException) OrigErr() error {
 12976  	return nil
 12977  }
 12978  
 12979  func (s *InvalidArnException) Error() string {
 12980  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 12981  }
 12982  
 12983  // Status code returns the HTTP status code for the request's response error.
 12984  func (s *InvalidArnException) StatusCode() int {
 12985  	return s.RespMetadata.StatusCode
 12986  }
 12987  
 12988  // RequestID returns the service's response RequestID for request.
 12989  func (s *InvalidArnException) RequestID() string {
 12990  	return s.RespMetadata.RequestID
 12991  }
 12992  
 12993  // The automatic rollback configuration was specified in an invalid format.
 12994  // For example, automatic rollback is enabled, but an invalid triggering event
 12995  // type or no event types were listed.
 12996  type InvalidAutoRollbackConfigException struct {
 12997  	_            struct{}                  `type:"structure"`
 12998  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 12999  
 13000  	Message_ *string `locationName:"message" type:"string"`
 13001  }
 13002  
 13003  // String returns the string representation.
 13004  //
 13005  // API parameter values that are decorated as "sensitive" in the API will not
 13006  // be included in the string output. The member name will be present, but the
 13007  // value will be replaced with "sensitive".
 13008  func (s InvalidAutoRollbackConfigException) String() string {
 13009  	return awsutil.Prettify(s)
 13010  }
 13011  
 13012  // GoString returns the string representation.
 13013  //
 13014  // API parameter values that are decorated as "sensitive" in the API will not
 13015  // be included in the string output. The member name will be present, but the
 13016  // value will be replaced with "sensitive".
 13017  func (s InvalidAutoRollbackConfigException) GoString() string {
 13018  	return s.String()
 13019  }
 13020  
 13021  func newErrorInvalidAutoRollbackConfigException(v protocol.ResponseMetadata) error {
 13022  	return &InvalidAutoRollbackConfigException{
 13023  		RespMetadata: v,
 13024  	}
 13025  }
 13026  
 13027  // Code returns the exception type name.
 13028  func (s *InvalidAutoRollbackConfigException) Code() string {
 13029  	return "InvalidAutoRollbackConfigException"
 13030  }
 13031  
 13032  // Message returns the exception's message.
 13033  func (s *InvalidAutoRollbackConfigException) Message() string {
 13034  	if s.Message_ != nil {
 13035  		return *s.Message_
 13036  	}
 13037  	return ""
 13038  }
 13039  
 13040  // OrigErr always returns nil, satisfies awserr.Error interface.
 13041  func (s *InvalidAutoRollbackConfigException) OrigErr() error {
 13042  	return nil
 13043  }
 13044  
 13045  func (s *InvalidAutoRollbackConfigException) Error() string {
 13046  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 13047  }
 13048  
 13049  // Status code returns the HTTP status code for the request's response error.
 13050  func (s *InvalidAutoRollbackConfigException) StatusCode() int {
 13051  	return s.RespMetadata.StatusCode
 13052  }
 13053  
 13054  // RequestID returns the service's response RequestID for request.
 13055  func (s *InvalidAutoRollbackConfigException) RequestID() string {
 13056  	return s.RespMetadata.RequestID
 13057  }
 13058  
 13059  // The Auto Scaling group was specified in an invalid format or does not exist.
 13060  type InvalidAutoScalingGroupException struct {
 13061  	_            struct{}                  `type:"structure"`
 13062  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 13063  
 13064  	Message_ *string `locationName:"message" type:"string"`
 13065  }
 13066  
 13067  // String returns the string representation.
 13068  //
 13069  // API parameter values that are decorated as "sensitive" in the API will not
 13070  // be included in the string output. The member name will be present, but the
 13071  // value will be replaced with "sensitive".
 13072  func (s InvalidAutoScalingGroupException) String() string {
 13073  	return awsutil.Prettify(s)
 13074  }
 13075  
 13076  // GoString returns the string representation.
 13077  //
 13078  // API parameter values that are decorated as "sensitive" in the API will not
 13079  // be included in the string output. The member name will be present, but the
 13080  // value will be replaced with "sensitive".
 13081  func (s InvalidAutoScalingGroupException) GoString() string {
 13082  	return s.String()
 13083  }
 13084  
 13085  func newErrorInvalidAutoScalingGroupException(v protocol.ResponseMetadata) error {
 13086  	return &InvalidAutoScalingGroupException{
 13087  		RespMetadata: v,
 13088  	}
 13089  }
 13090  
 13091  // Code returns the exception type name.
 13092  func (s *InvalidAutoScalingGroupException) Code() string {
 13093  	return "InvalidAutoScalingGroupException"
 13094  }
 13095  
 13096  // Message returns the exception's message.
 13097  func (s *InvalidAutoScalingGroupException) Message() string {
 13098  	if s.Message_ != nil {
 13099  		return *s.Message_
 13100  	}
 13101  	return ""
 13102  }
 13103  
 13104  // OrigErr always returns nil, satisfies awserr.Error interface.
 13105  func (s *InvalidAutoScalingGroupException) OrigErr() error {
 13106  	return nil
 13107  }
 13108  
 13109  func (s *InvalidAutoScalingGroupException) Error() string {
 13110  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 13111  }
 13112  
 13113  // Status code returns the HTTP status code for the request's response error.
 13114  func (s *InvalidAutoScalingGroupException) StatusCode() int {
 13115  	return s.RespMetadata.StatusCode
 13116  }
 13117  
 13118  // RequestID returns the service's response RequestID for request.
 13119  func (s *InvalidAutoScalingGroupException) RequestID() string {
 13120  	return s.RespMetadata.RequestID
 13121  }
 13122  
 13123  // The configuration for the blue/green deployment group was provided in an
 13124  // invalid format. For information about deployment configuration format, see
 13125  // CreateDeploymentConfig.
 13126  type InvalidBlueGreenDeploymentConfigurationException struct {
 13127  	_            struct{}                  `type:"structure"`
 13128  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 13129  
 13130  	Message_ *string `locationName:"message" type:"string"`
 13131  }
 13132  
 13133  // String returns the string representation.
 13134  //
 13135  // API parameter values that are decorated as "sensitive" in the API will not
 13136  // be included in the string output. The member name will be present, but the
 13137  // value will be replaced with "sensitive".
 13138  func (s InvalidBlueGreenDeploymentConfigurationException) String() string {
 13139  	return awsutil.Prettify(s)
 13140  }
 13141  
 13142  // GoString returns the string representation.
 13143  //
 13144  // API parameter values that are decorated as "sensitive" in the API will not
 13145  // be included in the string output. The member name will be present, but the
 13146  // value will be replaced with "sensitive".
 13147  func (s InvalidBlueGreenDeploymentConfigurationException) GoString() string {
 13148  	return s.String()
 13149  }
 13150  
 13151  func newErrorInvalidBlueGreenDeploymentConfigurationException(v protocol.ResponseMetadata) error {
 13152  	return &InvalidBlueGreenDeploymentConfigurationException{
 13153  		RespMetadata: v,
 13154  	}
 13155  }
 13156  
 13157  // Code returns the exception type name.
 13158  func (s *InvalidBlueGreenDeploymentConfigurationException) Code() string {
 13159  	return "InvalidBlueGreenDeploymentConfigurationException"
 13160  }
 13161  
 13162  // Message returns the exception's message.
 13163  func (s *InvalidBlueGreenDeploymentConfigurationException) Message() string {
 13164  	if s.Message_ != nil {
 13165  		return *s.Message_
 13166  	}
 13167  	return ""
 13168  }
 13169  
 13170  // OrigErr always returns nil, satisfies awserr.Error interface.
 13171  func (s *InvalidBlueGreenDeploymentConfigurationException) OrigErr() error {
 13172  	return nil
 13173  }
 13174  
 13175  func (s *InvalidBlueGreenDeploymentConfigurationException) Error() string {
 13176  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 13177  }
 13178  
 13179  // Status code returns the HTTP status code for the request's response error.
 13180  func (s *InvalidBlueGreenDeploymentConfigurationException) StatusCode() int {
 13181  	return s.RespMetadata.StatusCode
 13182  }
 13183  
 13184  // RequestID returns the service's response RequestID for request.
 13185  func (s *InvalidBlueGreenDeploymentConfigurationException) RequestID() string {
 13186  	return s.RespMetadata.RequestID
 13187  }
 13188  
 13189  // The bucket name either doesn't exist or was specified in an invalid format.
 13190  type InvalidBucketNameFilterException struct {
 13191  	_            struct{}                  `type:"structure"`
 13192  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 13193  
 13194  	Message_ *string `locationName:"message" type:"string"`
 13195  }
 13196  
 13197  // String returns the string representation.
 13198  //
 13199  // API parameter values that are decorated as "sensitive" in the API will not
 13200  // be included in the string output. The member name will be present, but the
 13201  // value will be replaced with "sensitive".
 13202  func (s InvalidBucketNameFilterException) String() string {
 13203  	return awsutil.Prettify(s)
 13204  }
 13205  
 13206  // GoString returns the string representation.
 13207  //
 13208  // API parameter values that are decorated as "sensitive" in the API will not
 13209  // be included in the string output. The member name will be present, but the
 13210  // value will be replaced with "sensitive".
 13211  func (s InvalidBucketNameFilterException) GoString() string {
 13212  	return s.String()
 13213  }
 13214  
 13215  func newErrorInvalidBucketNameFilterException(v protocol.ResponseMetadata) error {
 13216  	return &InvalidBucketNameFilterException{
 13217  		RespMetadata: v,
 13218  	}
 13219  }
 13220  
 13221  // Code returns the exception type name.
 13222  func (s *InvalidBucketNameFilterException) Code() string {
 13223  	return "InvalidBucketNameFilterException"
 13224  }
 13225  
 13226  // Message returns the exception's message.
 13227  func (s *InvalidBucketNameFilterException) Message() string {
 13228  	if s.Message_ != nil {
 13229  		return *s.Message_
 13230  	}
 13231  	return ""
 13232  }
 13233  
 13234  // OrigErr always returns nil, satisfies awserr.Error interface.
 13235  func (s *InvalidBucketNameFilterException) OrigErr() error {
 13236  	return nil
 13237  }
 13238  
 13239  func (s *InvalidBucketNameFilterException) Error() string {
 13240  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 13241  }
 13242  
 13243  // Status code returns the HTTP status code for the request's response error.
 13244  func (s *InvalidBucketNameFilterException) StatusCode() int {
 13245  	return s.RespMetadata.StatusCode
 13246  }
 13247  
 13248  // RequestID returns the service's response RequestID for request.
 13249  func (s *InvalidBucketNameFilterException) RequestID() string {
 13250  	return s.RespMetadata.RequestID
 13251  }
 13252  
 13253  // The computePlatform is invalid. The computePlatform should be Lambda, Server,
 13254  // or ECS.
 13255  type InvalidComputePlatformException struct {
 13256  	_            struct{}                  `type:"structure"`
 13257  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 13258  
 13259  	Message_ *string `locationName:"message" type:"string"`
 13260  }
 13261  
 13262  // String returns the string representation.
 13263  //
 13264  // API parameter values that are decorated as "sensitive" in the API will not
 13265  // be included in the string output. The member name will be present, but the
 13266  // value will be replaced with "sensitive".
 13267  func (s InvalidComputePlatformException) String() string {
 13268  	return awsutil.Prettify(s)
 13269  }
 13270  
 13271  // GoString returns the string representation.
 13272  //
 13273  // API parameter values that are decorated as "sensitive" in the API will not
 13274  // be included in the string output. The member name will be present, but the
 13275  // value will be replaced with "sensitive".
 13276  func (s InvalidComputePlatformException) GoString() string {
 13277  	return s.String()
 13278  }
 13279  
 13280  func newErrorInvalidComputePlatformException(v protocol.ResponseMetadata) error {
 13281  	return &InvalidComputePlatformException{
 13282  		RespMetadata: v,
 13283  	}
 13284  }
 13285  
 13286  // Code returns the exception type name.
 13287  func (s *InvalidComputePlatformException) Code() string {
 13288  	return "InvalidComputePlatformException"
 13289  }
 13290  
 13291  // Message returns the exception's message.
 13292  func (s *InvalidComputePlatformException) Message() string {
 13293  	if s.Message_ != nil {
 13294  		return *s.Message_
 13295  	}
 13296  	return ""
 13297  }
 13298  
 13299  // OrigErr always returns nil, satisfies awserr.Error interface.
 13300  func (s *InvalidComputePlatformException) OrigErr() error {
 13301  	return nil
 13302  }
 13303  
 13304  func (s *InvalidComputePlatformException) Error() string {
 13305  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 13306  }
 13307  
 13308  // Status code returns the HTTP status code for the request's response error.
 13309  func (s *InvalidComputePlatformException) StatusCode() int {
 13310  	return s.RespMetadata.StatusCode
 13311  }
 13312  
 13313  // RequestID returns the service's response RequestID for request.
 13314  func (s *InvalidComputePlatformException) RequestID() string {
 13315  	return s.RespMetadata.RequestID
 13316  }
 13317  
 13318  // The deployed state filter was specified in an invalid format.
 13319  type InvalidDeployedStateFilterException struct {
 13320  	_            struct{}                  `type:"structure"`
 13321  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 13322  
 13323  	Message_ *string `locationName:"message" type:"string"`
 13324  }
 13325  
 13326  // String returns the string representation.
 13327  //
 13328  // API parameter values that are decorated as "sensitive" in the API will not
 13329  // be included in the string output. The member name will be present, but the
 13330  // value will be replaced with "sensitive".
 13331  func (s InvalidDeployedStateFilterException) String() string {
 13332  	return awsutil.Prettify(s)
 13333  }
 13334  
 13335  // GoString returns the string representation.
 13336  //
 13337  // API parameter values that are decorated as "sensitive" in the API will not
 13338  // be included in the string output. The member name will be present, but the
 13339  // value will be replaced with "sensitive".
 13340  func (s InvalidDeployedStateFilterException) GoString() string {
 13341  	return s.String()
 13342  }
 13343  
 13344  func newErrorInvalidDeployedStateFilterException(v protocol.ResponseMetadata) error {
 13345  	return &InvalidDeployedStateFilterException{
 13346  		RespMetadata: v,
 13347  	}
 13348  }
 13349  
 13350  // Code returns the exception type name.
 13351  func (s *InvalidDeployedStateFilterException) Code() string {
 13352  	return "InvalidDeployedStateFilterException"
 13353  }
 13354  
 13355  // Message returns the exception's message.
 13356  func (s *InvalidDeployedStateFilterException) Message() string {
 13357  	if s.Message_ != nil {
 13358  		return *s.Message_
 13359  	}
 13360  	return ""
 13361  }
 13362  
 13363  // OrigErr always returns nil, satisfies awserr.Error interface.
 13364  func (s *InvalidDeployedStateFilterException) OrigErr() error {
 13365  	return nil
 13366  }
 13367  
 13368  func (s *InvalidDeployedStateFilterException) Error() string {
 13369  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 13370  }
 13371  
 13372  // Status code returns the HTTP status code for the request's response error.
 13373  func (s *InvalidDeployedStateFilterException) StatusCode() int {
 13374  	return s.RespMetadata.StatusCode
 13375  }
 13376  
 13377  // RequestID returns the service's response RequestID for request.
 13378  func (s *InvalidDeployedStateFilterException) RequestID() string {
 13379  	return s.RespMetadata.RequestID
 13380  }
 13381  
 13382  // The deployment configuration name was specified in an invalid format.
 13383  type InvalidDeploymentConfigNameException struct {
 13384  	_            struct{}                  `type:"structure"`
 13385  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 13386  
 13387  	Message_ *string `locationName:"message" type:"string"`
 13388  }
 13389  
 13390  // String returns the string representation.
 13391  //
 13392  // API parameter values that are decorated as "sensitive" in the API will not
 13393  // be included in the string output. The member name will be present, but the
 13394  // value will be replaced with "sensitive".
 13395  func (s InvalidDeploymentConfigNameException) String() string {
 13396  	return awsutil.Prettify(s)
 13397  }
 13398  
 13399  // GoString returns the string representation.
 13400  //
 13401  // API parameter values that are decorated as "sensitive" in the API will not
 13402  // be included in the string output. The member name will be present, but the
 13403  // value will be replaced with "sensitive".
 13404  func (s InvalidDeploymentConfigNameException) GoString() string {
 13405  	return s.String()
 13406  }
 13407  
 13408  func newErrorInvalidDeploymentConfigNameException(v protocol.ResponseMetadata) error {
 13409  	return &InvalidDeploymentConfigNameException{
 13410  		RespMetadata: v,
 13411  	}
 13412  }
 13413  
 13414  // Code returns the exception type name.
 13415  func (s *InvalidDeploymentConfigNameException) Code() string {
 13416  	return "InvalidDeploymentConfigNameException"
 13417  }
 13418  
 13419  // Message returns the exception's message.
 13420  func (s *InvalidDeploymentConfigNameException) Message() string {
 13421  	if s.Message_ != nil {
 13422  		return *s.Message_
 13423  	}
 13424  	return ""
 13425  }
 13426  
 13427  // OrigErr always returns nil, satisfies awserr.Error interface.
 13428  func (s *InvalidDeploymentConfigNameException) OrigErr() error {
 13429  	return nil
 13430  }
 13431  
 13432  func (s *InvalidDeploymentConfigNameException) Error() string {
 13433  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 13434  }
 13435  
 13436  // Status code returns the HTTP status code for the request's response error.
 13437  func (s *InvalidDeploymentConfigNameException) StatusCode() int {
 13438  	return s.RespMetadata.StatusCode
 13439  }
 13440  
 13441  // RequestID returns the service's response RequestID for request.
 13442  func (s *InvalidDeploymentConfigNameException) RequestID() string {
 13443  	return s.RespMetadata.RequestID
 13444  }
 13445  
 13446  // The deployment group name was specified in an invalid format.
 13447  type InvalidDeploymentGroupNameException struct {
 13448  	_            struct{}                  `type:"structure"`
 13449  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 13450  
 13451  	Message_ *string `locationName:"message" type:"string"`
 13452  }
 13453  
 13454  // String returns the string representation.
 13455  //
 13456  // API parameter values that are decorated as "sensitive" in the API will not
 13457  // be included in the string output. The member name will be present, but the
 13458  // value will be replaced with "sensitive".
 13459  func (s InvalidDeploymentGroupNameException) String() string {
 13460  	return awsutil.Prettify(s)
 13461  }
 13462  
 13463  // GoString returns the string representation.
 13464  //
 13465  // API parameter values that are decorated as "sensitive" in the API will not
 13466  // be included in the string output. The member name will be present, but the
 13467  // value will be replaced with "sensitive".
 13468  func (s InvalidDeploymentGroupNameException) GoString() string {
 13469  	return s.String()
 13470  }
 13471  
 13472  func newErrorInvalidDeploymentGroupNameException(v protocol.ResponseMetadata) error {
 13473  	return &InvalidDeploymentGroupNameException{
 13474  		RespMetadata: v,
 13475  	}
 13476  }
 13477  
 13478  // Code returns the exception type name.
 13479  func (s *InvalidDeploymentGroupNameException) Code() string {
 13480  	return "InvalidDeploymentGroupNameException"
 13481  }
 13482  
 13483  // Message returns the exception's message.
 13484  func (s *InvalidDeploymentGroupNameException) Message() string {
 13485  	if s.Message_ != nil {
 13486  		return *s.Message_
 13487  	}
 13488  	return ""
 13489  }
 13490  
 13491  // OrigErr always returns nil, satisfies awserr.Error interface.
 13492  func (s *InvalidDeploymentGroupNameException) OrigErr() error {
 13493  	return nil
 13494  }
 13495  
 13496  func (s *InvalidDeploymentGroupNameException) Error() string {
 13497  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 13498  }
 13499  
 13500  // Status code returns the HTTP status code for the request's response error.
 13501  func (s *InvalidDeploymentGroupNameException) StatusCode() int {
 13502  	return s.RespMetadata.StatusCode
 13503  }
 13504  
 13505  // RequestID returns the service's response RequestID for request.
 13506  func (s *InvalidDeploymentGroupNameException) RequestID() string {
 13507  	return s.RespMetadata.RequestID
 13508  }
 13509  
 13510  // At least one of the deployment IDs was specified in an invalid format.
 13511  type InvalidDeploymentIdException struct {
 13512  	_            struct{}                  `type:"structure"`
 13513  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 13514  
 13515  	Message_ *string `locationName:"message" type:"string"`
 13516  }
 13517  
 13518  // String returns the string representation.
 13519  //
 13520  // API parameter values that are decorated as "sensitive" in the API will not
 13521  // be included in the string output. The member name will be present, but the
 13522  // value will be replaced with "sensitive".
 13523  func (s InvalidDeploymentIdException) String() string {
 13524  	return awsutil.Prettify(s)
 13525  }
 13526  
 13527  // GoString returns the string representation.
 13528  //
 13529  // API parameter values that are decorated as "sensitive" in the API will not
 13530  // be included in the string output. The member name will be present, but the
 13531  // value will be replaced with "sensitive".
 13532  func (s InvalidDeploymentIdException) GoString() string {
 13533  	return s.String()
 13534  }
 13535  
 13536  func newErrorInvalidDeploymentIdException(v protocol.ResponseMetadata) error {
 13537  	return &InvalidDeploymentIdException{
 13538  		RespMetadata: v,
 13539  	}
 13540  }
 13541  
 13542  // Code returns the exception type name.
 13543  func (s *InvalidDeploymentIdException) Code() string {
 13544  	return "InvalidDeploymentIdException"
 13545  }
 13546  
 13547  // Message returns the exception's message.
 13548  func (s *InvalidDeploymentIdException) Message() string {
 13549  	if s.Message_ != nil {
 13550  		return *s.Message_
 13551  	}
 13552  	return ""
 13553  }
 13554  
 13555  // OrigErr always returns nil, satisfies awserr.Error interface.
 13556  func (s *InvalidDeploymentIdException) OrigErr() error {
 13557  	return nil
 13558  }
 13559  
 13560  func (s *InvalidDeploymentIdException) Error() string {
 13561  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 13562  }
 13563  
 13564  // Status code returns the HTTP status code for the request's response error.
 13565  func (s *InvalidDeploymentIdException) StatusCode() int {
 13566  	return s.RespMetadata.StatusCode
 13567  }
 13568  
 13569  // RequestID returns the service's response RequestID for request.
 13570  func (s *InvalidDeploymentIdException) RequestID() string {
 13571  	return s.RespMetadata.RequestID
 13572  }
 13573  
 13574  // An instance type was specified for an in-place deployment. Instance types
 13575  // are supported for blue/green deployments only.
 13576  type InvalidDeploymentInstanceTypeException struct {
 13577  	_            struct{}                  `type:"structure"`
 13578  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 13579  
 13580  	Message_ *string `locationName:"message" type:"string"`
 13581  }
 13582  
 13583  // String returns the string representation.
 13584  //
 13585  // API parameter values that are decorated as "sensitive" in the API will not
 13586  // be included in the string output. The member name will be present, but the
 13587  // value will be replaced with "sensitive".
 13588  func (s InvalidDeploymentInstanceTypeException) String() string {
 13589  	return awsutil.Prettify(s)
 13590  }
 13591  
 13592  // GoString returns the string representation.
 13593  //
 13594  // API parameter values that are decorated as "sensitive" in the API will not
 13595  // be included in the string output. The member name will be present, but the
 13596  // value will be replaced with "sensitive".
 13597  func (s InvalidDeploymentInstanceTypeException) GoString() string {
 13598  	return s.String()
 13599  }
 13600  
 13601  func newErrorInvalidDeploymentInstanceTypeException(v protocol.ResponseMetadata) error {
 13602  	return &InvalidDeploymentInstanceTypeException{
 13603  		RespMetadata: v,
 13604  	}
 13605  }
 13606  
 13607  // Code returns the exception type name.
 13608  func (s *InvalidDeploymentInstanceTypeException) Code() string {
 13609  	return "InvalidDeploymentInstanceTypeException"
 13610  }
 13611  
 13612  // Message returns the exception's message.
 13613  func (s *InvalidDeploymentInstanceTypeException) Message() string {
 13614  	if s.Message_ != nil {
 13615  		return *s.Message_
 13616  	}
 13617  	return ""
 13618  }
 13619  
 13620  // OrigErr always returns nil, satisfies awserr.Error interface.
 13621  func (s *InvalidDeploymentInstanceTypeException) OrigErr() error {
 13622  	return nil
 13623  }
 13624  
 13625  func (s *InvalidDeploymentInstanceTypeException) Error() string {
 13626  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 13627  }
 13628  
 13629  // Status code returns the HTTP status code for the request's response error.
 13630  func (s *InvalidDeploymentInstanceTypeException) StatusCode() int {
 13631  	return s.RespMetadata.StatusCode
 13632  }
 13633  
 13634  // RequestID returns the service's response RequestID for request.
 13635  func (s *InvalidDeploymentInstanceTypeException) RequestID() string {
 13636  	return s.RespMetadata.RequestID
 13637  }
 13638  
 13639  // The specified deployment status doesn't exist or cannot be determined.
 13640  type InvalidDeploymentStatusException struct {
 13641  	_            struct{}                  `type:"structure"`
 13642  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 13643  
 13644  	Message_ *string `locationName:"message" type:"string"`
 13645  }
 13646  
 13647  // String returns the string representation.
 13648  //
 13649  // API parameter values that are decorated as "sensitive" in the API will not
 13650  // be included in the string output. The member name will be present, but the
 13651  // value will be replaced with "sensitive".
 13652  func (s InvalidDeploymentStatusException) String() string {
 13653  	return awsutil.Prettify(s)
 13654  }
 13655  
 13656  // GoString returns the string representation.
 13657  //
 13658  // API parameter values that are decorated as "sensitive" in the API will not
 13659  // be included in the string output. The member name will be present, but the
 13660  // value will be replaced with "sensitive".
 13661  func (s InvalidDeploymentStatusException) GoString() string {
 13662  	return s.String()
 13663  }
 13664  
 13665  func newErrorInvalidDeploymentStatusException(v protocol.ResponseMetadata) error {
 13666  	return &InvalidDeploymentStatusException{
 13667  		RespMetadata: v,
 13668  	}
 13669  }
 13670  
 13671  // Code returns the exception type name.
 13672  func (s *InvalidDeploymentStatusException) Code() string {
 13673  	return "InvalidDeploymentStatusException"
 13674  }
 13675  
 13676  // Message returns the exception's message.
 13677  func (s *InvalidDeploymentStatusException) Message() string {
 13678  	if s.Message_ != nil {
 13679  		return *s.Message_
 13680  	}
 13681  	return ""
 13682  }
 13683  
 13684  // OrigErr always returns nil, satisfies awserr.Error interface.
 13685  func (s *InvalidDeploymentStatusException) OrigErr() error {
 13686  	return nil
 13687  }
 13688  
 13689  func (s *InvalidDeploymentStatusException) Error() string {
 13690  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 13691  }
 13692  
 13693  // Status code returns the HTTP status code for the request's response error.
 13694  func (s *InvalidDeploymentStatusException) StatusCode() int {
 13695  	return s.RespMetadata.StatusCode
 13696  }
 13697  
 13698  // RequestID returns the service's response RequestID for request.
 13699  func (s *InvalidDeploymentStatusException) RequestID() string {
 13700  	return s.RespMetadata.RequestID
 13701  }
 13702  
 13703  // An invalid deployment style was specified. Valid deployment types include
 13704  // "IN_PLACE" and "BLUE_GREEN." Valid deployment options include "WITH_TRAFFIC_CONTROL"
 13705  // and "WITHOUT_TRAFFIC_CONTROL."
 13706  type InvalidDeploymentStyleException struct {
 13707  	_            struct{}                  `type:"structure"`
 13708  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 13709  
 13710  	Message_ *string `locationName:"message" type:"string"`
 13711  }
 13712  
 13713  // String returns the string representation.
 13714  //
 13715  // API parameter values that are decorated as "sensitive" in the API will not
 13716  // be included in the string output. The member name will be present, but the
 13717  // value will be replaced with "sensitive".
 13718  func (s InvalidDeploymentStyleException) String() string {
 13719  	return awsutil.Prettify(s)
 13720  }
 13721  
 13722  // GoString returns the string representation.
 13723  //
 13724  // API parameter values that are decorated as "sensitive" in the API will not
 13725  // be included in the string output. The member name will be present, but the
 13726  // value will be replaced with "sensitive".
 13727  func (s InvalidDeploymentStyleException) GoString() string {
 13728  	return s.String()
 13729  }
 13730  
 13731  func newErrorInvalidDeploymentStyleException(v protocol.ResponseMetadata) error {
 13732  	return &InvalidDeploymentStyleException{
 13733  		RespMetadata: v,
 13734  	}
 13735  }
 13736  
 13737  // Code returns the exception type name.
 13738  func (s *InvalidDeploymentStyleException) Code() string {
 13739  	return "InvalidDeploymentStyleException"
 13740  }
 13741  
 13742  // Message returns the exception's message.
 13743  func (s *InvalidDeploymentStyleException) Message() string {
 13744  	if s.Message_ != nil {
 13745  		return *s.Message_
 13746  	}
 13747  	return ""
 13748  }
 13749  
 13750  // OrigErr always returns nil, satisfies awserr.Error interface.
 13751  func (s *InvalidDeploymentStyleException) OrigErr() error {
 13752  	return nil
 13753  }
 13754  
 13755  func (s *InvalidDeploymentStyleException) Error() string {
 13756  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 13757  }
 13758  
 13759  // Status code returns the HTTP status code for the request's response error.
 13760  func (s *InvalidDeploymentStyleException) StatusCode() int {
 13761  	return s.RespMetadata.StatusCode
 13762  }
 13763  
 13764  // RequestID returns the service's response RequestID for request.
 13765  func (s *InvalidDeploymentStyleException) RequestID() string {
 13766  	return s.RespMetadata.RequestID
 13767  }
 13768  
 13769  // The target ID provided was not valid.
 13770  type InvalidDeploymentTargetIdException struct {
 13771  	_            struct{}                  `type:"structure"`
 13772  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 13773  
 13774  	Message_ *string `locationName:"message" type:"string"`
 13775  }
 13776  
 13777  // String returns the string representation.
 13778  //
 13779  // API parameter values that are decorated as "sensitive" in the API will not
 13780  // be included in the string output. The member name will be present, but the
 13781  // value will be replaced with "sensitive".
 13782  func (s InvalidDeploymentTargetIdException) String() string {
 13783  	return awsutil.Prettify(s)
 13784  }
 13785  
 13786  // GoString returns the string representation.
 13787  //
 13788  // API parameter values that are decorated as "sensitive" in the API will not
 13789  // be included in the string output. The member name will be present, but the
 13790  // value will be replaced with "sensitive".
 13791  func (s InvalidDeploymentTargetIdException) GoString() string {
 13792  	return s.String()
 13793  }
 13794  
 13795  func newErrorInvalidDeploymentTargetIdException(v protocol.ResponseMetadata) error {
 13796  	return &InvalidDeploymentTargetIdException{
 13797  		RespMetadata: v,
 13798  	}
 13799  }
 13800  
 13801  // Code returns the exception type name.
 13802  func (s *InvalidDeploymentTargetIdException) Code() string {
 13803  	return "InvalidDeploymentTargetIdException"
 13804  }
 13805  
 13806  // Message returns the exception's message.
 13807  func (s *InvalidDeploymentTargetIdException) Message() string {
 13808  	if s.Message_ != nil {
 13809  		return *s.Message_
 13810  	}
 13811  	return ""
 13812  }
 13813  
 13814  // OrigErr always returns nil, satisfies awserr.Error interface.
 13815  func (s *InvalidDeploymentTargetIdException) OrigErr() error {
 13816  	return nil
 13817  }
 13818  
 13819  func (s *InvalidDeploymentTargetIdException) Error() string {
 13820  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 13821  }
 13822  
 13823  // Status code returns the HTTP status code for the request's response error.
 13824  func (s *InvalidDeploymentTargetIdException) StatusCode() int {
 13825  	return s.RespMetadata.StatusCode
 13826  }
 13827  
 13828  // RequestID returns the service's response RequestID for request.
 13829  func (s *InvalidDeploymentTargetIdException) RequestID() string {
 13830  	return s.RespMetadata.RequestID
 13831  }
 13832  
 13833  // The wait type is invalid.
 13834  type InvalidDeploymentWaitTypeException struct {
 13835  	_            struct{}                  `type:"structure"`
 13836  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 13837  
 13838  	Message_ *string `locationName:"message" type:"string"`
 13839  }
 13840  
 13841  // String returns the string representation.
 13842  //
 13843  // API parameter values that are decorated as "sensitive" in the API will not
 13844  // be included in the string output. The member name will be present, but the
 13845  // value will be replaced with "sensitive".
 13846  func (s InvalidDeploymentWaitTypeException) String() string {
 13847  	return awsutil.Prettify(s)
 13848  }
 13849  
 13850  // GoString returns the string representation.
 13851  //
 13852  // API parameter values that are decorated as "sensitive" in the API will not
 13853  // be included in the string output. The member name will be present, but the
 13854  // value will be replaced with "sensitive".
 13855  func (s InvalidDeploymentWaitTypeException) GoString() string {
 13856  	return s.String()
 13857  }
 13858  
 13859  func newErrorInvalidDeploymentWaitTypeException(v protocol.ResponseMetadata) error {
 13860  	return &InvalidDeploymentWaitTypeException{
 13861  		RespMetadata: v,
 13862  	}
 13863  }
 13864  
 13865  // Code returns the exception type name.
 13866  func (s *InvalidDeploymentWaitTypeException) Code() string {
 13867  	return "InvalidDeploymentWaitTypeException"
 13868  }
 13869  
 13870  // Message returns the exception's message.
 13871  func (s *InvalidDeploymentWaitTypeException) Message() string {
 13872  	if s.Message_ != nil {
 13873  		return *s.Message_
 13874  	}
 13875  	return ""
 13876  }
 13877  
 13878  // OrigErr always returns nil, satisfies awserr.Error interface.
 13879  func (s *InvalidDeploymentWaitTypeException) OrigErr() error {
 13880  	return nil
 13881  }
 13882  
 13883  func (s *InvalidDeploymentWaitTypeException) Error() string {
 13884  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 13885  }
 13886  
 13887  // Status code returns the HTTP status code for the request's response error.
 13888  func (s *InvalidDeploymentWaitTypeException) StatusCode() int {
 13889  	return s.RespMetadata.StatusCode
 13890  }
 13891  
 13892  // RequestID returns the service's response RequestID for request.
 13893  func (s *InvalidDeploymentWaitTypeException) RequestID() string {
 13894  	return s.RespMetadata.RequestID
 13895  }
 13896  
 13897  // A call was submitted that specified both Ec2TagFilters and Ec2TagSet, but
 13898  // only one of these data types can be used in a single call.
 13899  type InvalidEC2TagCombinationException struct {
 13900  	_            struct{}                  `type:"structure"`
 13901  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 13902  
 13903  	Message_ *string `locationName:"message" type:"string"`
 13904  }
 13905  
 13906  // String returns the string representation.
 13907  //
 13908  // API parameter values that are decorated as "sensitive" in the API will not
 13909  // be included in the string output. The member name will be present, but the
 13910  // value will be replaced with "sensitive".
 13911  func (s InvalidEC2TagCombinationException) String() string {
 13912  	return awsutil.Prettify(s)
 13913  }
 13914  
 13915  // GoString returns the string representation.
 13916  //
 13917  // API parameter values that are decorated as "sensitive" in the API will not
 13918  // be included in the string output. The member name will be present, but the
 13919  // value will be replaced with "sensitive".
 13920  func (s InvalidEC2TagCombinationException) GoString() string {
 13921  	return s.String()
 13922  }
 13923  
 13924  func newErrorInvalidEC2TagCombinationException(v protocol.ResponseMetadata) error {
 13925  	return &InvalidEC2TagCombinationException{
 13926  		RespMetadata: v,
 13927  	}
 13928  }
 13929  
 13930  // Code returns the exception type name.
 13931  func (s *InvalidEC2TagCombinationException) Code() string {
 13932  	return "InvalidEC2TagCombinationException"
 13933  }
 13934  
 13935  // Message returns the exception's message.
 13936  func (s *InvalidEC2TagCombinationException) Message() string {
 13937  	if s.Message_ != nil {
 13938  		return *s.Message_
 13939  	}
 13940  	return ""
 13941  }
 13942  
 13943  // OrigErr always returns nil, satisfies awserr.Error interface.
 13944  func (s *InvalidEC2TagCombinationException) OrigErr() error {
 13945  	return nil
 13946  }
 13947  
 13948  func (s *InvalidEC2TagCombinationException) Error() string {
 13949  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 13950  }
 13951  
 13952  // Status code returns the HTTP status code for the request's response error.
 13953  func (s *InvalidEC2TagCombinationException) StatusCode() int {
 13954  	return s.RespMetadata.StatusCode
 13955  }
 13956  
 13957  // RequestID returns the service's response RequestID for request.
 13958  func (s *InvalidEC2TagCombinationException) RequestID() string {
 13959  	return s.RespMetadata.RequestID
 13960  }
 13961  
 13962  // The tag was specified in an invalid format.
 13963  type InvalidEC2TagException struct {
 13964  	_            struct{}                  `type:"structure"`
 13965  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 13966  
 13967  	Message_ *string `locationName:"message" type:"string"`
 13968  }
 13969  
 13970  // String returns the string representation.
 13971  //
 13972  // API parameter values that are decorated as "sensitive" in the API will not
 13973  // be included in the string output. The member name will be present, but the
 13974  // value will be replaced with "sensitive".
 13975  func (s InvalidEC2TagException) String() string {
 13976  	return awsutil.Prettify(s)
 13977  }
 13978  
 13979  // GoString returns the string representation.
 13980  //
 13981  // API parameter values that are decorated as "sensitive" in the API will not
 13982  // be included in the string output. The member name will be present, but the
 13983  // value will be replaced with "sensitive".
 13984  func (s InvalidEC2TagException) GoString() string {
 13985  	return s.String()
 13986  }
 13987  
 13988  func newErrorInvalidEC2TagException(v protocol.ResponseMetadata) error {
 13989  	return &InvalidEC2TagException{
 13990  		RespMetadata: v,
 13991  	}
 13992  }
 13993  
 13994  // Code returns the exception type name.
 13995  func (s *InvalidEC2TagException) Code() string {
 13996  	return "InvalidEC2TagException"
 13997  }
 13998  
 13999  // Message returns the exception's message.
 14000  func (s *InvalidEC2TagException) Message() string {
 14001  	if s.Message_ != nil {
 14002  		return *s.Message_
 14003  	}
 14004  	return ""
 14005  }
 14006  
 14007  // OrigErr always returns nil, satisfies awserr.Error interface.
 14008  func (s *InvalidEC2TagException) OrigErr() error {
 14009  	return nil
 14010  }
 14011  
 14012  func (s *InvalidEC2TagException) Error() string {
 14013  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 14014  }
 14015  
 14016  // Status code returns the HTTP status code for the request's response error.
 14017  func (s *InvalidEC2TagException) StatusCode() int {
 14018  	return s.RespMetadata.StatusCode
 14019  }
 14020  
 14021  // RequestID returns the service's response RequestID for request.
 14022  func (s *InvalidEC2TagException) RequestID() string {
 14023  	return s.RespMetadata.RequestID
 14024  }
 14025  
 14026  // The Amazon ECS service identifier is not valid.
 14027  type InvalidECSServiceException struct {
 14028  	_            struct{}                  `type:"structure"`
 14029  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 14030  
 14031  	Message_ *string `locationName:"message" type:"string"`
 14032  }
 14033  
 14034  // String returns the string representation.
 14035  //
 14036  // API parameter values that are decorated as "sensitive" in the API will not
 14037  // be included in the string output. The member name will be present, but the
 14038  // value will be replaced with "sensitive".
 14039  func (s InvalidECSServiceException) String() string {
 14040  	return awsutil.Prettify(s)
 14041  }
 14042  
 14043  // GoString returns the string representation.
 14044  //
 14045  // API parameter values that are decorated as "sensitive" in the API will not
 14046  // be included in the string output. The member name will be present, but the
 14047  // value will be replaced with "sensitive".
 14048  func (s InvalidECSServiceException) GoString() string {
 14049  	return s.String()
 14050  }
 14051  
 14052  func newErrorInvalidECSServiceException(v protocol.ResponseMetadata) error {
 14053  	return &InvalidECSServiceException{
 14054  		RespMetadata: v,
 14055  	}
 14056  }
 14057  
 14058  // Code returns the exception type name.
 14059  func (s *InvalidECSServiceException) Code() string {
 14060  	return "InvalidECSServiceException"
 14061  }
 14062  
 14063  // Message returns the exception's message.
 14064  func (s *InvalidECSServiceException) Message() string {
 14065  	if s.Message_ != nil {
 14066  		return *s.Message_
 14067  	}
 14068  	return ""
 14069  }
 14070  
 14071  // OrigErr always returns nil, satisfies awserr.Error interface.
 14072  func (s *InvalidECSServiceException) OrigErr() error {
 14073  	return nil
 14074  }
 14075  
 14076  func (s *InvalidECSServiceException) Error() string {
 14077  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 14078  }
 14079  
 14080  // Status code returns the HTTP status code for the request's response error.
 14081  func (s *InvalidECSServiceException) StatusCode() int {
 14082  	return s.RespMetadata.StatusCode
 14083  }
 14084  
 14085  // RequestID returns the service's response RequestID for request.
 14086  func (s *InvalidECSServiceException) RequestID() string {
 14087  	return s.RespMetadata.RequestID
 14088  }
 14089  
 14090  // The external ID was specified in an invalid format.
 14091  type InvalidExternalIdException struct {
 14092  	_            struct{}                  `type:"structure"`
 14093  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 14094  
 14095  	Message_ *string `locationName:"message" type:"string"`
 14096  }
 14097  
 14098  // String returns the string representation.
 14099  //
 14100  // API parameter values that are decorated as "sensitive" in the API will not
 14101  // be included in the string output. The member name will be present, but the
 14102  // value will be replaced with "sensitive".
 14103  func (s InvalidExternalIdException) String() string {
 14104  	return awsutil.Prettify(s)
 14105  }
 14106  
 14107  // GoString returns the string representation.
 14108  //
 14109  // API parameter values that are decorated as "sensitive" in the API will not
 14110  // be included in the string output. The member name will be present, but the
 14111  // value will be replaced with "sensitive".
 14112  func (s InvalidExternalIdException) GoString() string {
 14113  	return s.String()
 14114  }
 14115  
 14116  func newErrorInvalidExternalIdException(v protocol.ResponseMetadata) error {
 14117  	return &InvalidExternalIdException{
 14118  		RespMetadata: v,
 14119  	}
 14120  }
 14121  
 14122  // Code returns the exception type name.
 14123  func (s *InvalidExternalIdException) Code() string {
 14124  	return "InvalidExternalIdException"
 14125  }
 14126  
 14127  // Message returns the exception's message.
 14128  func (s *InvalidExternalIdException) Message() string {
 14129  	if s.Message_ != nil {
 14130  		return *s.Message_
 14131  	}
 14132  	return ""
 14133  }
 14134  
 14135  // OrigErr always returns nil, satisfies awserr.Error interface.
 14136  func (s *InvalidExternalIdException) OrigErr() error {
 14137  	return nil
 14138  }
 14139  
 14140  func (s *InvalidExternalIdException) Error() string {
 14141  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 14142  }
 14143  
 14144  // Status code returns the HTTP status code for the request's response error.
 14145  func (s *InvalidExternalIdException) StatusCode() int {
 14146  	return s.RespMetadata.StatusCode
 14147  }
 14148  
 14149  // RequestID returns the service's response RequestID for request.
 14150  func (s *InvalidExternalIdException) RequestID() string {
 14151  	return s.RespMetadata.RequestID
 14152  }
 14153  
 14154  // An invalid fileExistsBehavior option was specified to determine how AWS CodeDeploy
 14155  // handles files or directories that already exist in a deployment target location,
 14156  // but weren't part of the previous successful deployment. Valid values include
 14157  // "DISALLOW," "OVERWRITE," and "RETAIN."
 14158  type InvalidFileExistsBehaviorException struct {
 14159  	_            struct{}                  `type:"structure"`
 14160  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 14161  
 14162  	Message_ *string `locationName:"message" type:"string"`
 14163  }
 14164  
 14165  // String returns the string representation.
 14166  //
 14167  // API parameter values that are decorated as "sensitive" in the API will not
 14168  // be included in the string output. The member name will be present, but the
 14169  // value will be replaced with "sensitive".
 14170  func (s InvalidFileExistsBehaviorException) String() string {
 14171  	return awsutil.Prettify(s)
 14172  }
 14173  
 14174  // GoString returns the string representation.
 14175  //
 14176  // API parameter values that are decorated as "sensitive" in the API will not
 14177  // be included in the string output. The member name will be present, but the
 14178  // value will be replaced with "sensitive".
 14179  func (s InvalidFileExistsBehaviorException) GoString() string {
 14180  	return s.String()
 14181  }
 14182  
 14183  func newErrorInvalidFileExistsBehaviorException(v protocol.ResponseMetadata) error {
 14184  	return &InvalidFileExistsBehaviorException{
 14185  		RespMetadata: v,
 14186  	}
 14187  }
 14188  
 14189  // Code returns the exception type name.
 14190  func (s *InvalidFileExistsBehaviorException) Code() string {
 14191  	return "InvalidFileExistsBehaviorException"
 14192  }
 14193  
 14194  // Message returns the exception's message.
 14195  func (s *InvalidFileExistsBehaviorException) Message() string {
 14196  	if s.Message_ != nil {
 14197  		return *s.Message_
 14198  	}
 14199  	return ""
 14200  }
 14201  
 14202  // OrigErr always returns nil, satisfies awserr.Error interface.
 14203  func (s *InvalidFileExistsBehaviorException) OrigErr() error {
 14204  	return nil
 14205  }
 14206  
 14207  func (s *InvalidFileExistsBehaviorException) Error() string {
 14208  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 14209  }
 14210  
 14211  // Status code returns the HTTP status code for the request's response error.
 14212  func (s *InvalidFileExistsBehaviorException) StatusCode() int {
 14213  	return s.RespMetadata.StatusCode
 14214  }
 14215  
 14216  // RequestID returns the service's response RequestID for request.
 14217  func (s *InvalidFileExistsBehaviorException) RequestID() string {
 14218  	return s.RespMetadata.RequestID
 14219  }
 14220  
 14221  // The GitHub token is not valid.
 14222  type InvalidGitHubAccountTokenException struct {
 14223  	_            struct{}                  `type:"structure"`
 14224  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 14225  
 14226  	Message_ *string `locationName:"message" type:"string"`
 14227  }
 14228  
 14229  // String returns the string representation.
 14230  //
 14231  // API parameter values that are decorated as "sensitive" in the API will not
 14232  // be included in the string output. The member name will be present, but the
 14233  // value will be replaced with "sensitive".
 14234  func (s InvalidGitHubAccountTokenException) String() string {
 14235  	return awsutil.Prettify(s)
 14236  }
 14237  
 14238  // GoString returns the string representation.
 14239  //
 14240  // API parameter values that are decorated as "sensitive" in the API will not
 14241  // be included in the string output. The member name will be present, but the
 14242  // value will be replaced with "sensitive".
 14243  func (s InvalidGitHubAccountTokenException) GoString() string {
 14244  	return s.String()
 14245  }
 14246  
 14247  func newErrorInvalidGitHubAccountTokenException(v protocol.ResponseMetadata) error {
 14248  	return &InvalidGitHubAccountTokenException{
 14249  		RespMetadata: v,
 14250  	}
 14251  }
 14252  
 14253  // Code returns the exception type name.
 14254  func (s *InvalidGitHubAccountTokenException) Code() string {
 14255  	return "InvalidGitHubAccountTokenException"
 14256  }
 14257  
 14258  // Message returns the exception's message.
 14259  func (s *InvalidGitHubAccountTokenException) Message() string {
 14260  	if s.Message_ != nil {
 14261  		return *s.Message_
 14262  	}
 14263  	return ""
 14264  }
 14265  
 14266  // OrigErr always returns nil, satisfies awserr.Error interface.
 14267  func (s *InvalidGitHubAccountTokenException) OrigErr() error {
 14268  	return nil
 14269  }
 14270  
 14271  func (s *InvalidGitHubAccountTokenException) Error() string {
 14272  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 14273  }
 14274  
 14275  // Status code returns the HTTP status code for the request's response error.
 14276  func (s *InvalidGitHubAccountTokenException) StatusCode() int {
 14277  	return s.RespMetadata.StatusCode
 14278  }
 14279  
 14280  // RequestID returns the service's response RequestID for request.
 14281  func (s *InvalidGitHubAccountTokenException) RequestID() string {
 14282  	return s.RespMetadata.RequestID
 14283  }
 14284  
 14285  // The format of the specified GitHub account connection name is invalid.
 14286  type InvalidGitHubAccountTokenNameException struct {
 14287  	_            struct{}                  `type:"structure"`
 14288  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 14289  
 14290  	Message_ *string `locationName:"message" type:"string"`
 14291  }
 14292  
 14293  // String returns the string representation.
 14294  //
 14295  // API parameter values that are decorated as "sensitive" in the API will not
 14296  // be included in the string output. The member name will be present, but the
 14297  // value will be replaced with "sensitive".
 14298  func (s InvalidGitHubAccountTokenNameException) String() string {
 14299  	return awsutil.Prettify(s)
 14300  }
 14301  
 14302  // GoString returns the string representation.
 14303  //
 14304  // API parameter values that are decorated as "sensitive" in the API will not
 14305  // be included in the string output. The member name will be present, but the
 14306  // value will be replaced with "sensitive".
 14307  func (s InvalidGitHubAccountTokenNameException) GoString() string {
 14308  	return s.String()
 14309  }
 14310  
 14311  func newErrorInvalidGitHubAccountTokenNameException(v protocol.ResponseMetadata) error {
 14312  	return &InvalidGitHubAccountTokenNameException{
 14313  		RespMetadata: v,
 14314  	}
 14315  }
 14316  
 14317  // Code returns the exception type name.
 14318  func (s *InvalidGitHubAccountTokenNameException) Code() string {
 14319  	return "InvalidGitHubAccountTokenNameException"
 14320  }
 14321  
 14322  // Message returns the exception's message.
 14323  func (s *InvalidGitHubAccountTokenNameException) Message() string {
 14324  	if s.Message_ != nil {
 14325  		return *s.Message_
 14326  	}
 14327  	return ""
 14328  }
 14329  
 14330  // OrigErr always returns nil, satisfies awserr.Error interface.
 14331  func (s *InvalidGitHubAccountTokenNameException) OrigErr() error {
 14332  	return nil
 14333  }
 14334  
 14335  func (s *InvalidGitHubAccountTokenNameException) Error() string {
 14336  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 14337  }
 14338  
 14339  // Status code returns the HTTP status code for the request's response error.
 14340  func (s *InvalidGitHubAccountTokenNameException) StatusCode() int {
 14341  	return s.RespMetadata.StatusCode
 14342  }
 14343  
 14344  // RequestID returns the service's response RequestID for request.
 14345  func (s *InvalidGitHubAccountTokenNameException) RequestID() string {
 14346  	return s.RespMetadata.RequestID
 14347  }
 14348  
 14349  // The IAM session ARN was specified in an invalid format.
 14350  type InvalidIamSessionArnException struct {
 14351  	_            struct{}                  `type:"structure"`
 14352  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 14353  
 14354  	Message_ *string `locationName:"message" type:"string"`
 14355  }
 14356  
 14357  // String returns the string representation.
 14358  //
 14359  // API parameter values that are decorated as "sensitive" in the API will not
 14360  // be included in the string output. The member name will be present, but the
 14361  // value will be replaced with "sensitive".
 14362  func (s InvalidIamSessionArnException) String() string {
 14363  	return awsutil.Prettify(s)
 14364  }
 14365  
 14366  // GoString returns the string representation.
 14367  //
 14368  // API parameter values that are decorated as "sensitive" in the API will not
 14369  // be included in the string output. The member name will be present, but the
 14370  // value will be replaced with "sensitive".
 14371  func (s InvalidIamSessionArnException) GoString() string {
 14372  	return s.String()
 14373  }
 14374  
 14375  func newErrorInvalidIamSessionArnException(v protocol.ResponseMetadata) error {
 14376  	return &InvalidIamSessionArnException{
 14377  		RespMetadata: v,
 14378  	}
 14379  }
 14380  
 14381  // Code returns the exception type name.
 14382  func (s *InvalidIamSessionArnException) Code() string {
 14383  	return "InvalidIamSessionArnException"
 14384  }
 14385  
 14386  // Message returns the exception's message.
 14387  func (s *InvalidIamSessionArnException) Message() string {
 14388  	if s.Message_ != nil {
 14389  		return *s.Message_
 14390  	}
 14391  	return ""
 14392  }
 14393  
 14394  // OrigErr always returns nil, satisfies awserr.Error interface.
 14395  func (s *InvalidIamSessionArnException) OrigErr() error {
 14396  	return nil
 14397  }
 14398  
 14399  func (s *InvalidIamSessionArnException) Error() string {
 14400  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 14401  }
 14402  
 14403  // Status code returns the HTTP status code for the request's response error.
 14404  func (s *InvalidIamSessionArnException) StatusCode() int {
 14405  	return s.RespMetadata.StatusCode
 14406  }
 14407  
 14408  // RequestID returns the service's response RequestID for request.
 14409  func (s *InvalidIamSessionArnException) RequestID() string {
 14410  	return s.RespMetadata.RequestID
 14411  }
 14412  
 14413  // The IAM user ARN was specified in an invalid format.
 14414  type InvalidIamUserArnException struct {
 14415  	_            struct{}                  `type:"structure"`
 14416  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 14417  
 14418  	Message_ *string `locationName:"message" type:"string"`
 14419  }
 14420  
 14421  // String returns the string representation.
 14422  //
 14423  // API parameter values that are decorated as "sensitive" in the API will not
 14424  // be included in the string output. The member name will be present, but the
 14425  // value will be replaced with "sensitive".
 14426  func (s InvalidIamUserArnException) String() string {
 14427  	return awsutil.Prettify(s)
 14428  }
 14429  
 14430  // GoString returns the string representation.
 14431  //
 14432  // API parameter values that are decorated as "sensitive" in the API will not
 14433  // be included in the string output. The member name will be present, but the
 14434  // value will be replaced with "sensitive".
 14435  func (s InvalidIamUserArnException) GoString() string {
 14436  	return s.String()
 14437  }
 14438  
 14439  func newErrorInvalidIamUserArnException(v protocol.ResponseMetadata) error {
 14440  	return &InvalidIamUserArnException{
 14441  		RespMetadata: v,
 14442  	}
 14443  }
 14444  
 14445  // Code returns the exception type name.
 14446  func (s *InvalidIamUserArnException) Code() string {
 14447  	return "InvalidIamUserArnException"
 14448  }
 14449  
 14450  // Message returns the exception's message.
 14451  func (s *InvalidIamUserArnException) Message() string {
 14452  	if s.Message_ != nil {
 14453  		return *s.Message_
 14454  	}
 14455  	return ""
 14456  }
 14457  
 14458  // OrigErr always returns nil, satisfies awserr.Error interface.
 14459  func (s *InvalidIamUserArnException) OrigErr() error {
 14460  	return nil
 14461  }
 14462  
 14463  func (s *InvalidIamUserArnException) Error() string {
 14464  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 14465  }
 14466  
 14467  // Status code returns the HTTP status code for the request's response error.
 14468  func (s *InvalidIamUserArnException) StatusCode() int {
 14469  	return s.RespMetadata.StatusCode
 14470  }
 14471  
 14472  // RequestID returns the service's response RequestID for request.
 14473  func (s *InvalidIamUserArnException) RequestID() string {
 14474  	return s.RespMetadata.RequestID
 14475  }
 14476  
 14477  // The IgnoreApplicationStopFailures value is invalid. For AWS Lambda deployments,
 14478  // false is expected. For EC2/On-premises deployments, true or false is expected.
 14479  type InvalidIgnoreApplicationStopFailuresValueException struct {
 14480  	_            struct{}                  `type:"structure"`
 14481  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 14482  
 14483  	Message_ *string `locationName:"message" type:"string"`
 14484  }
 14485  
 14486  // String returns the string representation.
 14487  //
 14488  // API parameter values that are decorated as "sensitive" in the API will not
 14489  // be included in the string output. The member name will be present, but the
 14490  // value will be replaced with "sensitive".
 14491  func (s InvalidIgnoreApplicationStopFailuresValueException) String() string {
 14492  	return awsutil.Prettify(s)
 14493  }
 14494  
 14495  // GoString returns the string representation.
 14496  //
 14497  // API parameter values that are decorated as "sensitive" in the API will not
 14498  // be included in the string output. The member name will be present, but the
 14499  // value will be replaced with "sensitive".
 14500  func (s InvalidIgnoreApplicationStopFailuresValueException) GoString() string {
 14501  	return s.String()
 14502  }
 14503  
 14504  func newErrorInvalidIgnoreApplicationStopFailuresValueException(v protocol.ResponseMetadata) error {
 14505  	return &InvalidIgnoreApplicationStopFailuresValueException{
 14506  		RespMetadata: v,
 14507  	}
 14508  }
 14509  
 14510  // Code returns the exception type name.
 14511  func (s *InvalidIgnoreApplicationStopFailuresValueException) Code() string {
 14512  	return "InvalidIgnoreApplicationStopFailuresValueException"
 14513  }
 14514  
 14515  // Message returns the exception's message.
 14516  func (s *InvalidIgnoreApplicationStopFailuresValueException) Message() string {
 14517  	if s.Message_ != nil {
 14518  		return *s.Message_
 14519  	}
 14520  	return ""
 14521  }
 14522  
 14523  // OrigErr always returns nil, satisfies awserr.Error interface.
 14524  func (s *InvalidIgnoreApplicationStopFailuresValueException) OrigErr() error {
 14525  	return nil
 14526  }
 14527  
 14528  func (s *InvalidIgnoreApplicationStopFailuresValueException) Error() string {
 14529  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 14530  }
 14531  
 14532  // Status code returns the HTTP status code for the request's response error.
 14533  func (s *InvalidIgnoreApplicationStopFailuresValueException) StatusCode() int {
 14534  	return s.RespMetadata.StatusCode
 14535  }
 14536  
 14537  // RequestID returns the service's response RequestID for request.
 14538  func (s *InvalidIgnoreApplicationStopFailuresValueException) RequestID() string {
 14539  	return s.RespMetadata.RequestID
 14540  }
 14541  
 14542  // The input was specified in an invalid format.
 14543  type InvalidInputException struct {
 14544  	_            struct{}                  `type:"structure"`
 14545  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 14546  
 14547  	Message_ *string `locationName:"message" type:"string"`
 14548  }
 14549  
 14550  // String returns the string representation.
 14551  //
 14552  // API parameter values that are decorated as "sensitive" in the API will not
 14553  // be included in the string output. The member name will be present, but the
 14554  // value will be replaced with "sensitive".
 14555  func (s InvalidInputException) String() string {
 14556  	return awsutil.Prettify(s)
 14557  }
 14558  
 14559  // GoString returns the string representation.
 14560  //
 14561  // API parameter values that are decorated as "sensitive" in the API will not
 14562  // be included in the string output. The member name will be present, but the
 14563  // value will be replaced with "sensitive".
 14564  func (s InvalidInputException) GoString() string {
 14565  	return s.String()
 14566  }
 14567  
 14568  func newErrorInvalidInputException(v protocol.ResponseMetadata) error {
 14569  	return &InvalidInputException{
 14570  		RespMetadata: v,
 14571  	}
 14572  }
 14573  
 14574  // Code returns the exception type name.
 14575  func (s *InvalidInputException) Code() string {
 14576  	return "InvalidInputException"
 14577  }
 14578  
 14579  // Message returns the exception's message.
 14580  func (s *InvalidInputException) Message() string {
 14581  	if s.Message_ != nil {
 14582  		return *s.Message_
 14583  	}
 14584  	return ""
 14585  }
 14586  
 14587  // OrigErr always returns nil, satisfies awserr.Error interface.
 14588  func (s *InvalidInputException) OrigErr() error {
 14589  	return nil
 14590  }
 14591  
 14592  func (s *InvalidInputException) Error() string {
 14593  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 14594  }
 14595  
 14596  // Status code returns the HTTP status code for the request's response error.
 14597  func (s *InvalidInputException) StatusCode() int {
 14598  	return s.RespMetadata.StatusCode
 14599  }
 14600  
 14601  // RequestID returns the service's response RequestID for request.
 14602  func (s *InvalidInputException) RequestID() string {
 14603  	return s.RespMetadata.RequestID
 14604  }
 14605  
 14606  // The on-premises instance name was specified in an invalid format.
 14607  type InvalidInstanceNameException struct {
 14608  	_            struct{}                  `type:"structure"`
 14609  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 14610  
 14611  	Message_ *string `locationName:"message" type:"string"`
 14612  }
 14613  
 14614  // String returns the string representation.
 14615  //
 14616  // API parameter values that are decorated as "sensitive" in the API will not
 14617  // be included in the string output. The member name will be present, but the
 14618  // value will be replaced with "sensitive".
 14619  func (s InvalidInstanceNameException) String() string {
 14620  	return awsutil.Prettify(s)
 14621  }
 14622  
 14623  // GoString returns the string representation.
 14624  //
 14625  // API parameter values that are decorated as "sensitive" in the API will not
 14626  // be included in the string output. The member name will be present, but the
 14627  // value will be replaced with "sensitive".
 14628  func (s InvalidInstanceNameException) GoString() string {
 14629  	return s.String()
 14630  }
 14631  
 14632  func newErrorInvalidInstanceNameException(v protocol.ResponseMetadata) error {
 14633  	return &InvalidInstanceNameException{
 14634  		RespMetadata: v,
 14635  	}
 14636  }
 14637  
 14638  // Code returns the exception type name.
 14639  func (s *InvalidInstanceNameException) Code() string {
 14640  	return "InvalidInstanceNameException"
 14641  }
 14642  
 14643  // Message returns the exception's message.
 14644  func (s *InvalidInstanceNameException) Message() string {
 14645  	if s.Message_ != nil {
 14646  		return *s.Message_
 14647  	}
 14648  	return ""
 14649  }
 14650  
 14651  // OrigErr always returns nil, satisfies awserr.Error interface.
 14652  func (s *InvalidInstanceNameException) OrigErr() error {
 14653  	return nil
 14654  }
 14655  
 14656  func (s *InvalidInstanceNameException) Error() string {
 14657  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 14658  }
 14659  
 14660  // Status code returns the HTTP status code for the request's response error.
 14661  func (s *InvalidInstanceNameException) StatusCode() int {
 14662  	return s.RespMetadata.StatusCode
 14663  }
 14664  
 14665  // RequestID returns the service's response RequestID for request.
 14666  func (s *InvalidInstanceNameException) RequestID() string {
 14667  	return s.RespMetadata.RequestID
 14668  }
 14669  
 14670  // The specified instance status does not exist.
 14671  type InvalidInstanceStatusException struct {
 14672  	_            struct{}                  `type:"structure"`
 14673  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 14674  
 14675  	Message_ *string `locationName:"message" type:"string"`
 14676  }
 14677  
 14678  // String returns the string representation.
 14679  //
 14680  // API parameter values that are decorated as "sensitive" in the API will not
 14681  // be included in the string output. The member name will be present, but the
 14682  // value will be replaced with "sensitive".
 14683  func (s InvalidInstanceStatusException) String() string {
 14684  	return awsutil.Prettify(s)
 14685  }
 14686  
 14687  // GoString returns the string representation.
 14688  //
 14689  // API parameter values that are decorated as "sensitive" in the API will not
 14690  // be included in the string output. The member name will be present, but the
 14691  // value will be replaced with "sensitive".
 14692  func (s InvalidInstanceStatusException) GoString() string {
 14693  	return s.String()
 14694  }
 14695  
 14696  func newErrorInvalidInstanceStatusException(v protocol.ResponseMetadata) error {
 14697  	return &InvalidInstanceStatusException{
 14698  		RespMetadata: v,
 14699  	}
 14700  }
 14701  
 14702  // Code returns the exception type name.
 14703  func (s *InvalidInstanceStatusException) Code() string {
 14704  	return "InvalidInstanceStatusException"
 14705  }
 14706  
 14707  // Message returns the exception's message.
 14708  func (s *InvalidInstanceStatusException) Message() string {
 14709  	if s.Message_ != nil {
 14710  		return *s.Message_
 14711  	}
 14712  	return ""
 14713  }
 14714  
 14715  // OrigErr always returns nil, satisfies awserr.Error interface.
 14716  func (s *InvalidInstanceStatusException) OrigErr() error {
 14717  	return nil
 14718  }
 14719  
 14720  func (s *InvalidInstanceStatusException) Error() string {
 14721  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 14722  }
 14723  
 14724  // Status code returns the HTTP status code for the request's response error.
 14725  func (s *InvalidInstanceStatusException) StatusCode() int {
 14726  	return s.RespMetadata.StatusCode
 14727  }
 14728  
 14729  // RequestID returns the service's response RequestID for request.
 14730  func (s *InvalidInstanceStatusException) RequestID() string {
 14731  	return s.RespMetadata.RequestID
 14732  }
 14733  
 14734  // An invalid instance type was specified for instances in a blue/green deployment.
 14735  // Valid values include "Blue" for an original environment and "Green" for a
 14736  // replacement environment.
 14737  type InvalidInstanceTypeException struct {
 14738  	_            struct{}                  `type:"structure"`
 14739  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 14740  
 14741  	Message_ *string `locationName:"message" type:"string"`
 14742  }
 14743  
 14744  // String returns the string representation.
 14745  //
 14746  // API parameter values that are decorated as "sensitive" in the API will not
 14747  // be included in the string output. The member name will be present, but the
 14748  // value will be replaced with "sensitive".
 14749  func (s InvalidInstanceTypeException) String() string {
 14750  	return awsutil.Prettify(s)
 14751  }
 14752  
 14753  // GoString returns the string representation.
 14754  //
 14755  // API parameter values that are decorated as "sensitive" in the API will not
 14756  // be included in the string output. The member name will be present, but the
 14757  // value will be replaced with "sensitive".
 14758  func (s InvalidInstanceTypeException) GoString() string {
 14759  	return s.String()
 14760  }
 14761  
 14762  func newErrorInvalidInstanceTypeException(v protocol.ResponseMetadata) error {
 14763  	return &InvalidInstanceTypeException{
 14764  		RespMetadata: v,
 14765  	}
 14766  }
 14767  
 14768  // Code returns the exception type name.
 14769  func (s *InvalidInstanceTypeException) Code() string {
 14770  	return "InvalidInstanceTypeException"
 14771  }
 14772  
 14773  // Message returns the exception's message.
 14774  func (s *InvalidInstanceTypeException) Message() string {
 14775  	if s.Message_ != nil {
 14776  		return *s.Message_
 14777  	}
 14778  	return ""
 14779  }
 14780  
 14781  // OrigErr always returns nil, satisfies awserr.Error interface.
 14782  func (s *InvalidInstanceTypeException) OrigErr() error {
 14783  	return nil
 14784  }
 14785  
 14786  func (s *InvalidInstanceTypeException) Error() string {
 14787  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 14788  }
 14789  
 14790  // Status code returns the HTTP status code for the request's response error.
 14791  func (s *InvalidInstanceTypeException) StatusCode() int {
 14792  	return s.RespMetadata.StatusCode
 14793  }
 14794  
 14795  // RequestID returns the service's response RequestID for request.
 14796  func (s *InvalidInstanceTypeException) RequestID() string {
 14797  	return s.RespMetadata.RequestID
 14798  }
 14799  
 14800  // The specified key prefix filter was specified in an invalid format.
 14801  type InvalidKeyPrefixFilterException struct {
 14802  	_            struct{}                  `type:"structure"`
 14803  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 14804  
 14805  	Message_ *string `locationName:"message" type:"string"`
 14806  }
 14807  
 14808  // String returns the string representation.
 14809  //
 14810  // API parameter values that are decorated as "sensitive" in the API will not
 14811  // be included in the string output. The member name will be present, but the
 14812  // value will be replaced with "sensitive".
 14813  func (s InvalidKeyPrefixFilterException) String() string {
 14814  	return awsutil.Prettify(s)
 14815  }
 14816  
 14817  // GoString returns the string representation.
 14818  //
 14819  // API parameter values that are decorated as "sensitive" in the API will not
 14820  // be included in the string output. The member name will be present, but the
 14821  // value will be replaced with "sensitive".
 14822  func (s InvalidKeyPrefixFilterException) GoString() string {
 14823  	return s.String()
 14824  }
 14825  
 14826  func newErrorInvalidKeyPrefixFilterException(v protocol.ResponseMetadata) error {
 14827  	return &InvalidKeyPrefixFilterException{
 14828  		RespMetadata: v,
 14829  	}
 14830  }
 14831  
 14832  // Code returns the exception type name.
 14833  func (s *InvalidKeyPrefixFilterException) Code() string {
 14834  	return "InvalidKeyPrefixFilterException"
 14835  }
 14836  
 14837  // Message returns the exception's message.
 14838  func (s *InvalidKeyPrefixFilterException) Message() string {
 14839  	if s.Message_ != nil {
 14840  		return *s.Message_
 14841  	}
 14842  	return ""
 14843  }
 14844  
 14845  // OrigErr always returns nil, satisfies awserr.Error interface.
 14846  func (s *InvalidKeyPrefixFilterException) OrigErr() error {
 14847  	return nil
 14848  }
 14849  
 14850  func (s *InvalidKeyPrefixFilterException) Error() string {
 14851  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 14852  }
 14853  
 14854  // Status code returns the HTTP status code for the request's response error.
 14855  func (s *InvalidKeyPrefixFilterException) StatusCode() int {
 14856  	return s.RespMetadata.StatusCode
 14857  }
 14858  
 14859  // RequestID returns the service's response RequestID for request.
 14860  func (s *InvalidKeyPrefixFilterException) RequestID() string {
 14861  	return s.RespMetadata.RequestID
 14862  }
 14863  
 14864  // A lifecycle event hook is invalid. Review the hooks section in your AppSpec
 14865  // file to ensure the lifecycle events and hooks functions are valid.
 14866  type InvalidLifecycleEventHookExecutionIdException struct {
 14867  	_            struct{}                  `type:"structure"`
 14868  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 14869  
 14870  	Message_ *string `locationName:"message" type:"string"`
 14871  }
 14872  
 14873  // String returns the string representation.
 14874  //
 14875  // API parameter values that are decorated as "sensitive" in the API will not
 14876  // be included in the string output. The member name will be present, but the
 14877  // value will be replaced with "sensitive".
 14878  func (s InvalidLifecycleEventHookExecutionIdException) String() string {
 14879  	return awsutil.Prettify(s)
 14880  }
 14881  
 14882  // GoString returns the string representation.
 14883  //
 14884  // API parameter values that are decorated as "sensitive" in the API will not
 14885  // be included in the string output. The member name will be present, but the
 14886  // value will be replaced with "sensitive".
 14887  func (s InvalidLifecycleEventHookExecutionIdException) GoString() string {
 14888  	return s.String()
 14889  }
 14890  
 14891  func newErrorInvalidLifecycleEventHookExecutionIdException(v protocol.ResponseMetadata) error {
 14892  	return &InvalidLifecycleEventHookExecutionIdException{
 14893  		RespMetadata: v,
 14894  	}
 14895  }
 14896  
 14897  // Code returns the exception type name.
 14898  func (s *InvalidLifecycleEventHookExecutionIdException) Code() string {
 14899  	return "InvalidLifecycleEventHookExecutionIdException"
 14900  }
 14901  
 14902  // Message returns the exception's message.
 14903  func (s *InvalidLifecycleEventHookExecutionIdException) Message() string {
 14904  	if s.Message_ != nil {
 14905  		return *s.Message_
 14906  	}
 14907  	return ""
 14908  }
 14909  
 14910  // OrigErr always returns nil, satisfies awserr.Error interface.
 14911  func (s *InvalidLifecycleEventHookExecutionIdException) OrigErr() error {
 14912  	return nil
 14913  }
 14914  
 14915  func (s *InvalidLifecycleEventHookExecutionIdException) Error() string {
 14916  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 14917  }
 14918  
 14919  // Status code returns the HTTP status code for the request's response error.
 14920  func (s *InvalidLifecycleEventHookExecutionIdException) StatusCode() int {
 14921  	return s.RespMetadata.StatusCode
 14922  }
 14923  
 14924  // RequestID returns the service's response RequestID for request.
 14925  func (s *InvalidLifecycleEventHookExecutionIdException) RequestID() string {
 14926  	return s.RespMetadata.RequestID
 14927  }
 14928  
 14929  // The result of a Lambda validation function that verifies a lifecycle event
 14930  // is invalid. It should return Succeeded or Failed.
 14931  type InvalidLifecycleEventHookExecutionStatusException struct {
 14932  	_            struct{}                  `type:"structure"`
 14933  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 14934  
 14935  	Message_ *string `locationName:"message" type:"string"`
 14936  }
 14937  
 14938  // String returns the string representation.
 14939  //
 14940  // API parameter values that are decorated as "sensitive" in the API will not
 14941  // be included in the string output. The member name will be present, but the
 14942  // value will be replaced with "sensitive".
 14943  func (s InvalidLifecycleEventHookExecutionStatusException) String() string {
 14944  	return awsutil.Prettify(s)
 14945  }
 14946  
 14947  // GoString returns the string representation.
 14948  //
 14949  // API parameter values that are decorated as "sensitive" in the API will not
 14950  // be included in the string output. The member name will be present, but the
 14951  // value will be replaced with "sensitive".
 14952  func (s InvalidLifecycleEventHookExecutionStatusException) GoString() string {
 14953  	return s.String()
 14954  }
 14955  
 14956  func newErrorInvalidLifecycleEventHookExecutionStatusException(v protocol.ResponseMetadata) error {
 14957  	return &InvalidLifecycleEventHookExecutionStatusException{
 14958  		RespMetadata: v,
 14959  	}
 14960  }
 14961  
 14962  // Code returns the exception type name.
 14963  func (s *InvalidLifecycleEventHookExecutionStatusException) Code() string {
 14964  	return "InvalidLifecycleEventHookExecutionStatusException"
 14965  }
 14966  
 14967  // Message returns the exception's message.
 14968  func (s *InvalidLifecycleEventHookExecutionStatusException) Message() string {
 14969  	if s.Message_ != nil {
 14970  		return *s.Message_
 14971  	}
 14972  	return ""
 14973  }
 14974  
 14975  // OrigErr always returns nil, satisfies awserr.Error interface.
 14976  func (s *InvalidLifecycleEventHookExecutionStatusException) OrigErr() error {
 14977  	return nil
 14978  }
 14979  
 14980  func (s *InvalidLifecycleEventHookExecutionStatusException) Error() string {
 14981  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 14982  }
 14983  
 14984  // Status code returns the HTTP status code for the request's response error.
 14985  func (s *InvalidLifecycleEventHookExecutionStatusException) StatusCode() int {
 14986  	return s.RespMetadata.StatusCode
 14987  }
 14988  
 14989  // RequestID returns the service's response RequestID for request.
 14990  func (s *InvalidLifecycleEventHookExecutionStatusException) RequestID() string {
 14991  	return s.RespMetadata.RequestID
 14992  }
 14993  
 14994  // An invalid load balancer name, or no load balancer name, was specified.
 14995  type InvalidLoadBalancerInfoException struct {
 14996  	_            struct{}                  `type:"structure"`
 14997  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 14998  
 14999  	Message_ *string `locationName:"message" type:"string"`
 15000  }
 15001  
 15002  // String returns the string representation.
 15003  //
 15004  // API parameter values that are decorated as "sensitive" in the API will not
 15005  // be included in the string output. The member name will be present, but the
 15006  // value will be replaced with "sensitive".
 15007  func (s InvalidLoadBalancerInfoException) String() string {
 15008  	return awsutil.Prettify(s)
 15009  }
 15010  
 15011  // GoString returns the string representation.
 15012  //
 15013  // API parameter values that are decorated as "sensitive" in the API will not
 15014  // be included in the string output. The member name will be present, but the
 15015  // value will be replaced with "sensitive".
 15016  func (s InvalidLoadBalancerInfoException) GoString() string {
 15017  	return s.String()
 15018  }
 15019  
 15020  func newErrorInvalidLoadBalancerInfoException(v protocol.ResponseMetadata) error {
 15021  	return &InvalidLoadBalancerInfoException{
 15022  		RespMetadata: v,
 15023  	}
 15024  }
 15025  
 15026  // Code returns the exception type name.
 15027  func (s *InvalidLoadBalancerInfoException) Code() string {
 15028  	return "InvalidLoadBalancerInfoException"
 15029  }
 15030  
 15031  // Message returns the exception's message.
 15032  func (s *InvalidLoadBalancerInfoException) Message() string {
 15033  	if s.Message_ != nil {
 15034  		return *s.Message_
 15035  	}
 15036  	return ""
 15037  }
 15038  
 15039  // OrigErr always returns nil, satisfies awserr.Error interface.
 15040  func (s *InvalidLoadBalancerInfoException) OrigErr() error {
 15041  	return nil
 15042  }
 15043  
 15044  func (s *InvalidLoadBalancerInfoException) Error() string {
 15045  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 15046  }
 15047  
 15048  // Status code returns the HTTP status code for the request's response error.
 15049  func (s *InvalidLoadBalancerInfoException) StatusCode() int {
 15050  	return s.RespMetadata.StatusCode
 15051  }
 15052  
 15053  // RequestID returns the service's response RequestID for request.
 15054  func (s *InvalidLoadBalancerInfoException) RequestID() string {
 15055  	return s.RespMetadata.RequestID
 15056  }
 15057  
 15058  // The minimum healthy instance value was specified in an invalid format.
 15059  type InvalidMinimumHealthyHostValueException struct {
 15060  	_            struct{}                  `type:"structure"`
 15061  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 15062  
 15063  	Message_ *string `locationName:"message" type:"string"`
 15064  }
 15065  
 15066  // String returns the string representation.
 15067  //
 15068  // API parameter values that are decorated as "sensitive" in the API will not
 15069  // be included in the string output. The member name will be present, but the
 15070  // value will be replaced with "sensitive".
 15071  func (s InvalidMinimumHealthyHostValueException) String() string {
 15072  	return awsutil.Prettify(s)
 15073  }
 15074  
 15075  // GoString returns the string representation.
 15076  //
 15077  // API parameter values that are decorated as "sensitive" in the API will not
 15078  // be included in the string output. The member name will be present, but the
 15079  // value will be replaced with "sensitive".
 15080  func (s InvalidMinimumHealthyHostValueException) GoString() string {
 15081  	return s.String()
 15082  }
 15083  
 15084  func newErrorInvalidMinimumHealthyHostValueException(v protocol.ResponseMetadata) error {
 15085  	return &InvalidMinimumHealthyHostValueException{
 15086  		RespMetadata: v,
 15087  	}
 15088  }
 15089  
 15090  // Code returns the exception type name.
 15091  func (s *InvalidMinimumHealthyHostValueException) Code() string {
 15092  	return "InvalidMinimumHealthyHostValueException"
 15093  }
 15094  
 15095  // Message returns the exception's message.
 15096  func (s *InvalidMinimumHealthyHostValueException) Message() string {
 15097  	if s.Message_ != nil {
 15098  		return *s.Message_
 15099  	}
 15100  	return ""
 15101  }
 15102  
 15103  // OrigErr always returns nil, satisfies awserr.Error interface.
 15104  func (s *InvalidMinimumHealthyHostValueException) OrigErr() error {
 15105  	return nil
 15106  }
 15107  
 15108  func (s *InvalidMinimumHealthyHostValueException) Error() string {
 15109  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 15110  }
 15111  
 15112  // Status code returns the HTTP status code for the request's response error.
 15113  func (s *InvalidMinimumHealthyHostValueException) StatusCode() int {
 15114  	return s.RespMetadata.StatusCode
 15115  }
 15116  
 15117  // RequestID returns the service's response RequestID for request.
 15118  func (s *InvalidMinimumHealthyHostValueException) RequestID() string {
 15119  	return s.RespMetadata.RequestID
 15120  }
 15121  
 15122  // The next token was specified in an invalid format.
 15123  type InvalidNextTokenException struct {
 15124  	_            struct{}                  `type:"structure"`
 15125  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 15126  
 15127  	Message_ *string `locationName:"message" type:"string"`
 15128  }
 15129  
 15130  // String returns the string representation.
 15131  //
 15132  // API parameter values that are decorated as "sensitive" in the API will not
 15133  // be included in the string output. The member name will be present, but the
 15134  // value will be replaced with "sensitive".
 15135  func (s InvalidNextTokenException) String() string {
 15136  	return awsutil.Prettify(s)
 15137  }
 15138  
 15139  // GoString returns the string representation.
 15140  //
 15141  // API parameter values that are decorated as "sensitive" in the API will not
 15142  // be included in the string output. The member name will be present, but the
 15143  // value will be replaced with "sensitive".
 15144  func (s InvalidNextTokenException) GoString() string {
 15145  	return s.String()
 15146  }
 15147  
 15148  func newErrorInvalidNextTokenException(v protocol.ResponseMetadata) error {
 15149  	return &InvalidNextTokenException{
 15150  		RespMetadata: v,
 15151  	}
 15152  }
 15153  
 15154  // Code returns the exception type name.
 15155  func (s *InvalidNextTokenException) Code() string {
 15156  	return "InvalidNextTokenException"
 15157  }
 15158  
 15159  // Message returns the exception's message.
 15160  func (s *InvalidNextTokenException) Message() string {
 15161  	if s.Message_ != nil {
 15162  		return *s.Message_
 15163  	}
 15164  	return ""
 15165  }
 15166  
 15167  // OrigErr always returns nil, satisfies awserr.Error interface.
 15168  func (s *InvalidNextTokenException) OrigErr() error {
 15169  	return nil
 15170  }
 15171  
 15172  func (s *InvalidNextTokenException) Error() string {
 15173  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 15174  }
 15175  
 15176  // Status code returns the HTTP status code for the request's response error.
 15177  func (s *InvalidNextTokenException) StatusCode() int {
 15178  	return s.RespMetadata.StatusCode
 15179  }
 15180  
 15181  // RequestID returns the service's response RequestID for request.
 15182  func (s *InvalidNextTokenException) RequestID() string {
 15183  	return s.RespMetadata.RequestID
 15184  }
 15185  
 15186  // A call was submitted that specified both OnPremisesTagFilters and OnPremisesTagSet,
 15187  // but only one of these data types can be used in a single call.
 15188  type InvalidOnPremisesTagCombinationException struct {
 15189  	_            struct{}                  `type:"structure"`
 15190  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 15191  
 15192  	Message_ *string `locationName:"message" type:"string"`
 15193  }
 15194  
 15195  // String returns the string representation.
 15196  //
 15197  // API parameter values that are decorated as "sensitive" in the API will not
 15198  // be included in the string output. The member name will be present, but the
 15199  // value will be replaced with "sensitive".
 15200  func (s InvalidOnPremisesTagCombinationException) String() string {
 15201  	return awsutil.Prettify(s)
 15202  }
 15203  
 15204  // GoString returns the string representation.
 15205  //
 15206  // API parameter values that are decorated as "sensitive" in the API will not
 15207  // be included in the string output. The member name will be present, but the
 15208  // value will be replaced with "sensitive".
 15209  func (s InvalidOnPremisesTagCombinationException) GoString() string {
 15210  	return s.String()
 15211  }
 15212  
 15213  func newErrorInvalidOnPremisesTagCombinationException(v protocol.ResponseMetadata) error {
 15214  	return &InvalidOnPremisesTagCombinationException{
 15215  		RespMetadata: v,
 15216  	}
 15217  }
 15218  
 15219  // Code returns the exception type name.
 15220  func (s *InvalidOnPremisesTagCombinationException) Code() string {
 15221  	return "InvalidOnPremisesTagCombinationException"
 15222  }
 15223  
 15224  // Message returns the exception's message.
 15225  func (s *InvalidOnPremisesTagCombinationException) Message() string {
 15226  	if s.Message_ != nil {
 15227  		return *s.Message_
 15228  	}
 15229  	return ""
 15230  }
 15231  
 15232  // OrigErr always returns nil, satisfies awserr.Error interface.
 15233  func (s *InvalidOnPremisesTagCombinationException) OrigErr() error {
 15234  	return nil
 15235  }
 15236  
 15237  func (s *InvalidOnPremisesTagCombinationException) Error() string {
 15238  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 15239  }
 15240  
 15241  // Status code returns the HTTP status code for the request's response error.
 15242  func (s *InvalidOnPremisesTagCombinationException) StatusCode() int {
 15243  	return s.RespMetadata.StatusCode
 15244  }
 15245  
 15246  // RequestID returns the service's response RequestID for request.
 15247  func (s *InvalidOnPremisesTagCombinationException) RequestID() string {
 15248  	return s.RespMetadata.RequestID
 15249  }
 15250  
 15251  // An invalid operation was detected.
 15252  type InvalidOperationException struct {
 15253  	_            struct{}                  `type:"structure"`
 15254  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 15255  
 15256  	Message_ *string `locationName:"message" type:"string"`
 15257  }
 15258  
 15259  // String returns the string representation.
 15260  //
 15261  // API parameter values that are decorated as "sensitive" in the API will not
 15262  // be included in the string output. The member name will be present, but the
 15263  // value will be replaced with "sensitive".
 15264  func (s InvalidOperationException) String() string {
 15265  	return awsutil.Prettify(s)
 15266  }
 15267  
 15268  // GoString returns the string representation.
 15269  //
 15270  // API parameter values that are decorated as "sensitive" in the API will not
 15271  // be included in the string output. The member name will be present, but the
 15272  // value will be replaced with "sensitive".
 15273  func (s InvalidOperationException) GoString() string {
 15274  	return s.String()
 15275  }
 15276  
 15277  func newErrorInvalidOperationException(v protocol.ResponseMetadata) error {
 15278  	return &InvalidOperationException{
 15279  		RespMetadata: v,
 15280  	}
 15281  }
 15282  
 15283  // Code returns the exception type name.
 15284  func (s *InvalidOperationException) Code() string {
 15285  	return "InvalidOperationException"
 15286  }
 15287  
 15288  // Message returns the exception's message.
 15289  func (s *InvalidOperationException) Message() string {
 15290  	if s.Message_ != nil {
 15291  		return *s.Message_
 15292  	}
 15293  	return ""
 15294  }
 15295  
 15296  // OrigErr always returns nil, satisfies awserr.Error interface.
 15297  func (s *InvalidOperationException) OrigErr() error {
 15298  	return nil
 15299  }
 15300  
 15301  func (s *InvalidOperationException) Error() string {
 15302  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 15303  }
 15304  
 15305  // Status code returns the HTTP status code for the request's response error.
 15306  func (s *InvalidOperationException) StatusCode() int {
 15307  	return s.RespMetadata.StatusCode
 15308  }
 15309  
 15310  // RequestID returns the service's response RequestID for request.
 15311  func (s *InvalidOperationException) RequestID() string {
 15312  	return s.RespMetadata.RequestID
 15313  }
 15314  
 15315  // The registration status was specified in an invalid format.
 15316  type InvalidRegistrationStatusException struct {
 15317  	_            struct{}                  `type:"structure"`
 15318  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 15319  
 15320  	Message_ *string `locationName:"message" type:"string"`
 15321  }
 15322  
 15323  // String returns the string representation.
 15324  //
 15325  // API parameter values that are decorated as "sensitive" in the API will not
 15326  // be included in the string output. The member name will be present, but the
 15327  // value will be replaced with "sensitive".
 15328  func (s InvalidRegistrationStatusException) String() string {
 15329  	return awsutil.Prettify(s)
 15330  }
 15331  
 15332  // GoString returns the string representation.
 15333  //
 15334  // API parameter values that are decorated as "sensitive" in the API will not
 15335  // be included in the string output. The member name will be present, but the
 15336  // value will be replaced with "sensitive".
 15337  func (s InvalidRegistrationStatusException) GoString() string {
 15338  	return s.String()
 15339  }
 15340  
 15341  func newErrorInvalidRegistrationStatusException(v protocol.ResponseMetadata) error {
 15342  	return &InvalidRegistrationStatusException{
 15343  		RespMetadata: v,
 15344  	}
 15345  }
 15346  
 15347  // Code returns the exception type name.
 15348  func (s *InvalidRegistrationStatusException) Code() string {
 15349  	return "InvalidRegistrationStatusException"
 15350  }
 15351  
 15352  // Message returns the exception's message.
 15353  func (s *InvalidRegistrationStatusException) Message() string {
 15354  	if s.Message_ != nil {
 15355  		return *s.Message_
 15356  	}
 15357  	return ""
 15358  }
 15359  
 15360  // OrigErr always returns nil, satisfies awserr.Error interface.
 15361  func (s *InvalidRegistrationStatusException) OrigErr() error {
 15362  	return nil
 15363  }
 15364  
 15365  func (s *InvalidRegistrationStatusException) Error() string {
 15366  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 15367  }
 15368  
 15369  // Status code returns the HTTP status code for the request's response error.
 15370  func (s *InvalidRegistrationStatusException) StatusCode() int {
 15371  	return s.RespMetadata.StatusCode
 15372  }
 15373  
 15374  // RequestID returns the service's response RequestID for request.
 15375  func (s *InvalidRegistrationStatusException) RequestID() string {
 15376  	return s.RespMetadata.RequestID
 15377  }
 15378  
 15379  // The revision was specified in an invalid format.
 15380  type InvalidRevisionException struct {
 15381  	_            struct{}                  `type:"structure"`
 15382  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 15383  
 15384  	Message_ *string `locationName:"message" type:"string"`
 15385  }
 15386  
 15387  // String returns the string representation.
 15388  //
 15389  // API parameter values that are decorated as "sensitive" in the API will not
 15390  // be included in the string output. The member name will be present, but the
 15391  // value will be replaced with "sensitive".
 15392  func (s InvalidRevisionException) String() string {
 15393  	return awsutil.Prettify(s)
 15394  }
 15395  
 15396  // GoString returns the string representation.
 15397  //
 15398  // API parameter values that are decorated as "sensitive" in the API will not
 15399  // be included in the string output. The member name will be present, but the
 15400  // value will be replaced with "sensitive".
 15401  func (s InvalidRevisionException) GoString() string {
 15402  	return s.String()
 15403  }
 15404  
 15405  func newErrorInvalidRevisionException(v protocol.ResponseMetadata) error {
 15406  	return &InvalidRevisionException{
 15407  		RespMetadata: v,
 15408  	}
 15409  }
 15410  
 15411  // Code returns the exception type name.
 15412  func (s *InvalidRevisionException) Code() string {
 15413  	return "InvalidRevisionException"
 15414  }
 15415  
 15416  // Message returns the exception's message.
 15417  func (s *InvalidRevisionException) Message() string {
 15418  	if s.Message_ != nil {
 15419  		return *s.Message_
 15420  	}
 15421  	return ""
 15422  }
 15423  
 15424  // OrigErr always returns nil, satisfies awserr.Error interface.
 15425  func (s *InvalidRevisionException) OrigErr() error {
 15426  	return nil
 15427  }
 15428  
 15429  func (s *InvalidRevisionException) Error() string {
 15430  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 15431  }
 15432  
 15433  // Status code returns the HTTP status code for the request's response error.
 15434  func (s *InvalidRevisionException) StatusCode() int {
 15435  	return s.RespMetadata.StatusCode
 15436  }
 15437  
 15438  // RequestID returns the service's response RequestID for request.
 15439  func (s *InvalidRevisionException) RequestID() string {
 15440  	return s.RespMetadata.RequestID
 15441  }
 15442  
 15443  // The service role ARN was specified in an invalid format. Or, if an Auto Scaling
 15444  // group was specified, the specified service role does not grant the appropriate
 15445  // permissions to Amazon EC2 Auto Scaling.
 15446  type InvalidRoleException struct {
 15447  	_            struct{}                  `type:"structure"`
 15448  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 15449  
 15450  	Message_ *string `locationName:"message" type:"string"`
 15451  }
 15452  
 15453  // String returns the string representation.
 15454  //
 15455  // API parameter values that are decorated as "sensitive" in the API will not
 15456  // be included in the string output. The member name will be present, but the
 15457  // value will be replaced with "sensitive".
 15458  func (s InvalidRoleException) String() string {
 15459  	return awsutil.Prettify(s)
 15460  }
 15461  
 15462  // GoString returns the string representation.
 15463  //
 15464  // API parameter values that are decorated as "sensitive" in the API will not
 15465  // be included in the string output. The member name will be present, but the
 15466  // value will be replaced with "sensitive".
 15467  func (s InvalidRoleException) GoString() string {
 15468  	return s.String()
 15469  }
 15470  
 15471  func newErrorInvalidRoleException(v protocol.ResponseMetadata) error {
 15472  	return &InvalidRoleException{
 15473  		RespMetadata: v,
 15474  	}
 15475  }
 15476  
 15477  // Code returns the exception type name.
 15478  func (s *InvalidRoleException) Code() string {
 15479  	return "InvalidRoleException"
 15480  }
 15481  
 15482  // Message returns the exception's message.
 15483  func (s *InvalidRoleException) Message() string {
 15484  	if s.Message_ != nil {
 15485  		return *s.Message_
 15486  	}
 15487  	return ""
 15488  }
 15489  
 15490  // OrigErr always returns nil, satisfies awserr.Error interface.
 15491  func (s *InvalidRoleException) OrigErr() error {
 15492  	return nil
 15493  }
 15494  
 15495  func (s *InvalidRoleException) Error() string {
 15496  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 15497  }
 15498  
 15499  // Status code returns the HTTP status code for the request's response error.
 15500  func (s *InvalidRoleException) StatusCode() int {
 15501  	return s.RespMetadata.StatusCode
 15502  }
 15503  
 15504  // RequestID returns the service's response RequestID for request.
 15505  func (s *InvalidRoleException) RequestID() string {
 15506  	return s.RespMetadata.RequestID
 15507  }
 15508  
 15509  // The column name to sort by is either not present or was specified in an invalid
 15510  // format.
 15511  type InvalidSortByException struct {
 15512  	_            struct{}                  `type:"structure"`
 15513  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 15514  
 15515  	Message_ *string `locationName:"message" type:"string"`
 15516  }
 15517  
 15518  // String returns the string representation.
 15519  //
 15520  // API parameter values that are decorated as "sensitive" in the API will not
 15521  // be included in the string output. The member name will be present, but the
 15522  // value will be replaced with "sensitive".
 15523  func (s InvalidSortByException) String() string {
 15524  	return awsutil.Prettify(s)
 15525  }
 15526  
 15527  // GoString returns the string representation.
 15528  //
 15529  // API parameter values that are decorated as "sensitive" in the API will not
 15530  // be included in the string output. The member name will be present, but the
 15531  // value will be replaced with "sensitive".
 15532  func (s InvalidSortByException) GoString() string {
 15533  	return s.String()
 15534  }
 15535  
 15536  func newErrorInvalidSortByException(v protocol.ResponseMetadata) error {
 15537  	return &InvalidSortByException{
 15538  		RespMetadata: v,
 15539  	}
 15540  }
 15541  
 15542  // Code returns the exception type name.
 15543  func (s *InvalidSortByException) Code() string {
 15544  	return "InvalidSortByException"
 15545  }
 15546  
 15547  // Message returns the exception's message.
 15548  func (s *InvalidSortByException) Message() string {
 15549  	if s.Message_ != nil {
 15550  		return *s.Message_
 15551  	}
 15552  	return ""
 15553  }
 15554  
 15555  // OrigErr always returns nil, satisfies awserr.Error interface.
 15556  func (s *InvalidSortByException) OrigErr() error {
 15557  	return nil
 15558  }
 15559  
 15560  func (s *InvalidSortByException) Error() string {
 15561  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 15562  }
 15563  
 15564  // Status code returns the HTTP status code for the request's response error.
 15565  func (s *InvalidSortByException) StatusCode() int {
 15566  	return s.RespMetadata.StatusCode
 15567  }
 15568  
 15569  // RequestID returns the service's response RequestID for request.
 15570  func (s *InvalidSortByException) RequestID() string {
 15571  	return s.RespMetadata.RequestID
 15572  }
 15573  
 15574  // The sort order was specified in an invalid format.
 15575  type InvalidSortOrderException struct {
 15576  	_            struct{}                  `type:"structure"`
 15577  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 15578  
 15579  	Message_ *string `locationName:"message" type:"string"`
 15580  }
 15581  
 15582  // String returns the string representation.
 15583  //
 15584  // API parameter values that are decorated as "sensitive" in the API will not
 15585  // be included in the string output. The member name will be present, but the
 15586  // value will be replaced with "sensitive".
 15587  func (s InvalidSortOrderException) String() string {
 15588  	return awsutil.Prettify(s)
 15589  }
 15590  
 15591  // GoString returns the string representation.
 15592  //
 15593  // API parameter values that are decorated as "sensitive" in the API will not
 15594  // be included in the string output. The member name will be present, but the
 15595  // value will be replaced with "sensitive".
 15596  func (s InvalidSortOrderException) GoString() string {
 15597  	return s.String()
 15598  }
 15599  
 15600  func newErrorInvalidSortOrderException(v protocol.ResponseMetadata) error {
 15601  	return &InvalidSortOrderException{
 15602  		RespMetadata: v,
 15603  	}
 15604  }
 15605  
 15606  // Code returns the exception type name.
 15607  func (s *InvalidSortOrderException) Code() string {
 15608  	return "InvalidSortOrderException"
 15609  }
 15610  
 15611  // Message returns the exception's message.
 15612  func (s *InvalidSortOrderException) Message() string {
 15613  	if s.Message_ != nil {
 15614  		return *s.Message_
 15615  	}
 15616  	return ""
 15617  }
 15618  
 15619  // OrigErr always returns nil, satisfies awserr.Error interface.
 15620  func (s *InvalidSortOrderException) OrigErr() error {
 15621  	return nil
 15622  }
 15623  
 15624  func (s *InvalidSortOrderException) Error() string {
 15625  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 15626  }
 15627  
 15628  // Status code returns the HTTP status code for the request's response error.
 15629  func (s *InvalidSortOrderException) StatusCode() int {
 15630  	return s.RespMetadata.StatusCode
 15631  }
 15632  
 15633  // RequestID returns the service's response RequestID for request.
 15634  func (s *InvalidSortOrderException) RequestID() string {
 15635  	return s.RespMetadata.RequestID
 15636  }
 15637  
 15638  // The tag was specified in an invalid format.
 15639  type InvalidTagException struct {
 15640  	_            struct{}                  `type:"structure"`
 15641  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 15642  
 15643  	Message_ *string `locationName:"message" type:"string"`
 15644  }
 15645  
 15646  // String returns the string representation.
 15647  //
 15648  // API parameter values that are decorated as "sensitive" in the API will not
 15649  // be included in the string output. The member name will be present, but the
 15650  // value will be replaced with "sensitive".
 15651  func (s InvalidTagException) String() string {
 15652  	return awsutil.Prettify(s)
 15653  }
 15654  
 15655  // GoString returns the string representation.
 15656  //
 15657  // API parameter values that are decorated as "sensitive" in the API will not
 15658  // be included in the string output. The member name will be present, but the
 15659  // value will be replaced with "sensitive".
 15660  func (s InvalidTagException) GoString() string {
 15661  	return s.String()
 15662  }
 15663  
 15664  func newErrorInvalidTagException(v protocol.ResponseMetadata) error {
 15665  	return &InvalidTagException{
 15666  		RespMetadata: v,
 15667  	}
 15668  }
 15669  
 15670  // Code returns the exception type name.
 15671  func (s *InvalidTagException) Code() string {
 15672  	return "InvalidTagException"
 15673  }
 15674  
 15675  // Message returns the exception's message.
 15676  func (s *InvalidTagException) Message() string {
 15677  	if s.Message_ != nil {
 15678  		return *s.Message_
 15679  	}
 15680  	return ""
 15681  }
 15682  
 15683  // OrigErr always returns nil, satisfies awserr.Error interface.
 15684  func (s *InvalidTagException) OrigErr() error {
 15685  	return nil
 15686  }
 15687  
 15688  func (s *InvalidTagException) Error() string {
 15689  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 15690  }
 15691  
 15692  // Status code returns the HTTP status code for the request's response error.
 15693  func (s *InvalidTagException) StatusCode() int {
 15694  	return s.RespMetadata.StatusCode
 15695  }
 15696  
 15697  // RequestID returns the service's response RequestID for request.
 15698  func (s *InvalidTagException) RequestID() string {
 15699  	return s.RespMetadata.RequestID
 15700  }
 15701  
 15702  // The tag filter was specified in an invalid format.
 15703  type InvalidTagFilterException struct {
 15704  	_            struct{}                  `type:"structure"`
 15705  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 15706  
 15707  	Message_ *string `locationName:"message" type:"string"`
 15708  }
 15709  
 15710  // String returns the string representation.
 15711  //
 15712  // API parameter values that are decorated as "sensitive" in the API will not
 15713  // be included in the string output. The member name will be present, but the
 15714  // value will be replaced with "sensitive".
 15715  func (s InvalidTagFilterException) String() string {
 15716  	return awsutil.Prettify(s)
 15717  }
 15718  
 15719  // GoString returns the string representation.
 15720  //
 15721  // API parameter values that are decorated as "sensitive" in the API will not
 15722  // be included in the string output. The member name will be present, but the
 15723  // value will be replaced with "sensitive".
 15724  func (s InvalidTagFilterException) GoString() string {
 15725  	return s.String()
 15726  }
 15727  
 15728  func newErrorInvalidTagFilterException(v protocol.ResponseMetadata) error {
 15729  	return &InvalidTagFilterException{
 15730  		RespMetadata: v,
 15731  	}
 15732  }
 15733  
 15734  // Code returns the exception type name.
 15735  func (s *InvalidTagFilterException) Code() string {
 15736  	return "InvalidTagFilterException"
 15737  }
 15738  
 15739  // Message returns the exception's message.
 15740  func (s *InvalidTagFilterException) Message() string {
 15741  	if s.Message_ != nil {
 15742  		return *s.Message_
 15743  	}
 15744  	return ""
 15745  }
 15746  
 15747  // OrigErr always returns nil, satisfies awserr.Error interface.
 15748  func (s *InvalidTagFilterException) OrigErr() error {
 15749  	return nil
 15750  }
 15751  
 15752  func (s *InvalidTagFilterException) Error() string {
 15753  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 15754  }
 15755  
 15756  // Status code returns the HTTP status code for the request's response error.
 15757  func (s *InvalidTagFilterException) StatusCode() int {
 15758  	return s.RespMetadata.StatusCode
 15759  }
 15760  
 15761  // RequestID returns the service's response RequestID for request.
 15762  func (s *InvalidTagFilterException) RequestID() string {
 15763  	return s.RespMetadata.RequestID
 15764  }
 15765  
 15766  // The specified tags are not valid.
 15767  type InvalidTagsToAddException struct {
 15768  	_            struct{}                  `type:"structure"`
 15769  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 15770  
 15771  	Message_ *string `locationName:"message" type:"string"`
 15772  }
 15773  
 15774  // String returns the string representation.
 15775  //
 15776  // API parameter values that are decorated as "sensitive" in the API will not
 15777  // be included in the string output. The member name will be present, but the
 15778  // value will be replaced with "sensitive".
 15779  func (s InvalidTagsToAddException) String() string {
 15780  	return awsutil.Prettify(s)
 15781  }
 15782  
 15783  // GoString returns the string representation.
 15784  //
 15785  // API parameter values that are decorated as "sensitive" in the API will not
 15786  // be included in the string output. The member name will be present, but the
 15787  // value will be replaced with "sensitive".
 15788  func (s InvalidTagsToAddException) GoString() string {
 15789  	return s.String()
 15790  }
 15791  
 15792  func newErrorInvalidTagsToAddException(v protocol.ResponseMetadata) error {
 15793  	return &InvalidTagsToAddException{
 15794  		RespMetadata: v,
 15795  	}
 15796  }
 15797  
 15798  // Code returns the exception type name.
 15799  func (s *InvalidTagsToAddException) Code() string {
 15800  	return "InvalidTagsToAddException"
 15801  }
 15802  
 15803  // Message returns the exception's message.
 15804  func (s *InvalidTagsToAddException) Message() string {
 15805  	if s.Message_ != nil {
 15806  		return *s.Message_
 15807  	}
 15808  	return ""
 15809  }
 15810  
 15811  // OrigErr always returns nil, satisfies awserr.Error interface.
 15812  func (s *InvalidTagsToAddException) OrigErr() error {
 15813  	return nil
 15814  }
 15815  
 15816  func (s *InvalidTagsToAddException) Error() string {
 15817  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 15818  }
 15819  
 15820  // Status code returns the HTTP status code for the request's response error.
 15821  func (s *InvalidTagsToAddException) StatusCode() int {
 15822  	return s.RespMetadata.StatusCode
 15823  }
 15824  
 15825  // RequestID returns the service's response RequestID for request.
 15826  func (s *InvalidTagsToAddException) RequestID() string {
 15827  	return s.RespMetadata.RequestID
 15828  }
 15829  
 15830  // The target filter name is invalid.
 15831  type InvalidTargetFilterNameException struct {
 15832  	_            struct{}                  `type:"structure"`
 15833  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 15834  
 15835  	Message_ *string `locationName:"message" type:"string"`
 15836  }
 15837  
 15838  // String returns the string representation.
 15839  //
 15840  // API parameter values that are decorated as "sensitive" in the API will not
 15841  // be included in the string output. The member name will be present, but the
 15842  // value will be replaced with "sensitive".
 15843  func (s InvalidTargetFilterNameException) String() string {
 15844  	return awsutil.Prettify(s)
 15845  }
 15846  
 15847  // GoString returns the string representation.
 15848  //
 15849  // API parameter values that are decorated as "sensitive" in the API will not
 15850  // be included in the string output. The member name will be present, but the
 15851  // value will be replaced with "sensitive".
 15852  func (s InvalidTargetFilterNameException) GoString() string {
 15853  	return s.String()
 15854  }
 15855  
 15856  func newErrorInvalidTargetFilterNameException(v protocol.ResponseMetadata) error {
 15857  	return &InvalidTargetFilterNameException{
 15858  		RespMetadata: v,
 15859  	}
 15860  }
 15861  
 15862  // Code returns the exception type name.
 15863  func (s *InvalidTargetFilterNameException) Code() string {
 15864  	return "InvalidTargetFilterNameException"
 15865  }
 15866  
 15867  // Message returns the exception's message.
 15868  func (s *InvalidTargetFilterNameException) Message() string {
 15869  	if s.Message_ != nil {
 15870  		return *s.Message_
 15871  	}
 15872  	return ""
 15873  }
 15874  
 15875  // OrigErr always returns nil, satisfies awserr.Error interface.
 15876  func (s *InvalidTargetFilterNameException) OrigErr() error {
 15877  	return nil
 15878  }
 15879  
 15880  func (s *InvalidTargetFilterNameException) Error() string {
 15881  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 15882  }
 15883  
 15884  // Status code returns the HTTP status code for the request's response error.
 15885  func (s *InvalidTargetFilterNameException) StatusCode() int {
 15886  	return s.RespMetadata.StatusCode
 15887  }
 15888  
 15889  // RequestID returns the service's response RequestID for request.
 15890  func (s *InvalidTargetFilterNameException) RequestID() string {
 15891  	return s.RespMetadata.RequestID
 15892  }
 15893  
 15894  // A target group pair associated with this deployment is not valid.
 15895  type InvalidTargetGroupPairException struct {
 15896  	_            struct{}                  `type:"structure"`
 15897  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 15898  
 15899  	Message_ *string `locationName:"message" type:"string"`
 15900  }
 15901  
 15902  // String returns the string representation.
 15903  //
 15904  // API parameter values that are decorated as "sensitive" in the API will not
 15905  // be included in the string output. The member name will be present, but the
 15906  // value will be replaced with "sensitive".
 15907  func (s InvalidTargetGroupPairException) String() string {
 15908  	return awsutil.Prettify(s)
 15909  }
 15910  
 15911  // GoString returns the string representation.
 15912  //
 15913  // API parameter values that are decorated as "sensitive" in the API will not
 15914  // be included in the string output. The member name will be present, but the
 15915  // value will be replaced with "sensitive".
 15916  func (s InvalidTargetGroupPairException) GoString() string {
 15917  	return s.String()
 15918  }
 15919  
 15920  func newErrorInvalidTargetGroupPairException(v protocol.ResponseMetadata) error {
 15921  	return &InvalidTargetGroupPairException{
 15922  		RespMetadata: v,
 15923  	}
 15924  }
 15925  
 15926  // Code returns the exception type name.
 15927  func (s *InvalidTargetGroupPairException) Code() string {
 15928  	return "InvalidTargetGroupPairException"
 15929  }
 15930  
 15931  // Message returns the exception's message.
 15932  func (s *InvalidTargetGroupPairException) Message() string {
 15933  	if s.Message_ != nil {
 15934  		return *s.Message_
 15935  	}
 15936  	return ""
 15937  }
 15938  
 15939  // OrigErr always returns nil, satisfies awserr.Error interface.
 15940  func (s *InvalidTargetGroupPairException) OrigErr() error {
 15941  	return nil
 15942  }
 15943  
 15944  func (s *InvalidTargetGroupPairException) Error() string {
 15945  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 15946  }
 15947  
 15948  // Status code returns the HTTP status code for the request's response error.
 15949  func (s *InvalidTargetGroupPairException) StatusCode() int {
 15950  	return s.RespMetadata.StatusCode
 15951  }
 15952  
 15953  // RequestID returns the service's response RequestID for request.
 15954  func (s *InvalidTargetGroupPairException) RequestID() string {
 15955  	return s.RespMetadata.RequestID
 15956  }
 15957  
 15958  // The target instance configuration is invalid. Possible causes include:
 15959  //
 15960  //    * Configuration data for target instances was entered for an in-place
 15961  //    deployment.
 15962  //
 15963  //    * The limit of 10 tags for a tag type was exceeded.
 15964  //
 15965  //    * The combined length of the tag names exceeded the limit.
 15966  //
 15967  //    * A specified tag is not currently applied to any instances.
 15968  type InvalidTargetInstancesException struct {
 15969  	_            struct{}                  `type:"structure"`
 15970  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 15971  
 15972  	Message_ *string `locationName:"message" type:"string"`
 15973  }
 15974  
 15975  // String returns the string representation.
 15976  //
 15977  // API parameter values that are decorated as "sensitive" in the API will not
 15978  // be included in the string output. The member name will be present, but the
 15979  // value will be replaced with "sensitive".
 15980  func (s InvalidTargetInstancesException) String() string {
 15981  	return awsutil.Prettify(s)
 15982  }
 15983  
 15984  // GoString returns the string representation.
 15985  //
 15986  // API parameter values that are decorated as "sensitive" in the API will not
 15987  // be included in the string output. The member name will be present, but the
 15988  // value will be replaced with "sensitive".
 15989  func (s InvalidTargetInstancesException) GoString() string {
 15990  	return s.String()
 15991  }
 15992  
 15993  func newErrorInvalidTargetInstancesException(v protocol.ResponseMetadata) error {
 15994  	return &InvalidTargetInstancesException{
 15995  		RespMetadata: v,
 15996  	}
 15997  }
 15998  
 15999  // Code returns the exception type name.
 16000  func (s *InvalidTargetInstancesException) Code() string {
 16001  	return "InvalidTargetInstancesException"
 16002  }
 16003  
 16004  // Message returns the exception's message.
 16005  func (s *InvalidTargetInstancesException) Message() string {
 16006  	if s.Message_ != nil {
 16007  		return *s.Message_
 16008  	}
 16009  	return ""
 16010  }
 16011  
 16012  // OrigErr always returns nil, satisfies awserr.Error interface.
 16013  func (s *InvalidTargetInstancesException) OrigErr() error {
 16014  	return nil
 16015  }
 16016  
 16017  func (s *InvalidTargetInstancesException) Error() string {
 16018  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 16019  }
 16020  
 16021  // Status code returns the HTTP status code for the request's response error.
 16022  func (s *InvalidTargetInstancesException) StatusCode() int {
 16023  	return s.RespMetadata.StatusCode
 16024  }
 16025  
 16026  // RequestID returns the service's response RequestID for request.
 16027  func (s *InvalidTargetInstancesException) RequestID() string {
 16028  	return s.RespMetadata.RequestID
 16029  }
 16030  
 16031  // The specified time range was specified in an invalid format.
 16032  type InvalidTimeRangeException struct {
 16033  	_            struct{}                  `type:"structure"`
 16034  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 16035  
 16036  	Message_ *string `locationName:"message" type:"string"`
 16037  }
 16038  
 16039  // String returns the string representation.
 16040  //
 16041  // API parameter values that are decorated as "sensitive" in the API will not
 16042  // be included in the string output. The member name will be present, but the
 16043  // value will be replaced with "sensitive".
 16044  func (s InvalidTimeRangeException) String() string {
 16045  	return awsutil.Prettify(s)
 16046  }
 16047  
 16048  // GoString returns the string representation.
 16049  //
 16050  // API parameter values that are decorated as "sensitive" in the API will not
 16051  // be included in the string output. The member name will be present, but the
 16052  // value will be replaced with "sensitive".
 16053  func (s InvalidTimeRangeException) GoString() string {
 16054  	return s.String()
 16055  }
 16056  
 16057  func newErrorInvalidTimeRangeException(v protocol.ResponseMetadata) error {
 16058  	return &InvalidTimeRangeException{
 16059  		RespMetadata: v,
 16060  	}
 16061  }
 16062  
 16063  // Code returns the exception type name.
 16064  func (s *InvalidTimeRangeException) Code() string {
 16065  	return "InvalidTimeRangeException"
 16066  }
 16067  
 16068  // Message returns the exception's message.
 16069  func (s *InvalidTimeRangeException) Message() string {
 16070  	if s.Message_ != nil {
 16071  		return *s.Message_
 16072  	}
 16073  	return ""
 16074  }
 16075  
 16076  // OrigErr always returns nil, satisfies awserr.Error interface.
 16077  func (s *InvalidTimeRangeException) OrigErr() error {
 16078  	return nil
 16079  }
 16080  
 16081  func (s *InvalidTimeRangeException) Error() string {
 16082  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 16083  }
 16084  
 16085  // Status code returns the HTTP status code for the request's response error.
 16086  func (s *InvalidTimeRangeException) StatusCode() int {
 16087  	return s.RespMetadata.StatusCode
 16088  }
 16089  
 16090  // RequestID returns the service's response RequestID for request.
 16091  func (s *InvalidTimeRangeException) RequestID() string {
 16092  	return s.RespMetadata.RequestID
 16093  }
 16094  
 16095  // The configuration that specifies how traffic is routed during a deployment
 16096  // is invalid.
 16097  type InvalidTrafficRoutingConfigurationException struct {
 16098  	_            struct{}                  `type:"structure"`
 16099  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 16100  
 16101  	Message_ *string `locationName:"message" type:"string"`
 16102  }
 16103  
 16104  // String returns the string representation.
 16105  //
 16106  // API parameter values that are decorated as "sensitive" in the API will not
 16107  // be included in the string output. The member name will be present, but the
 16108  // value will be replaced with "sensitive".
 16109  func (s InvalidTrafficRoutingConfigurationException) String() string {
 16110  	return awsutil.Prettify(s)
 16111  }
 16112  
 16113  // GoString returns the string representation.
 16114  //
 16115  // API parameter values that are decorated as "sensitive" in the API will not
 16116  // be included in the string output. The member name will be present, but the
 16117  // value will be replaced with "sensitive".
 16118  func (s InvalidTrafficRoutingConfigurationException) GoString() string {
 16119  	return s.String()
 16120  }
 16121  
 16122  func newErrorInvalidTrafficRoutingConfigurationException(v protocol.ResponseMetadata) error {
 16123  	return &InvalidTrafficRoutingConfigurationException{
 16124  		RespMetadata: v,
 16125  	}
 16126  }
 16127  
 16128  // Code returns the exception type name.
 16129  func (s *InvalidTrafficRoutingConfigurationException) Code() string {
 16130  	return "InvalidTrafficRoutingConfigurationException"
 16131  }
 16132  
 16133  // Message returns the exception's message.
 16134  func (s *InvalidTrafficRoutingConfigurationException) Message() string {
 16135  	if s.Message_ != nil {
 16136  		return *s.Message_
 16137  	}
 16138  	return ""
 16139  }
 16140  
 16141  // OrigErr always returns nil, satisfies awserr.Error interface.
 16142  func (s *InvalidTrafficRoutingConfigurationException) OrigErr() error {
 16143  	return nil
 16144  }
 16145  
 16146  func (s *InvalidTrafficRoutingConfigurationException) Error() string {
 16147  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 16148  }
 16149  
 16150  // Status code returns the HTTP status code for the request's response error.
 16151  func (s *InvalidTrafficRoutingConfigurationException) StatusCode() int {
 16152  	return s.RespMetadata.StatusCode
 16153  }
 16154  
 16155  // RequestID returns the service's response RequestID for request.
 16156  func (s *InvalidTrafficRoutingConfigurationException) RequestID() string {
 16157  	return s.RespMetadata.RequestID
 16158  }
 16159  
 16160  // The trigger was specified in an invalid format.
 16161  type InvalidTriggerConfigException struct {
 16162  	_            struct{}                  `type:"structure"`
 16163  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 16164  
 16165  	Message_ *string `locationName:"message" type:"string"`
 16166  }
 16167  
 16168  // String returns the string representation.
 16169  //
 16170  // API parameter values that are decorated as "sensitive" in the API will not
 16171  // be included in the string output. The member name will be present, but the
 16172  // value will be replaced with "sensitive".
 16173  func (s InvalidTriggerConfigException) String() string {
 16174  	return awsutil.Prettify(s)
 16175  }
 16176  
 16177  // GoString returns the string representation.
 16178  //
 16179  // API parameter values that are decorated as "sensitive" in the API will not
 16180  // be included in the string output. The member name will be present, but the
 16181  // value will be replaced with "sensitive".
 16182  func (s InvalidTriggerConfigException) GoString() string {
 16183  	return s.String()
 16184  }
 16185  
 16186  func newErrorInvalidTriggerConfigException(v protocol.ResponseMetadata) error {
 16187  	return &InvalidTriggerConfigException{
 16188  		RespMetadata: v,
 16189  	}
 16190  }
 16191  
 16192  // Code returns the exception type name.
 16193  func (s *InvalidTriggerConfigException) Code() string {
 16194  	return "InvalidTriggerConfigException"
 16195  }
 16196  
 16197  // Message returns the exception's message.
 16198  func (s *InvalidTriggerConfigException) Message() string {
 16199  	if s.Message_ != nil {
 16200  		return *s.Message_
 16201  	}
 16202  	return ""
 16203  }
 16204  
 16205  // OrigErr always returns nil, satisfies awserr.Error interface.
 16206  func (s *InvalidTriggerConfigException) OrigErr() error {
 16207  	return nil
 16208  }
 16209  
 16210  func (s *InvalidTriggerConfigException) Error() string {
 16211  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 16212  }
 16213  
 16214  // Status code returns the HTTP status code for the request's response error.
 16215  func (s *InvalidTriggerConfigException) StatusCode() int {
 16216  	return s.RespMetadata.StatusCode
 16217  }
 16218  
 16219  // RequestID returns the service's response RequestID for request.
 16220  func (s *InvalidTriggerConfigException) RequestID() string {
 16221  	return s.RespMetadata.RequestID
 16222  }
 16223  
 16224  // The UpdateOutdatedInstancesOnly value is invalid. For AWS Lambda deployments,
 16225  // false is expected. For EC2/On-premises deployments, true or false is expected.
 16226  type InvalidUpdateOutdatedInstancesOnlyValueException struct {
 16227  	_            struct{}                  `type:"structure"`
 16228  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 16229  
 16230  	Message_ *string `locationName:"message" type:"string"`
 16231  }
 16232  
 16233  // String returns the string representation.
 16234  //
 16235  // API parameter values that are decorated as "sensitive" in the API will not
 16236  // be included in the string output. The member name will be present, but the
 16237  // value will be replaced with "sensitive".
 16238  func (s InvalidUpdateOutdatedInstancesOnlyValueException) String() string {
 16239  	return awsutil.Prettify(s)
 16240  }
 16241  
 16242  // GoString returns the string representation.
 16243  //
 16244  // API parameter values that are decorated as "sensitive" in the API will not
 16245  // be included in the string output. The member name will be present, but the
 16246  // value will be replaced with "sensitive".
 16247  func (s InvalidUpdateOutdatedInstancesOnlyValueException) GoString() string {
 16248  	return s.String()
 16249  }
 16250  
 16251  func newErrorInvalidUpdateOutdatedInstancesOnlyValueException(v protocol.ResponseMetadata) error {
 16252  	return &InvalidUpdateOutdatedInstancesOnlyValueException{
 16253  		RespMetadata: v,
 16254  	}
 16255  }
 16256  
 16257  // Code returns the exception type name.
 16258  func (s *InvalidUpdateOutdatedInstancesOnlyValueException) Code() string {
 16259  	return "InvalidUpdateOutdatedInstancesOnlyValueException"
 16260  }
 16261  
 16262  // Message returns the exception's message.
 16263  func (s *InvalidUpdateOutdatedInstancesOnlyValueException) Message() string {
 16264  	if s.Message_ != nil {
 16265  		return *s.Message_
 16266  	}
 16267  	return ""
 16268  }
 16269  
 16270  // OrigErr always returns nil, satisfies awserr.Error interface.
 16271  func (s *InvalidUpdateOutdatedInstancesOnlyValueException) OrigErr() error {
 16272  	return nil
 16273  }
 16274  
 16275  func (s *InvalidUpdateOutdatedInstancesOnlyValueException) Error() string {
 16276  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 16277  }
 16278  
 16279  // Status code returns the HTTP status code for the request's response error.
 16280  func (s *InvalidUpdateOutdatedInstancesOnlyValueException) StatusCode() int {
 16281  	return s.RespMetadata.StatusCode
 16282  }
 16283  
 16284  // RequestID returns the service's response RequestID for request.
 16285  func (s *InvalidUpdateOutdatedInstancesOnlyValueException) RequestID() string {
 16286  	return s.RespMetadata.RequestID
 16287  }
 16288  
 16289  // Information about a Lambda function specified in a deployment.
 16290  type LambdaFunctionInfo struct {
 16291  	_ struct{} `type:"structure"`
 16292  
 16293  	// The version of a Lambda function that production traffic points to.
 16294  	CurrentVersion *string `locationName:"currentVersion" type:"string"`
 16295  
 16296  	// The alias of a Lambda function. For more information, see AWS Lambda Function
 16297  	// Aliases (https://docs.aws.amazon.com/lambda/latest/dg/aliases-intro.html)
 16298  	// in the AWS Lambda Developer Guide.
 16299  	FunctionAlias *string `locationName:"functionAlias" type:"string"`
 16300  
 16301  	// The name of a Lambda function.
 16302  	FunctionName *string `locationName:"functionName" type:"string"`
 16303  
 16304  	// The version of a Lambda function that production traffic points to after
 16305  	// the Lambda function is deployed.
 16306  	TargetVersion *string `locationName:"targetVersion" type:"string"`
 16307  
 16308  	// The percentage of production traffic that the target version of a Lambda
 16309  	// function receives.
 16310  	TargetVersionWeight *float64 `locationName:"targetVersionWeight" type:"double"`
 16311  }
 16312  
 16313  // String returns the string representation.
 16314  //
 16315  // API parameter values that are decorated as "sensitive" in the API will not
 16316  // be included in the string output. The member name will be present, but the
 16317  // value will be replaced with "sensitive".
 16318  func (s LambdaFunctionInfo) String() string {
 16319  	return awsutil.Prettify(s)
 16320  }
 16321  
 16322  // GoString returns the string representation.
 16323  //
 16324  // API parameter values that are decorated as "sensitive" in the API will not
 16325  // be included in the string output. The member name will be present, but the
 16326  // value will be replaced with "sensitive".
 16327  func (s LambdaFunctionInfo) GoString() string {
 16328  	return s.String()
 16329  }
 16330  
 16331  // SetCurrentVersion sets the CurrentVersion field's value.
 16332  func (s *LambdaFunctionInfo) SetCurrentVersion(v string) *LambdaFunctionInfo {
 16333  	s.CurrentVersion = &v
 16334  	return s
 16335  }
 16336  
 16337  // SetFunctionAlias sets the FunctionAlias field's value.
 16338  func (s *LambdaFunctionInfo) SetFunctionAlias(v string) *LambdaFunctionInfo {
 16339  	s.FunctionAlias = &v
 16340  	return s
 16341  }
 16342  
 16343  // SetFunctionName sets the FunctionName field's value.
 16344  func (s *LambdaFunctionInfo) SetFunctionName(v string) *LambdaFunctionInfo {
 16345  	s.FunctionName = &v
 16346  	return s
 16347  }
 16348  
 16349  // SetTargetVersion sets the TargetVersion field's value.
 16350  func (s *LambdaFunctionInfo) SetTargetVersion(v string) *LambdaFunctionInfo {
 16351  	s.TargetVersion = &v
 16352  	return s
 16353  }
 16354  
 16355  // SetTargetVersionWeight sets the TargetVersionWeight field's value.
 16356  func (s *LambdaFunctionInfo) SetTargetVersionWeight(v float64) *LambdaFunctionInfo {
 16357  	s.TargetVersionWeight = &v
 16358  	return s
 16359  }
 16360  
 16361  // Information about the target AWS Lambda function during an AWS Lambda deployment.
 16362  type LambdaTarget struct {
 16363  	_ struct{} `type:"structure"`
 16364  
 16365  	// The unique ID of a deployment.
 16366  	DeploymentId *string `locationName:"deploymentId" type:"string"`
 16367  
 16368  	// A LambdaFunctionInfo object that describes a target Lambda function.
 16369  	LambdaFunctionInfo *LambdaFunctionInfo `locationName:"lambdaFunctionInfo" type:"structure"`
 16370  
 16371  	// The date and time when the target Lambda function was updated by a deployment.
 16372  	LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
 16373  
 16374  	// The lifecycle events of the deployment to this target Lambda function.
 16375  	LifecycleEvents []*LifecycleEvent `locationName:"lifecycleEvents" type:"list"`
 16376  
 16377  	// The status an AWS Lambda deployment's target Lambda function.
 16378  	Status *string `locationName:"status" type:"string" enum:"TargetStatus"`
 16379  
 16380  	// The Amazon Resource Name (ARN) of the target.
 16381  	TargetArn *string `locationName:"targetArn" type:"string"`
 16382  
 16383  	// The unique ID of a deployment target that has a type of lambdaTarget.
 16384  	TargetId *string `locationName:"targetId" type:"string"`
 16385  }
 16386  
 16387  // String returns the string representation.
 16388  //
 16389  // API parameter values that are decorated as "sensitive" in the API will not
 16390  // be included in the string output. The member name will be present, but the
 16391  // value will be replaced with "sensitive".
 16392  func (s LambdaTarget) String() string {
 16393  	return awsutil.Prettify(s)
 16394  }
 16395  
 16396  // GoString returns the string representation.
 16397  //
 16398  // API parameter values that are decorated as "sensitive" in the API will not
 16399  // be included in the string output. The member name will be present, but the
 16400  // value will be replaced with "sensitive".
 16401  func (s LambdaTarget) GoString() string {
 16402  	return s.String()
 16403  }
 16404  
 16405  // SetDeploymentId sets the DeploymentId field's value.
 16406  func (s *LambdaTarget) SetDeploymentId(v string) *LambdaTarget {
 16407  	s.DeploymentId = &v
 16408  	return s
 16409  }
 16410  
 16411  // SetLambdaFunctionInfo sets the LambdaFunctionInfo field's value.
 16412  func (s *LambdaTarget) SetLambdaFunctionInfo(v *LambdaFunctionInfo) *LambdaTarget {
 16413  	s.LambdaFunctionInfo = v
 16414  	return s
 16415  }
 16416  
 16417  // SetLastUpdatedAt sets the LastUpdatedAt field's value.
 16418  func (s *LambdaTarget) SetLastUpdatedAt(v time.Time) *LambdaTarget {
 16419  	s.LastUpdatedAt = &v
 16420  	return s
 16421  }
 16422  
 16423  // SetLifecycleEvents sets the LifecycleEvents field's value.
 16424  func (s *LambdaTarget) SetLifecycleEvents(v []*LifecycleEvent) *LambdaTarget {
 16425  	s.LifecycleEvents = v
 16426  	return s
 16427  }
 16428  
 16429  // SetStatus sets the Status field's value.
 16430  func (s *LambdaTarget) SetStatus(v string) *LambdaTarget {
 16431  	s.Status = &v
 16432  	return s
 16433  }
 16434  
 16435  // SetTargetArn sets the TargetArn field's value.
 16436  func (s *LambdaTarget) SetTargetArn(v string) *LambdaTarget {
 16437  	s.TargetArn = &v
 16438  	return s
 16439  }
 16440  
 16441  // SetTargetId sets the TargetId field's value.
 16442  func (s *LambdaTarget) SetTargetId(v string) *LambdaTarget {
 16443  	s.TargetId = &v
 16444  	return s
 16445  }
 16446  
 16447  // Information about the most recent attempted or successful deployment to a
 16448  // deployment group.
 16449  type LastDeploymentInfo struct {
 16450  	_ struct{} `type:"structure"`
 16451  
 16452  	// A timestamp that indicates when the most recent deployment to the deployment
 16453  	// group started.
 16454  	CreateTime *time.Time `locationName:"createTime" type:"timestamp"`
 16455  
 16456  	// The unique ID of a deployment.
 16457  	DeploymentId *string `locationName:"deploymentId" type:"string"`
 16458  
 16459  	// A timestamp that indicates when the most recent deployment to the deployment
 16460  	// group was complete.
 16461  	EndTime *time.Time `locationName:"endTime" type:"timestamp"`
 16462  
 16463  	// The status of the most recent deployment.
 16464  	Status *string `locationName:"status" type:"string" enum:"DeploymentStatus"`
 16465  }
 16466  
 16467  // String returns the string representation.
 16468  //
 16469  // API parameter values that are decorated as "sensitive" in the API will not
 16470  // be included in the string output. The member name will be present, but the
 16471  // value will be replaced with "sensitive".
 16472  func (s LastDeploymentInfo) String() string {
 16473  	return awsutil.Prettify(s)
 16474  }
 16475  
 16476  // GoString returns the string representation.
 16477  //
 16478  // API parameter values that are decorated as "sensitive" in the API will not
 16479  // be included in the string output. The member name will be present, but the
 16480  // value will be replaced with "sensitive".
 16481  func (s LastDeploymentInfo) GoString() string {
 16482  	return s.String()
 16483  }
 16484  
 16485  // SetCreateTime sets the CreateTime field's value.
 16486  func (s *LastDeploymentInfo) SetCreateTime(v time.Time) *LastDeploymentInfo {
 16487  	s.CreateTime = &v
 16488  	return s
 16489  }
 16490  
 16491  // SetDeploymentId sets the DeploymentId field's value.
 16492  func (s *LastDeploymentInfo) SetDeploymentId(v string) *LastDeploymentInfo {
 16493  	s.DeploymentId = &v
 16494  	return s
 16495  }
 16496  
 16497  // SetEndTime sets the EndTime field's value.
 16498  func (s *LastDeploymentInfo) SetEndTime(v time.Time) *LastDeploymentInfo {
 16499  	s.EndTime = &v
 16500  	return s
 16501  }
 16502  
 16503  // SetStatus sets the Status field's value.
 16504  func (s *LastDeploymentInfo) SetStatus(v string) *LastDeploymentInfo {
 16505  	s.Status = &v
 16506  	return s
 16507  }
 16508  
 16509  // Information about a deployment lifecycle event.
 16510  type LifecycleEvent struct {
 16511  	_ struct{} `type:"structure"`
 16512  
 16513  	// Diagnostic information about the deployment lifecycle event.
 16514  	Diagnostics *Diagnostics `locationName:"diagnostics" type:"structure"`
 16515  
 16516  	// A timestamp that indicates when the deployment lifecycle event ended.
 16517  	EndTime *time.Time `locationName:"endTime" type:"timestamp"`
 16518  
 16519  	// The deployment lifecycle event name, such as ApplicationStop, BeforeInstall,
 16520  	// AfterInstall, ApplicationStart, or ValidateService.
 16521  	LifecycleEventName *string `locationName:"lifecycleEventName" type:"string"`
 16522  
 16523  	// A timestamp that indicates when the deployment lifecycle event started.
 16524  	StartTime *time.Time `locationName:"startTime" type:"timestamp"`
 16525  
 16526  	// The deployment lifecycle event status:
 16527  	//
 16528  	//    * Pending: The deployment lifecycle event is pending.
 16529  	//
 16530  	//    * InProgress: The deployment lifecycle event is in progress.
 16531  	//
 16532  	//    * Succeeded: The deployment lifecycle event ran successfully.
 16533  	//
 16534  	//    * Failed: The deployment lifecycle event has failed.
 16535  	//
 16536  	//    * Skipped: The deployment lifecycle event has been skipped.
 16537  	//
 16538  	//    * Unknown: The deployment lifecycle event is unknown.
 16539  	Status *string `locationName:"status" type:"string" enum:"LifecycleEventStatus"`
 16540  }
 16541  
 16542  // String returns the string representation.
 16543  //
 16544  // API parameter values that are decorated as "sensitive" in the API will not
 16545  // be included in the string output. The member name will be present, but the
 16546  // value will be replaced with "sensitive".
 16547  func (s LifecycleEvent) String() string {
 16548  	return awsutil.Prettify(s)
 16549  }
 16550  
 16551  // GoString returns the string representation.
 16552  //
 16553  // API parameter values that are decorated as "sensitive" in the API will not
 16554  // be included in the string output. The member name will be present, but the
 16555  // value will be replaced with "sensitive".
 16556  func (s LifecycleEvent) GoString() string {
 16557  	return s.String()
 16558  }
 16559  
 16560  // SetDiagnostics sets the Diagnostics field's value.
 16561  func (s *LifecycleEvent) SetDiagnostics(v *Diagnostics) *LifecycleEvent {
 16562  	s.Diagnostics = v
 16563  	return s
 16564  }
 16565  
 16566  // SetEndTime sets the EndTime field's value.
 16567  func (s *LifecycleEvent) SetEndTime(v time.Time) *LifecycleEvent {
 16568  	s.EndTime = &v
 16569  	return s
 16570  }
 16571  
 16572  // SetLifecycleEventName sets the LifecycleEventName field's value.
 16573  func (s *LifecycleEvent) SetLifecycleEventName(v string) *LifecycleEvent {
 16574  	s.LifecycleEventName = &v
 16575  	return s
 16576  }
 16577  
 16578  // SetStartTime sets the StartTime field's value.
 16579  func (s *LifecycleEvent) SetStartTime(v time.Time) *LifecycleEvent {
 16580  	s.StartTime = &v
 16581  	return s
 16582  }
 16583  
 16584  // SetStatus sets the Status field's value.
 16585  func (s *LifecycleEvent) SetStatus(v string) *LifecycleEvent {
 16586  	s.Status = &v
 16587  	return s
 16588  }
 16589  
 16590  // An attempt to return the status of an already completed lifecycle event occurred.
 16591  type LifecycleEventAlreadyCompletedException struct {
 16592  	_            struct{}                  `type:"structure"`
 16593  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 16594  
 16595  	Message_ *string `locationName:"message" type:"string"`
 16596  }
 16597  
 16598  // String returns the string representation.
 16599  //
 16600  // API parameter values that are decorated as "sensitive" in the API will not
 16601  // be included in the string output. The member name will be present, but the
 16602  // value will be replaced with "sensitive".
 16603  func (s LifecycleEventAlreadyCompletedException) String() string {
 16604  	return awsutil.Prettify(s)
 16605  }
 16606  
 16607  // GoString returns the string representation.
 16608  //
 16609  // API parameter values that are decorated as "sensitive" in the API will not
 16610  // be included in the string output. The member name will be present, but the
 16611  // value will be replaced with "sensitive".
 16612  func (s LifecycleEventAlreadyCompletedException) GoString() string {
 16613  	return s.String()
 16614  }
 16615  
 16616  func newErrorLifecycleEventAlreadyCompletedException(v protocol.ResponseMetadata) error {
 16617  	return &LifecycleEventAlreadyCompletedException{
 16618  		RespMetadata: v,
 16619  	}
 16620  }
 16621  
 16622  // Code returns the exception type name.
 16623  func (s *LifecycleEventAlreadyCompletedException) Code() string {
 16624  	return "LifecycleEventAlreadyCompletedException"
 16625  }
 16626  
 16627  // Message returns the exception's message.
 16628  func (s *LifecycleEventAlreadyCompletedException) Message() string {
 16629  	if s.Message_ != nil {
 16630  		return *s.Message_
 16631  	}
 16632  	return ""
 16633  }
 16634  
 16635  // OrigErr always returns nil, satisfies awserr.Error interface.
 16636  func (s *LifecycleEventAlreadyCompletedException) OrigErr() error {
 16637  	return nil
 16638  }
 16639  
 16640  func (s *LifecycleEventAlreadyCompletedException) Error() string {
 16641  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 16642  }
 16643  
 16644  // Status code returns the HTTP status code for the request's response error.
 16645  func (s *LifecycleEventAlreadyCompletedException) StatusCode() int {
 16646  	return s.RespMetadata.StatusCode
 16647  }
 16648  
 16649  // RequestID returns the service's response RequestID for request.
 16650  func (s *LifecycleEventAlreadyCompletedException) RequestID() string {
 16651  	return s.RespMetadata.RequestID
 16652  }
 16653  
 16654  // The limit for lifecycle hooks was exceeded.
 16655  type LifecycleHookLimitExceededException struct {
 16656  	_            struct{}                  `type:"structure"`
 16657  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 16658  
 16659  	Message_ *string `locationName:"message" type:"string"`
 16660  }
 16661  
 16662  // String returns the string representation.
 16663  //
 16664  // API parameter values that are decorated as "sensitive" in the API will not
 16665  // be included in the string output. The member name will be present, but the
 16666  // value will be replaced with "sensitive".
 16667  func (s LifecycleHookLimitExceededException) String() string {
 16668  	return awsutil.Prettify(s)
 16669  }
 16670  
 16671  // GoString returns the string representation.
 16672  //
 16673  // API parameter values that are decorated as "sensitive" in the API will not
 16674  // be included in the string output. The member name will be present, but the
 16675  // value will be replaced with "sensitive".
 16676  func (s LifecycleHookLimitExceededException) GoString() string {
 16677  	return s.String()
 16678  }
 16679  
 16680  func newErrorLifecycleHookLimitExceededException(v protocol.ResponseMetadata) error {
 16681  	return &LifecycleHookLimitExceededException{
 16682  		RespMetadata: v,
 16683  	}
 16684  }
 16685  
 16686  // Code returns the exception type name.
 16687  func (s *LifecycleHookLimitExceededException) Code() string {
 16688  	return "LifecycleHookLimitExceededException"
 16689  }
 16690  
 16691  // Message returns the exception's message.
 16692  func (s *LifecycleHookLimitExceededException) Message() string {
 16693  	if s.Message_ != nil {
 16694  		return *s.Message_
 16695  	}
 16696  	return ""
 16697  }
 16698  
 16699  // OrigErr always returns nil, satisfies awserr.Error interface.
 16700  func (s *LifecycleHookLimitExceededException) OrigErr() error {
 16701  	return nil
 16702  }
 16703  
 16704  func (s *LifecycleHookLimitExceededException) Error() string {
 16705  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 16706  }
 16707  
 16708  // Status code returns the HTTP status code for the request's response error.
 16709  func (s *LifecycleHookLimitExceededException) StatusCode() int {
 16710  	return s.RespMetadata.StatusCode
 16711  }
 16712  
 16713  // RequestID returns the service's response RequestID for request.
 16714  func (s *LifecycleHookLimitExceededException) RequestID() string {
 16715  	return s.RespMetadata.RequestID
 16716  }
 16717  
 16718  // Represents the input of a ListApplicationRevisions operation.
 16719  type ListApplicationRevisionsInput struct {
 16720  	_ struct{} `type:"structure"`
 16721  
 16722  	// The name of an AWS CodeDeploy application associated with the IAM user or
 16723  	// AWS account.
 16724  	//
 16725  	// ApplicationName is a required field
 16726  	ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`
 16727  
 16728  	// Whether to list revisions based on whether the revision is the target revision
 16729  	// of a deployment group:
 16730  	//
 16731  	//    * include: List revisions that are target revisions of a deployment group.
 16732  	//
 16733  	//    * exclude: Do not list revisions that are target revisions of a deployment
 16734  	//    group.
 16735  	//
 16736  	//    * ignore: List all revisions.
 16737  	Deployed *string `locationName:"deployed" type:"string" enum:"ListStateFilterAction"`
 16738  
 16739  	// An identifier returned from the previous ListApplicationRevisions call. It
 16740  	// can be used to return the next set of applications in the list.
 16741  	NextToken *string `locationName:"nextToken" type:"string"`
 16742  
 16743  	// An Amazon S3 bucket name to limit the search for revisions.
 16744  	//
 16745  	// If set to null, all of the user's buckets are searched.
 16746  	S3Bucket *string `locationName:"s3Bucket" type:"string"`
 16747  
 16748  	// A key prefix for the set of Amazon S3 objects to limit the search for revisions.
 16749  	S3KeyPrefix *string `locationName:"s3KeyPrefix" type:"string"`
 16750  
 16751  	// The column name to use to sort the list results:
 16752  	//
 16753  	//    * registerTime: Sort by the time the revisions were registered with AWS
 16754  	//    CodeDeploy.
 16755  	//
 16756  	//    * firstUsedTime: Sort by the time the revisions were first used in a deployment.
 16757  	//
 16758  	//    * lastUsedTime: Sort by the time the revisions were last used in a deployment.
 16759  	//
 16760  	// If not specified or set to null, the results are returned in an arbitrary
 16761  	// order.
 16762  	SortBy *string `locationName:"sortBy" type:"string" enum:"ApplicationRevisionSortBy"`
 16763  
 16764  	// The order in which to sort the list results:
 16765  	//
 16766  	//    * ascending: ascending order.
 16767  	//
 16768  	//    * descending: descending order.
 16769  	//
 16770  	// If not specified, the results are sorted in ascending order.
 16771  	//
 16772  	// If set to null, the results are sorted in an arbitrary order.
 16773  	SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrder"`
 16774  }
 16775  
 16776  // String returns the string representation.
 16777  //
 16778  // API parameter values that are decorated as "sensitive" in the API will not
 16779  // be included in the string output. The member name will be present, but the
 16780  // value will be replaced with "sensitive".
 16781  func (s ListApplicationRevisionsInput) String() string {
 16782  	return awsutil.Prettify(s)
 16783  }
 16784  
 16785  // GoString returns the string representation.
 16786  //
 16787  // API parameter values that are decorated as "sensitive" in the API will not
 16788  // be included in the string output. The member name will be present, but the
 16789  // value will be replaced with "sensitive".
 16790  func (s ListApplicationRevisionsInput) GoString() string {
 16791  	return s.String()
 16792  }
 16793  
 16794  // Validate inspects the fields of the type to determine if they are valid.
 16795  func (s *ListApplicationRevisionsInput) Validate() error {
 16796  	invalidParams := request.ErrInvalidParams{Context: "ListApplicationRevisionsInput"}
 16797  	if s.ApplicationName == nil {
 16798  		invalidParams.Add(request.NewErrParamRequired("ApplicationName"))
 16799  	}
 16800  	if s.ApplicationName != nil && len(*s.ApplicationName) < 1 {
 16801  		invalidParams.Add(request.NewErrParamMinLen("ApplicationName", 1))
 16802  	}
 16803  
 16804  	if invalidParams.Len() > 0 {
 16805  		return invalidParams
 16806  	}
 16807  	return nil
 16808  }
 16809  
 16810  // SetApplicationName sets the ApplicationName field's value.
 16811  func (s *ListApplicationRevisionsInput) SetApplicationName(v string) *ListApplicationRevisionsInput {
 16812  	s.ApplicationName = &v
 16813  	return s
 16814  }
 16815  
 16816  // SetDeployed sets the Deployed field's value.
 16817  func (s *ListApplicationRevisionsInput) SetDeployed(v string) *ListApplicationRevisionsInput {
 16818  	s.Deployed = &v
 16819  	return s
 16820  }
 16821  
 16822  // SetNextToken sets the NextToken field's value.
 16823  func (s *ListApplicationRevisionsInput) SetNextToken(v string) *ListApplicationRevisionsInput {
 16824  	s.NextToken = &v
 16825  	return s
 16826  }
 16827  
 16828  // SetS3Bucket sets the S3Bucket field's value.
 16829  func (s *ListApplicationRevisionsInput) SetS3Bucket(v string) *ListApplicationRevisionsInput {
 16830  	s.S3Bucket = &v
 16831  	return s
 16832  }
 16833  
 16834  // SetS3KeyPrefix sets the S3KeyPrefix field's value.
 16835  func (s *ListApplicationRevisionsInput) SetS3KeyPrefix(v string) *ListApplicationRevisionsInput {
 16836  	s.S3KeyPrefix = &v
 16837  	return s
 16838  }
 16839  
 16840  // SetSortBy sets the SortBy field's value.
 16841  func (s *ListApplicationRevisionsInput) SetSortBy(v string) *ListApplicationRevisionsInput {
 16842  	s.SortBy = &v
 16843  	return s
 16844  }
 16845  
 16846  // SetSortOrder sets the SortOrder field's value.
 16847  func (s *ListApplicationRevisionsInput) SetSortOrder(v string) *ListApplicationRevisionsInput {
 16848  	s.SortOrder = &v
 16849  	return s
 16850  }
 16851  
 16852  // Represents the output of a ListApplicationRevisions operation.
 16853  type ListApplicationRevisionsOutput struct {
 16854  	_ struct{} `type:"structure"`
 16855  
 16856  	// If a large amount of information is returned, an identifier is also returned.
 16857  	// It can be used in a subsequent list application revisions call to return
 16858  	// the next set of application revisions in the list.
 16859  	NextToken *string `locationName:"nextToken" type:"string"`
 16860  
 16861  	// A list of locations that contain the matching revisions.
 16862  	Revisions []*RevisionLocation `locationName:"revisions" type:"list"`
 16863  }
 16864  
 16865  // String returns the string representation.
 16866  //
 16867  // API parameter values that are decorated as "sensitive" in the API will not
 16868  // be included in the string output. The member name will be present, but the
 16869  // value will be replaced with "sensitive".
 16870  func (s ListApplicationRevisionsOutput) String() string {
 16871  	return awsutil.Prettify(s)
 16872  }
 16873  
 16874  // GoString returns the string representation.
 16875  //
 16876  // API parameter values that are decorated as "sensitive" in the API will not
 16877  // be included in the string output. The member name will be present, but the
 16878  // value will be replaced with "sensitive".
 16879  func (s ListApplicationRevisionsOutput) GoString() string {
 16880  	return s.String()
 16881  }
 16882  
 16883  // SetNextToken sets the NextToken field's value.
 16884  func (s *ListApplicationRevisionsOutput) SetNextToken(v string) *ListApplicationRevisionsOutput {
 16885  	s.NextToken = &v
 16886  	return s
 16887  }
 16888  
 16889  // SetRevisions sets the Revisions field's value.
 16890  func (s *ListApplicationRevisionsOutput) SetRevisions(v []*RevisionLocation) *ListApplicationRevisionsOutput {
 16891  	s.Revisions = v
 16892  	return s
 16893  }
 16894  
 16895  // Represents the input of a ListApplications operation.
 16896  type ListApplicationsInput struct {
 16897  	_ struct{} `type:"structure"`
 16898  
 16899  	// An identifier returned from the previous list applications call. It can be
 16900  	// used to return the next set of applications in the list.
 16901  	NextToken *string `locationName:"nextToken" type:"string"`
 16902  }
 16903  
 16904  // String returns the string representation.
 16905  //
 16906  // API parameter values that are decorated as "sensitive" in the API will not
 16907  // be included in the string output. The member name will be present, but the
 16908  // value will be replaced with "sensitive".
 16909  func (s ListApplicationsInput) String() string {
 16910  	return awsutil.Prettify(s)
 16911  }
 16912  
 16913  // GoString returns the string representation.
 16914  //
 16915  // API parameter values that are decorated as "sensitive" in the API will not
 16916  // be included in the string output. The member name will be present, but the
 16917  // value will be replaced with "sensitive".
 16918  func (s ListApplicationsInput) GoString() string {
 16919  	return s.String()
 16920  }
 16921  
 16922  // SetNextToken sets the NextToken field's value.
 16923  func (s *ListApplicationsInput) SetNextToken(v string) *ListApplicationsInput {
 16924  	s.NextToken = &v
 16925  	return s
 16926  }
 16927  
 16928  // Represents the output of a ListApplications operation.
 16929  type ListApplicationsOutput struct {
 16930  	_ struct{} `type:"structure"`
 16931  
 16932  	// A list of application names.
 16933  	Applications []*string `locationName:"applications" type:"list"`
 16934  
 16935  	// If a large amount of information is returned, an identifier is also returned.
 16936  	// It can be used in a subsequent list applications call to return the next
 16937  	// set of applications in the list.
 16938  	NextToken *string `locationName:"nextToken" type:"string"`
 16939  }
 16940  
 16941  // String returns the string representation.
 16942  //
 16943  // API parameter values that are decorated as "sensitive" in the API will not
 16944  // be included in the string output. The member name will be present, but the
 16945  // value will be replaced with "sensitive".
 16946  func (s ListApplicationsOutput) String() string {
 16947  	return awsutil.Prettify(s)
 16948  }
 16949  
 16950  // GoString returns the string representation.
 16951  //
 16952  // API parameter values that are decorated as "sensitive" in the API will not
 16953  // be included in the string output. The member name will be present, but the
 16954  // value will be replaced with "sensitive".
 16955  func (s ListApplicationsOutput) GoString() string {
 16956  	return s.String()
 16957  }
 16958  
 16959  // SetApplications sets the Applications field's value.
 16960  func (s *ListApplicationsOutput) SetApplications(v []*string) *ListApplicationsOutput {
 16961  	s.Applications = v
 16962  	return s
 16963  }
 16964  
 16965  // SetNextToken sets the NextToken field's value.
 16966  func (s *ListApplicationsOutput) SetNextToken(v string) *ListApplicationsOutput {
 16967  	s.NextToken = &v
 16968  	return s
 16969  }
 16970  
 16971  // Represents the input of a ListDeploymentConfigs operation.
 16972  type ListDeploymentConfigsInput struct {
 16973  	_ struct{} `type:"structure"`
 16974  
 16975  	// An identifier returned from the previous ListDeploymentConfigs call. It can
 16976  	// be used to return the next set of deployment configurations in the list.
 16977  	NextToken *string `locationName:"nextToken" type:"string"`
 16978  }
 16979  
 16980  // String returns the string representation.
 16981  //
 16982  // API parameter values that are decorated as "sensitive" in the API will not
 16983  // be included in the string output. The member name will be present, but the
 16984  // value will be replaced with "sensitive".
 16985  func (s ListDeploymentConfigsInput) String() string {
 16986  	return awsutil.Prettify(s)
 16987  }
 16988  
 16989  // GoString returns the string representation.
 16990  //
 16991  // API parameter values that are decorated as "sensitive" in the API will not
 16992  // be included in the string output. The member name will be present, but the
 16993  // value will be replaced with "sensitive".
 16994  func (s ListDeploymentConfigsInput) GoString() string {
 16995  	return s.String()
 16996  }
 16997  
 16998  // SetNextToken sets the NextToken field's value.
 16999  func (s *ListDeploymentConfigsInput) SetNextToken(v string) *ListDeploymentConfigsInput {
 17000  	s.NextToken = &v
 17001  	return s
 17002  }
 17003  
 17004  // Represents the output of a ListDeploymentConfigs operation.
 17005  type ListDeploymentConfigsOutput struct {
 17006  	_ struct{} `type:"structure"`
 17007  
 17008  	// A list of deployment configurations, including built-in configurations such
 17009  	// as CodeDeployDefault.OneAtATime.
 17010  	DeploymentConfigsList []*string `locationName:"deploymentConfigsList" type:"list"`
 17011  
 17012  	// If a large amount of information is returned, an identifier is also returned.
 17013  	// It can be used in a subsequent list deployment configurations call to return
 17014  	// the next set of deployment configurations in the list.
 17015  	NextToken *string `locationName:"nextToken" type:"string"`
 17016  }
 17017  
 17018  // String returns the string representation.
 17019  //
 17020  // API parameter values that are decorated as "sensitive" in the API will not
 17021  // be included in the string output. The member name will be present, but the
 17022  // value will be replaced with "sensitive".
 17023  func (s ListDeploymentConfigsOutput) String() string {
 17024  	return awsutil.Prettify(s)
 17025  }
 17026  
 17027  // GoString returns the string representation.
 17028  //
 17029  // API parameter values that are decorated as "sensitive" in the API will not
 17030  // be included in the string output. The member name will be present, but the
 17031  // value will be replaced with "sensitive".
 17032  func (s ListDeploymentConfigsOutput) GoString() string {
 17033  	return s.String()
 17034  }
 17035  
 17036  // SetDeploymentConfigsList sets the DeploymentConfigsList field's value.
 17037  func (s *ListDeploymentConfigsOutput) SetDeploymentConfigsList(v []*string) *ListDeploymentConfigsOutput {
 17038  	s.DeploymentConfigsList = v
 17039  	return s
 17040  }
 17041  
 17042  // SetNextToken sets the NextToken field's value.
 17043  func (s *ListDeploymentConfigsOutput) SetNextToken(v string) *ListDeploymentConfigsOutput {
 17044  	s.NextToken = &v
 17045  	return s
 17046  }
 17047  
 17048  // Represents the input of a ListDeploymentGroups operation.
 17049  type ListDeploymentGroupsInput struct {
 17050  	_ struct{} `type:"structure"`
 17051  
 17052  	// The name of an AWS CodeDeploy application associated with the IAM user or
 17053  	// AWS account.
 17054  	//
 17055  	// ApplicationName is a required field
 17056  	ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`
 17057  
 17058  	// An identifier returned from the previous list deployment groups call. It
 17059  	// can be used to return the next set of deployment groups in the list.
 17060  	NextToken *string `locationName:"nextToken" type:"string"`
 17061  }
 17062  
 17063  // String returns the string representation.
 17064  //
 17065  // API parameter values that are decorated as "sensitive" in the API will not
 17066  // be included in the string output. The member name will be present, but the
 17067  // value will be replaced with "sensitive".
 17068  func (s ListDeploymentGroupsInput) String() string {
 17069  	return awsutil.Prettify(s)
 17070  }
 17071  
 17072  // GoString returns the string representation.
 17073  //
 17074  // API parameter values that are decorated as "sensitive" in the API will not
 17075  // be included in the string output. The member name will be present, but the
 17076  // value will be replaced with "sensitive".
 17077  func (s ListDeploymentGroupsInput) GoString() string {
 17078  	return s.String()
 17079  }
 17080  
 17081  // Validate inspects the fields of the type to determine if they are valid.
 17082  func (s *ListDeploymentGroupsInput) Validate() error {
 17083  	invalidParams := request.ErrInvalidParams{Context: "ListDeploymentGroupsInput"}
 17084  	if s.ApplicationName == nil {
 17085  		invalidParams.Add(request.NewErrParamRequired("ApplicationName"))
 17086  	}
 17087  	if s.ApplicationName != nil && len(*s.ApplicationName) < 1 {
 17088  		invalidParams.Add(request.NewErrParamMinLen("ApplicationName", 1))
 17089  	}
 17090  
 17091  	if invalidParams.Len() > 0 {
 17092  		return invalidParams
 17093  	}
 17094  	return nil
 17095  }
 17096  
 17097  // SetApplicationName sets the ApplicationName field's value.
 17098  func (s *ListDeploymentGroupsInput) SetApplicationName(v string) *ListDeploymentGroupsInput {
 17099  	s.ApplicationName = &v
 17100  	return s
 17101  }
 17102  
 17103  // SetNextToken sets the NextToken field's value.
 17104  func (s *ListDeploymentGroupsInput) SetNextToken(v string) *ListDeploymentGroupsInput {
 17105  	s.NextToken = &v
 17106  	return s
 17107  }
 17108  
 17109  // Represents the output of a ListDeploymentGroups operation.
 17110  type ListDeploymentGroupsOutput struct {
 17111  	_ struct{} `type:"structure"`
 17112  
 17113  	// The application name.
 17114  	ApplicationName *string `locationName:"applicationName" min:"1" type:"string"`
 17115  
 17116  	// A list of deployment group names.
 17117  	DeploymentGroups []*string `locationName:"deploymentGroups" type:"list"`
 17118  
 17119  	// If a large amount of information is returned, an identifier is also returned.
 17120  	// It can be used in a subsequent list deployment groups call to return the
 17121  	// next set of deployment groups in the list.
 17122  	NextToken *string `locationName:"nextToken" type:"string"`
 17123  }
 17124  
 17125  // String returns the string representation.
 17126  //
 17127  // API parameter values that are decorated as "sensitive" in the API will not
 17128  // be included in the string output. The member name will be present, but the
 17129  // value will be replaced with "sensitive".
 17130  func (s ListDeploymentGroupsOutput) String() string {
 17131  	return awsutil.Prettify(s)
 17132  }
 17133  
 17134  // GoString returns the string representation.
 17135  //
 17136  // API parameter values that are decorated as "sensitive" in the API will not
 17137  // be included in the string output. The member name will be present, but the
 17138  // value will be replaced with "sensitive".
 17139  func (s ListDeploymentGroupsOutput) GoString() string {
 17140  	return s.String()
 17141  }
 17142  
 17143  // SetApplicationName sets the ApplicationName field's value.
 17144  func (s *ListDeploymentGroupsOutput) SetApplicationName(v string) *ListDeploymentGroupsOutput {
 17145  	s.ApplicationName = &v
 17146  	return s
 17147  }
 17148  
 17149  // SetDeploymentGroups sets the DeploymentGroups field's value.
 17150  func (s *ListDeploymentGroupsOutput) SetDeploymentGroups(v []*string) *ListDeploymentGroupsOutput {
 17151  	s.DeploymentGroups = v
 17152  	return s
 17153  }
 17154  
 17155  // SetNextToken sets the NextToken field's value.
 17156  func (s *ListDeploymentGroupsOutput) SetNextToken(v string) *ListDeploymentGroupsOutput {
 17157  	s.NextToken = &v
 17158  	return s
 17159  }
 17160  
 17161  // Represents the input of a ListDeploymentInstances operation.
 17162  type ListDeploymentInstancesInput struct {
 17163  	_ struct{} `type:"structure"`
 17164  
 17165  	// The unique ID of a deployment.
 17166  	//
 17167  	// DeploymentId is a required field
 17168  	DeploymentId *string `locationName:"deploymentId" type:"string" required:"true"`
 17169  
 17170  	// A subset of instances to list by status:
 17171  	//
 17172  	//    * Pending: Include those instances with pending deployments.
 17173  	//
 17174  	//    * InProgress: Include those instances where deployments are still in progress.
 17175  	//
 17176  	//    * Succeeded: Include those instances with successful deployments.
 17177  	//
 17178  	//    * Failed: Include those instances with failed deployments.
 17179  	//
 17180  	//    * Skipped: Include those instances with skipped deployments.
 17181  	//
 17182  	//    * Unknown: Include those instances with deployments in an unknown state.
 17183  	InstanceStatusFilter []*string `locationName:"instanceStatusFilter" type:"list"`
 17184  
 17185  	// The set of instances in a blue/green deployment, either those in the original
 17186  	// environment ("BLUE") or those in the replacement environment ("GREEN"), for
 17187  	// which you want to view instance information.
 17188  	InstanceTypeFilter []*string `locationName:"instanceTypeFilter" type:"list"`
 17189  
 17190  	// An identifier returned from the previous list deployment instances call.
 17191  	// It can be used to return the next set of deployment instances in the list.
 17192  	NextToken *string `locationName:"nextToken" type:"string"`
 17193  }
 17194  
 17195  // String returns the string representation.
 17196  //
 17197  // API parameter values that are decorated as "sensitive" in the API will not
 17198  // be included in the string output. The member name will be present, but the
 17199  // value will be replaced with "sensitive".
 17200  func (s ListDeploymentInstancesInput) String() string {
 17201  	return awsutil.Prettify(s)
 17202  }
 17203  
 17204  // GoString returns the string representation.
 17205  //
 17206  // API parameter values that are decorated as "sensitive" in the API will not
 17207  // be included in the string output. The member name will be present, but the
 17208  // value will be replaced with "sensitive".
 17209  func (s ListDeploymentInstancesInput) GoString() string {
 17210  	return s.String()
 17211  }
 17212  
 17213  // Validate inspects the fields of the type to determine if they are valid.
 17214  func (s *ListDeploymentInstancesInput) Validate() error {
 17215  	invalidParams := request.ErrInvalidParams{Context: "ListDeploymentInstancesInput"}
 17216  	if s.DeploymentId == nil {
 17217  		invalidParams.Add(request.NewErrParamRequired("DeploymentId"))
 17218  	}
 17219  
 17220  	if invalidParams.Len() > 0 {
 17221  		return invalidParams
 17222  	}
 17223  	return nil
 17224  }
 17225  
 17226  // SetDeploymentId sets the DeploymentId field's value.
 17227  func (s *ListDeploymentInstancesInput) SetDeploymentId(v string) *ListDeploymentInstancesInput {
 17228  	s.DeploymentId = &v
 17229  	return s
 17230  }
 17231  
 17232  // SetInstanceStatusFilter sets the InstanceStatusFilter field's value.
 17233  func (s *ListDeploymentInstancesInput) SetInstanceStatusFilter(v []*string) *ListDeploymentInstancesInput {
 17234  	s.InstanceStatusFilter = v
 17235  	return s
 17236  }
 17237  
 17238  // SetInstanceTypeFilter sets the InstanceTypeFilter field's value.
 17239  func (s *ListDeploymentInstancesInput) SetInstanceTypeFilter(v []*string) *ListDeploymentInstancesInput {
 17240  	s.InstanceTypeFilter = v
 17241  	return s
 17242  }
 17243  
 17244  // SetNextToken sets the NextToken field's value.
 17245  func (s *ListDeploymentInstancesInput) SetNextToken(v string) *ListDeploymentInstancesInput {
 17246  	s.NextToken = &v
 17247  	return s
 17248  }
 17249  
 17250  // Represents the output of a ListDeploymentInstances operation.
 17251  type ListDeploymentInstancesOutput struct {
 17252  	_ struct{} `type:"structure"`
 17253  
 17254  	// A list of instance IDs.
 17255  	InstancesList []*string `locationName:"instancesList" type:"list"`
 17256  
 17257  	// If a large amount of information is returned, an identifier is also returned.
 17258  	// It can be used in a subsequent list deployment instances call to return the
 17259  	// next set of deployment instances in the list.
 17260  	NextToken *string `locationName:"nextToken" type:"string"`
 17261  }
 17262  
 17263  // String returns the string representation.
 17264  //
 17265  // API parameter values that are decorated as "sensitive" in the API will not
 17266  // be included in the string output. The member name will be present, but the
 17267  // value will be replaced with "sensitive".
 17268  func (s ListDeploymentInstancesOutput) String() string {
 17269  	return awsutil.Prettify(s)
 17270  }
 17271  
 17272  // GoString returns the string representation.
 17273  //
 17274  // API parameter values that are decorated as "sensitive" in the API will not
 17275  // be included in the string output. The member name will be present, but the
 17276  // value will be replaced with "sensitive".
 17277  func (s ListDeploymentInstancesOutput) GoString() string {
 17278  	return s.String()
 17279  }
 17280  
 17281  // SetInstancesList sets the InstancesList field's value.
 17282  func (s *ListDeploymentInstancesOutput) SetInstancesList(v []*string) *ListDeploymentInstancesOutput {
 17283  	s.InstancesList = v
 17284  	return s
 17285  }
 17286  
 17287  // SetNextToken sets the NextToken field's value.
 17288  func (s *ListDeploymentInstancesOutput) SetNextToken(v string) *ListDeploymentInstancesOutput {
 17289  	s.NextToken = &v
 17290  	return s
 17291  }
 17292  
 17293  type ListDeploymentTargetsInput struct {
 17294  	_ struct{} `type:"structure"`
 17295  
 17296  	// The unique ID of a deployment.
 17297  	DeploymentId *string `locationName:"deploymentId" type:"string"`
 17298  
 17299  	// A token identifier returned from the previous ListDeploymentTargets call.
 17300  	// It can be used to return the next set of deployment targets in the list.
 17301  	NextToken *string `locationName:"nextToken" type:"string"`
 17302  
 17303  	// A key used to filter the returned targets. The two valid values are:
 17304  	//
 17305  	//    * TargetStatus - A TargetStatus filter string can be Failed, InProgress,
 17306  	//    Pending, Ready, Skipped, Succeeded, or Unknown.
 17307  	//
 17308  	//    * ServerInstanceLabel - A ServerInstanceLabel filter string can be Blue
 17309  	//    or Green.
 17310  	TargetFilters map[string][]*string `locationName:"targetFilters" type:"map"`
 17311  }
 17312  
 17313  // String returns the string representation.
 17314  //
 17315  // API parameter values that are decorated as "sensitive" in the API will not
 17316  // be included in the string output. The member name will be present, but the
 17317  // value will be replaced with "sensitive".
 17318  func (s ListDeploymentTargetsInput) String() string {
 17319  	return awsutil.Prettify(s)
 17320  }
 17321  
 17322  // GoString returns the string representation.
 17323  //
 17324  // API parameter values that are decorated as "sensitive" in the API will not
 17325  // be included in the string output. The member name will be present, but the
 17326  // value will be replaced with "sensitive".
 17327  func (s ListDeploymentTargetsInput) GoString() string {
 17328  	return s.String()
 17329  }
 17330  
 17331  // SetDeploymentId sets the DeploymentId field's value.
 17332  func (s *ListDeploymentTargetsInput) SetDeploymentId(v string) *ListDeploymentTargetsInput {
 17333  	s.DeploymentId = &v
 17334  	return s
 17335  }
 17336  
 17337  // SetNextToken sets the NextToken field's value.
 17338  func (s *ListDeploymentTargetsInput) SetNextToken(v string) *ListDeploymentTargetsInput {
 17339  	s.NextToken = &v
 17340  	return s
 17341  }
 17342  
 17343  // SetTargetFilters sets the TargetFilters field's value.
 17344  func (s *ListDeploymentTargetsInput) SetTargetFilters(v map[string][]*string) *ListDeploymentTargetsInput {
 17345  	s.TargetFilters = v
 17346  	return s
 17347  }
 17348  
 17349  type ListDeploymentTargetsOutput struct {
 17350  	_ struct{} `type:"structure"`
 17351  
 17352  	// If a large amount of information is returned, a token identifier is also
 17353  	// returned. It can be used in a subsequent ListDeploymentTargets call to return
 17354  	// the next set of deployment targets in the list.
 17355  	NextToken *string `locationName:"nextToken" type:"string"`
 17356  
 17357  	// The unique IDs of deployment targets.
 17358  	TargetIds []*string `locationName:"targetIds" type:"list"`
 17359  }
 17360  
 17361  // String returns the string representation.
 17362  //
 17363  // API parameter values that are decorated as "sensitive" in the API will not
 17364  // be included in the string output. The member name will be present, but the
 17365  // value will be replaced with "sensitive".
 17366  func (s ListDeploymentTargetsOutput) String() string {
 17367  	return awsutil.Prettify(s)
 17368  }
 17369  
 17370  // GoString returns the string representation.
 17371  //
 17372  // API parameter values that are decorated as "sensitive" in the API will not
 17373  // be included in the string output. The member name will be present, but the
 17374  // value will be replaced with "sensitive".
 17375  func (s ListDeploymentTargetsOutput) GoString() string {
 17376  	return s.String()
 17377  }
 17378  
 17379  // SetNextToken sets the NextToken field's value.
 17380  func (s *ListDeploymentTargetsOutput) SetNextToken(v string) *ListDeploymentTargetsOutput {
 17381  	s.NextToken = &v
 17382  	return s
 17383  }
 17384  
 17385  // SetTargetIds sets the TargetIds field's value.
 17386  func (s *ListDeploymentTargetsOutput) SetTargetIds(v []*string) *ListDeploymentTargetsOutput {
 17387  	s.TargetIds = v
 17388  	return s
 17389  }
 17390  
 17391  // Represents the input of a ListDeployments operation.
 17392  type ListDeploymentsInput struct {
 17393  	_ struct{} `type:"structure"`
 17394  
 17395  	// The name of an AWS CodeDeploy application associated with the IAM user or
 17396  	// AWS account.
 17397  	//
 17398  	// If applicationName is specified, then deploymentGroupName must be specified.
 17399  	// If it is not specified, then deploymentGroupName must not be specified.
 17400  	ApplicationName *string `locationName:"applicationName" min:"1" type:"string"`
 17401  
 17402  	// A time range (start and end) for returning a subset of the list of deployments.
 17403  	CreateTimeRange *TimeRange `locationName:"createTimeRange" type:"structure"`
 17404  
 17405  	// The name of a deployment group for the specified application.
 17406  	//
 17407  	// If deploymentGroupName is specified, then applicationName must be specified.
 17408  	// If it is not specified, then applicationName must not be specified.
 17409  	DeploymentGroupName *string `locationName:"deploymentGroupName" min:"1" type:"string"`
 17410  
 17411  	// The unique ID of an external resource for returning deployments linked to
 17412  	// the external resource.
 17413  	ExternalId *string `locationName:"externalId" type:"string"`
 17414  
 17415  	// A subset of deployments to list by status:
 17416  	//
 17417  	//    * Created: Include created deployments in the resulting list.
 17418  	//
 17419  	//    * Queued: Include queued deployments in the resulting list.
 17420  	//
 17421  	//    * In Progress: Include in-progress deployments in the resulting list.
 17422  	//
 17423  	//    * Succeeded: Include successful deployments in the resulting list.
 17424  	//
 17425  	//    * Failed: Include failed deployments in the resulting list.
 17426  	//
 17427  	//    * Stopped: Include stopped deployments in the resulting list.
 17428  	IncludeOnlyStatuses []*string `locationName:"includeOnlyStatuses" type:"list"`
 17429  
 17430  	// An identifier returned from the previous list deployments call. It can be
 17431  	// used to return the next set of deployments in the list.
 17432  	NextToken *string `locationName:"nextToken" type:"string"`
 17433  }
 17434  
 17435  // String returns the string representation.
 17436  //
 17437  // API parameter values that are decorated as "sensitive" in the API will not
 17438  // be included in the string output. The member name will be present, but the
 17439  // value will be replaced with "sensitive".
 17440  func (s ListDeploymentsInput) String() string {
 17441  	return awsutil.Prettify(s)
 17442  }
 17443  
 17444  // GoString returns the string representation.
 17445  //
 17446  // API parameter values that are decorated as "sensitive" in the API will not
 17447  // be included in the string output. The member name will be present, but the
 17448  // value will be replaced with "sensitive".
 17449  func (s ListDeploymentsInput) GoString() string {
 17450  	return s.String()
 17451  }
 17452  
 17453  // Validate inspects the fields of the type to determine if they are valid.
 17454  func (s *ListDeploymentsInput) Validate() error {
 17455  	invalidParams := request.ErrInvalidParams{Context: "ListDeploymentsInput"}
 17456  	if s.ApplicationName != nil && len(*s.ApplicationName) < 1 {
 17457  		invalidParams.Add(request.NewErrParamMinLen("ApplicationName", 1))
 17458  	}
 17459  	if s.DeploymentGroupName != nil && len(*s.DeploymentGroupName) < 1 {
 17460  		invalidParams.Add(request.NewErrParamMinLen("DeploymentGroupName", 1))
 17461  	}
 17462  
 17463  	if invalidParams.Len() > 0 {
 17464  		return invalidParams
 17465  	}
 17466  	return nil
 17467  }
 17468  
 17469  // SetApplicationName sets the ApplicationName field's value.
 17470  func (s *ListDeploymentsInput) SetApplicationName(v string) *ListDeploymentsInput {
 17471  	s.ApplicationName = &v
 17472  	return s
 17473  }
 17474  
 17475  // SetCreateTimeRange sets the CreateTimeRange field's value.
 17476  func (s *ListDeploymentsInput) SetCreateTimeRange(v *TimeRange) *ListDeploymentsInput {
 17477  	s.CreateTimeRange = v
 17478  	return s
 17479  }
 17480  
 17481  // SetDeploymentGroupName sets the DeploymentGroupName field's value.
 17482  func (s *ListDeploymentsInput) SetDeploymentGroupName(v string) *ListDeploymentsInput {
 17483  	s.DeploymentGroupName = &v
 17484  	return s
 17485  }
 17486  
 17487  // SetExternalId sets the ExternalId field's value.
 17488  func (s *ListDeploymentsInput) SetExternalId(v string) *ListDeploymentsInput {
 17489  	s.ExternalId = &v
 17490  	return s
 17491  }
 17492  
 17493  // SetIncludeOnlyStatuses sets the IncludeOnlyStatuses field's value.
 17494  func (s *ListDeploymentsInput) SetIncludeOnlyStatuses(v []*string) *ListDeploymentsInput {
 17495  	s.IncludeOnlyStatuses = v
 17496  	return s
 17497  }
 17498  
 17499  // SetNextToken sets the NextToken field's value.
 17500  func (s *ListDeploymentsInput) SetNextToken(v string) *ListDeploymentsInput {
 17501  	s.NextToken = &v
 17502  	return s
 17503  }
 17504  
 17505  // Represents the output of a ListDeployments operation.
 17506  type ListDeploymentsOutput struct {
 17507  	_ struct{} `type:"structure"`
 17508  
 17509  	// A list of deployment IDs.
 17510  	Deployments []*string `locationName:"deployments" type:"list"`
 17511  
 17512  	// If a large amount of information is returned, an identifier is also returned.
 17513  	// It can be used in a subsequent list deployments call to return the next set
 17514  	// of deployments in the list.
 17515  	NextToken *string `locationName:"nextToken" type:"string"`
 17516  }
 17517  
 17518  // String returns the string representation.
 17519  //
 17520  // API parameter values that are decorated as "sensitive" in the API will not
 17521  // be included in the string output. The member name will be present, but the
 17522  // value will be replaced with "sensitive".
 17523  func (s ListDeploymentsOutput) String() string {
 17524  	return awsutil.Prettify(s)
 17525  }
 17526  
 17527  // GoString returns the string representation.
 17528  //
 17529  // API parameter values that are decorated as "sensitive" in the API will not
 17530  // be included in the string output. The member name will be present, but the
 17531  // value will be replaced with "sensitive".
 17532  func (s ListDeploymentsOutput) GoString() string {
 17533  	return s.String()
 17534  }
 17535  
 17536  // SetDeployments sets the Deployments field's value.
 17537  func (s *ListDeploymentsOutput) SetDeployments(v []*string) *ListDeploymentsOutput {
 17538  	s.Deployments = v
 17539  	return s
 17540  }
 17541  
 17542  // SetNextToken sets the NextToken field's value.
 17543  func (s *ListDeploymentsOutput) SetNextToken(v string) *ListDeploymentsOutput {
 17544  	s.NextToken = &v
 17545  	return s
 17546  }
 17547  
 17548  // Represents the input of a ListGitHubAccountTokenNames operation.
 17549  type ListGitHubAccountTokenNamesInput struct {
 17550  	_ struct{} `type:"structure"`
 17551  
 17552  	// An identifier returned from the previous ListGitHubAccountTokenNames call.
 17553  	// It can be used to return the next set of names in the list.
 17554  	NextToken *string `locationName:"nextToken" type:"string"`
 17555  }
 17556  
 17557  // String returns the string representation.
 17558  //
 17559  // API parameter values that are decorated as "sensitive" in the API will not
 17560  // be included in the string output. The member name will be present, but the
 17561  // value will be replaced with "sensitive".
 17562  func (s ListGitHubAccountTokenNamesInput) String() string {
 17563  	return awsutil.Prettify(s)
 17564  }
 17565  
 17566  // GoString returns the string representation.
 17567  //
 17568  // API parameter values that are decorated as "sensitive" in the API will not
 17569  // be included in the string output. The member name will be present, but the
 17570  // value will be replaced with "sensitive".
 17571  func (s ListGitHubAccountTokenNamesInput) GoString() string {
 17572  	return s.String()
 17573  }
 17574  
 17575  // SetNextToken sets the NextToken field's value.
 17576  func (s *ListGitHubAccountTokenNamesInput) SetNextToken(v string) *ListGitHubAccountTokenNamesInput {
 17577  	s.NextToken = &v
 17578  	return s
 17579  }
 17580  
 17581  // Represents the output of a ListGitHubAccountTokenNames operation.
 17582  type ListGitHubAccountTokenNamesOutput struct {
 17583  	_ struct{} `type:"structure"`
 17584  
 17585  	// If a large amount of information is returned, an identifier is also returned.
 17586  	// It can be used in a subsequent ListGitHubAccountTokenNames call to return
 17587  	// the next set of names in the list.
 17588  	NextToken *string `locationName:"nextToken" type:"string"`
 17589  
 17590  	// A list of names of connections to GitHub accounts.
 17591  	TokenNameList []*string `locationName:"tokenNameList" type:"list"`
 17592  }
 17593  
 17594  // String returns the string representation.
 17595  //
 17596  // API parameter values that are decorated as "sensitive" in the API will not
 17597  // be included in the string output. The member name will be present, but the
 17598  // value will be replaced with "sensitive".
 17599  func (s ListGitHubAccountTokenNamesOutput) String() string {
 17600  	return awsutil.Prettify(s)
 17601  }
 17602  
 17603  // GoString returns the string representation.
 17604  //
 17605  // API parameter values that are decorated as "sensitive" in the API will not
 17606  // be included in the string output. The member name will be present, but the
 17607  // value will be replaced with "sensitive".
 17608  func (s ListGitHubAccountTokenNamesOutput) GoString() string {
 17609  	return s.String()
 17610  }
 17611  
 17612  // SetNextToken sets the NextToken field's value.
 17613  func (s *ListGitHubAccountTokenNamesOutput) SetNextToken(v string) *ListGitHubAccountTokenNamesOutput {
 17614  	s.NextToken = &v
 17615  	return s
 17616  }
 17617  
 17618  // SetTokenNameList sets the TokenNameList field's value.
 17619  func (s *ListGitHubAccountTokenNamesOutput) SetTokenNameList(v []*string) *ListGitHubAccountTokenNamesOutput {
 17620  	s.TokenNameList = v
 17621  	return s
 17622  }
 17623  
 17624  // Represents the input of a ListOnPremisesInstances operation.
 17625  type ListOnPremisesInstancesInput struct {
 17626  	_ struct{} `type:"structure"`
 17627  
 17628  	// An identifier returned from the previous list on-premises instances call.
 17629  	// It can be used to return the next set of on-premises instances in the list.
 17630  	NextToken *string `locationName:"nextToken" type:"string"`
 17631  
 17632  	// The registration status of the on-premises instances:
 17633  	//
 17634  	//    * Deregistered: Include deregistered on-premises instances in the resulting
 17635  	//    list.
 17636  	//
 17637  	//    * Registered: Include registered on-premises instances in the resulting
 17638  	//    list.
 17639  	RegistrationStatus *string `locationName:"registrationStatus" type:"string" enum:"RegistrationStatus"`
 17640  
 17641  	// The on-premises instance tags that are used to restrict the on-premises instance
 17642  	// names returned.
 17643  	TagFilters []*TagFilter `locationName:"tagFilters" type:"list"`
 17644  }
 17645  
 17646  // String returns the string representation.
 17647  //
 17648  // API parameter values that are decorated as "sensitive" in the API will not
 17649  // be included in the string output. The member name will be present, but the
 17650  // value will be replaced with "sensitive".
 17651  func (s ListOnPremisesInstancesInput) String() string {
 17652  	return awsutil.Prettify(s)
 17653  }
 17654  
 17655  // GoString returns the string representation.
 17656  //
 17657  // API parameter values that are decorated as "sensitive" in the API will not
 17658  // be included in the string output. The member name will be present, but the
 17659  // value will be replaced with "sensitive".
 17660  func (s ListOnPremisesInstancesInput) GoString() string {
 17661  	return s.String()
 17662  }
 17663  
 17664  // SetNextToken sets the NextToken field's value.
 17665  func (s *ListOnPremisesInstancesInput) SetNextToken(v string) *ListOnPremisesInstancesInput {
 17666  	s.NextToken = &v
 17667  	return s
 17668  }
 17669  
 17670  // SetRegistrationStatus sets the RegistrationStatus field's value.
 17671  func (s *ListOnPremisesInstancesInput) SetRegistrationStatus(v string) *ListOnPremisesInstancesInput {
 17672  	s.RegistrationStatus = &v
 17673  	return s
 17674  }
 17675  
 17676  // SetTagFilters sets the TagFilters field's value.
 17677  func (s *ListOnPremisesInstancesInput) SetTagFilters(v []*TagFilter) *ListOnPremisesInstancesInput {
 17678  	s.TagFilters = v
 17679  	return s
 17680  }
 17681  
 17682  // Represents the output of the list on-premises instances operation.
 17683  type ListOnPremisesInstancesOutput struct {
 17684  	_ struct{} `type:"structure"`
 17685  
 17686  	// The list of matching on-premises instance names.
 17687  	InstanceNames []*string `locationName:"instanceNames" type:"list"`
 17688  
 17689  	// If a large amount of information is returned, an identifier is also returned.
 17690  	// It can be used in a subsequent list on-premises instances call to return
 17691  	// the next set of on-premises instances in the list.
 17692  	NextToken *string `locationName:"nextToken" type:"string"`
 17693  }
 17694  
 17695  // String returns the string representation.
 17696  //
 17697  // API parameter values that are decorated as "sensitive" in the API will not
 17698  // be included in the string output. The member name will be present, but the
 17699  // value will be replaced with "sensitive".
 17700  func (s ListOnPremisesInstancesOutput) String() string {
 17701  	return awsutil.Prettify(s)
 17702  }
 17703  
 17704  // GoString returns the string representation.
 17705  //
 17706  // API parameter values that are decorated as "sensitive" in the API will not
 17707  // be included in the string output. The member name will be present, but the
 17708  // value will be replaced with "sensitive".
 17709  func (s ListOnPremisesInstancesOutput) GoString() string {
 17710  	return s.String()
 17711  }
 17712  
 17713  // SetInstanceNames sets the InstanceNames field's value.
 17714  func (s *ListOnPremisesInstancesOutput) SetInstanceNames(v []*string) *ListOnPremisesInstancesOutput {
 17715  	s.InstanceNames = v
 17716  	return s
 17717  }
 17718  
 17719  // SetNextToken sets the NextToken field's value.
 17720  func (s *ListOnPremisesInstancesOutput) SetNextToken(v string) *ListOnPremisesInstancesOutput {
 17721  	s.NextToken = &v
 17722  	return s
 17723  }
 17724  
 17725  type ListTagsForResourceInput struct {
 17726  	_ struct{} `type:"structure"`
 17727  
 17728  	// An identifier returned from the previous ListTagsForResource call. It can
 17729  	// be used to return the next set of applications in the list.
 17730  	NextToken *string `type:"string"`
 17731  
 17732  	// The ARN of a CodeDeploy resource. ListTagsForResource returns all the tags
 17733  	// associated with the resource that is identified by the ResourceArn.
 17734  	//
 17735  	// ResourceArn is a required field
 17736  	ResourceArn *string `min:"1" type:"string" required:"true"`
 17737  }
 17738  
 17739  // String returns the string representation.
 17740  //
 17741  // API parameter values that are decorated as "sensitive" in the API will not
 17742  // be included in the string output. The member name will be present, but the
 17743  // value will be replaced with "sensitive".
 17744  func (s ListTagsForResourceInput) String() string {
 17745  	return awsutil.Prettify(s)
 17746  }
 17747  
 17748  // GoString returns the string representation.
 17749  //
 17750  // API parameter values that are decorated as "sensitive" in the API will not
 17751  // be included in the string output. The member name will be present, but the
 17752  // value will be replaced with "sensitive".
 17753  func (s ListTagsForResourceInput) GoString() string {
 17754  	return s.String()
 17755  }
 17756  
 17757  // Validate inspects the fields of the type to determine if they are valid.
 17758  func (s *ListTagsForResourceInput) Validate() error {
 17759  	invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"}
 17760  	if s.ResourceArn == nil {
 17761  		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
 17762  	}
 17763  	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
 17764  		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
 17765  	}
 17766  
 17767  	if invalidParams.Len() > 0 {
 17768  		return invalidParams
 17769  	}
 17770  	return nil
 17771  }
 17772  
 17773  // SetNextToken sets the NextToken field's value.
 17774  func (s *ListTagsForResourceInput) SetNextToken(v string) *ListTagsForResourceInput {
 17775  	s.NextToken = &v
 17776  	return s
 17777  }
 17778  
 17779  // SetResourceArn sets the ResourceArn field's value.
 17780  func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput {
 17781  	s.ResourceArn = &v
 17782  	return s
 17783  }
 17784  
 17785  type ListTagsForResourceOutput struct {
 17786  	_ struct{} `type:"structure"`
 17787  
 17788  	// If a large amount of information is returned, an identifier is also returned.
 17789  	// It can be used in a subsequent list application revisions call to return
 17790  	// the next set of application revisions in the list.
 17791  	NextToken *string `type:"string"`
 17792  
 17793  	// A list of tags returned by ListTagsForResource. The tags are associated with
 17794  	// the resource identified by the input ResourceArn parameter.
 17795  	Tags []*Tag `type:"list"`
 17796  }
 17797  
 17798  // String returns the string representation.
 17799  //
 17800  // API parameter values that are decorated as "sensitive" in the API will not
 17801  // be included in the string output. The member name will be present, but the
 17802  // value will be replaced with "sensitive".
 17803  func (s ListTagsForResourceOutput) String() string {
 17804  	return awsutil.Prettify(s)
 17805  }
 17806  
 17807  // GoString returns the string representation.
 17808  //
 17809  // API parameter values that are decorated as "sensitive" in the API will not
 17810  // be included in the string output. The member name will be present, but the
 17811  // value will be replaced with "sensitive".
 17812  func (s ListTagsForResourceOutput) GoString() string {
 17813  	return s.String()
 17814  }
 17815  
 17816  // SetNextToken sets the NextToken field's value.
 17817  func (s *ListTagsForResourceOutput) SetNextToken(v string) *ListTagsForResourceOutput {
 17818  	s.NextToken = &v
 17819  	return s
 17820  }
 17821  
 17822  // SetTags sets the Tags field's value.
 17823  func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput {
 17824  	s.Tags = v
 17825  	return s
 17826  }
 17827  
 17828  // Information about the Elastic Load Balancing load balancer or target group
 17829  // used in a deployment.
 17830  type LoadBalancerInfo struct {
 17831  	_ struct{} `type:"structure"`
 17832  
 17833  	// An array that contains information about the load balancer to use for load
 17834  	// balancing in a deployment. In Elastic Load Balancing, load balancers are
 17835  	// used with Classic Load Balancers.
 17836  	//
 17837  	// Adding more than one load balancer to the array is not supported.
 17838  	ElbInfoList []*ELBInfo `locationName:"elbInfoList" type:"list"`
 17839  
 17840  	// An array that contains information about the target group to use for load
 17841  	// balancing in a deployment. In Elastic Load Balancing, target groups are used
 17842  	// with Application Load Balancers.
 17843  	//
 17844  	// Adding more than one target group to the array is not supported.
 17845  	TargetGroupInfoList []*TargetGroupInfo `locationName:"targetGroupInfoList" type:"list"`
 17846  
 17847  	// The target group pair information. This is an array of TargeGroupPairInfo
 17848  	// objects with a maximum size of one.
 17849  	TargetGroupPairInfoList []*TargetGroupPairInfo `locationName:"targetGroupPairInfoList" type:"list"`
 17850  }
 17851  
 17852  // String returns the string representation.
 17853  //
 17854  // API parameter values that are decorated as "sensitive" in the API will not
 17855  // be included in the string output. The member name will be present, but the
 17856  // value will be replaced with "sensitive".
 17857  func (s LoadBalancerInfo) String() string {
 17858  	return awsutil.Prettify(s)
 17859  }
 17860  
 17861  // GoString returns the string representation.
 17862  //
 17863  // API parameter values that are decorated as "sensitive" in the API will not
 17864  // be included in the string output. The member name will be present, but the
 17865  // value will be replaced with "sensitive".
 17866  func (s LoadBalancerInfo) GoString() string {
 17867  	return s.String()
 17868  }
 17869  
 17870  // SetElbInfoList sets the ElbInfoList field's value.
 17871  func (s *LoadBalancerInfo) SetElbInfoList(v []*ELBInfo) *LoadBalancerInfo {
 17872  	s.ElbInfoList = v
 17873  	return s
 17874  }
 17875  
 17876  // SetTargetGroupInfoList sets the TargetGroupInfoList field's value.
 17877  func (s *LoadBalancerInfo) SetTargetGroupInfoList(v []*TargetGroupInfo) *LoadBalancerInfo {
 17878  	s.TargetGroupInfoList = v
 17879  	return s
 17880  }
 17881  
 17882  // SetTargetGroupPairInfoList sets the TargetGroupPairInfoList field's value.
 17883  func (s *LoadBalancerInfo) SetTargetGroupPairInfoList(v []*TargetGroupPairInfo) *LoadBalancerInfo {
 17884  	s.TargetGroupPairInfoList = v
 17885  	return s
 17886  }
 17887  
 17888  // Information about minimum healthy instance.
 17889  type MinimumHealthyHosts struct {
 17890  	_ struct{} `type:"structure"`
 17891  
 17892  	// The minimum healthy instance type:
 17893  	//
 17894  	//    * HOST_COUNT: The minimum number of healthy instances as an absolute value.
 17895  	//
 17896  	//    * FLEET_PERCENT: The minimum number of healthy instances as a percentage
 17897  	//    of the total number of instances in the deployment.
 17898  	//
 17899  	// In an example of nine instances, if a HOST_COUNT of six is specified, deploy
 17900  	// to up to three instances at a time. The deployment is successful if six or
 17901  	// more instances are deployed to successfully. Otherwise, the deployment fails.
 17902  	// If a FLEET_PERCENT of 40 is specified, deploy to up to five instances at
 17903  	// a time. The deployment is successful if four or more instances are deployed
 17904  	// to successfully. Otherwise, the deployment fails.
 17905  	//
 17906  	// In a call to the GetDeploymentConfig, CodeDeployDefault.OneAtATime returns
 17907  	// a minimum healthy instance type of MOST_CONCURRENCY and a value of 1. This
 17908  	// means a deployment to only one instance at a time. (You cannot set the type
 17909  	// to MOST_CONCURRENCY, only to HOST_COUNT or FLEET_PERCENT.) In addition, with
 17910  	// CodeDeployDefault.OneAtATime, AWS CodeDeploy attempts to ensure that all
 17911  	// instances but one are kept in a healthy state during the deployment. Although
 17912  	// this allows one instance at a time to be taken offline for a new deployment,
 17913  	// it also means that if the deployment to the last instance fails, the overall
 17914  	// deployment is still successful.
 17915  	//
 17916  	// For more information, see AWS CodeDeploy Instance Health (https://docs.aws.amazon.com/codedeploy/latest/userguide/instances-health.html)
 17917  	// in the AWS CodeDeploy User Guide.
 17918  	Type *string `locationName:"type" type:"string" enum:"MinimumHealthyHostsType"`
 17919  
 17920  	// The minimum healthy instance value.
 17921  	Value *int64 `locationName:"value" type:"integer"`
 17922  }
 17923  
 17924  // String returns the string representation.
 17925  //
 17926  // API parameter values that are decorated as "sensitive" in the API will not
 17927  // be included in the string output. The member name will be present, but the
 17928  // value will be replaced with "sensitive".
 17929  func (s MinimumHealthyHosts) String() string {
 17930  	return awsutil.Prettify(s)
 17931  }
 17932  
 17933  // GoString returns the string representation.
 17934  //
 17935  // API parameter values that are decorated as "sensitive" in the API will not
 17936  // be included in the string output. The member name will be present, but the
 17937  // value will be replaced with "sensitive".
 17938  func (s MinimumHealthyHosts) GoString() string {
 17939  	return s.String()
 17940  }
 17941  
 17942  // SetType sets the Type field's value.
 17943  func (s *MinimumHealthyHosts) SetType(v string) *MinimumHealthyHosts {
 17944  	s.Type = &v
 17945  	return s
 17946  }
 17947  
 17948  // SetValue sets the Value field's value.
 17949  func (s *MinimumHealthyHosts) SetValue(v int64) *MinimumHealthyHosts {
 17950  	s.Value = &v
 17951  	return s
 17952  }
 17953  
 17954  // Both an IAM user ARN and an IAM session ARN were included in the request.
 17955  // Use only one ARN type.
 17956  type MultipleIamArnsProvidedException struct {
 17957  	_            struct{}                  `type:"structure"`
 17958  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 17959  
 17960  	Message_ *string `locationName:"message" type:"string"`
 17961  }
 17962  
 17963  // String returns the string representation.
 17964  //
 17965  // API parameter values that are decorated as "sensitive" in the API will not
 17966  // be included in the string output. The member name will be present, but the
 17967  // value will be replaced with "sensitive".
 17968  func (s MultipleIamArnsProvidedException) String() string {
 17969  	return awsutil.Prettify(s)
 17970  }
 17971  
 17972  // GoString returns the string representation.
 17973  //
 17974  // API parameter values that are decorated as "sensitive" in the API will not
 17975  // be included in the string output. The member name will be present, but the
 17976  // value will be replaced with "sensitive".
 17977  func (s MultipleIamArnsProvidedException) GoString() string {
 17978  	return s.String()
 17979  }
 17980  
 17981  func newErrorMultipleIamArnsProvidedException(v protocol.ResponseMetadata) error {
 17982  	return &MultipleIamArnsProvidedException{
 17983  		RespMetadata: v,
 17984  	}
 17985  }
 17986  
 17987  // Code returns the exception type name.
 17988  func (s *MultipleIamArnsProvidedException) Code() string {
 17989  	return "MultipleIamArnsProvidedException"
 17990  }
 17991  
 17992  // Message returns the exception's message.
 17993  func (s *MultipleIamArnsProvidedException) Message() string {
 17994  	if s.Message_ != nil {
 17995  		return *s.Message_
 17996  	}
 17997  	return ""
 17998  }
 17999  
 18000  // OrigErr always returns nil, satisfies awserr.Error interface.
 18001  func (s *MultipleIamArnsProvidedException) OrigErr() error {
 18002  	return nil
 18003  }
 18004  
 18005  func (s *MultipleIamArnsProvidedException) Error() string {
 18006  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 18007  }
 18008  
 18009  // Status code returns the HTTP status code for the request's response error.
 18010  func (s *MultipleIamArnsProvidedException) StatusCode() int {
 18011  	return s.RespMetadata.StatusCode
 18012  }
 18013  
 18014  // RequestID returns the service's response RequestID for request.
 18015  func (s *MultipleIamArnsProvidedException) RequestID() string {
 18016  	return s.RespMetadata.RequestID
 18017  }
 18018  
 18019  // Information about groups of on-premises instance tags.
 18020  type OnPremisesTagSet struct {
 18021  	_ struct{} `type:"structure"`
 18022  
 18023  	// A list that contains other lists of on-premises instance tag groups. For
 18024  	// an instance to be included in the deployment group, it must be identified
 18025  	// by all of the tag groups in the list.
 18026  	OnPremisesTagSetList [][]*TagFilter `locationName:"onPremisesTagSetList" type:"list"`
 18027  }
 18028  
 18029  // String returns the string representation.
 18030  //
 18031  // API parameter values that are decorated as "sensitive" in the API will not
 18032  // be included in the string output. The member name will be present, but the
 18033  // value will be replaced with "sensitive".
 18034  func (s OnPremisesTagSet) String() string {
 18035  	return awsutil.Prettify(s)
 18036  }
 18037  
 18038  // GoString returns the string representation.
 18039  //
 18040  // API parameter values that are decorated as "sensitive" in the API will not
 18041  // be included in the string output. The member name will be present, but the
 18042  // value will be replaced with "sensitive".
 18043  func (s OnPremisesTagSet) GoString() string {
 18044  	return s.String()
 18045  }
 18046  
 18047  // SetOnPremisesTagSetList sets the OnPremisesTagSetList field's value.
 18048  func (s *OnPremisesTagSet) SetOnPremisesTagSetList(v [][]*TagFilter) *OnPremisesTagSet {
 18049  	s.OnPremisesTagSetList = v
 18050  	return s
 18051  }
 18052  
 18053  // The API used does not support the deployment.
 18054  type OperationNotSupportedException struct {
 18055  	_            struct{}                  `type:"structure"`
 18056  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 18057  
 18058  	Message_ *string `locationName:"message" type:"string"`
 18059  }
 18060  
 18061  // String returns the string representation.
 18062  //
 18063  // API parameter values that are decorated as "sensitive" in the API will not
 18064  // be included in the string output. The member name will be present, but the
 18065  // value will be replaced with "sensitive".
 18066  func (s OperationNotSupportedException) String() string {
 18067  	return awsutil.Prettify(s)
 18068  }
 18069  
 18070  // GoString returns the string representation.
 18071  //
 18072  // API parameter values that are decorated as "sensitive" in the API will not
 18073  // be included in the string output. The member name will be present, but the
 18074  // value will be replaced with "sensitive".
 18075  func (s OperationNotSupportedException) GoString() string {
 18076  	return s.String()
 18077  }
 18078  
 18079  func newErrorOperationNotSupportedException(v protocol.ResponseMetadata) error {
 18080  	return &OperationNotSupportedException{
 18081  		RespMetadata: v,
 18082  	}
 18083  }
 18084  
 18085  // Code returns the exception type name.
 18086  func (s *OperationNotSupportedException) Code() string {
 18087  	return "OperationNotSupportedException"
 18088  }
 18089  
 18090  // Message returns the exception's message.
 18091  func (s *OperationNotSupportedException) Message() string {
 18092  	if s.Message_ != nil {
 18093  		return *s.Message_
 18094  	}
 18095  	return ""
 18096  }
 18097  
 18098  // OrigErr always returns nil, satisfies awserr.Error interface.
 18099  func (s *OperationNotSupportedException) OrigErr() error {
 18100  	return nil
 18101  }
 18102  
 18103  func (s *OperationNotSupportedException) Error() string {
 18104  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 18105  }
 18106  
 18107  // Status code returns the HTTP status code for the request's response error.
 18108  func (s *OperationNotSupportedException) StatusCode() int {
 18109  	return s.RespMetadata.StatusCode
 18110  }
 18111  
 18112  // RequestID returns the service's response RequestID for request.
 18113  func (s *OperationNotSupportedException) RequestID() string {
 18114  	return s.RespMetadata.RequestID
 18115  }
 18116  
 18117  type PutLifecycleEventHookExecutionStatusInput struct {
 18118  	_ struct{} `type:"structure"`
 18119  
 18120  	// The unique ID of a deployment. Pass this ID to a Lambda function that validates
 18121  	// a deployment lifecycle event.
 18122  	DeploymentId *string `locationName:"deploymentId" type:"string"`
 18123  
 18124  	// The execution ID of a deployment's lifecycle hook. A deployment lifecycle
 18125  	// hook is specified in the hooks section of the AppSpec file.
 18126  	LifecycleEventHookExecutionId *string `locationName:"lifecycleEventHookExecutionId" type:"string"`
 18127  
 18128  	// The result of a Lambda function that validates a deployment lifecycle event.
 18129  	// Succeeded and Failed are the only valid values for status.
 18130  	Status *string `locationName:"status" type:"string" enum:"LifecycleEventStatus"`
 18131  }
 18132  
 18133  // String returns the string representation.
 18134  //
 18135  // API parameter values that are decorated as "sensitive" in the API will not
 18136  // be included in the string output. The member name will be present, but the
 18137  // value will be replaced with "sensitive".
 18138  func (s PutLifecycleEventHookExecutionStatusInput) String() string {
 18139  	return awsutil.Prettify(s)
 18140  }
 18141  
 18142  // GoString returns the string representation.
 18143  //
 18144  // API parameter values that are decorated as "sensitive" in the API will not
 18145  // be included in the string output. The member name will be present, but the
 18146  // value will be replaced with "sensitive".
 18147  func (s PutLifecycleEventHookExecutionStatusInput) GoString() string {
 18148  	return s.String()
 18149  }
 18150  
 18151  // SetDeploymentId sets the DeploymentId field's value.
 18152  func (s *PutLifecycleEventHookExecutionStatusInput) SetDeploymentId(v string) *PutLifecycleEventHookExecutionStatusInput {
 18153  	s.DeploymentId = &v
 18154  	return s
 18155  }
 18156  
 18157  // SetLifecycleEventHookExecutionId sets the LifecycleEventHookExecutionId field's value.
 18158  func (s *PutLifecycleEventHookExecutionStatusInput) SetLifecycleEventHookExecutionId(v string) *PutLifecycleEventHookExecutionStatusInput {
 18159  	s.LifecycleEventHookExecutionId = &v
 18160  	return s
 18161  }
 18162  
 18163  // SetStatus sets the Status field's value.
 18164  func (s *PutLifecycleEventHookExecutionStatusInput) SetStatus(v string) *PutLifecycleEventHookExecutionStatusInput {
 18165  	s.Status = &v
 18166  	return s
 18167  }
 18168  
 18169  type PutLifecycleEventHookExecutionStatusOutput struct {
 18170  	_ struct{} `type:"structure"`
 18171  
 18172  	// The execution ID of the lifecycle event hook. A hook is specified in the
 18173  	// hooks section of the deployment's AppSpec file.
 18174  	LifecycleEventHookExecutionId *string `locationName:"lifecycleEventHookExecutionId" type:"string"`
 18175  }
 18176  
 18177  // String returns the string representation.
 18178  //
 18179  // API parameter values that are decorated as "sensitive" in the API will not
 18180  // be included in the string output. The member name will be present, but the
 18181  // value will be replaced with "sensitive".
 18182  func (s PutLifecycleEventHookExecutionStatusOutput) String() string {
 18183  	return awsutil.Prettify(s)
 18184  }
 18185  
 18186  // GoString returns the string representation.
 18187  //
 18188  // API parameter values that are decorated as "sensitive" in the API will not
 18189  // be included in the string output. The member name will be present, but the
 18190  // value will be replaced with "sensitive".
 18191  func (s PutLifecycleEventHookExecutionStatusOutput) GoString() string {
 18192  	return s.String()
 18193  }
 18194  
 18195  // SetLifecycleEventHookExecutionId sets the LifecycleEventHookExecutionId field's value.
 18196  func (s *PutLifecycleEventHookExecutionStatusOutput) SetLifecycleEventHookExecutionId(v string) *PutLifecycleEventHookExecutionStatusOutput {
 18197  	s.LifecycleEventHookExecutionId = &v
 18198  	return s
 18199  }
 18200  
 18201  // A revision for an AWS Lambda deployment that is a YAML-formatted or JSON-formatted
 18202  // string. For AWS Lambda deployments, the revision is the same as the AppSpec
 18203  // file.
 18204  //
 18205  // Deprecated: RawString and String revision type are deprecated, use AppSpecContent type instead.
 18206  type RawString struct {
 18207  	_ struct{} `deprecated:"true" type:"structure"`
 18208  
 18209  	// The YAML-formatted or JSON-formatted revision string. It includes information
 18210  	// about which Lambda function to update and optional Lambda functions that
 18211  	// validate deployment lifecycle events.
 18212  	Content *string `locationName:"content" type:"string"`
 18213  
 18214  	// The SHA256 hash value of the revision content.
 18215  	Sha256 *string `locationName:"sha256" type:"string"`
 18216  }
 18217  
 18218  // String returns the string representation.
 18219  //
 18220  // API parameter values that are decorated as "sensitive" in the API will not
 18221  // be included in the string output. The member name will be present, but the
 18222  // value will be replaced with "sensitive".
 18223  func (s RawString) String() string {
 18224  	return awsutil.Prettify(s)
 18225  }
 18226  
 18227  // GoString returns the string representation.
 18228  //
 18229  // API parameter values that are decorated as "sensitive" in the API will not
 18230  // be included in the string output. The member name will be present, but the
 18231  // value will be replaced with "sensitive".
 18232  func (s RawString) GoString() string {
 18233  	return s.String()
 18234  }
 18235  
 18236  // SetContent sets the Content field's value.
 18237  func (s *RawString) SetContent(v string) *RawString {
 18238  	s.Content = &v
 18239  	return s
 18240  }
 18241  
 18242  // SetSha256 sets the Sha256 field's value.
 18243  func (s *RawString) SetSha256(v string) *RawString {
 18244  	s.Sha256 = &v
 18245  	return s
 18246  }
 18247  
 18248  // Represents the input of a RegisterApplicationRevision operation.
 18249  type RegisterApplicationRevisionInput struct {
 18250  	_ struct{} `type:"structure"`
 18251  
 18252  	// The name of an AWS CodeDeploy application associated with the IAM user or
 18253  	// AWS account.
 18254  	//
 18255  	// ApplicationName is a required field
 18256  	ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`
 18257  
 18258  	// A comment about the revision.
 18259  	Description *string `locationName:"description" type:"string"`
 18260  
 18261  	// Information about the application revision to register, including type and
 18262  	// location.
 18263  	//
 18264  	// Revision is a required field
 18265  	Revision *RevisionLocation `locationName:"revision" type:"structure" required:"true"`
 18266  }
 18267  
 18268  // String returns the string representation.
 18269  //
 18270  // API parameter values that are decorated as "sensitive" in the API will not
 18271  // be included in the string output. The member name will be present, but the
 18272  // value will be replaced with "sensitive".
 18273  func (s RegisterApplicationRevisionInput) String() string {
 18274  	return awsutil.Prettify(s)
 18275  }
 18276  
 18277  // GoString returns the string representation.
 18278  //
 18279  // API parameter values that are decorated as "sensitive" in the API will not
 18280  // be included in the string output. The member name will be present, but the
 18281  // value will be replaced with "sensitive".
 18282  func (s RegisterApplicationRevisionInput) GoString() string {
 18283  	return s.String()
 18284  }
 18285  
 18286  // Validate inspects the fields of the type to determine if they are valid.
 18287  func (s *RegisterApplicationRevisionInput) Validate() error {
 18288  	invalidParams := request.ErrInvalidParams{Context: "RegisterApplicationRevisionInput"}
 18289  	if s.ApplicationName == nil {
 18290  		invalidParams.Add(request.NewErrParamRequired("ApplicationName"))
 18291  	}
 18292  	if s.ApplicationName != nil && len(*s.ApplicationName) < 1 {
 18293  		invalidParams.Add(request.NewErrParamMinLen("ApplicationName", 1))
 18294  	}
 18295  	if s.Revision == nil {
 18296  		invalidParams.Add(request.NewErrParamRequired("Revision"))
 18297  	}
 18298  
 18299  	if invalidParams.Len() > 0 {
 18300  		return invalidParams
 18301  	}
 18302  	return nil
 18303  }
 18304  
 18305  // SetApplicationName sets the ApplicationName field's value.
 18306  func (s *RegisterApplicationRevisionInput) SetApplicationName(v string) *RegisterApplicationRevisionInput {
 18307  	s.ApplicationName = &v
 18308  	return s
 18309  }
 18310  
 18311  // SetDescription sets the Description field's value.
 18312  func (s *RegisterApplicationRevisionInput) SetDescription(v string) *RegisterApplicationRevisionInput {
 18313  	s.Description = &v
 18314  	return s
 18315  }
 18316  
 18317  // SetRevision sets the Revision field's value.
 18318  func (s *RegisterApplicationRevisionInput) SetRevision(v *RevisionLocation) *RegisterApplicationRevisionInput {
 18319  	s.Revision = v
 18320  	return s
 18321  }
 18322  
 18323  type RegisterApplicationRevisionOutput struct {
 18324  	_ struct{} `type:"structure"`
 18325  }
 18326  
 18327  // String returns the string representation.
 18328  //
 18329  // API parameter values that are decorated as "sensitive" in the API will not
 18330  // be included in the string output. The member name will be present, but the
 18331  // value will be replaced with "sensitive".
 18332  func (s RegisterApplicationRevisionOutput) String() string {
 18333  	return awsutil.Prettify(s)
 18334  }
 18335  
 18336  // GoString returns the string representation.
 18337  //
 18338  // API parameter values that are decorated as "sensitive" in the API will not
 18339  // be included in the string output. The member name will be present, but the
 18340  // value will be replaced with "sensitive".
 18341  func (s RegisterApplicationRevisionOutput) GoString() string {
 18342  	return s.String()
 18343  }
 18344  
 18345  // Represents the input of the register on-premises instance operation.
 18346  type RegisterOnPremisesInstanceInput struct {
 18347  	_ struct{} `type:"structure"`
 18348  
 18349  	// The ARN of the IAM session to associate with the on-premises instance.
 18350  	IamSessionArn *string `locationName:"iamSessionArn" type:"string"`
 18351  
 18352  	// The ARN of the IAM user to associate with the on-premises instance.
 18353  	IamUserArn *string `locationName:"iamUserArn" type:"string"`
 18354  
 18355  	// The name of the on-premises instance to register.
 18356  	//
 18357  	// InstanceName is a required field
 18358  	InstanceName *string `locationName:"instanceName" type:"string" required:"true"`
 18359  }
 18360  
 18361  // String returns the string representation.
 18362  //
 18363  // API parameter values that are decorated as "sensitive" in the API will not
 18364  // be included in the string output. The member name will be present, but the
 18365  // value will be replaced with "sensitive".
 18366  func (s RegisterOnPremisesInstanceInput) String() string {
 18367  	return awsutil.Prettify(s)
 18368  }
 18369  
 18370  // GoString returns the string representation.
 18371  //
 18372  // API parameter values that are decorated as "sensitive" in the API will not
 18373  // be included in the string output. The member name will be present, but the
 18374  // value will be replaced with "sensitive".
 18375  func (s RegisterOnPremisesInstanceInput) GoString() string {
 18376  	return s.String()
 18377  }
 18378  
 18379  // Validate inspects the fields of the type to determine if they are valid.
 18380  func (s *RegisterOnPremisesInstanceInput) Validate() error {
 18381  	invalidParams := request.ErrInvalidParams{Context: "RegisterOnPremisesInstanceInput"}
 18382  	if s.InstanceName == nil {
 18383  		invalidParams.Add(request.NewErrParamRequired("InstanceName"))
 18384  	}
 18385  
 18386  	if invalidParams.Len() > 0 {
 18387  		return invalidParams
 18388  	}
 18389  	return nil
 18390  }
 18391  
 18392  // SetIamSessionArn sets the IamSessionArn field's value.
 18393  func (s *RegisterOnPremisesInstanceInput) SetIamSessionArn(v string) *RegisterOnPremisesInstanceInput {
 18394  	s.IamSessionArn = &v
 18395  	return s
 18396  }
 18397  
 18398  // SetIamUserArn sets the IamUserArn field's value.
 18399  func (s *RegisterOnPremisesInstanceInput) SetIamUserArn(v string) *RegisterOnPremisesInstanceInput {
 18400  	s.IamUserArn = &v
 18401  	return s
 18402  }
 18403  
 18404  // SetInstanceName sets the InstanceName field's value.
 18405  func (s *RegisterOnPremisesInstanceInput) SetInstanceName(v string) *RegisterOnPremisesInstanceInput {
 18406  	s.InstanceName = &v
 18407  	return s
 18408  }
 18409  
 18410  type RegisterOnPremisesInstanceOutput struct {
 18411  	_ struct{} `type:"structure"`
 18412  }
 18413  
 18414  // String returns the string representation.
 18415  //
 18416  // API parameter values that are decorated as "sensitive" in the API will not
 18417  // be included in the string output. The member name will be present, but the
 18418  // value will be replaced with "sensitive".
 18419  func (s RegisterOnPremisesInstanceOutput) String() string {
 18420  	return awsutil.Prettify(s)
 18421  }
 18422  
 18423  // GoString returns the string representation.
 18424  //
 18425  // API parameter values that are decorated as "sensitive" in the API will not
 18426  // be included in the string output. The member name will be present, but the
 18427  // value will be replaced with "sensitive".
 18428  func (s RegisterOnPremisesInstanceOutput) GoString() string {
 18429  	return s.String()
 18430  }
 18431  
 18432  // Information about deployments related to the specified deployment.
 18433  type RelatedDeployments struct {
 18434  	_ struct{} `type:"structure"`
 18435  
 18436  	// The deployment IDs of 'auto-update outdated instances' deployments triggered
 18437  	// by this deployment.
 18438  	AutoUpdateOutdatedInstancesDeploymentIds []*string `locationName:"autoUpdateOutdatedInstancesDeploymentIds" type:"list"`
 18439  
 18440  	// The deployment ID of the root deployment that triggered this deployment.
 18441  	AutoUpdateOutdatedInstancesRootDeploymentId *string `locationName:"autoUpdateOutdatedInstancesRootDeploymentId" type:"string"`
 18442  }
 18443  
 18444  // String returns the string representation.
 18445  //
 18446  // API parameter values that are decorated as "sensitive" in the API will not
 18447  // be included in the string output. The member name will be present, but the
 18448  // value will be replaced with "sensitive".
 18449  func (s RelatedDeployments) String() string {
 18450  	return awsutil.Prettify(s)
 18451  }
 18452  
 18453  // GoString returns the string representation.
 18454  //
 18455  // API parameter values that are decorated as "sensitive" in the API will not
 18456  // be included in the string output. The member name will be present, but the
 18457  // value will be replaced with "sensitive".
 18458  func (s RelatedDeployments) GoString() string {
 18459  	return s.String()
 18460  }
 18461  
 18462  // SetAutoUpdateOutdatedInstancesDeploymentIds sets the AutoUpdateOutdatedInstancesDeploymentIds field's value.
 18463  func (s *RelatedDeployments) SetAutoUpdateOutdatedInstancesDeploymentIds(v []*string) *RelatedDeployments {
 18464  	s.AutoUpdateOutdatedInstancesDeploymentIds = v
 18465  	return s
 18466  }
 18467  
 18468  // SetAutoUpdateOutdatedInstancesRootDeploymentId sets the AutoUpdateOutdatedInstancesRootDeploymentId field's value.
 18469  func (s *RelatedDeployments) SetAutoUpdateOutdatedInstancesRootDeploymentId(v string) *RelatedDeployments {
 18470  	s.AutoUpdateOutdatedInstancesRootDeploymentId = &v
 18471  	return s
 18472  }
 18473  
 18474  // Represents the input of a RemoveTagsFromOnPremisesInstances operation.
 18475  type RemoveTagsFromOnPremisesInstancesInput struct {
 18476  	_ struct{} `type:"structure"`
 18477  
 18478  	// The names of the on-premises instances from which to remove tags.
 18479  	//
 18480  	// InstanceNames is a required field
 18481  	InstanceNames []*string `locationName:"instanceNames" type:"list" required:"true"`
 18482  
 18483  	// The tag key-value pairs to remove from the on-premises instances.
 18484  	//
 18485  	// Tags is a required field
 18486  	Tags []*Tag `locationName:"tags" type:"list" required:"true"`
 18487  }
 18488  
 18489  // String returns the string representation.
 18490  //
 18491  // API parameter values that are decorated as "sensitive" in the API will not
 18492  // be included in the string output. The member name will be present, but the
 18493  // value will be replaced with "sensitive".
 18494  func (s RemoveTagsFromOnPremisesInstancesInput) String() string {
 18495  	return awsutil.Prettify(s)
 18496  }
 18497  
 18498  // GoString returns the string representation.
 18499  //
 18500  // API parameter values that are decorated as "sensitive" in the API will not
 18501  // be included in the string output. The member name will be present, but the
 18502  // value will be replaced with "sensitive".
 18503  func (s RemoveTagsFromOnPremisesInstancesInput) GoString() string {
 18504  	return s.String()
 18505  }
 18506  
 18507  // Validate inspects the fields of the type to determine if they are valid.
 18508  func (s *RemoveTagsFromOnPremisesInstancesInput) Validate() error {
 18509  	invalidParams := request.ErrInvalidParams{Context: "RemoveTagsFromOnPremisesInstancesInput"}
 18510  	if s.InstanceNames == nil {
 18511  		invalidParams.Add(request.NewErrParamRequired("InstanceNames"))
 18512  	}
 18513  	if s.Tags == nil {
 18514  		invalidParams.Add(request.NewErrParamRequired("Tags"))
 18515  	}
 18516  
 18517  	if invalidParams.Len() > 0 {
 18518  		return invalidParams
 18519  	}
 18520  	return nil
 18521  }
 18522  
 18523  // SetInstanceNames sets the InstanceNames field's value.
 18524  func (s *RemoveTagsFromOnPremisesInstancesInput) SetInstanceNames(v []*string) *RemoveTagsFromOnPremisesInstancesInput {
 18525  	s.InstanceNames = v
 18526  	return s
 18527  }
 18528  
 18529  // SetTags sets the Tags field's value.
 18530  func (s *RemoveTagsFromOnPremisesInstancesInput) SetTags(v []*Tag) *RemoveTagsFromOnPremisesInstancesInput {
 18531  	s.Tags = v
 18532  	return s
 18533  }
 18534  
 18535  type RemoveTagsFromOnPremisesInstancesOutput struct {
 18536  	_ struct{} `type:"structure"`
 18537  }
 18538  
 18539  // String returns the string representation.
 18540  //
 18541  // API parameter values that are decorated as "sensitive" in the API will not
 18542  // be included in the string output. The member name will be present, but the
 18543  // value will be replaced with "sensitive".
 18544  func (s RemoveTagsFromOnPremisesInstancesOutput) String() string {
 18545  	return awsutil.Prettify(s)
 18546  }
 18547  
 18548  // GoString returns the string representation.
 18549  //
 18550  // API parameter values that are decorated as "sensitive" in the API will not
 18551  // be included in the string output. The member name will be present, but the
 18552  // value will be replaced with "sensitive".
 18553  func (s RemoveTagsFromOnPremisesInstancesOutput) GoString() string {
 18554  	return s.String()
 18555  }
 18556  
 18557  // The ARN of a resource is required, but was not found.
 18558  type ResourceArnRequiredException struct {
 18559  	_            struct{}                  `type:"structure"`
 18560  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 18561  
 18562  	Message_ *string `locationName:"message" type:"string"`
 18563  }
 18564  
 18565  // String returns the string representation.
 18566  //
 18567  // API parameter values that are decorated as "sensitive" in the API will not
 18568  // be included in the string output. The member name will be present, but the
 18569  // value will be replaced with "sensitive".
 18570  func (s ResourceArnRequiredException) String() string {
 18571  	return awsutil.Prettify(s)
 18572  }
 18573  
 18574  // GoString returns the string representation.
 18575  //
 18576  // API parameter values that are decorated as "sensitive" in the API will not
 18577  // be included in the string output. The member name will be present, but the
 18578  // value will be replaced with "sensitive".
 18579  func (s ResourceArnRequiredException) GoString() string {
 18580  	return s.String()
 18581  }
 18582  
 18583  func newErrorResourceArnRequiredException(v protocol.ResponseMetadata) error {
 18584  	return &ResourceArnRequiredException{
 18585  		RespMetadata: v,
 18586  	}
 18587  }
 18588  
 18589  // Code returns the exception type name.
 18590  func (s *ResourceArnRequiredException) Code() string {
 18591  	return "ResourceArnRequiredException"
 18592  }
 18593  
 18594  // Message returns the exception's message.
 18595  func (s *ResourceArnRequiredException) Message() string {
 18596  	if s.Message_ != nil {
 18597  		return *s.Message_
 18598  	}
 18599  	return ""
 18600  }
 18601  
 18602  // OrigErr always returns nil, satisfies awserr.Error interface.
 18603  func (s *ResourceArnRequiredException) OrigErr() error {
 18604  	return nil
 18605  }
 18606  
 18607  func (s *ResourceArnRequiredException) Error() string {
 18608  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 18609  }
 18610  
 18611  // Status code returns the HTTP status code for the request's response error.
 18612  func (s *ResourceArnRequiredException) StatusCode() int {
 18613  	return s.RespMetadata.StatusCode
 18614  }
 18615  
 18616  // RequestID returns the service's response RequestID for request.
 18617  func (s *ResourceArnRequiredException) RequestID() string {
 18618  	return s.RespMetadata.RequestID
 18619  }
 18620  
 18621  // The specified resource could not be validated.
 18622  type ResourceValidationException struct {
 18623  	_            struct{}                  `type:"structure"`
 18624  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 18625  
 18626  	Message_ *string `locationName:"message" type:"string"`
 18627  }
 18628  
 18629  // String returns the string representation.
 18630  //
 18631  // API parameter values that are decorated as "sensitive" in the API will not
 18632  // be included in the string output. The member name will be present, but the
 18633  // value will be replaced with "sensitive".
 18634  func (s ResourceValidationException) String() string {
 18635  	return awsutil.Prettify(s)
 18636  }
 18637  
 18638  // GoString returns the string representation.
 18639  //
 18640  // API parameter values that are decorated as "sensitive" in the API will not
 18641  // be included in the string output. The member name will be present, but the
 18642  // value will be replaced with "sensitive".
 18643  func (s ResourceValidationException) GoString() string {
 18644  	return s.String()
 18645  }
 18646  
 18647  func newErrorResourceValidationException(v protocol.ResponseMetadata) error {
 18648  	return &ResourceValidationException{
 18649  		RespMetadata: v,
 18650  	}
 18651  }
 18652  
 18653  // Code returns the exception type name.
 18654  func (s *ResourceValidationException) Code() string {
 18655  	return "ResourceValidationException"
 18656  }
 18657  
 18658  // Message returns the exception's message.
 18659  func (s *ResourceValidationException) Message() string {
 18660  	if s.Message_ != nil {
 18661  		return *s.Message_
 18662  	}
 18663  	return ""
 18664  }
 18665  
 18666  // OrigErr always returns nil, satisfies awserr.Error interface.
 18667  func (s *ResourceValidationException) OrigErr() error {
 18668  	return nil
 18669  }
 18670  
 18671  func (s *ResourceValidationException) Error() string {
 18672  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 18673  }
 18674  
 18675  // Status code returns the HTTP status code for the request's response error.
 18676  func (s *ResourceValidationException) StatusCode() int {
 18677  	return s.RespMetadata.StatusCode
 18678  }
 18679  
 18680  // RequestID returns the service's response RequestID for request.
 18681  func (s *ResourceValidationException) RequestID() string {
 18682  	return s.RespMetadata.RequestID
 18683  }
 18684  
 18685  // The named revision does not exist with the IAM user or AWS account.
 18686  type RevisionDoesNotExistException struct {
 18687  	_            struct{}                  `type:"structure"`
 18688  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 18689  
 18690  	Message_ *string `locationName:"message" type:"string"`
 18691  }
 18692  
 18693  // String returns the string representation.
 18694  //
 18695  // API parameter values that are decorated as "sensitive" in the API will not
 18696  // be included in the string output. The member name will be present, but the
 18697  // value will be replaced with "sensitive".
 18698  func (s RevisionDoesNotExistException) String() string {
 18699  	return awsutil.Prettify(s)
 18700  }
 18701  
 18702  // GoString returns the string representation.
 18703  //
 18704  // API parameter values that are decorated as "sensitive" in the API will not
 18705  // be included in the string output. The member name will be present, but the
 18706  // value will be replaced with "sensitive".
 18707  func (s RevisionDoesNotExistException) GoString() string {
 18708  	return s.String()
 18709  }
 18710  
 18711  func newErrorRevisionDoesNotExistException(v protocol.ResponseMetadata) error {
 18712  	return &RevisionDoesNotExistException{
 18713  		RespMetadata: v,
 18714  	}
 18715  }
 18716  
 18717  // Code returns the exception type name.
 18718  func (s *RevisionDoesNotExistException) Code() string {
 18719  	return "RevisionDoesNotExistException"
 18720  }
 18721  
 18722  // Message returns the exception's message.
 18723  func (s *RevisionDoesNotExistException) Message() string {
 18724  	if s.Message_ != nil {
 18725  		return *s.Message_
 18726  	}
 18727  	return ""
 18728  }
 18729  
 18730  // OrigErr always returns nil, satisfies awserr.Error interface.
 18731  func (s *RevisionDoesNotExistException) OrigErr() error {
 18732  	return nil
 18733  }
 18734  
 18735  func (s *RevisionDoesNotExistException) Error() string {
 18736  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 18737  }
 18738  
 18739  // Status code returns the HTTP status code for the request's response error.
 18740  func (s *RevisionDoesNotExistException) StatusCode() int {
 18741  	return s.RespMetadata.StatusCode
 18742  }
 18743  
 18744  // RequestID returns the service's response RequestID for request.
 18745  func (s *RevisionDoesNotExistException) RequestID() string {
 18746  	return s.RespMetadata.RequestID
 18747  }
 18748  
 18749  // Information about an application revision.
 18750  type RevisionInfo struct {
 18751  	_ struct{} `type:"structure"`
 18752  
 18753  	// Information about an application revision, including usage details and associated
 18754  	// deployment groups.
 18755  	GenericRevisionInfo *GenericRevisionInfo `locationName:"genericRevisionInfo" type:"structure"`
 18756  
 18757  	// Information about the location and type of an application revision.
 18758  	RevisionLocation *RevisionLocation `locationName:"revisionLocation" type:"structure"`
 18759  }
 18760  
 18761  // String returns the string representation.
 18762  //
 18763  // API parameter values that are decorated as "sensitive" in the API will not
 18764  // be included in the string output. The member name will be present, but the
 18765  // value will be replaced with "sensitive".
 18766  func (s RevisionInfo) String() string {
 18767  	return awsutil.Prettify(s)
 18768  }
 18769  
 18770  // GoString returns the string representation.
 18771  //
 18772  // API parameter values that are decorated as "sensitive" in the API will not
 18773  // be included in the string output. The member name will be present, but the
 18774  // value will be replaced with "sensitive".
 18775  func (s RevisionInfo) GoString() string {
 18776  	return s.String()
 18777  }
 18778  
 18779  // SetGenericRevisionInfo sets the GenericRevisionInfo field's value.
 18780  func (s *RevisionInfo) SetGenericRevisionInfo(v *GenericRevisionInfo) *RevisionInfo {
 18781  	s.GenericRevisionInfo = v
 18782  	return s
 18783  }
 18784  
 18785  // SetRevisionLocation sets the RevisionLocation field's value.
 18786  func (s *RevisionInfo) SetRevisionLocation(v *RevisionLocation) *RevisionInfo {
 18787  	s.RevisionLocation = v
 18788  	return s
 18789  }
 18790  
 18791  // Information about the location of an application revision.
 18792  type RevisionLocation struct {
 18793  	_ struct{} `type:"structure"`
 18794  
 18795  	// The content of an AppSpec file for an AWS Lambda or Amazon ECS deployment.
 18796  	// The content is formatted as JSON or YAML and stored as a RawString.
 18797  	AppSpecContent *AppSpecContent `locationName:"appSpecContent" type:"structure"`
 18798  
 18799  	// Information about the location of application artifacts stored in GitHub.
 18800  	GitHubLocation *GitHubLocation `locationName:"gitHubLocation" type:"structure"`
 18801  
 18802  	// The type of application revision:
 18803  	//
 18804  	//    * S3: An application revision stored in Amazon S3.
 18805  	//
 18806  	//    * GitHub: An application revision stored in GitHub (EC2/On-premises deployments
 18807  	//    only).
 18808  	//
 18809  	//    * String: A YAML-formatted or JSON-formatted string (AWS Lambda deployments
 18810  	//    only).
 18811  	//
 18812  	//    * AppSpecContent: An AppSpecContent object that contains the contents
 18813  	//    of an AppSpec file for an AWS Lambda or Amazon ECS deployment. The content
 18814  	//    is formatted as JSON or YAML stored as a RawString.
 18815  	RevisionType *string `locationName:"revisionType" type:"string" enum:"RevisionLocationType"`
 18816  
 18817  	// Information about the location of a revision stored in Amazon S3.
 18818  	S3Location *S3Location `locationName:"s3Location" type:"structure"`
 18819  
 18820  	// Information about the location of an AWS Lambda deployment revision stored
 18821  	// as a RawString.
 18822  	String_ *RawString `locationName:"string" deprecated:"true" type:"structure"`
 18823  }
 18824  
 18825  // String returns the string representation.
 18826  //
 18827  // API parameter values that are decorated as "sensitive" in the API will not
 18828  // be included in the string output. The member name will be present, but the
 18829  // value will be replaced with "sensitive".
 18830  func (s RevisionLocation) String() string {
 18831  	return awsutil.Prettify(s)
 18832  }
 18833  
 18834  // GoString returns the string representation.
 18835  //
 18836  // API parameter values that are decorated as "sensitive" in the API will not
 18837  // be included in the string output. The member name will be present, but the
 18838  // value will be replaced with "sensitive".
 18839  func (s RevisionLocation) GoString() string {
 18840  	return s.String()
 18841  }
 18842  
 18843  // SetAppSpecContent sets the AppSpecContent field's value.
 18844  func (s *RevisionLocation) SetAppSpecContent(v *AppSpecContent) *RevisionLocation {
 18845  	s.AppSpecContent = v
 18846  	return s
 18847  }
 18848  
 18849  // SetGitHubLocation sets the GitHubLocation field's value.
 18850  func (s *RevisionLocation) SetGitHubLocation(v *GitHubLocation) *RevisionLocation {
 18851  	s.GitHubLocation = v
 18852  	return s
 18853  }
 18854  
 18855  // SetRevisionType sets the RevisionType field's value.
 18856  func (s *RevisionLocation) SetRevisionType(v string) *RevisionLocation {
 18857  	s.RevisionType = &v
 18858  	return s
 18859  }
 18860  
 18861  // SetS3Location sets the S3Location field's value.
 18862  func (s *RevisionLocation) SetS3Location(v *S3Location) *RevisionLocation {
 18863  	s.S3Location = v
 18864  	return s
 18865  }
 18866  
 18867  // SetString_ sets the String_ field's value.
 18868  func (s *RevisionLocation) SetString_(v *RawString) *RevisionLocation {
 18869  	s.String_ = v
 18870  	return s
 18871  }
 18872  
 18873  // The revision ID was not specified.
 18874  type RevisionRequiredException struct {
 18875  	_            struct{}                  `type:"structure"`
 18876  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 18877  
 18878  	Message_ *string `locationName:"message" type:"string"`
 18879  }
 18880  
 18881  // String returns the string representation.
 18882  //
 18883  // API parameter values that are decorated as "sensitive" in the API will not
 18884  // be included in the string output. The member name will be present, but the
 18885  // value will be replaced with "sensitive".
 18886  func (s RevisionRequiredException) String() string {
 18887  	return awsutil.Prettify(s)
 18888  }
 18889  
 18890  // GoString returns the string representation.
 18891  //
 18892  // API parameter values that are decorated as "sensitive" in the API will not
 18893  // be included in the string output. The member name will be present, but the
 18894  // value will be replaced with "sensitive".
 18895  func (s RevisionRequiredException) GoString() string {
 18896  	return s.String()
 18897  }
 18898  
 18899  func newErrorRevisionRequiredException(v protocol.ResponseMetadata) error {
 18900  	return &RevisionRequiredException{
 18901  		RespMetadata: v,
 18902  	}
 18903  }
 18904  
 18905  // Code returns the exception type name.
 18906  func (s *RevisionRequiredException) Code() string {
 18907  	return "RevisionRequiredException"
 18908  }
 18909  
 18910  // Message returns the exception's message.
 18911  func (s *RevisionRequiredException) Message() string {
 18912  	if s.Message_ != nil {
 18913  		return *s.Message_
 18914  	}
 18915  	return ""
 18916  }
 18917  
 18918  // OrigErr always returns nil, satisfies awserr.Error interface.
 18919  func (s *RevisionRequiredException) OrigErr() error {
 18920  	return nil
 18921  }
 18922  
 18923  func (s *RevisionRequiredException) Error() string {
 18924  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 18925  }
 18926  
 18927  // Status code returns the HTTP status code for the request's response error.
 18928  func (s *RevisionRequiredException) StatusCode() int {
 18929  	return s.RespMetadata.StatusCode
 18930  }
 18931  
 18932  // RequestID returns the service's response RequestID for request.
 18933  func (s *RevisionRequiredException) RequestID() string {
 18934  	return s.RespMetadata.RequestID
 18935  }
 18936  
 18937  // The role ID was not specified.
 18938  type RoleRequiredException struct {
 18939  	_            struct{}                  `type:"structure"`
 18940  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 18941  
 18942  	Message_ *string `locationName:"message" type:"string"`
 18943  }
 18944  
 18945  // String returns the string representation.
 18946  //
 18947  // API parameter values that are decorated as "sensitive" in the API will not
 18948  // be included in the string output. The member name will be present, but the
 18949  // value will be replaced with "sensitive".
 18950  func (s RoleRequiredException) String() string {
 18951  	return awsutil.Prettify(s)
 18952  }
 18953  
 18954  // GoString returns the string representation.
 18955  //
 18956  // API parameter values that are decorated as "sensitive" in the API will not
 18957  // be included in the string output. The member name will be present, but the
 18958  // value will be replaced with "sensitive".
 18959  func (s RoleRequiredException) GoString() string {
 18960  	return s.String()
 18961  }
 18962  
 18963  func newErrorRoleRequiredException(v protocol.ResponseMetadata) error {
 18964  	return &RoleRequiredException{
 18965  		RespMetadata: v,
 18966  	}
 18967  }
 18968  
 18969  // Code returns the exception type name.
 18970  func (s *RoleRequiredException) Code() string {
 18971  	return "RoleRequiredException"
 18972  }
 18973  
 18974  // Message returns the exception's message.
 18975  func (s *RoleRequiredException) Message() string {
 18976  	if s.Message_ != nil {
 18977  		return *s.Message_
 18978  	}
 18979  	return ""
 18980  }
 18981  
 18982  // OrigErr always returns nil, satisfies awserr.Error interface.
 18983  func (s *RoleRequiredException) OrigErr() error {
 18984  	return nil
 18985  }
 18986  
 18987  func (s *RoleRequiredException) Error() string {
 18988  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 18989  }
 18990  
 18991  // Status code returns the HTTP status code for the request's response error.
 18992  func (s *RoleRequiredException) StatusCode() int {
 18993  	return s.RespMetadata.StatusCode
 18994  }
 18995  
 18996  // RequestID returns the service's response RequestID for request.
 18997  func (s *RoleRequiredException) RequestID() string {
 18998  	return s.RespMetadata.RequestID
 18999  }
 19000  
 19001  // Information about a deployment rollback.
 19002  type RollbackInfo struct {
 19003  	_ struct{} `type:"structure"`
 19004  
 19005  	// The ID of the deployment rollback.
 19006  	RollbackDeploymentId *string `locationName:"rollbackDeploymentId" type:"string"`
 19007  
 19008  	// Information that describes the status of a deployment rollback (for example,
 19009  	// whether the deployment can't be rolled back, is in progress, failed, or succeeded).
 19010  	RollbackMessage *string `locationName:"rollbackMessage" type:"string"`
 19011  
 19012  	// The deployment ID of the deployment that was underway and triggered a rollback
 19013  	// deployment because it failed or was stopped.
 19014  	RollbackTriggeringDeploymentId *string `locationName:"rollbackTriggeringDeploymentId" type:"string"`
 19015  }
 19016  
 19017  // String returns the string representation.
 19018  //
 19019  // API parameter values that are decorated as "sensitive" in the API will not
 19020  // be included in the string output. The member name will be present, but the
 19021  // value will be replaced with "sensitive".
 19022  func (s RollbackInfo) String() string {
 19023  	return awsutil.Prettify(s)
 19024  }
 19025  
 19026  // GoString returns the string representation.
 19027  //
 19028  // API parameter values that are decorated as "sensitive" in the API will not
 19029  // be included in the string output. The member name will be present, but the
 19030  // value will be replaced with "sensitive".
 19031  func (s RollbackInfo) GoString() string {
 19032  	return s.String()
 19033  }
 19034  
 19035  // SetRollbackDeploymentId sets the RollbackDeploymentId field's value.
 19036  func (s *RollbackInfo) SetRollbackDeploymentId(v string) *RollbackInfo {
 19037  	s.RollbackDeploymentId = &v
 19038  	return s
 19039  }
 19040  
 19041  // SetRollbackMessage sets the RollbackMessage field's value.
 19042  func (s *RollbackInfo) SetRollbackMessage(v string) *RollbackInfo {
 19043  	s.RollbackMessage = &v
 19044  	return s
 19045  }
 19046  
 19047  // SetRollbackTriggeringDeploymentId sets the RollbackTriggeringDeploymentId field's value.
 19048  func (s *RollbackInfo) SetRollbackTriggeringDeploymentId(v string) *RollbackInfo {
 19049  	s.RollbackTriggeringDeploymentId = &v
 19050  	return s
 19051  }
 19052  
 19053  // Information about the location of application artifacts stored in Amazon
 19054  // S3.
 19055  type S3Location struct {
 19056  	_ struct{} `type:"structure"`
 19057  
 19058  	// The name of the Amazon S3 bucket where the application revision is stored.
 19059  	Bucket *string `locationName:"bucket" type:"string"`
 19060  
 19061  	// The file type of the application revision. Must be one of the following:
 19062  	//
 19063  	//    * tar: A tar archive file.
 19064  	//
 19065  	//    * tgz: A compressed tar archive file.
 19066  	//
 19067  	//    * zip: A zip archive file.
 19068  	BundleType *string `locationName:"bundleType" type:"string" enum:"BundleType"`
 19069  
 19070  	// The ETag of the Amazon S3 object that represents the bundled artifacts for
 19071  	// the application revision.
 19072  	//
 19073  	// If the ETag is not specified as an input parameter, ETag validation of the
 19074  	// object is skipped.
 19075  	ETag *string `locationName:"eTag" type:"string"`
 19076  
 19077  	// The name of the Amazon S3 object that represents the bundled artifacts for
 19078  	// the application revision.
 19079  	Key *string `locationName:"key" type:"string"`
 19080  
 19081  	// A specific version of the Amazon S3 object that represents the bundled artifacts
 19082  	// for the application revision.
 19083  	//
 19084  	// If the version is not specified, the system uses the most recent version
 19085  	// by default.
 19086  	Version *string `locationName:"version" type:"string"`
 19087  }
 19088  
 19089  // String returns the string representation.
 19090  //
 19091  // API parameter values that are decorated as "sensitive" in the API will not
 19092  // be included in the string output. The member name will be present, but the
 19093  // value will be replaced with "sensitive".
 19094  func (s S3Location) String() string {
 19095  	return awsutil.Prettify(s)
 19096  }
 19097  
 19098  // GoString returns the string representation.
 19099  //
 19100  // API parameter values that are decorated as "sensitive" in the API will not
 19101  // be included in the string output. The member name will be present, but the
 19102  // value will be replaced with "sensitive".
 19103  func (s S3Location) GoString() string {
 19104  	return s.String()
 19105  }
 19106  
 19107  // SetBucket sets the Bucket field's value.
 19108  func (s *S3Location) SetBucket(v string) *S3Location {
 19109  	s.Bucket = &v
 19110  	return s
 19111  }
 19112  
 19113  // SetBundleType sets the BundleType field's value.
 19114  func (s *S3Location) SetBundleType(v string) *S3Location {
 19115  	s.BundleType = &v
 19116  	return s
 19117  }
 19118  
 19119  // SetETag sets the ETag field's value.
 19120  func (s *S3Location) SetETag(v string) *S3Location {
 19121  	s.ETag = &v
 19122  	return s
 19123  }
 19124  
 19125  // SetKey sets the Key field's value.
 19126  func (s *S3Location) SetKey(v string) *S3Location {
 19127  	s.Key = &v
 19128  	return s
 19129  }
 19130  
 19131  // SetVersion sets the Version field's value.
 19132  func (s *S3Location) SetVersion(v string) *S3Location {
 19133  	s.Version = &v
 19134  	return s
 19135  }
 19136  
 19137  type SkipWaitTimeForInstanceTerminationInput struct {
 19138  	_ struct{} `type:"structure"`
 19139  
 19140  	// The unique ID of a blue/green deployment for which you want to skip the instance
 19141  	// termination wait time.
 19142  	DeploymentId *string `locationName:"deploymentId" type:"string"`
 19143  }
 19144  
 19145  // String returns the string representation.
 19146  //
 19147  // API parameter values that are decorated as "sensitive" in the API will not
 19148  // be included in the string output. The member name will be present, but the
 19149  // value will be replaced with "sensitive".
 19150  func (s SkipWaitTimeForInstanceTerminationInput) String() string {
 19151  	return awsutil.Prettify(s)
 19152  }
 19153  
 19154  // GoString returns the string representation.
 19155  //
 19156  // API parameter values that are decorated as "sensitive" in the API will not
 19157  // be included in the string output. The member name will be present, but the
 19158  // value will be replaced with "sensitive".
 19159  func (s SkipWaitTimeForInstanceTerminationInput) GoString() string {
 19160  	return s.String()
 19161  }
 19162  
 19163  // SetDeploymentId sets the DeploymentId field's value.
 19164  func (s *SkipWaitTimeForInstanceTerminationInput) SetDeploymentId(v string) *SkipWaitTimeForInstanceTerminationInput {
 19165  	s.DeploymentId = &v
 19166  	return s
 19167  }
 19168  
 19169  type SkipWaitTimeForInstanceTerminationOutput struct {
 19170  	_ struct{} `type:"structure"`
 19171  }
 19172  
 19173  // String returns the string representation.
 19174  //
 19175  // API parameter values that are decorated as "sensitive" in the API will not
 19176  // be included in the string output. The member name will be present, but the
 19177  // value will be replaced with "sensitive".
 19178  func (s SkipWaitTimeForInstanceTerminationOutput) String() string {
 19179  	return awsutil.Prettify(s)
 19180  }
 19181  
 19182  // GoString returns the string representation.
 19183  //
 19184  // API parameter values that are decorated as "sensitive" in the API will not
 19185  // be included in the string output. The member name will be present, but the
 19186  // value will be replaced with "sensitive".
 19187  func (s SkipWaitTimeForInstanceTerminationOutput) GoString() string {
 19188  	return s.String()
 19189  }
 19190  
 19191  // Represents the input of a StopDeployment operation.
 19192  type StopDeploymentInput struct {
 19193  	_ struct{} `type:"structure"`
 19194  
 19195  	// Indicates, when a deployment is stopped, whether instances that have been
 19196  	// updated should be rolled back to the previous version of the application
 19197  	// revision.
 19198  	AutoRollbackEnabled *bool `locationName:"autoRollbackEnabled" type:"boolean"`
 19199  
 19200  	// The unique ID of a deployment.
 19201  	//
 19202  	// DeploymentId is a required field
 19203  	DeploymentId *string `locationName:"deploymentId" type:"string" required:"true"`
 19204  }
 19205  
 19206  // String returns the string representation.
 19207  //
 19208  // API parameter values that are decorated as "sensitive" in the API will not
 19209  // be included in the string output. The member name will be present, but the
 19210  // value will be replaced with "sensitive".
 19211  func (s StopDeploymentInput) String() string {
 19212  	return awsutil.Prettify(s)
 19213  }
 19214  
 19215  // GoString returns the string representation.
 19216  //
 19217  // API parameter values that are decorated as "sensitive" in the API will not
 19218  // be included in the string output. The member name will be present, but the
 19219  // value will be replaced with "sensitive".
 19220  func (s StopDeploymentInput) GoString() string {
 19221  	return s.String()
 19222  }
 19223  
 19224  // Validate inspects the fields of the type to determine if they are valid.
 19225  func (s *StopDeploymentInput) Validate() error {
 19226  	invalidParams := request.ErrInvalidParams{Context: "StopDeploymentInput"}
 19227  	if s.DeploymentId == nil {
 19228  		invalidParams.Add(request.NewErrParamRequired("DeploymentId"))
 19229  	}
 19230  
 19231  	if invalidParams.Len() > 0 {
 19232  		return invalidParams
 19233  	}
 19234  	return nil
 19235  }
 19236  
 19237  // SetAutoRollbackEnabled sets the AutoRollbackEnabled field's value.
 19238  func (s *StopDeploymentInput) SetAutoRollbackEnabled(v bool) *StopDeploymentInput {
 19239  	s.AutoRollbackEnabled = &v
 19240  	return s
 19241  }
 19242  
 19243  // SetDeploymentId sets the DeploymentId field's value.
 19244  func (s *StopDeploymentInput) SetDeploymentId(v string) *StopDeploymentInput {
 19245  	s.DeploymentId = &v
 19246  	return s
 19247  }
 19248  
 19249  // Represents the output of a StopDeployment operation.
 19250  type StopDeploymentOutput struct {
 19251  	_ struct{} `type:"structure"`
 19252  
 19253  	// The status of the stop deployment operation:
 19254  	//
 19255  	//    * Pending: The stop operation is pending.
 19256  	//
 19257  	//    * Succeeded: The stop operation was successful.
 19258  	Status *string `locationName:"status" type:"string" enum:"StopStatus"`
 19259  
 19260  	// An accompanying status message.
 19261  	StatusMessage *string `locationName:"statusMessage" type:"string"`
 19262  }
 19263  
 19264  // String returns the string representation.
 19265  //
 19266  // API parameter values that are decorated as "sensitive" in the API will not
 19267  // be included in the string output. The member name will be present, but the
 19268  // value will be replaced with "sensitive".
 19269  func (s StopDeploymentOutput) String() string {
 19270  	return awsutil.Prettify(s)
 19271  }
 19272  
 19273  // GoString returns the string representation.
 19274  //
 19275  // API parameter values that are decorated as "sensitive" in the API will not
 19276  // be included in the string output. The member name will be present, but the
 19277  // value will be replaced with "sensitive".
 19278  func (s StopDeploymentOutput) GoString() string {
 19279  	return s.String()
 19280  }
 19281  
 19282  // SetStatus sets the Status field's value.
 19283  func (s *StopDeploymentOutput) SetStatus(v string) *StopDeploymentOutput {
 19284  	s.Status = &v
 19285  	return s
 19286  }
 19287  
 19288  // SetStatusMessage sets the StatusMessage field's value.
 19289  func (s *StopDeploymentOutput) SetStatusMessage(v string) *StopDeploymentOutput {
 19290  	s.StatusMessage = &v
 19291  	return s
 19292  }
 19293  
 19294  // Information about a tag.
 19295  type Tag struct {
 19296  	_ struct{} `type:"structure"`
 19297  
 19298  	// The tag's key.
 19299  	Key *string `type:"string"`
 19300  
 19301  	// The tag's value.
 19302  	Value *string `type:"string"`
 19303  }
 19304  
 19305  // String returns the string representation.
 19306  //
 19307  // API parameter values that are decorated as "sensitive" in the API will not
 19308  // be included in the string output. The member name will be present, but the
 19309  // value will be replaced with "sensitive".
 19310  func (s Tag) String() string {
 19311  	return awsutil.Prettify(s)
 19312  }
 19313  
 19314  // GoString returns the string representation.
 19315  //
 19316  // API parameter values that are decorated as "sensitive" in the API will not
 19317  // be included in the string output. The member name will be present, but the
 19318  // value will be replaced with "sensitive".
 19319  func (s Tag) GoString() string {
 19320  	return s.String()
 19321  }
 19322  
 19323  // SetKey sets the Key field's value.
 19324  func (s *Tag) SetKey(v string) *Tag {
 19325  	s.Key = &v
 19326  	return s
 19327  }
 19328  
 19329  // SetValue sets the Value field's value.
 19330  func (s *Tag) SetValue(v string) *Tag {
 19331  	s.Value = &v
 19332  	return s
 19333  }
 19334  
 19335  // Information about an on-premises instance tag filter.
 19336  type TagFilter struct {
 19337  	_ struct{} `type:"structure"`
 19338  
 19339  	// The on-premises instance tag filter key.
 19340  	Key *string `type:"string"`
 19341  
 19342  	// The on-premises instance tag filter type:
 19343  	//
 19344  	//    * KEY_ONLY: Key only.
 19345  	//
 19346  	//    * VALUE_ONLY: Value only.
 19347  	//
 19348  	//    * KEY_AND_VALUE: Key and value.
 19349  	Type *string `type:"string" enum:"TagFilterType"`
 19350  
 19351  	// The on-premises instance tag filter value.
 19352  	Value *string `type:"string"`
 19353  }
 19354  
 19355  // String returns the string representation.
 19356  //
 19357  // API parameter values that are decorated as "sensitive" in the API will not
 19358  // be included in the string output. The member name will be present, but the
 19359  // value will be replaced with "sensitive".
 19360  func (s TagFilter) String() string {
 19361  	return awsutil.Prettify(s)
 19362  }
 19363  
 19364  // GoString returns the string representation.
 19365  //
 19366  // API parameter values that are decorated as "sensitive" in the API will not
 19367  // be included in the string output. The member name will be present, but the
 19368  // value will be replaced with "sensitive".
 19369  func (s TagFilter) GoString() string {
 19370  	return s.String()
 19371  }
 19372  
 19373  // SetKey sets the Key field's value.
 19374  func (s *TagFilter) SetKey(v string) *TagFilter {
 19375  	s.Key = &v
 19376  	return s
 19377  }
 19378  
 19379  // SetType sets the Type field's value.
 19380  func (s *TagFilter) SetType(v string) *TagFilter {
 19381  	s.Type = &v
 19382  	return s
 19383  }
 19384  
 19385  // SetValue sets the Value field's value.
 19386  func (s *TagFilter) SetValue(v string) *TagFilter {
 19387  	s.Value = &v
 19388  	return s
 19389  }
 19390  
 19391  // The maximum allowed number of tags was exceeded.
 19392  type TagLimitExceededException struct {
 19393  	_            struct{}                  `type:"structure"`
 19394  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 19395  
 19396  	Message_ *string `locationName:"message" type:"string"`
 19397  }
 19398  
 19399  // String returns the string representation.
 19400  //
 19401  // API parameter values that are decorated as "sensitive" in the API will not
 19402  // be included in the string output. The member name will be present, but the
 19403  // value will be replaced with "sensitive".
 19404  func (s TagLimitExceededException) String() string {
 19405  	return awsutil.Prettify(s)
 19406  }
 19407  
 19408  // GoString returns the string representation.
 19409  //
 19410  // API parameter values that are decorated as "sensitive" in the API will not
 19411  // be included in the string output. The member name will be present, but the
 19412  // value will be replaced with "sensitive".
 19413  func (s TagLimitExceededException) GoString() string {
 19414  	return s.String()
 19415  }
 19416  
 19417  func newErrorTagLimitExceededException(v protocol.ResponseMetadata) error {
 19418  	return &TagLimitExceededException{
 19419  		RespMetadata: v,
 19420  	}
 19421  }
 19422  
 19423  // Code returns the exception type name.
 19424  func (s *TagLimitExceededException) Code() string {
 19425  	return "TagLimitExceededException"
 19426  }
 19427  
 19428  // Message returns the exception's message.
 19429  func (s *TagLimitExceededException) Message() string {
 19430  	if s.Message_ != nil {
 19431  		return *s.Message_
 19432  	}
 19433  	return ""
 19434  }
 19435  
 19436  // OrigErr always returns nil, satisfies awserr.Error interface.
 19437  func (s *TagLimitExceededException) OrigErr() error {
 19438  	return nil
 19439  }
 19440  
 19441  func (s *TagLimitExceededException) Error() string {
 19442  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 19443  }
 19444  
 19445  // Status code returns the HTTP status code for the request's response error.
 19446  func (s *TagLimitExceededException) StatusCode() int {
 19447  	return s.RespMetadata.StatusCode
 19448  }
 19449  
 19450  // RequestID returns the service's response RequestID for request.
 19451  func (s *TagLimitExceededException) RequestID() string {
 19452  	return s.RespMetadata.RequestID
 19453  }
 19454  
 19455  // A tag was not specified.
 19456  type TagRequiredException struct {
 19457  	_            struct{}                  `type:"structure"`
 19458  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 19459  
 19460  	Message_ *string `locationName:"message" type:"string"`
 19461  }
 19462  
 19463  // String returns the string representation.
 19464  //
 19465  // API parameter values that are decorated as "sensitive" in the API will not
 19466  // be included in the string output. The member name will be present, but the
 19467  // value will be replaced with "sensitive".
 19468  func (s TagRequiredException) String() string {
 19469  	return awsutil.Prettify(s)
 19470  }
 19471  
 19472  // GoString returns the string representation.
 19473  //
 19474  // API parameter values that are decorated as "sensitive" in the API will not
 19475  // be included in the string output. The member name will be present, but the
 19476  // value will be replaced with "sensitive".
 19477  func (s TagRequiredException) GoString() string {
 19478  	return s.String()
 19479  }
 19480  
 19481  func newErrorTagRequiredException(v protocol.ResponseMetadata) error {
 19482  	return &TagRequiredException{
 19483  		RespMetadata: v,
 19484  	}
 19485  }
 19486  
 19487  // Code returns the exception type name.
 19488  func (s *TagRequiredException) Code() string {
 19489  	return "TagRequiredException"
 19490  }
 19491  
 19492  // Message returns the exception's message.
 19493  func (s *TagRequiredException) Message() string {
 19494  	if s.Message_ != nil {
 19495  		return *s.Message_
 19496  	}
 19497  	return ""
 19498  }
 19499  
 19500  // OrigErr always returns nil, satisfies awserr.Error interface.
 19501  func (s *TagRequiredException) OrigErr() error {
 19502  	return nil
 19503  }
 19504  
 19505  func (s *TagRequiredException) Error() string {
 19506  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 19507  }
 19508  
 19509  // Status code returns the HTTP status code for the request's response error.
 19510  func (s *TagRequiredException) StatusCode() int {
 19511  	return s.RespMetadata.StatusCode
 19512  }
 19513  
 19514  // RequestID returns the service's response RequestID for request.
 19515  func (s *TagRequiredException) RequestID() string {
 19516  	return s.RespMetadata.RequestID
 19517  }
 19518  
 19519  type TagResourceInput struct {
 19520  	_ struct{} `type:"structure"`
 19521  
 19522  	// The ARN of a resource, such as a CodeDeploy application or deployment group.
 19523  	//
 19524  	// ResourceArn is a required field
 19525  	ResourceArn *string `min:"1" type:"string" required:"true"`
 19526  
 19527  	// A list of tags that TagResource associates with a resource. The resource
 19528  	// is identified by the ResourceArn input parameter.
 19529  	//
 19530  	// Tags is a required field
 19531  	Tags []*Tag `type:"list" required:"true"`
 19532  }
 19533  
 19534  // String returns the string representation.
 19535  //
 19536  // API parameter values that are decorated as "sensitive" in the API will not
 19537  // be included in the string output. The member name will be present, but the
 19538  // value will be replaced with "sensitive".
 19539  func (s TagResourceInput) String() string {
 19540  	return awsutil.Prettify(s)
 19541  }
 19542  
 19543  // GoString returns the string representation.
 19544  //
 19545  // API parameter values that are decorated as "sensitive" in the API will not
 19546  // be included in the string output. The member name will be present, but the
 19547  // value will be replaced with "sensitive".
 19548  func (s TagResourceInput) GoString() string {
 19549  	return s.String()
 19550  }
 19551  
 19552  // Validate inspects the fields of the type to determine if they are valid.
 19553  func (s *TagResourceInput) Validate() error {
 19554  	invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"}
 19555  	if s.ResourceArn == nil {
 19556  		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
 19557  	}
 19558  	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
 19559  		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
 19560  	}
 19561  	if s.Tags == nil {
 19562  		invalidParams.Add(request.NewErrParamRequired("Tags"))
 19563  	}
 19564  
 19565  	if invalidParams.Len() > 0 {
 19566  		return invalidParams
 19567  	}
 19568  	return nil
 19569  }
 19570  
 19571  // SetResourceArn sets the ResourceArn field's value.
 19572  func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput {
 19573  	s.ResourceArn = &v
 19574  	return s
 19575  }
 19576  
 19577  // SetTags sets the Tags field's value.
 19578  func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput {
 19579  	s.Tags = v
 19580  	return s
 19581  }
 19582  
 19583  type TagResourceOutput struct {
 19584  	_ struct{} `type:"structure"`
 19585  }
 19586  
 19587  // String returns the string representation.
 19588  //
 19589  // API parameter values that are decorated as "sensitive" in the API will not
 19590  // be included in the string output. The member name will be present, but the
 19591  // value will be replaced with "sensitive".
 19592  func (s TagResourceOutput) String() string {
 19593  	return awsutil.Prettify(s)
 19594  }
 19595  
 19596  // GoString returns the string representation.
 19597  //
 19598  // API parameter values that are decorated as "sensitive" in the API will not
 19599  // be included in the string output. The member name will be present, but the
 19600  // value will be replaced with "sensitive".
 19601  func (s TagResourceOutput) GoString() string {
 19602  	return s.String()
 19603  }
 19604  
 19605  // The number of tag groups included in the tag set list exceeded the maximum
 19606  // allowed limit of 3.
 19607  type TagSetListLimitExceededException struct {
 19608  	_            struct{}                  `type:"structure"`
 19609  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 19610  
 19611  	Message_ *string `locationName:"message" type:"string"`
 19612  }
 19613  
 19614  // String returns the string representation.
 19615  //
 19616  // API parameter values that are decorated as "sensitive" in the API will not
 19617  // be included in the string output. The member name will be present, but the
 19618  // value will be replaced with "sensitive".
 19619  func (s TagSetListLimitExceededException) String() string {
 19620  	return awsutil.Prettify(s)
 19621  }
 19622  
 19623  // GoString returns the string representation.
 19624  //
 19625  // API parameter values that are decorated as "sensitive" in the API will not
 19626  // be included in the string output. The member name will be present, but the
 19627  // value will be replaced with "sensitive".
 19628  func (s TagSetListLimitExceededException) GoString() string {
 19629  	return s.String()
 19630  }
 19631  
 19632  func newErrorTagSetListLimitExceededException(v protocol.ResponseMetadata) error {
 19633  	return &TagSetListLimitExceededException{
 19634  		RespMetadata: v,
 19635  	}
 19636  }
 19637  
 19638  // Code returns the exception type name.
 19639  func (s *TagSetListLimitExceededException) Code() string {
 19640  	return "TagSetListLimitExceededException"
 19641  }
 19642  
 19643  // Message returns the exception's message.
 19644  func (s *TagSetListLimitExceededException) Message() string {
 19645  	if s.Message_ != nil {
 19646  		return *s.Message_
 19647  	}
 19648  	return ""
 19649  }
 19650  
 19651  // OrigErr always returns nil, satisfies awserr.Error interface.
 19652  func (s *TagSetListLimitExceededException) OrigErr() error {
 19653  	return nil
 19654  }
 19655  
 19656  func (s *TagSetListLimitExceededException) Error() string {
 19657  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 19658  }
 19659  
 19660  // Status code returns the HTTP status code for the request's response error.
 19661  func (s *TagSetListLimitExceededException) StatusCode() int {
 19662  	return s.RespMetadata.StatusCode
 19663  }
 19664  
 19665  // RequestID returns the service's response RequestID for request.
 19666  func (s *TagSetListLimitExceededException) RequestID() string {
 19667  	return s.RespMetadata.RequestID
 19668  }
 19669  
 19670  // Information about a target group in Elastic Load Balancing to use in a deployment.
 19671  // Instances are registered as targets in a target group, and traffic is routed
 19672  // to the target group.
 19673  type TargetGroupInfo struct {
 19674  	_ struct{} `type:"structure"`
 19675  
 19676  	// For blue/green deployments, the name of the target group that instances in
 19677  	// the original environment are deregistered from, and instances in the replacement
 19678  	// environment are registered with. For in-place deployments, the name of the
 19679  	// target group that instances are deregistered from, so they are not serving
 19680  	// traffic during a deployment, and then re-registered with after the deployment
 19681  	// is complete.
 19682  	Name *string `locationName:"name" type:"string"`
 19683  }
 19684  
 19685  // String returns the string representation.
 19686  //
 19687  // API parameter values that are decorated as "sensitive" in the API will not
 19688  // be included in the string output. The member name will be present, but the
 19689  // value will be replaced with "sensitive".
 19690  func (s TargetGroupInfo) String() string {
 19691  	return awsutil.Prettify(s)
 19692  }
 19693  
 19694  // GoString returns the string representation.
 19695  //
 19696  // API parameter values that are decorated as "sensitive" in the API will not
 19697  // be included in the string output. The member name will be present, but the
 19698  // value will be replaced with "sensitive".
 19699  func (s TargetGroupInfo) GoString() string {
 19700  	return s.String()
 19701  }
 19702  
 19703  // SetName sets the Name field's value.
 19704  func (s *TargetGroupInfo) SetName(v string) *TargetGroupInfo {
 19705  	s.Name = &v
 19706  	return s
 19707  }
 19708  
 19709  // Information about two target groups and how traffic is routed during an Amazon
 19710  // ECS deployment. An optional test traffic route can be specified.
 19711  type TargetGroupPairInfo struct {
 19712  	_ struct{} `type:"structure"`
 19713  
 19714  	// The path used by a load balancer to route production traffic when an Amazon
 19715  	// ECS deployment is complete.
 19716  	ProdTrafficRoute *TrafficRoute `locationName:"prodTrafficRoute" type:"structure"`
 19717  
 19718  	// One pair of target groups. One is associated with the original task set.
 19719  	// The second is associated with the task set that serves traffic after the
 19720  	// deployment is complete.
 19721  	TargetGroups []*TargetGroupInfo `locationName:"targetGroups" type:"list"`
 19722  
 19723  	// An optional path used by a load balancer to route test traffic after an Amazon
 19724  	// ECS deployment. Validation can occur while test traffic is served during
 19725  	// a deployment.
 19726  	TestTrafficRoute *TrafficRoute `locationName:"testTrafficRoute" type:"structure"`
 19727  }
 19728  
 19729  // String returns the string representation.
 19730  //
 19731  // API parameter values that are decorated as "sensitive" in the API will not
 19732  // be included in the string output. The member name will be present, but the
 19733  // value will be replaced with "sensitive".
 19734  func (s TargetGroupPairInfo) String() string {
 19735  	return awsutil.Prettify(s)
 19736  }
 19737  
 19738  // GoString returns the string representation.
 19739  //
 19740  // API parameter values that are decorated as "sensitive" in the API will not
 19741  // be included in the string output. The member name will be present, but the
 19742  // value will be replaced with "sensitive".
 19743  func (s TargetGroupPairInfo) GoString() string {
 19744  	return s.String()
 19745  }
 19746  
 19747  // SetProdTrafficRoute sets the ProdTrafficRoute field's value.
 19748  func (s *TargetGroupPairInfo) SetProdTrafficRoute(v *TrafficRoute) *TargetGroupPairInfo {
 19749  	s.ProdTrafficRoute = v
 19750  	return s
 19751  }
 19752  
 19753  // SetTargetGroups sets the TargetGroups field's value.
 19754  func (s *TargetGroupPairInfo) SetTargetGroups(v []*TargetGroupInfo) *TargetGroupPairInfo {
 19755  	s.TargetGroups = v
 19756  	return s
 19757  }
 19758  
 19759  // SetTestTrafficRoute sets the TestTrafficRoute field's value.
 19760  func (s *TargetGroupPairInfo) SetTestTrafficRoute(v *TrafficRoute) *TargetGroupPairInfo {
 19761  	s.TestTrafficRoute = v
 19762  	return s
 19763  }
 19764  
 19765  // Information about the instances to be used in the replacement environment
 19766  // in a blue/green deployment.
 19767  type TargetInstances struct {
 19768  	_ struct{} `type:"structure"`
 19769  
 19770  	// The names of one or more Auto Scaling groups to identify a replacement environment
 19771  	// for a blue/green deployment.
 19772  	AutoScalingGroups []*string `locationName:"autoScalingGroups" type:"list"`
 19773  
 19774  	// Information about the groups of EC2 instance tags that an instance must be
 19775  	// identified by in order for it to be included in the replacement environment
 19776  	// for a blue/green deployment. Cannot be used in the same call as tagFilters.
 19777  	Ec2TagSet *EC2TagSet `locationName:"ec2TagSet" type:"structure"`
 19778  
 19779  	// The tag filter key, type, and value used to identify Amazon EC2 instances
 19780  	// in a replacement environment for a blue/green deployment. Cannot be used
 19781  	// in the same call as ec2TagSet.
 19782  	TagFilters []*EC2TagFilter `locationName:"tagFilters" type:"list"`
 19783  }
 19784  
 19785  // String returns the string representation.
 19786  //
 19787  // API parameter values that are decorated as "sensitive" in the API will not
 19788  // be included in the string output. The member name will be present, but the
 19789  // value will be replaced with "sensitive".
 19790  func (s TargetInstances) String() string {
 19791  	return awsutil.Prettify(s)
 19792  }
 19793  
 19794  // GoString returns the string representation.
 19795  //
 19796  // API parameter values that are decorated as "sensitive" in the API will not
 19797  // be included in the string output. The member name will be present, but the
 19798  // value will be replaced with "sensitive".
 19799  func (s TargetInstances) GoString() string {
 19800  	return s.String()
 19801  }
 19802  
 19803  // SetAutoScalingGroups sets the AutoScalingGroups field's value.
 19804  func (s *TargetInstances) SetAutoScalingGroups(v []*string) *TargetInstances {
 19805  	s.AutoScalingGroups = v
 19806  	return s
 19807  }
 19808  
 19809  // SetEc2TagSet sets the Ec2TagSet field's value.
 19810  func (s *TargetInstances) SetEc2TagSet(v *EC2TagSet) *TargetInstances {
 19811  	s.Ec2TagSet = v
 19812  	return s
 19813  }
 19814  
 19815  // SetTagFilters sets the TagFilters field's value.
 19816  func (s *TargetInstances) SetTagFilters(v []*EC2TagFilter) *TargetInstances {
 19817  	s.TagFilters = v
 19818  	return s
 19819  }
 19820  
 19821  // An API function was called too frequently.
 19822  type ThrottlingException struct {
 19823  	_            struct{}                  `type:"structure"`
 19824  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 19825  
 19826  	Message_ *string `locationName:"message" type:"string"`
 19827  }
 19828  
 19829  // String returns the string representation.
 19830  //
 19831  // API parameter values that are decorated as "sensitive" in the API will not
 19832  // be included in the string output. The member name will be present, but the
 19833  // value will be replaced with "sensitive".
 19834  func (s ThrottlingException) String() string {
 19835  	return awsutil.Prettify(s)
 19836  }
 19837  
 19838  // GoString returns the string representation.
 19839  //
 19840  // API parameter values that are decorated as "sensitive" in the API will not
 19841  // be included in the string output. The member name will be present, but the
 19842  // value will be replaced with "sensitive".
 19843  func (s ThrottlingException) GoString() string {
 19844  	return s.String()
 19845  }
 19846  
 19847  func newErrorThrottlingException(v protocol.ResponseMetadata) error {
 19848  	return &ThrottlingException{
 19849  		RespMetadata: v,
 19850  	}
 19851  }
 19852  
 19853  // Code returns the exception type name.
 19854  func (s *ThrottlingException) Code() string {
 19855  	return "ThrottlingException"
 19856  }
 19857  
 19858  // Message returns the exception's message.
 19859  func (s *ThrottlingException) Message() string {
 19860  	if s.Message_ != nil {
 19861  		return *s.Message_
 19862  	}
 19863  	return ""
 19864  }
 19865  
 19866  // OrigErr always returns nil, satisfies awserr.Error interface.
 19867  func (s *ThrottlingException) OrigErr() error {
 19868  	return nil
 19869  }
 19870  
 19871  func (s *ThrottlingException) Error() string {
 19872  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 19873  }
 19874  
 19875  // Status code returns the HTTP status code for the request's response error.
 19876  func (s *ThrottlingException) StatusCode() int {
 19877  	return s.RespMetadata.StatusCode
 19878  }
 19879  
 19880  // RequestID returns the service's response RequestID for request.
 19881  func (s *ThrottlingException) RequestID() string {
 19882  	return s.RespMetadata.RequestID
 19883  }
 19884  
 19885  // A configuration that shifts traffic from one version of a Lambda function
 19886  // or ECS task set to another in two increments. The original and target Lambda
 19887  // function versions or ECS task sets are specified in the deployment's AppSpec
 19888  // file.
 19889  type TimeBasedCanary struct {
 19890  	_ struct{} `type:"structure"`
 19891  
 19892  	// The number of minutes between the first and second traffic shifts of a TimeBasedCanary
 19893  	// deployment.
 19894  	CanaryInterval *int64 `locationName:"canaryInterval" type:"integer"`
 19895  
 19896  	// The percentage of traffic to shift in the first increment of a TimeBasedCanary
 19897  	// deployment.
 19898  	CanaryPercentage *int64 `locationName:"canaryPercentage" type:"integer"`
 19899  }
 19900  
 19901  // String returns the string representation.
 19902  //
 19903  // API parameter values that are decorated as "sensitive" in the API will not
 19904  // be included in the string output. The member name will be present, but the
 19905  // value will be replaced with "sensitive".
 19906  func (s TimeBasedCanary) String() string {
 19907  	return awsutil.Prettify(s)
 19908  }
 19909  
 19910  // GoString returns the string representation.
 19911  //
 19912  // API parameter values that are decorated as "sensitive" in the API will not
 19913  // be included in the string output. The member name will be present, but the
 19914  // value will be replaced with "sensitive".
 19915  func (s TimeBasedCanary) GoString() string {
 19916  	return s.String()
 19917  }
 19918  
 19919  // SetCanaryInterval sets the CanaryInterval field's value.
 19920  func (s *TimeBasedCanary) SetCanaryInterval(v int64) *TimeBasedCanary {
 19921  	s.CanaryInterval = &v
 19922  	return s
 19923  }
 19924  
 19925  // SetCanaryPercentage sets the CanaryPercentage field's value.
 19926  func (s *TimeBasedCanary) SetCanaryPercentage(v int64) *TimeBasedCanary {
 19927  	s.CanaryPercentage = &v
 19928  	return s
 19929  }
 19930  
 19931  // A configuration that shifts traffic from one version of a Lambda function
 19932  // or ECS task set to another in equal increments, with an equal number of minutes
 19933  // between each increment. The original and target Lambda function versions
 19934  // or ECS task sets are specified in the deployment's AppSpec file.
 19935  type TimeBasedLinear struct {
 19936  	_ struct{} `type:"structure"`
 19937  
 19938  	// The number of minutes between each incremental traffic shift of a TimeBasedLinear
 19939  	// deployment.
 19940  	LinearInterval *int64 `locationName:"linearInterval" type:"integer"`
 19941  
 19942  	// The percentage of traffic that is shifted at the start of each increment
 19943  	// of a TimeBasedLinear deployment.
 19944  	LinearPercentage *int64 `locationName:"linearPercentage" type:"integer"`
 19945  }
 19946  
 19947  // String returns the string representation.
 19948  //
 19949  // API parameter values that are decorated as "sensitive" in the API will not
 19950  // be included in the string output. The member name will be present, but the
 19951  // value will be replaced with "sensitive".
 19952  func (s TimeBasedLinear) String() string {
 19953  	return awsutil.Prettify(s)
 19954  }
 19955  
 19956  // GoString returns the string representation.
 19957  //
 19958  // API parameter values that are decorated as "sensitive" in the API will not
 19959  // be included in the string output. The member name will be present, but the
 19960  // value will be replaced with "sensitive".
 19961  func (s TimeBasedLinear) GoString() string {
 19962  	return s.String()
 19963  }
 19964  
 19965  // SetLinearInterval sets the LinearInterval field's value.
 19966  func (s *TimeBasedLinear) SetLinearInterval(v int64) *TimeBasedLinear {
 19967  	s.LinearInterval = &v
 19968  	return s
 19969  }
 19970  
 19971  // SetLinearPercentage sets the LinearPercentage field's value.
 19972  func (s *TimeBasedLinear) SetLinearPercentage(v int64) *TimeBasedLinear {
 19973  	s.LinearPercentage = &v
 19974  	return s
 19975  }
 19976  
 19977  // Information about a time range.
 19978  type TimeRange struct {
 19979  	_ struct{} `type:"structure"`
 19980  
 19981  	// The end time of the time range.
 19982  	//
 19983  	// Specify null to leave the end time open-ended.
 19984  	End *time.Time `locationName:"end" type:"timestamp"`
 19985  
 19986  	// The start time of the time range.
 19987  	//
 19988  	// Specify null to leave the start time open-ended.
 19989  	Start *time.Time `locationName:"start" type:"timestamp"`
 19990  }
 19991  
 19992  // String returns the string representation.
 19993  //
 19994  // API parameter values that are decorated as "sensitive" in the API will not
 19995  // be included in the string output. The member name will be present, but the
 19996  // value will be replaced with "sensitive".
 19997  func (s TimeRange) String() string {
 19998  	return awsutil.Prettify(s)
 19999  }
 20000  
 20001  // GoString returns the string representation.
 20002  //
 20003  // API parameter values that are decorated as "sensitive" in the API will not
 20004  // be included in the string output. The member name will be present, but the
 20005  // value will be replaced with "sensitive".
 20006  func (s TimeRange) GoString() string {
 20007  	return s.String()
 20008  }
 20009  
 20010  // SetEnd sets the End field's value.
 20011  func (s *TimeRange) SetEnd(v time.Time) *TimeRange {
 20012  	s.End = &v
 20013  	return s
 20014  }
 20015  
 20016  // SetStart sets the Start field's value.
 20017  func (s *TimeRange) SetStart(v time.Time) *TimeRange {
 20018  	s.Start = &v
 20019  	return s
 20020  }
 20021  
 20022  // Information about a listener. The listener contains the path used to route
 20023  // traffic that is received from the load balancer to a target group.
 20024  type TrafficRoute struct {
 20025  	_ struct{} `type:"structure"`
 20026  
 20027  	// The Amazon Resource Name (ARN) of one listener. The listener identifies the
 20028  	// route between a target group and a load balancer. This is an array of strings
 20029  	// with a maximum size of one.
 20030  	ListenerArns []*string `locationName:"listenerArns" type:"list"`
 20031  }
 20032  
 20033  // String returns the string representation.
 20034  //
 20035  // API parameter values that are decorated as "sensitive" in the API will not
 20036  // be included in the string output. The member name will be present, but the
 20037  // value will be replaced with "sensitive".
 20038  func (s TrafficRoute) String() string {
 20039  	return awsutil.Prettify(s)
 20040  }
 20041  
 20042  // GoString returns the string representation.
 20043  //
 20044  // API parameter values that are decorated as "sensitive" in the API will not
 20045  // be included in the string output. The member name will be present, but the
 20046  // value will be replaced with "sensitive".
 20047  func (s TrafficRoute) GoString() string {
 20048  	return s.String()
 20049  }
 20050  
 20051  // SetListenerArns sets the ListenerArns field's value.
 20052  func (s *TrafficRoute) SetListenerArns(v []*string) *TrafficRoute {
 20053  	s.ListenerArns = v
 20054  	return s
 20055  }
 20056  
 20057  // The configuration that specifies how traffic is shifted from one version
 20058  // of a Lambda function to another version during an AWS Lambda deployment,
 20059  // or from one Amazon ECS task set to another during an Amazon ECS deployment.
 20060  type TrafficRoutingConfig struct {
 20061  	_ struct{} `type:"structure"`
 20062  
 20063  	// A configuration that shifts traffic from one version of a Lambda function
 20064  	// or ECS task set to another in two increments. The original and target Lambda
 20065  	// function versions or ECS task sets are specified in the deployment's AppSpec
 20066  	// file.
 20067  	TimeBasedCanary *TimeBasedCanary `locationName:"timeBasedCanary" type:"structure"`
 20068  
 20069  	// A configuration that shifts traffic from one version of a Lambda function
 20070  	// or ECS task set to another in equal increments, with an equal number of minutes
 20071  	// between each increment. The original and target Lambda function versions
 20072  	// or ECS task sets are specified in the deployment's AppSpec file.
 20073  	TimeBasedLinear *TimeBasedLinear `locationName:"timeBasedLinear" type:"structure"`
 20074  
 20075  	// The type of traffic shifting (TimeBasedCanary or TimeBasedLinear) used by
 20076  	// a deployment configuration.
 20077  	Type *string `locationName:"type" type:"string" enum:"TrafficRoutingType"`
 20078  }
 20079  
 20080  // String returns the string representation.
 20081  //
 20082  // API parameter values that are decorated as "sensitive" in the API will not
 20083  // be included in the string output. The member name will be present, but the
 20084  // value will be replaced with "sensitive".
 20085  func (s TrafficRoutingConfig) String() string {
 20086  	return awsutil.Prettify(s)
 20087  }
 20088  
 20089  // GoString returns the string representation.
 20090  //
 20091  // API parameter values that are decorated as "sensitive" in the API will not
 20092  // be included in the string output. The member name will be present, but the
 20093  // value will be replaced with "sensitive".
 20094  func (s TrafficRoutingConfig) GoString() string {
 20095  	return s.String()
 20096  }
 20097  
 20098  // SetTimeBasedCanary sets the TimeBasedCanary field's value.
 20099  func (s *TrafficRoutingConfig) SetTimeBasedCanary(v *TimeBasedCanary) *TrafficRoutingConfig {
 20100  	s.TimeBasedCanary = v
 20101  	return s
 20102  }
 20103  
 20104  // SetTimeBasedLinear sets the TimeBasedLinear field's value.
 20105  func (s *TrafficRoutingConfig) SetTimeBasedLinear(v *TimeBasedLinear) *TrafficRoutingConfig {
 20106  	s.TimeBasedLinear = v
 20107  	return s
 20108  }
 20109  
 20110  // SetType sets the Type field's value.
 20111  func (s *TrafficRoutingConfig) SetType(v string) *TrafficRoutingConfig {
 20112  	s.Type = &v
 20113  	return s
 20114  }
 20115  
 20116  // Information about notification triggers for the deployment group.
 20117  type TriggerConfig struct {
 20118  	_ struct{} `type:"structure"`
 20119  
 20120  	// The event type or types for which notifications are triggered.
 20121  	TriggerEvents []*string `locationName:"triggerEvents" type:"list"`
 20122  
 20123  	// The name of the notification trigger.
 20124  	TriggerName *string `locationName:"triggerName" type:"string"`
 20125  
 20126  	// The Amazon Resource Name (ARN) of the Amazon Simple Notification Service
 20127  	// topic through which notifications about deployment or instance events are
 20128  	// sent.
 20129  	TriggerTargetArn *string `locationName:"triggerTargetArn" type:"string"`
 20130  }
 20131  
 20132  // String returns the string representation.
 20133  //
 20134  // API parameter values that are decorated as "sensitive" in the API will not
 20135  // be included in the string output. The member name will be present, but the
 20136  // value will be replaced with "sensitive".
 20137  func (s TriggerConfig) String() string {
 20138  	return awsutil.Prettify(s)
 20139  }
 20140  
 20141  // GoString returns the string representation.
 20142  //
 20143  // API parameter values that are decorated as "sensitive" in the API will not
 20144  // be included in the string output. The member name will be present, but the
 20145  // value will be replaced with "sensitive".
 20146  func (s TriggerConfig) GoString() string {
 20147  	return s.String()
 20148  }
 20149  
 20150  // SetTriggerEvents sets the TriggerEvents field's value.
 20151  func (s *TriggerConfig) SetTriggerEvents(v []*string) *TriggerConfig {
 20152  	s.TriggerEvents = v
 20153  	return s
 20154  }
 20155  
 20156  // SetTriggerName sets the TriggerName field's value.
 20157  func (s *TriggerConfig) SetTriggerName(v string) *TriggerConfig {
 20158  	s.TriggerName = &v
 20159  	return s
 20160  }
 20161  
 20162  // SetTriggerTargetArn sets the TriggerTargetArn field's value.
 20163  func (s *TriggerConfig) SetTriggerTargetArn(v string) *TriggerConfig {
 20164  	s.TriggerTargetArn = &v
 20165  	return s
 20166  }
 20167  
 20168  // The maximum allowed number of triggers was exceeded.
 20169  type TriggerTargetsLimitExceededException struct {
 20170  	_            struct{}                  `type:"structure"`
 20171  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 20172  
 20173  	Message_ *string `locationName:"message" type:"string"`
 20174  }
 20175  
 20176  // String returns the string representation.
 20177  //
 20178  // API parameter values that are decorated as "sensitive" in the API will not
 20179  // be included in the string output. The member name will be present, but the
 20180  // value will be replaced with "sensitive".
 20181  func (s TriggerTargetsLimitExceededException) String() string {
 20182  	return awsutil.Prettify(s)
 20183  }
 20184  
 20185  // GoString returns the string representation.
 20186  //
 20187  // API parameter values that are decorated as "sensitive" in the API will not
 20188  // be included in the string output. The member name will be present, but the
 20189  // value will be replaced with "sensitive".
 20190  func (s TriggerTargetsLimitExceededException) GoString() string {
 20191  	return s.String()
 20192  }
 20193  
 20194  func newErrorTriggerTargetsLimitExceededException(v protocol.ResponseMetadata) error {
 20195  	return &TriggerTargetsLimitExceededException{
 20196  		RespMetadata: v,
 20197  	}
 20198  }
 20199  
 20200  // Code returns the exception type name.
 20201  func (s *TriggerTargetsLimitExceededException) Code() string {
 20202  	return "TriggerTargetsLimitExceededException"
 20203  }
 20204  
 20205  // Message returns the exception's message.
 20206  func (s *TriggerTargetsLimitExceededException) Message() string {
 20207  	if s.Message_ != nil {
 20208  		return *s.Message_
 20209  	}
 20210  	return ""
 20211  }
 20212  
 20213  // OrigErr always returns nil, satisfies awserr.Error interface.
 20214  func (s *TriggerTargetsLimitExceededException) OrigErr() error {
 20215  	return nil
 20216  }
 20217  
 20218  func (s *TriggerTargetsLimitExceededException) Error() string {
 20219  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 20220  }
 20221  
 20222  // Status code returns the HTTP status code for the request's response error.
 20223  func (s *TriggerTargetsLimitExceededException) StatusCode() int {
 20224  	return s.RespMetadata.StatusCode
 20225  }
 20226  
 20227  // RequestID returns the service's response RequestID for request.
 20228  func (s *TriggerTargetsLimitExceededException) RequestID() string {
 20229  	return s.RespMetadata.RequestID
 20230  }
 20231  
 20232  // A call was submitted that is not supported for the specified deployment type.
 20233  type UnsupportedActionForDeploymentTypeException struct {
 20234  	_            struct{}                  `type:"structure"`
 20235  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 20236  
 20237  	Message_ *string `locationName:"message" type:"string"`
 20238  }
 20239  
 20240  // String returns the string representation.
 20241  //
 20242  // API parameter values that are decorated as "sensitive" in the API will not
 20243  // be included in the string output. The member name will be present, but the
 20244  // value will be replaced with "sensitive".
 20245  func (s UnsupportedActionForDeploymentTypeException) String() string {
 20246  	return awsutil.Prettify(s)
 20247  }
 20248  
 20249  // GoString returns the string representation.
 20250  //
 20251  // API parameter values that are decorated as "sensitive" in the API will not
 20252  // be included in the string output. The member name will be present, but the
 20253  // value will be replaced with "sensitive".
 20254  func (s UnsupportedActionForDeploymentTypeException) GoString() string {
 20255  	return s.String()
 20256  }
 20257  
 20258  func newErrorUnsupportedActionForDeploymentTypeException(v protocol.ResponseMetadata) error {
 20259  	return &UnsupportedActionForDeploymentTypeException{
 20260  		RespMetadata: v,
 20261  	}
 20262  }
 20263  
 20264  // Code returns the exception type name.
 20265  func (s *UnsupportedActionForDeploymentTypeException) Code() string {
 20266  	return "UnsupportedActionForDeploymentTypeException"
 20267  }
 20268  
 20269  // Message returns the exception's message.
 20270  func (s *UnsupportedActionForDeploymentTypeException) Message() string {
 20271  	if s.Message_ != nil {
 20272  		return *s.Message_
 20273  	}
 20274  	return ""
 20275  }
 20276  
 20277  // OrigErr always returns nil, satisfies awserr.Error interface.
 20278  func (s *UnsupportedActionForDeploymentTypeException) OrigErr() error {
 20279  	return nil
 20280  }
 20281  
 20282  func (s *UnsupportedActionForDeploymentTypeException) Error() string {
 20283  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 20284  }
 20285  
 20286  // Status code returns the HTTP status code for the request's response error.
 20287  func (s *UnsupportedActionForDeploymentTypeException) StatusCode() int {
 20288  	return s.RespMetadata.StatusCode
 20289  }
 20290  
 20291  // RequestID returns the service's response RequestID for request.
 20292  func (s *UnsupportedActionForDeploymentTypeException) RequestID() string {
 20293  	return s.RespMetadata.RequestID
 20294  }
 20295  
 20296  type UntagResourceInput struct {
 20297  	_ struct{} `type:"structure"`
 20298  
 20299  	// The Amazon Resource Name (ARN) that specifies from which resource to disassociate
 20300  	// the tags with the keys in the TagKeys input parameter.
 20301  	//
 20302  	// ResourceArn is a required field
 20303  	ResourceArn *string `min:"1" type:"string" required:"true"`
 20304  
 20305  	// A list of keys of Tag objects. The Tag objects identified by the keys are
 20306  	// disassociated from the resource specified by the ResourceArn input parameter.
 20307  	//
 20308  	// TagKeys is a required field
 20309  	TagKeys []*string `type:"list" required:"true"`
 20310  }
 20311  
 20312  // String returns the string representation.
 20313  //
 20314  // API parameter values that are decorated as "sensitive" in the API will not
 20315  // be included in the string output. The member name will be present, but the
 20316  // value will be replaced with "sensitive".
 20317  func (s UntagResourceInput) String() string {
 20318  	return awsutil.Prettify(s)
 20319  }
 20320  
 20321  // GoString returns the string representation.
 20322  //
 20323  // API parameter values that are decorated as "sensitive" in the API will not
 20324  // be included in the string output. The member name will be present, but the
 20325  // value will be replaced with "sensitive".
 20326  func (s UntagResourceInput) GoString() string {
 20327  	return s.String()
 20328  }
 20329  
 20330  // Validate inspects the fields of the type to determine if they are valid.
 20331  func (s *UntagResourceInput) Validate() error {
 20332  	invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"}
 20333  	if s.ResourceArn == nil {
 20334  		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
 20335  	}
 20336  	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
 20337  		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
 20338  	}
 20339  	if s.TagKeys == nil {
 20340  		invalidParams.Add(request.NewErrParamRequired("TagKeys"))
 20341  	}
 20342  
 20343  	if invalidParams.Len() > 0 {
 20344  		return invalidParams
 20345  	}
 20346  	return nil
 20347  }
 20348  
 20349  // SetResourceArn sets the ResourceArn field's value.
 20350  func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput {
 20351  	s.ResourceArn = &v
 20352  	return s
 20353  }
 20354  
 20355  // SetTagKeys sets the TagKeys field's value.
 20356  func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput {
 20357  	s.TagKeys = v
 20358  	return s
 20359  }
 20360  
 20361  type UntagResourceOutput struct {
 20362  	_ struct{} `type:"structure"`
 20363  }
 20364  
 20365  // String returns the string representation.
 20366  //
 20367  // API parameter values that are decorated as "sensitive" in the API will not
 20368  // be included in the string output. The member name will be present, but the
 20369  // value will be replaced with "sensitive".
 20370  func (s UntagResourceOutput) String() string {
 20371  	return awsutil.Prettify(s)
 20372  }
 20373  
 20374  // GoString returns the string representation.
 20375  //
 20376  // API parameter values that are decorated as "sensitive" in the API will not
 20377  // be included in the string output. The member name will be present, but the
 20378  // value will be replaced with "sensitive".
 20379  func (s UntagResourceOutput) GoString() string {
 20380  	return s.String()
 20381  }
 20382  
 20383  // Represents the input of an UpdateApplication operation.
 20384  type UpdateApplicationInput struct {
 20385  	_ struct{} `type:"structure"`
 20386  
 20387  	// The current name of the application you want to change.
 20388  	ApplicationName *string `locationName:"applicationName" min:"1" type:"string"`
 20389  
 20390  	// The new name to give the application.
 20391  	NewApplicationName *string `locationName:"newApplicationName" min:"1" type:"string"`
 20392  }
 20393  
 20394  // String returns the string representation.
 20395  //
 20396  // API parameter values that are decorated as "sensitive" in the API will not
 20397  // be included in the string output. The member name will be present, but the
 20398  // value will be replaced with "sensitive".
 20399  func (s UpdateApplicationInput) String() string {
 20400  	return awsutil.Prettify(s)
 20401  }
 20402  
 20403  // GoString returns the string representation.
 20404  //
 20405  // API parameter values that are decorated as "sensitive" in the API will not
 20406  // be included in the string output. The member name will be present, but the
 20407  // value will be replaced with "sensitive".
 20408  func (s UpdateApplicationInput) GoString() string {
 20409  	return s.String()
 20410  }
 20411  
 20412  // Validate inspects the fields of the type to determine if they are valid.
 20413  func (s *UpdateApplicationInput) Validate() error {
 20414  	invalidParams := request.ErrInvalidParams{Context: "UpdateApplicationInput"}
 20415  	if s.ApplicationName != nil && len(*s.ApplicationName) < 1 {
 20416  		invalidParams.Add(request.NewErrParamMinLen("ApplicationName", 1))
 20417  	}
 20418  	if s.NewApplicationName != nil && len(*s.NewApplicationName) < 1 {
 20419  		invalidParams.Add(request.NewErrParamMinLen("NewApplicationName", 1))
 20420  	}
 20421  
 20422  	if invalidParams.Len() > 0 {
 20423  		return invalidParams
 20424  	}
 20425  	return nil
 20426  }
 20427  
 20428  // SetApplicationName sets the ApplicationName field's value.
 20429  func (s *UpdateApplicationInput) SetApplicationName(v string) *UpdateApplicationInput {
 20430  	s.ApplicationName = &v
 20431  	return s
 20432  }
 20433  
 20434  // SetNewApplicationName sets the NewApplicationName field's value.
 20435  func (s *UpdateApplicationInput) SetNewApplicationName(v string) *UpdateApplicationInput {
 20436  	s.NewApplicationName = &v
 20437  	return s
 20438  }
 20439  
 20440  type UpdateApplicationOutput struct {
 20441  	_ struct{} `type:"structure"`
 20442  }
 20443  
 20444  // String returns the string representation.
 20445  //
 20446  // API parameter values that are decorated as "sensitive" in the API will not
 20447  // be included in the string output. The member name will be present, but the
 20448  // value will be replaced with "sensitive".
 20449  func (s UpdateApplicationOutput) String() string {
 20450  	return awsutil.Prettify(s)
 20451  }
 20452  
 20453  // GoString returns the string representation.
 20454  //
 20455  // API parameter values that are decorated as "sensitive" in the API will not
 20456  // be included in the string output. The member name will be present, but the
 20457  // value will be replaced with "sensitive".
 20458  func (s UpdateApplicationOutput) GoString() string {
 20459  	return s.String()
 20460  }
 20461  
 20462  // Represents the input of an UpdateDeploymentGroup operation.
 20463  type UpdateDeploymentGroupInput struct {
 20464  	_ struct{} `type:"structure"`
 20465  
 20466  	// Information to add or change about Amazon CloudWatch alarms when the deployment
 20467  	// group is updated.
 20468  	AlarmConfiguration *AlarmConfiguration `locationName:"alarmConfiguration" type:"structure"`
 20469  
 20470  	// The application name that corresponds to the deployment group to update.
 20471  	//
 20472  	// ApplicationName is a required field
 20473  	ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`
 20474  
 20475  	// Information for an automatic rollback configuration that is added or changed
 20476  	// when a deployment group is updated.
 20477  	AutoRollbackConfiguration *AutoRollbackConfiguration `locationName:"autoRollbackConfiguration" type:"structure"`
 20478  
 20479  	// The replacement list of Auto Scaling groups to be included in the deployment
 20480  	// group, if you want to change them. To keep the Auto Scaling groups, enter
 20481  	// their names. To remove Auto Scaling groups, do not enter any Auto Scaling
 20482  	// group names.
 20483  	AutoScalingGroups []*string `locationName:"autoScalingGroups" type:"list"`
 20484  
 20485  	// Information about blue/green deployment options for a deployment group.
 20486  	BlueGreenDeploymentConfiguration *BlueGreenDeploymentConfiguration `locationName:"blueGreenDeploymentConfiguration" type:"structure"`
 20487  
 20488  	// The current name of the deployment group.
 20489  	//
 20490  	// CurrentDeploymentGroupName is a required field
 20491  	CurrentDeploymentGroupName *string `locationName:"currentDeploymentGroupName" min:"1" type:"string" required:"true"`
 20492  
 20493  	// The replacement deployment configuration name to use, if you want to change
 20494  	// it.
 20495  	DeploymentConfigName *string `locationName:"deploymentConfigName" min:"1" type:"string"`
 20496  
 20497  	// Information about the type of deployment, either in-place or blue/green,
 20498  	// you want to run and whether to route deployment traffic behind a load balancer.
 20499  	DeploymentStyle *DeploymentStyle `locationName:"deploymentStyle" type:"structure"`
 20500  
 20501  	// The replacement set of Amazon EC2 tags on which to filter, if you want to
 20502  	// change them. To keep the existing tags, enter their names. To remove tags,
 20503  	// do not enter any tag names.
 20504  	Ec2TagFilters []*EC2TagFilter `locationName:"ec2TagFilters" type:"list"`
 20505  
 20506  	// Information about groups of tags applied to on-premises instances. The deployment
 20507  	// group includes only EC2 instances identified by all the tag groups.
 20508  	Ec2TagSet *EC2TagSet `locationName:"ec2TagSet" type:"structure"`
 20509  
 20510  	// The target Amazon ECS services in the deployment group. This applies only
 20511  	// to deployment groups that use the Amazon ECS compute platform. A target Amazon
 20512  	// ECS service is specified as an Amazon ECS cluster and service name pair using
 20513  	// the format <clustername>:<servicename>.
 20514  	EcsServices []*ECSService `locationName:"ecsServices" type:"list"`
 20515  
 20516  	// Information about the load balancer used in a deployment.
 20517  	LoadBalancerInfo *LoadBalancerInfo `locationName:"loadBalancerInfo" type:"structure"`
 20518  
 20519  	// The new name of the deployment group, if you want to change it.
 20520  	NewDeploymentGroupName *string `locationName:"newDeploymentGroupName" min:"1" type:"string"`
 20521  
 20522  	// The replacement set of on-premises instance tags on which to filter, if you
 20523  	// want to change them. To keep the existing tags, enter their names. To remove
 20524  	// tags, do not enter any tag names.
 20525  	OnPremisesInstanceTagFilters []*TagFilter `locationName:"onPremisesInstanceTagFilters" type:"list"`
 20526  
 20527  	// Information about an on-premises instance tag set. The deployment group includes
 20528  	// only on-premises instances identified by all the tag groups.
 20529  	OnPremisesTagSet *OnPremisesTagSet `locationName:"onPremisesTagSet" type:"structure"`
 20530  
 20531  	// Indicates what happens when new EC2 instances are launched mid-deployment
 20532  	// and do not receive the deployed application revision.
 20533  	//
 20534  	// If this option is set to UPDATE or is unspecified, CodeDeploy initiates one
 20535  	// or more 'auto-update outdated instances' deployments to apply the deployed
 20536  	// application revision to the new EC2 instances.
 20537  	//
 20538  	// If this option is set to IGNORE, CodeDeploy does not initiate a deployment
 20539  	// to update the new EC2 instances. This may result in instances having different
 20540  	// revisions.
 20541  	OutdatedInstancesStrategy *string `locationName:"outdatedInstancesStrategy" type:"string" enum:"OutdatedInstancesStrategy"`
 20542  
 20543  	// A replacement ARN for the service role, if you want to change it.
 20544  	ServiceRoleArn *string `locationName:"serviceRoleArn" type:"string"`
 20545  
 20546  	// Information about triggers to change when the deployment group is updated.
 20547  	// For examples, see Edit a Trigger in a CodeDeploy Deployment Group (https://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-notify-edit.html)
 20548  	// in the AWS CodeDeploy User Guide.
 20549  	TriggerConfigurations []*TriggerConfig `locationName:"triggerConfigurations" type:"list"`
 20550  }
 20551  
 20552  // String returns the string representation.
 20553  //
 20554  // API parameter values that are decorated as "sensitive" in the API will not
 20555  // be included in the string output. The member name will be present, but the
 20556  // value will be replaced with "sensitive".
 20557  func (s UpdateDeploymentGroupInput) String() string {
 20558  	return awsutil.Prettify(s)
 20559  }
 20560  
 20561  // GoString returns the string representation.
 20562  //
 20563  // API parameter values that are decorated as "sensitive" in the API will not
 20564  // be included in the string output. The member name will be present, but the
 20565  // value will be replaced with "sensitive".
 20566  func (s UpdateDeploymentGroupInput) GoString() string {
 20567  	return s.String()
 20568  }
 20569  
 20570  // Validate inspects the fields of the type to determine if they are valid.
 20571  func (s *UpdateDeploymentGroupInput) Validate() error {
 20572  	invalidParams := request.ErrInvalidParams{Context: "UpdateDeploymentGroupInput"}
 20573  	if s.ApplicationName == nil {
 20574  		invalidParams.Add(request.NewErrParamRequired("ApplicationName"))
 20575  	}
 20576  	if s.ApplicationName != nil && len(*s.ApplicationName) < 1 {
 20577  		invalidParams.Add(request.NewErrParamMinLen("ApplicationName", 1))
 20578  	}
 20579  	if s.CurrentDeploymentGroupName == nil {
 20580  		invalidParams.Add(request.NewErrParamRequired("CurrentDeploymentGroupName"))
 20581  	}
 20582  	if s.CurrentDeploymentGroupName != nil && len(*s.CurrentDeploymentGroupName) < 1 {
 20583  		invalidParams.Add(request.NewErrParamMinLen("CurrentDeploymentGroupName", 1))
 20584  	}
 20585  	if s.DeploymentConfigName != nil && len(*s.DeploymentConfigName) < 1 {
 20586  		invalidParams.Add(request.NewErrParamMinLen("DeploymentConfigName", 1))
 20587  	}
 20588  	if s.NewDeploymentGroupName != nil && len(*s.NewDeploymentGroupName) < 1 {
 20589  		invalidParams.Add(request.NewErrParamMinLen("NewDeploymentGroupName", 1))
 20590  	}
 20591  
 20592  	if invalidParams.Len() > 0 {
 20593  		return invalidParams
 20594  	}
 20595  	return nil
 20596  }
 20597  
 20598  // SetAlarmConfiguration sets the AlarmConfiguration field's value.
 20599  func (s *UpdateDeploymentGroupInput) SetAlarmConfiguration(v *AlarmConfiguration) *UpdateDeploymentGroupInput {
 20600  	s.AlarmConfiguration = v
 20601  	return s
 20602  }
 20603  
 20604  // SetApplicationName sets the ApplicationName field's value.
 20605  func (s *UpdateDeploymentGroupInput) SetApplicationName(v string) *UpdateDeploymentGroupInput {
 20606  	s.ApplicationName = &v
 20607  	return s
 20608  }
 20609  
 20610  // SetAutoRollbackConfiguration sets the AutoRollbackConfiguration field's value.
 20611  func (s *UpdateDeploymentGroupInput) SetAutoRollbackConfiguration(v *AutoRollbackConfiguration) *UpdateDeploymentGroupInput {
 20612  	s.AutoRollbackConfiguration = v
 20613  	return s
 20614  }
 20615  
 20616  // SetAutoScalingGroups sets the AutoScalingGroups field's value.
 20617  func (s *UpdateDeploymentGroupInput) SetAutoScalingGroups(v []*string) *UpdateDeploymentGroupInput {
 20618  	s.AutoScalingGroups = v
 20619  	return s
 20620  }
 20621  
 20622  // SetBlueGreenDeploymentConfiguration sets the BlueGreenDeploymentConfiguration field's value.
 20623  func (s *UpdateDeploymentGroupInput) SetBlueGreenDeploymentConfiguration(v *BlueGreenDeploymentConfiguration) *UpdateDeploymentGroupInput {
 20624  	s.BlueGreenDeploymentConfiguration = v
 20625  	return s
 20626  }
 20627  
 20628  // SetCurrentDeploymentGroupName sets the CurrentDeploymentGroupName field's value.
 20629  func (s *UpdateDeploymentGroupInput) SetCurrentDeploymentGroupName(v string) *UpdateDeploymentGroupInput {
 20630  	s.CurrentDeploymentGroupName = &v
 20631  	return s
 20632  }
 20633  
 20634  // SetDeploymentConfigName sets the DeploymentConfigName field's value.
 20635  func (s *UpdateDeploymentGroupInput) SetDeploymentConfigName(v string) *UpdateDeploymentGroupInput {
 20636  	s.DeploymentConfigName = &v
 20637  	return s
 20638  }
 20639  
 20640  // SetDeploymentStyle sets the DeploymentStyle field's value.
 20641  func (s *UpdateDeploymentGroupInput) SetDeploymentStyle(v *DeploymentStyle) *UpdateDeploymentGroupInput {
 20642  	s.DeploymentStyle = v
 20643  	return s
 20644  }
 20645  
 20646  // SetEc2TagFilters sets the Ec2TagFilters field's value.
 20647  func (s *UpdateDeploymentGroupInput) SetEc2TagFilters(v []*EC2TagFilter) *UpdateDeploymentGroupInput {
 20648  	s.Ec2TagFilters = v
 20649  	return s
 20650  }
 20651  
 20652  // SetEc2TagSet sets the Ec2TagSet field's value.
 20653  func (s *UpdateDeploymentGroupInput) SetEc2TagSet(v *EC2TagSet) *UpdateDeploymentGroupInput {
 20654  	s.Ec2TagSet = v
 20655  	return s
 20656  }
 20657  
 20658  // SetEcsServices sets the EcsServices field's value.
 20659  func (s *UpdateDeploymentGroupInput) SetEcsServices(v []*ECSService) *UpdateDeploymentGroupInput {
 20660  	s.EcsServices = v
 20661  	return s
 20662  }
 20663  
 20664  // SetLoadBalancerInfo sets the LoadBalancerInfo field's value.
 20665  func (s *UpdateDeploymentGroupInput) SetLoadBalancerInfo(v *LoadBalancerInfo) *UpdateDeploymentGroupInput {
 20666  	s.LoadBalancerInfo = v
 20667  	return s
 20668  }
 20669  
 20670  // SetNewDeploymentGroupName sets the NewDeploymentGroupName field's value.
 20671  func (s *UpdateDeploymentGroupInput) SetNewDeploymentGroupName(v string) *UpdateDeploymentGroupInput {
 20672  	s.NewDeploymentGroupName = &v
 20673  	return s
 20674  }
 20675  
 20676  // SetOnPremisesInstanceTagFilters sets the OnPremisesInstanceTagFilters field's value.
 20677  func (s *UpdateDeploymentGroupInput) SetOnPremisesInstanceTagFilters(v []*TagFilter) *UpdateDeploymentGroupInput {
 20678  	s.OnPremisesInstanceTagFilters = v
 20679  	return s
 20680  }
 20681  
 20682  // SetOnPremisesTagSet sets the OnPremisesTagSet field's value.
 20683  func (s *UpdateDeploymentGroupInput) SetOnPremisesTagSet(v *OnPremisesTagSet) *UpdateDeploymentGroupInput {
 20684  	s.OnPremisesTagSet = v
 20685  	return s
 20686  }
 20687  
 20688  // SetOutdatedInstancesStrategy sets the OutdatedInstancesStrategy field's value.
 20689  func (s *UpdateDeploymentGroupInput) SetOutdatedInstancesStrategy(v string) *UpdateDeploymentGroupInput {
 20690  	s.OutdatedInstancesStrategy = &v
 20691  	return s
 20692  }
 20693  
 20694  // SetServiceRoleArn sets the ServiceRoleArn field's value.
 20695  func (s *UpdateDeploymentGroupInput) SetServiceRoleArn(v string) *UpdateDeploymentGroupInput {
 20696  	s.ServiceRoleArn = &v
 20697  	return s
 20698  }
 20699  
 20700  // SetTriggerConfigurations sets the TriggerConfigurations field's value.
 20701  func (s *UpdateDeploymentGroupInput) SetTriggerConfigurations(v []*TriggerConfig) *UpdateDeploymentGroupInput {
 20702  	s.TriggerConfigurations = v
 20703  	return s
 20704  }
 20705  
 20706  // Represents the output of an UpdateDeploymentGroup operation.
 20707  type UpdateDeploymentGroupOutput struct {
 20708  	_ struct{} `type:"structure"`
 20709  
 20710  	// If the output contains no data, and the corresponding deployment group contained
 20711  	// at least one Auto Scaling group, AWS CodeDeploy successfully removed all
 20712  	// corresponding Auto Scaling lifecycle event hooks from the AWS account. If
 20713  	// the output contains data, AWS CodeDeploy could not remove some Auto Scaling
 20714  	// lifecycle event hooks from the AWS account.
 20715  	HooksNotCleanedUp []*AutoScalingGroup `locationName:"hooksNotCleanedUp" type:"list"`
 20716  }
 20717  
 20718  // String returns the string representation.
 20719  //
 20720  // API parameter values that are decorated as "sensitive" in the API will not
 20721  // be included in the string output. The member name will be present, but the
 20722  // value will be replaced with "sensitive".
 20723  func (s UpdateDeploymentGroupOutput) String() string {
 20724  	return awsutil.Prettify(s)
 20725  }
 20726  
 20727  // GoString returns the string representation.
 20728  //
 20729  // API parameter values that are decorated as "sensitive" in the API will not
 20730  // be included in the string output. The member name will be present, but the
 20731  // value will be replaced with "sensitive".
 20732  func (s UpdateDeploymentGroupOutput) GoString() string {
 20733  	return s.String()
 20734  }
 20735  
 20736  // SetHooksNotCleanedUp sets the HooksNotCleanedUp field's value.
 20737  func (s *UpdateDeploymentGroupOutput) SetHooksNotCleanedUp(v []*AutoScalingGroup) *UpdateDeploymentGroupOutput {
 20738  	s.HooksNotCleanedUp = v
 20739  	return s
 20740  }
 20741  
 20742  const (
 20743  	// ApplicationRevisionSortByRegisterTime is a ApplicationRevisionSortBy enum value
 20744  	ApplicationRevisionSortByRegisterTime = "registerTime"
 20745  
 20746  	// ApplicationRevisionSortByFirstUsedTime is a ApplicationRevisionSortBy enum value
 20747  	ApplicationRevisionSortByFirstUsedTime = "firstUsedTime"
 20748  
 20749  	// ApplicationRevisionSortByLastUsedTime is a ApplicationRevisionSortBy enum value
 20750  	ApplicationRevisionSortByLastUsedTime = "lastUsedTime"
 20751  )
 20752  
 20753  // ApplicationRevisionSortBy_Values returns all elements of the ApplicationRevisionSortBy enum
 20754  func ApplicationRevisionSortBy_Values() []string {
 20755  	return []string{
 20756  		ApplicationRevisionSortByRegisterTime,
 20757  		ApplicationRevisionSortByFirstUsedTime,
 20758  		ApplicationRevisionSortByLastUsedTime,
 20759  	}
 20760  }
 20761  
 20762  const (
 20763  	// AutoRollbackEventDeploymentFailure is a AutoRollbackEvent enum value
 20764  	AutoRollbackEventDeploymentFailure = "DEPLOYMENT_FAILURE"
 20765  
 20766  	// AutoRollbackEventDeploymentStopOnAlarm is a AutoRollbackEvent enum value
 20767  	AutoRollbackEventDeploymentStopOnAlarm = "DEPLOYMENT_STOP_ON_ALARM"
 20768  
 20769  	// AutoRollbackEventDeploymentStopOnRequest is a AutoRollbackEvent enum value
 20770  	AutoRollbackEventDeploymentStopOnRequest = "DEPLOYMENT_STOP_ON_REQUEST"
 20771  )
 20772  
 20773  // AutoRollbackEvent_Values returns all elements of the AutoRollbackEvent enum
 20774  func AutoRollbackEvent_Values() []string {
 20775  	return []string{
 20776  		AutoRollbackEventDeploymentFailure,
 20777  		AutoRollbackEventDeploymentStopOnAlarm,
 20778  		AutoRollbackEventDeploymentStopOnRequest,
 20779  	}
 20780  }
 20781  
 20782  const (
 20783  	// BundleTypeTar is a BundleType enum value
 20784  	BundleTypeTar = "tar"
 20785  
 20786  	// BundleTypeTgz is a BundleType enum value
 20787  	BundleTypeTgz = "tgz"
 20788  
 20789  	// BundleTypeZip is a BundleType enum value
 20790  	BundleTypeZip = "zip"
 20791  
 20792  	// BundleTypeYaml is a BundleType enum value
 20793  	BundleTypeYaml = "YAML"
 20794  
 20795  	// BundleTypeJson is a BundleType enum value
 20796  	BundleTypeJson = "JSON"
 20797  )
 20798  
 20799  // BundleType_Values returns all elements of the BundleType enum
 20800  func BundleType_Values() []string {
 20801  	return []string{
 20802  		BundleTypeTar,
 20803  		BundleTypeTgz,
 20804  		BundleTypeZip,
 20805  		BundleTypeYaml,
 20806  		BundleTypeJson,
 20807  	}
 20808  }
 20809  
 20810  const (
 20811  	// ComputePlatformServer is a ComputePlatform enum value
 20812  	ComputePlatformServer = "Server"
 20813  
 20814  	// ComputePlatformLambda is a ComputePlatform enum value
 20815  	ComputePlatformLambda = "Lambda"
 20816  
 20817  	// ComputePlatformEcs is a ComputePlatform enum value
 20818  	ComputePlatformEcs = "ECS"
 20819  )
 20820  
 20821  // ComputePlatform_Values returns all elements of the ComputePlatform enum
 20822  func ComputePlatform_Values() []string {
 20823  	return []string{
 20824  		ComputePlatformServer,
 20825  		ComputePlatformLambda,
 20826  		ComputePlatformEcs,
 20827  	}
 20828  }
 20829  
 20830  const (
 20831  	// DeploymentCreatorUser is a DeploymentCreator enum value
 20832  	DeploymentCreatorUser = "user"
 20833  
 20834  	// DeploymentCreatorAutoscaling is a DeploymentCreator enum value
 20835  	DeploymentCreatorAutoscaling = "autoscaling"
 20836  
 20837  	// DeploymentCreatorCodeDeployRollback is a DeploymentCreator enum value
 20838  	DeploymentCreatorCodeDeployRollback = "codeDeployRollback"
 20839  
 20840  	// DeploymentCreatorCodeDeploy is a DeploymentCreator enum value
 20841  	DeploymentCreatorCodeDeploy = "CodeDeploy"
 20842  
 20843  	// DeploymentCreatorCodeDeployAutoUpdate is a DeploymentCreator enum value
 20844  	DeploymentCreatorCodeDeployAutoUpdate = "CodeDeployAutoUpdate"
 20845  
 20846  	// DeploymentCreatorCloudFormation is a DeploymentCreator enum value
 20847  	DeploymentCreatorCloudFormation = "CloudFormation"
 20848  
 20849  	// DeploymentCreatorCloudFormationRollback is a DeploymentCreator enum value
 20850  	DeploymentCreatorCloudFormationRollback = "CloudFormationRollback"
 20851  )
 20852  
 20853  // DeploymentCreator_Values returns all elements of the DeploymentCreator enum
 20854  func DeploymentCreator_Values() []string {
 20855  	return []string{
 20856  		DeploymentCreatorUser,
 20857  		DeploymentCreatorAutoscaling,
 20858  		DeploymentCreatorCodeDeployRollback,
 20859  		DeploymentCreatorCodeDeploy,
 20860  		DeploymentCreatorCodeDeployAutoUpdate,
 20861  		DeploymentCreatorCloudFormation,
 20862  		DeploymentCreatorCloudFormationRollback,
 20863  	}
 20864  }
 20865  
 20866  const (
 20867  	// DeploymentOptionWithTrafficControl is a DeploymentOption enum value
 20868  	DeploymentOptionWithTrafficControl = "WITH_TRAFFIC_CONTROL"
 20869  
 20870  	// DeploymentOptionWithoutTrafficControl is a DeploymentOption enum value
 20871  	DeploymentOptionWithoutTrafficControl = "WITHOUT_TRAFFIC_CONTROL"
 20872  )
 20873  
 20874  // DeploymentOption_Values returns all elements of the DeploymentOption enum
 20875  func DeploymentOption_Values() []string {
 20876  	return []string{
 20877  		DeploymentOptionWithTrafficControl,
 20878  		DeploymentOptionWithoutTrafficControl,
 20879  	}
 20880  }
 20881  
 20882  const (
 20883  	// DeploymentReadyActionContinueDeployment is a DeploymentReadyAction enum value
 20884  	DeploymentReadyActionContinueDeployment = "CONTINUE_DEPLOYMENT"
 20885  
 20886  	// DeploymentReadyActionStopDeployment is a DeploymentReadyAction enum value
 20887  	DeploymentReadyActionStopDeployment = "STOP_DEPLOYMENT"
 20888  )
 20889  
 20890  // DeploymentReadyAction_Values returns all elements of the DeploymentReadyAction enum
 20891  func DeploymentReadyAction_Values() []string {
 20892  	return []string{
 20893  		DeploymentReadyActionContinueDeployment,
 20894  		DeploymentReadyActionStopDeployment,
 20895  	}
 20896  }
 20897  
 20898  const (
 20899  	// DeploymentStatusCreated is a DeploymentStatus enum value
 20900  	DeploymentStatusCreated = "Created"
 20901  
 20902  	// DeploymentStatusQueued is a DeploymentStatus enum value
 20903  	DeploymentStatusQueued = "Queued"
 20904  
 20905  	// DeploymentStatusInProgress is a DeploymentStatus enum value
 20906  	DeploymentStatusInProgress = "InProgress"
 20907  
 20908  	// DeploymentStatusBaking is a DeploymentStatus enum value
 20909  	DeploymentStatusBaking = "Baking"
 20910  
 20911  	// DeploymentStatusSucceeded is a DeploymentStatus enum value
 20912  	DeploymentStatusSucceeded = "Succeeded"
 20913  
 20914  	// DeploymentStatusFailed is a DeploymentStatus enum value
 20915  	DeploymentStatusFailed = "Failed"
 20916  
 20917  	// DeploymentStatusStopped is a DeploymentStatus enum value
 20918  	DeploymentStatusStopped = "Stopped"
 20919  
 20920  	// DeploymentStatusReady is a DeploymentStatus enum value
 20921  	DeploymentStatusReady = "Ready"
 20922  )
 20923  
 20924  // DeploymentStatus_Values returns all elements of the DeploymentStatus enum
 20925  func DeploymentStatus_Values() []string {
 20926  	return []string{
 20927  		DeploymentStatusCreated,
 20928  		DeploymentStatusQueued,
 20929  		DeploymentStatusInProgress,
 20930  		DeploymentStatusBaking,
 20931  		DeploymentStatusSucceeded,
 20932  		DeploymentStatusFailed,
 20933  		DeploymentStatusStopped,
 20934  		DeploymentStatusReady,
 20935  	}
 20936  }
 20937  
 20938  const (
 20939  	// DeploymentTargetTypeInstanceTarget is a DeploymentTargetType enum value
 20940  	DeploymentTargetTypeInstanceTarget = "InstanceTarget"
 20941  
 20942  	// DeploymentTargetTypeLambdaTarget is a DeploymentTargetType enum value
 20943  	DeploymentTargetTypeLambdaTarget = "LambdaTarget"
 20944  
 20945  	// DeploymentTargetTypeEcstarget is a DeploymentTargetType enum value
 20946  	DeploymentTargetTypeEcstarget = "ECSTarget"
 20947  
 20948  	// DeploymentTargetTypeCloudFormationTarget is a DeploymentTargetType enum value
 20949  	DeploymentTargetTypeCloudFormationTarget = "CloudFormationTarget"
 20950  )
 20951  
 20952  // DeploymentTargetType_Values returns all elements of the DeploymentTargetType enum
 20953  func DeploymentTargetType_Values() []string {
 20954  	return []string{
 20955  		DeploymentTargetTypeInstanceTarget,
 20956  		DeploymentTargetTypeLambdaTarget,
 20957  		DeploymentTargetTypeEcstarget,
 20958  		DeploymentTargetTypeCloudFormationTarget,
 20959  	}
 20960  }
 20961  
 20962  const (
 20963  	// DeploymentTypeInPlace is a DeploymentType enum value
 20964  	DeploymentTypeInPlace = "IN_PLACE"
 20965  
 20966  	// DeploymentTypeBlueGreen is a DeploymentType enum value
 20967  	DeploymentTypeBlueGreen = "BLUE_GREEN"
 20968  )
 20969  
 20970  // DeploymentType_Values returns all elements of the DeploymentType enum
 20971  func DeploymentType_Values() []string {
 20972  	return []string{
 20973  		DeploymentTypeInPlace,
 20974  		DeploymentTypeBlueGreen,
 20975  	}
 20976  }
 20977  
 20978  const (
 20979  	// DeploymentWaitTypeReadyWait is a DeploymentWaitType enum value
 20980  	DeploymentWaitTypeReadyWait = "READY_WAIT"
 20981  
 20982  	// DeploymentWaitTypeTerminationWait is a DeploymentWaitType enum value
 20983  	DeploymentWaitTypeTerminationWait = "TERMINATION_WAIT"
 20984  )
 20985  
 20986  // DeploymentWaitType_Values returns all elements of the DeploymentWaitType enum
 20987  func DeploymentWaitType_Values() []string {
 20988  	return []string{
 20989  		DeploymentWaitTypeReadyWait,
 20990  		DeploymentWaitTypeTerminationWait,
 20991  	}
 20992  }
 20993  
 20994  const (
 20995  	// EC2TagFilterTypeKeyOnly is a EC2TagFilterType enum value
 20996  	EC2TagFilterTypeKeyOnly = "KEY_ONLY"
 20997  
 20998  	// EC2TagFilterTypeValueOnly is a EC2TagFilterType enum value
 20999  	EC2TagFilterTypeValueOnly = "VALUE_ONLY"
 21000  
 21001  	// EC2TagFilterTypeKeyAndValue is a EC2TagFilterType enum value
 21002  	EC2TagFilterTypeKeyAndValue = "KEY_AND_VALUE"
 21003  )
 21004  
 21005  // EC2TagFilterType_Values returns all elements of the EC2TagFilterType enum
 21006  func EC2TagFilterType_Values() []string {
 21007  	return []string{
 21008  		EC2TagFilterTypeKeyOnly,
 21009  		EC2TagFilterTypeValueOnly,
 21010  		EC2TagFilterTypeKeyAndValue,
 21011  	}
 21012  }
 21013  
 21014  const (
 21015  	// ErrorCodeAgentIssue is a ErrorCode enum value
 21016  	ErrorCodeAgentIssue = "AGENT_ISSUE"
 21017  
 21018  	// ErrorCodeAlarmActive is a ErrorCode enum value
 21019  	ErrorCodeAlarmActive = "ALARM_ACTIVE"
 21020  
 21021  	// ErrorCodeApplicationMissing is a ErrorCode enum value
 21022  	ErrorCodeApplicationMissing = "APPLICATION_MISSING"
 21023  
 21024  	// ErrorCodeAutoscalingValidationError is a ErrorCode enum value
 21025  	ErrorCodeAutoscalingValidationError = "AUTOSCALING_VALIDATION_ERROR"
 21026  
 21027  	// ErrorCodeAutoScalingConfiguration is a ErrorCode enum value
 21028  	ErrorCodeAutoScalingConfiguration = "AUTO_SCALING_CONFIGURATION"
 21029  
 21030  	// ErrorCodeAutoScalingIamRolePermissions is a ErrorCode enum value
 21031  	ErrorCodeAutoScalingIamRolePermissions = "AUTO_SCALING_IAM_ROLE_PERMISSIONS"
 21032  
 21033  	// ErrorCodeCodedeployResourceCannotBeFound is a ErrorCode enum value
 21034  	ErrorCodeCodedeployResourceCannotBeFound = "CODEDEPLOY_RESOURCE_CANNOT_BE_FOUND"
 21035  
 21036  	// ErrorCodeCustomerApplicationUnhealthy is a ErrorCode enum value
 21037  	ErrorCodeCustomerApplicationUnhealthy = "CUSTOMER_APPLICATION_UNHEALTHY"
 21038  
 21039  	// ErrorCodeDeploymentGroupMissing is a ErrorCode enum value
 21040  	ErrorCodeDeploymentGroupMissing = "DEPLOYMENT_GROUP_MISSING"
 21041  
 21042  	// ErrorCodeEcsUpdateError is a ErrorCode enum value
 21043  	ErrorCodeEcsUpdateError = "ECS_UPDATE_ERROR"
 21044  
 21045  	// ErrorCodeElasticLoadBalancingInvalid is a ErrorCode enum value
 21046  	ErrorCodeElasticLoadBalancingInvalid = "ELASTIC_LOAD_BALANCING_INVALID"
 21047  
 21048  	// ErrorCodeElbInvalidInstance is a ErrorCode enum value
 21049  	ErrorCodeElbInvalidInstance = "ELB_INVALID_INSTANCE"
 21050  
 21051  	// ErrorCodeHealthConstraints is a ErrorCode enum value
 21052  	ErrorCodeHealthConstraints = "HEALTH_CONSTRAINTS"
 21053  
 21054  	// ErrorCodeHealthConstraintsInvalid is a ErrorCode enum value
 21055  	ErrorCodeHealthConstraintsInvalid = "HEALTH_CONSTRAINTS_INVALID"
 21056  
 21057  	// ErrorCodeHookExecutionFailure is a ErrorCode enum value
 21058  	ErrorCodeHookExecutionFailure = "HOOK_EXECUTION_FAILURE"
 21059  
 21060  	// ErrorCodeIamRoleMissing is a ErrorCode enum value
 21061  	ErrorCodeIamRoleMissing = "IAM_ROLE_MISSING"
 21062  
 21063  	// ErrorCodeIamRolePermissions is a ErrorCode enum value
 21064  	ErrorCodeIamRolePermissions = "IAM_ROLE_PERMISSIONS"
 21065  
 21066  	// ErrorCodeInternalError is a ErrorCode enum value
 21067  	ErrorCodeInternalError = "INTERNAL_ERROR"
 21068  
 21069  	// ErrorCodeInvalidEcsService is a ErrorCode enum value
 21070  	ErrorCodeInvalidEcsService = "INVALID_ECS_SERVICE"
 21071  
 21072  	// ErrorCodeInvalidLambdaConfiguration is a ErrorCode enum value
 21073  	ErrorCodeInvalidLambdaConfiguration = "INVALID_LAMBDA_CONFIGURATION"
 21074  
 21075  	// ErrorCodeInvalidLambdaFunction is a ErrorCode enum value
 21076  	ErrorCodeInvalidLambdaFunction = "INVALID_LAMBDA_FUNCTION"
 21077  
 21078  	// ErrorCodeInvalidRevision is a ErrorCode enum value
 21079  	ErrorCodeInvalidRevision = "INVALID_REVISION"
 21080  
 21081  	// ErrorCodeManualStop is a ErrorCode enum value
 21082  	ErrorCodeManualStop = "MANUAL_STOP"
 21083  
 21084  	// ErrorCodeMissingBlueGreenDeploymentConfiguration is a ErrorCode enum value
 21085  	ErrorCodeMissingBlueGreenDeploymentConfiguration = "MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION"
 21086  
 21087  	// ErrorCodeMissingElbInformation is a ErrorCode enum value
 21088  	ErrorCodeMissingElbInformation = "MISSING_ELB_INFORMATION"
 21089  
 21090  	// ErrorCodeMissingGithubToken is a ErrorCode enum value
 21091  	ErrorCodeMissingGithubToken = "MISSING_GITHUB_TOKEN"
 21092  
 21093  	// ErrorCodeNoEc2Subscription is a ErrorCode enum value
 21094  	ErrorCodeNoEc2Subscription = "NO_EC2_SUBSCRIPTION"
 21095  
 21096  	// ErrorCodeNoInstances is a ErrorCode enum value
 21097  	ErrorCodeNoInstances = "NO_INSTANCES"
 21098  
 21099  	// ErrorCodeOverMaxInstances is a ErrorCode enum value
 21100  	ErrorCodeOverMaxInstances = "OVER_MAX_INSTANCES"
 21101  
 21102  	// ErrorCodeResourceLimitExceeded is a ErrorCode enum value
 21103  	ErrorCodeResourceLimitExceeded = "RESOURCE_LIMIT_EXCEEDED"
 21104  
 21105  	// ErrorCodeRevisionMissing is a ErrorCode enum value
 21106  	ErrorCodeRevisionMissing = "REVISION_MISSING"
 21107  
 21108  	// ErrorCodeThrottled is a ErrorCode enum value
 21109  	ErrorCodeThrottled = "THROTTLED"
 21110  
 21111  	// ErrorCodeTimeout is a ErrorCode enum value
 21112  	ErrorCodeTimeout = "TIMEOUT"
 21113  
 21114  	// ErrorCodeCloudformationStackFailure is a ErrorCode enum value
 21115  	ErrorCodeCloudformationStackFailure = "CLOUDFORMATION_STACK_FAILURE"
 21116  )
 21117  
 21118  // ErrorCode_Values returns all elements of the ErrorCode enum
 21119  func ErrorCode_Values() []string {
 21120  	return []string{
 21121  		ErrorCodeAgentIssue,
 21122  		ErrorCodeAlarmActive,
 21123  		ErrorCodeApplicationMissing,
 21124  		ErrorCodeAutoscalingValidationError,
 21125  		ErrorCodeAutoScalingConfiguration,
 21126  		ErrorCodeAutoScalingIamRolePermissions,
 21127  		ErrorCodeCodedeployResourceCannotBeFound,
 21128  		ErrorCodeCustomerApplicationUnhealthy,
 21129  		ErrorCodeDeploymentGroupMissing,
 21130  		ErrorCodeEcsUpdateError,
 21131  		ErrorCodeElasticLoadBalancingInvalid,
 21132  		ErrorCodeElbInvalidInstance,
 21133  		ErrorCodeHealthConstraints,
 21134  		ErrorCodeHealthConstraintsInvalid,
 21135  		ErrorCodeHookExecutionFailure,
 21136  		ErrorCodeIamRoleMissing,
 21137  		ErrorCodeIamRolePermissions,
 21138  		ErrorCodeInternalError,
 21139  		ErrorCodeInvalidEcsService,
 21140  		ErrorCodeInvalidLambdaConfiguration,
 21141  		ErrorCodeInvalidLambdaFunction,
 21142  		ErrorCodeInvalidRevision,
 21143  		ErrorCodeManualStop,
 21144  		ErrorCodeMissingBlueGreenDeploymentConfiguration,
 21145  		ErrorCodeMissingElbInformation,
 21146  		ErrorCodeMissingGithubToken,
 21147  		ErrorCodeNoEc2Subscription,
 21148  		ErrorCodeNoInstances,
 21149  		ErrorCodeOverMaxInstances,
 21150  		ErrorCodeResourceLimitExceeded,
 21151  		ErrorCodeRevisionMissing,
 21152  		ErrorCodeThrottled,
 21153  		ErrorCodeTimeout,
 21154  		ErrorCodeCloudformationStackFailure,
 21155  	}
 21156  }
 21157  
 21158  const (
 21159  	// FileExistsBehaviorDisallow is a FileExistsBehavior enum value
 21160  	FileExistsBehaviorDisallow = "DISALLOW"
 21161  
 21162  	// FileExistsBehaviorOverwrite is a FileExistsBehavior enum value
 21163  	FileExistsBehaviorOverwrite = "OVERWRITE"
 21164  
 21165  	// FileExistsBehaviorRetain is a FileExistsBehavior enum value
 21166  	FileExistsBehaviorRetain = "RETAIN"
 21167  )
 21168  
 21169  // FileExistsBehavior_Values returns all elements of the FileExistsBehavior enum
 21170  func FileExistsBehavior_Values() []string {
 21171  	return []string{
 21172  		FileExistsBehaviorDisallow,
 21173  		FileExistsBehaviorOverwrite,
 21174  		FileExistsBehaviorRetain,
 21175  	}
 21176  }
 21177  
 21178  const (
 21179  	// GreenFleetProvisioningActionDiscoverExisting is a GreenFleetProvisioningAction enum value
 21180  	GreenFleetProvisioningActionDiscoverExisting = "DISCOVER_EXISTING"
 21181  
 21182  	// GreenFleetProvisioningActionCopyAutoScalingGroup is a GreenFleetProvisioningAction enum value
 21183  	GreenFleetProvisioningActionCopyAutoScalingGroup = "COPY_AUTO_SCALING_GROUP"
 21184  )
 21185  
 21186  // GreenFleetProvisioningAction_Values returns all elements of the GreenFleetProvisioningAction enum
 21187  func GreenFleetProvisioningAction_Values() []string {
 21188  	return []string{
 21189  		GreenFleetProvisioningActionDiscoverExisting,
 21190  		GreenFleetProvisioningActionCopyAutoScalingGroup,
 21191  	}
 21192  }
 21193  
 21194  const (
 21195  	// InstanceActionTerminate is a InstanceAction enum value
 21196  	InstanceActionTerminate = "TERMINATE"
 21197  
 21198  	// InstanceActionKeepAlive is a InstanceAction enum value
 21199  	InstanceActionKeepAlive = "KEEP_ALIVE"
 21200  )
 21201  
 21202  // InstanceAction_Values returns all elements of the InstanceAction enum
 21203  func InstanceAction_Values() []string {
 21204  	return []string{
 21205  		InstanceActionTerminate,
 21206  		InstanceActionKeepAlive,
 21207  	}
 21208  }
 21209  
 21210  const (
 21211  	// InstanceStatusPending is a InstanceStatus enum value
 21212  	InstanceStatusPending = "Pending"
 21213  
 21214  	// InstanceStatusInProgress is a InstanceStatus enum value
 21215  	InstanceStatusInProgress = "InProgress"
 21216  
 21217  	// InstanceStatusSucceeded is a InstanceStatus enum value
 21218  	InstanceStatusSucceeded = "Succeeded"
 21219  
 21220  	// InstanceStatusFailed is a InstanceStatus enum value
 21221  	InstanceStatusFailed = "Failed"
 21222  
 21223  	// InstanceStatusSkipped is a InstanceStatus enum value
 21224  	InstanceStatusSkipped = "Skipped"
 21225  
 21226  	// InstanceStatusUnknown is a InstanceStatus enum value
 21227  	InstanceStatusUnknown = "Unknown"
 21228  
 21229  	// InstanceStatusReady is a InstanceStatus enum value
 21230  	InstanceStatusReady = "Ready"
 21231  )
 21232  
 21233  // InstanceStatus_Values returns all elements of the InstanceStatus enum
 21234  func InstanceStatus_Values() []string {
 21235  	return []string{
 21236  		InstanceStatusPending,
 21237  		InstanceStatusInProgress,
 21238  		InstanceStatusSucceeded,
 21239  		InstanceStatusFailed,
 21240  		InstanceStatusSkipped,
 21241  		InstanceStatusUnknown,
 21242  		InstanceStatusReady,
 21243  	}
 21244  }
 21245  
 21246  const (
 21247  	// InstanceTypeBlue is a InstanceType enum value
 21248  	InstanceTypeBlue = "Blue"
 21249  
 21250  	// InstanceTypeGreen is a InstanceType enum value
 21251  	InstanceTypeGreen = "Green"
 21252  )
 21253  
 21254  // InstanceType_Values returns all elements of the InstanceType enum
 21255  func InstanceType_Values() []string {
 21256  	return []string{
 21257  		InstanceTypeBlue,
 21258  		InstanceTypeGreen,
 21259  	}
 21260  }
 21261  
 21262  const (
 21263  	// LifecycleErrorCodeSuccess is a LifecycleErrorCode enum value
 21264  	LifecycleErrorCodeSuccess = "Success"
 21265  
 21266  	// LifecycleErrorCodeScriptMissing is a LifecycleErrorCode enum value
 21267  	LifecycleErrorCodeScriptMissing = "ScriptMissing"
 21268  
 21269  	// LifecycleErrorCodeScriptNotExecutable is a LifecycleErrorCode enum value
 21270  	LifecycleErrorCodeScriptNotExecutable = "ScriptNotExecutable"
 21271  
 21272  	// LifecycleErrorCodeScriptTimedOut is a LifecycleErrorCode enum value
 21273  	LifecycleErrorCodeScriptTimedOut = "ScriptTimedOut"
 21274  
 21275  	// LifecycleErrorCodeScriptFailed is a LifecycleErrorCode enum value
 21276  	LifecycleErrorCodeScriptFailed = "ScriptFailed"
 21277  
 21278  	// LifecycleErrorCodeUnknownError is a LifecycleErrorCode enum value
 21279  	LifecycleErrorCodeUnknownError = "UnknownError"
 21280  )
 21281  
 21282  // LifecycleErrorCode_Values returns all elements of the LifecycleErrorCode enum
 21283  func LifecycleErrorCode_Values() []string {
 21284  	return []string{
 21285  		LifecycleErrorCodeSuccess,
 21286  		LifecycleErrorCodeScriptMissing,
 21287  		LifecycleErrorCodeScriptNotExecutable,
 21288  		LifecycleErrorCodeScriptTimedOut,
 21289  		LifecycleErrorCodeScriptFailed,
 21290  		LifecycleErrorCodeUnknownError,
 21291  	}
 21292  }
 21293  
 21294  const (
 21295  	// LifecycleEventStatusPending is a LifecycleEventStatus enum value
 21296  	LifecycleEventStatusPending = "Pending"
 21297  
 21298  	// LifecycleEventStatusInProgress is a LifecycleEventStatus enum value
 21299  	LifecycleEventStatusInProgress = "InProgress"
 21300  
 21301  	// LifecycleEventStatusSucceeded is a LifecycleEventStatus enum value
 21302  	LifecycleEventStatusSucceeded = "Succeeded"
 21303  
 21304  	// LifecycleEventStatusFailed is a LifecycleEventStatus enum value
 21305  	LifecycleEventStatusFailed = "Failed"
 21306  
 21307  	// LifecycleEventStatusSkipped is a LifecycleEventStatus enum value
 21308  	LifecycleEventStatusSkipped = "Skipped"
 21309  
 21310  	// LifecycleEventStatusUnknown is a LifecycleEventStatus enum value
 21311  	LifecycleEventStatusUnknown = "Unknown"
 21312  )
 21313  
 21314  // LifecycleEventStatus_Values returns all elements of the LifecycleEventStatus enum
 21315  func LifecycleEventStatus_Values() []string {
 21316  	return []string{
 21317  		LifecycleEventStatusPending,
 21318  		LifecycleEventStatusInProgress,
 21319  		LifecycleEventStatusSucceeded,
 21320  		LifecycleEventStatusFailed,
 21321  		LifecycleEventStatusSkipped,
 21322  		LifecycleEventStatusUnknown,
 21323  	}
 21324  }
 21325  
 21326  const (
 21327  	// ListStateFilterActionInclude is a ListStateFilterAction enum value
 21328  	ListStateFilterActionInclude = "include"
 21329  
 21330  	// ListStateFilterActionExclude is a ListStateFilterAction enum value
 21331  	ListStateFilterActionExclude = "exclude"
 21332  
 21333  	// ListStateFilterActionIgnore is a ListStateFilterAction enum value
 21334  	ListStateFilterActionIgnore = "ignore"
 21335  )
 21336  
 21337  // ListStateFilterAction_Values returns all elements of the ListStateFilterAction enum
 21338  func ListStateFilterAction_Values() []string {
 21339  	return []string{
 21340  		ListStateFilterActionInclude,
 21341  		ListStateFilterActionExclude,
 21342  		ListStateFilterActionIgnore,
 21343  	}
 21344  }
 21345  
 21346  const (
 21347  	// MinimumHealthyHostsTypeHostCount is a MinimumHealthyHostsType enum value
 21348  	MinimumHealthyHostsTypeHostCount = "HOST_COUNT"
 21349  
 21350  	// MinimumHealthyHostsTypeFleetPercent is a MinimumHealthyHostsType enum value
 21351  	MinimumHealthyHostsTypeFleetPercent = "FLEET_PERCENT"
 21352  )
 21353  
 21354  // MinimumHealthyHostsType_Values returns all elements of the MinimumHealthyHostsType enum
 21355  func MinimumHealthyHostsType_Values() []string {
 21356  	return []string{
 21357  		MinimumHealthyHostsTypeHostCount,
 21358  		MinimumHealthyHostsTypeFleetPercent,
 21359  	}
 21360  }
 21361  
 21362  const (
 21363  	// OutdatedInstancesStrategyUpdate is a OutdatedInstancesStrategy enum value
 21364  	OutdatedInstancesStrategyUpdate = "UPDATE"
 21365  
 21366  	// OutdatedInstancesStrategyIgnore is a OutdatedInstancesStrategy enum value
 21367  	OutdatedInstancesStrategyIgnore = "IGNORE"
 21368  )
 21369  
 21370  // OutdatedInstancesStrategy_Values returns all elements of the OutdatedInstancesStrategy enum
 21371  func OutdatedInstancesStrategy_Values() []string {
 21372  	return []string{
 21373  		OutdatedInstancesStrategyUpdate,
 21374  		OutdatedInstancesStrategyIgnore,
 21375  	}
 21376  }
 21377  
 21378  const (
 21379  	// RegistrationStatusRegistered is a RegistrationStatus enum value
 21380  	RegistrationStatusRegistered = "Registered"
 21381  
 21382  	// RegistrationStatusDeregistered is a RegistrationStatus enum value
 21383  	RegistrationStatusDeregistered = "Deregistered"
 21384  )
 21385  
 21386  // RegistrationStatus_Values returns all elements of the RegistrationStatus enum
 21387  func RegistrationStatus_Values() []string {
 21388  	return []string{
 21389  		RegistrationStatusRegistered,
 21390  		RegistrationStatusDeregistered,
 21391  	}
 21392  }
 21393  
 21394  const (
 21395  	// RevisionLocationTypeS3 is a RevisionLocationType enum value
 21396  	RevisionLocationTypeS3 = "S3"
 21397  
 21398  	// RevisionLocationTypeGitHub is a RevisionLocationType enum value
 21399  	RevisionLocationTypeGitHub = "GitHub"
 21400  
 21401  	// RevisionLocationTypeString is a RevisionLocationType enum value
 21402  	RevisionLocationTypeString = "String"
 21403  
 21404  	// RevisionLocationTypeAppSpecContent is a RevisionLocationType enum value
 21405  	RevisionLocationTypeAppSpecContent = "AppSpecContent"
 21406  )
 21407  
 21408  // RevisionLocationType_Values returns all elements of the RevisionLocationType enum
 21409  func RevisionLocationType_Values() []string {
 21410  	return []string{
 21411  		RevisionLocationTypeS3,
 21412  		RevisionLocationTypeGitHub,
 21413  		RevisionLocationTypeString,
 21414  		RevisionLocationTypeAppSpecContent,
 21415  	}
 21416  }
 21417  
 21418  const (
 21419  	// SortOrderAscending is a SortOrder enum value
 21420  	SortOrderAscending = "ascending"
 21421  
 21422  	// SortOrderDescending is a SortOrder enum value
 21423  	SortOrderDescending = "descending"
 21424  )
 21425  
 21426  // SortOrder_Values returns all elements of the SortOrder enum
 21427  func SortOrder_Values() []string {
 21428  	return []string{
 21429  		SortOrderAscending,
 21430  		SortOrderDescending,
 21431  	}
 21432  }
 21433  
 21434  const (
 21435  	// StopStatusPending is a StopStatus enum value
 21436  	StopStatusPending = "Pending"
 21437  
 21438  	// StopStatusSucceeded is a StopStatus enum value
 21439  	StopStatusSucceeded = "Succeeded"
 21440  )
 21441  
 21442  // StopStatus_Values returns all elements of the StopStatus enum
 21443  func StopStatus_Values() []string {
 21444  	return []string{
 21445  		StopStatusPending,
 21446  		StopStatusSucceeded,
 21447  	}
 21448  }
 21449  
 21450  const (
 21451  	// TagFilterTypeKeyOnly is a TagFilterType enum value
 21452  	TagFilterTypeKeyOnly = "KEY_ONLY"
 21453  
 21454  	// TagFilterTypeValueOnly is a TagFilterType enum value
 21455  	TagFilterTypeValueOnly = "VALUE_ONLY"
 21456  
 21457  	// TagFilterTypeKeyAndValue is a TagFilterType enum value
 21458  	TagFilterTypeKeyAndValue = "KEY_AND_VALUE"
 21459  )
 21460  
 21461  // TagFilterType_Values returns all elements of the TagFilterType enum
 21462  func TagFilterType_Values() []string {
 21463  	return []string{
 21464  		TagFilterTypeKeyOnly,
 21465  		TagFilterTypeValueOnly,
 21466  		TagFilterTypeKeyAndValue,
 21467  	}
 21468  }
 21469  
 21470  const (
 21471  	// TargetFilterNameTargetStatus is a TargetFilterName enum value
 21472  	TargetFilterNameTargetStatus = "TargetStatus"
 21473  
 21474  	// TargetFilterNameServerInstanceLabel is a TargetFilterName enum value
 21475  	TargetFilterNameServerInstanceLabel = "ServerInstanceLabel"
 21476  )
 21477  
 21478  // TargetFilterName_Values returns all elements of the TargetFilterName enum
 21479  func TargetFilterName_Values() []string {
 21480  	return []string{
 21481  		TargetFilterNameTargetStatus,
 21482  		TargetFilterNameServerInstanceLabel,
 21483  	}
 21484  }
 21485  
 21486  const (
 21487  	// TargetLabelBlue is a TargetLabel enum value
 21488  	TargetLabelBlue = "Blue"
 21489  
 21490  	// TargetLabelGreen is a TargetLabel enum value
 21491  	TargetLabelGreen = "Green"
 21492  )
 21493  
 21494  // TargetLabel_Values returns all elements of the TargetLabel enum
 21495  func TargetLabel_Values() []string {
 21496  	return []string{
 21497  		TargetLabelBlue,
 21498  		TargetLabelGreen,
 21499  	}
 21500  }
 21501  
 21502  const (
 21503  	// TargetStatusPending is a TargetStatus enum value
 21504  	TargetStatusPending = "Pending"
 21505  
 21506  	// TargetStatusInProgress is a TargetStatus enum value
 21507  	TargetStatusInProgress = "InProgress"
 21508  
 21509  	// TargetStatusSucceeded is a TargetStatus enum value
 21510  	TargetStatusSucceeded = "Succeeded"
 21511  
 21512  	// TargetStatusFailed is a TargetStatus enum value
 21513  	TargetStatusFailed = "Failed"
 21514  
 21515  	// TargetStatusSkipped is a TargetStatus enum value
 21516  	TargetStatusSkipped = "Skipped"
 21517  
 21518  	// TargetStatusUnknown is a TargetStatus enum value
 21519  	TargetStatusUnknown = "Unknown"
 21520  
 21521  	// TargetStatusReady is a TargetStatus enum value
 21522  	TargetStatusReady = "Ready"
 21523  )
 21524  
 21525  // TargetStatus_Values returns all elements of the TargetStatus enum
 21526  func TargetStatus_Values() []string {
 21527  	return []string{
 21528  		TargetStatusPending,
 21529  		TargetStatusInProgress,
 21530  		TargetStatusSucceeded,
 21531  		TargetStatusFailed,
 21532  		TargetStatusSkipped,
 21533  		TargetStatusUnknown,
 21534  		TargetStatusReady,
 21535  	}
 21536  }
 21537  
 21538  const (
 21539  	// TrafficRoutingTypeTimeBasedCanary is a TrafficRoutingType enum value
 21540  	TrafficRoutingTypeTimeBasedCanary = "TimeBasedCanary"
 21541  
 21542  	// TrafficRoutingTypeTimeBasedLinear is a TrafficRoutingType enum value
 21543  	TrafficRoutingTypeTimeBasedLinear = "TimeBasedLinear"
 21544  
 21545  	// TrafficRoutingTypeAllAtOnce is a TrafficRoutingType enum value
 21546  	TrafficRoutingTypeAllAtOnce = "AllAtOnce"
 21547  )
 21548  
 21549  // TrafficRoutingType_Values returns all elements of the TrafficRoutingType enum
 21550  func TrafficRoutingType_Values() []string {
 21551  	return []string{
 21552  		TrafficRoutingTypeTimeBasedCanary,
 21553  		TrafficRoutingTypeTimeBasedLinear,
 21554  		TrafficRoutingTypeAllAtOnce,
 21555  	}
 21556  }
 21557  
 21558  const (
 21559  	// TriggerEventTypeDeploymentStart is a TriggerEventType enum value
 21560  	TriggerEventTypeDeploymentStart = "DeploymentStart"
 21561  
 21562  	// TriggerEventTypeDeploymentSuccess is a TriggerEventType enum value
 21563  	TriggerEventTypeDeploymentSuccess = "DeploymentSuccess"
 21564  
 21565  	// TriggerEventTypeDeploymentFailure is a TriggerEventType enum value
 21566  	TriggerEventTypeDeploymentFailure = "DeploymentFailure"
 21567  
 21568  	// TriggerEventTypeDeploymentStop is a TriggerEventType enum value
 21569  	TriggerEventTypeDeploymentStop = "DeploymentStop"
 21570  
 21571  	// TriggerEventTypeDeploymentRollback is a TriggerEventType enum value
 21572  	TriggerEventTypeDeploymentRollback = "DeploymentRollback"
 21573  
 21574  	// TriggerEventTypeDeploymentReady is a TriggerEventType enum value
 21575  	TriggerEventTypeDeploymentReady = "DeploymentReady"
 21576  
 21577  	// TriggerEventTypeInstanceStart is a TriggerEventType enum value
 21578  	TriggerEventTypeInstanceStart = "InstanceStart"
 21579  
 21580  	// TriggerEventTypeInstanceSuccess is a TriggerEventType enum value
 21581  	TriggerEventTypeInstanceSuccess = "InstanceSuccess"
 21582  
 21583  	// TriggerEventTypeInstanceFailure is a TriggerEventType enum value
 21584  	TriggerEventTypeInstanceFailure = "InstanceFailure"
 21585  
 21586  	// TriggerEventTypeInstanceReady is a TriggerEventType enum value
 21587  	TriggerEventTypeInstanceReady = "InstanceReady"
 21588  )
 21589  
 21590  // TriggerEventType_Values returns all elements of the TriggerEventType enum
 21591  func TriggerEventType_Values() []string {
 21592  	return []string{
 21593  		TriggerEventTypeDeploymentStart,
 21594  		TriggerEventTypeDeploymentSuccess,
 21595  		TriggerEventTypeDeploymentFailure,
 21596  		TriggerEventTypeDeploymentStop,
 21597  		TriggerEventTypeDeploymentRollback,
 21598  		TriggerEventTypeDeploymentReady,
 21599  		TriggerEventTypeInstanceStart,
 21600  		TriggerEventTypeInstanceSuccess,
 21601  		TriggerEventTypeInstanceFailure,
 21602  		TriggerEventTypeInstanceReady,
 21603  	}
 21604  }