Update Go AWS SDK to the latest version

This commit is contained in:
Andrey Smirnov
2019-07-13 00:03:55 +03:00
committed by Andrey Smirnov
parent d08be990ef
commit 94a72b23ff
2183 changed files with 885887 additions and 228114 deletions
+25 -13
View File
@@ -15,7 +15,7 @@ const opCreateProject = "CreateProject"
// CreateProjectRequest generates a "aws/request.Request" representing the
// client's request for the CreateProject operation. The "output" return
// value will be populated with the request's response once the request completes
// successfuly.
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
@@ -119,7 +119,7 @@ const opDeleteProject = "DeleteProject"
// DeleteProjectRequest generates a "aws/request.Request" representing the
// client's request for the DeleteProject operation. The "output" return
// value will be populated with the request's response once the request completes
// successfuly.
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
@@ -213,7 +213,7 @@ const opDescribeBundle = "DescribeBundle"
// DescribeBundleRequest generates a "aws/request.Request" representing the
// client's request for the DescribeBundle operation. The "output" return
// value will be populated with the request's response once the request completes
// successfuly.
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
@@ -311,7 +311,7 @@ const opDescribeProject = "DescribeProject"
// DescribeProjectRequest generates a "aws/request.Request" representing the
// client's request for the DescribeProject operation. The "output" return
// value will be populated with the request's response once the request completes
// successfuly.
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
@@ -409,7 +409,7 @@ const opExportBundle = "ExportBundle"
// ExportBundleRequest generates a "aws/request.Request" representing the
// client's request for the ExportBundle operation. The "output" return
// value will be populated with the request's response once the request completes
// successfuly.
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
@@ -508,7 +508,7 @@ const opExportProject = "ExportProject"
// ExportProjectRequest generates a "aws/request.Request" representing the
// client's request for the ExportProject operation. The "output" return
// value will be populated with the request's response once the request completes
// successfuly.
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
@@ -608,7 +608,7 @@ const opListBundles = "ListBundles"
// ListBundlesRequest generates a "aws/request.Request" representing the
// client's request for the ListBundles operation. The "output" return
// value will be populated with the request's response once the request completes
// successfuly.
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
@@ -715,7 +715,7 @@ func (c *Mobile) ListBundlesWithContext(ctx aws.Context, input *ListBundlesInput
// // Example iterating over at most 3 pages of a ListBundles operation.
// pageNum := 0
// err := client.ListBundlesPages(params,
// func(page *ListBundlesOutput, lastPage bool) bool {
// func(page *mobile.ListBundlesOutput, lastPage bool) bool {
// pageNum++
// fmt.Println(page)
// return pageNum <= 3
@@ -759,7 +759,7 @@ const opListProjects = "ListProjects"
// ListProjectsRequest generates a "aws/request.Request" representing the
// client's request for the ListProjects operation. The "output" return
// value will be populated with the request's response once the request completes
// successfuly.
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
@@ -866,7 +866,7 @@ func (c *Mobile) ListProjectsWithContext(ctx aws.Context, input *ListProjectsInp
// // Example iterating over at most 3 pages of a ListProjects operation.
// pageNum := 0
// err := client.ListProjectsPages(params,
// func(page *ListProjectsOutput, lastPage bool) bool {
// func(page *mobile.ListProjectsOutput, lastPage bool) bool {
// pageNum++
// fmt.Println(page)
// return pageNum <= 3
@@ -910,7 +910,7 @@ const opUpdateProject = "UpdateProject"
// UpdateProjectRequest generates a "aws/request.Request" representing the
// client's request for the UpdateProject operation. The "output" return
// value will be populated with the request's response once the request completes
// successfuly.
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
@@ -1185,6 +1185,9 @@ func (s *DeleteProjectInput) Validate() error {
if s.ProjectId == nil {
invalidParams.Add(request.NewErrParamRequired("ProjectId"))
}
if s.ProjectId != nil && len(*s.ProjectId) < 1 {
invalidParams.Add(request.NewErrParamMinLen("ProjectId", 1))
}
if invalidParams.Len() > 0 {
return invalidParams
@@ -1258,6 +1261,9 @@ func (s *DescribeBundleInput) Validate() error {
if s.BundleId == nil {
invalidParams.Add(request.NewErrParamRequired("BundleId"))
}
if s.BundleId != nil && len(*s.BundleId) < 1 {
invalidParams.Add(request.NewErrParamMinLen("BundleId", 1))
}
if invalidParams.Len() > 0 {
return invalidParams
@@ -1402,6 +1408,9 @@ func (s *ExportBundleInput) Validate() error {
if s.BundleId == nil {
invalidParams.Add(request.NewErrParamRequired("BundleId"))
}
if s.BundleId != nil && len(*s.BundleId) < 1 {
invalidParams.Add(request.NewErrParamMinLen("BundleId", 1))
}
if invalidParams.Len() > 0 {
return invalidParams
@@ -1481,6 +1490,9 @@ func (s *ExportProjectInput) Validate() error {
if s.ProjectId == nil {
invalidParams.Add(request.NewErrParamRequired("ProjectId"))
}
if s.ProjectId != nil && len(*s.ProjectId) < 1 {
invalidParams.Add(request.NewErrParamMinLen("ProjectId", 1))
}
if invalidParams.Len() > 0 {
return invalidParams
@@ -1689,10 +1701,10 @@ type ProjectDetails struct {
ConsoleUrl *string `locationName:"consoleUrl" type:"string"`
// Date the project was created.
CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"unix"`
CreatedDate *time.Time `locationName:"createdDate" type:"timestamp"`
// Date of the last modification of the project.
LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp" timestampFormat:"unix"`
LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp"`
// Name of the project.
Name *string `locationName:"name" type:"string"`