vendor: update all dependencies to latest versions
This commit is contained in:
parent
911d121bb9
commit
b017fcfe9a
3048 changed files with 537057 additions and 189681 deletions
804
vendor/github.com/aws/aws-sdk-go/service/codestar/api.go
generated
vendored
804
vendor/github.com/aws/aws-sdk-go/service/codestar/api.go
generated
vendored
|
@ -14,19 +14,18 @@ const opAssociateTeamMember = "AssociateTeamMember"
|
|||
|
||||
// AssociateTeamMemberRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the AssociateTeamMember operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See AssociateTeamMember for usage and error information.
|
||||
// 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.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the AssociateTeamMember method directly
|
||||
// instead.
|
||||
// See AssociateTeamMember for more information on using the AssociateTeamMember
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the AssociateTeamMemberRequest method.
|
||||
// req, resp := client.AssociateTeamMemberRequest(params)
|
||||
|
@ -113,19 +112,18 @@ const opCreateProject = "CreateProject"
|
|||
|
||||
// CreateProjectRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateProject operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateProject for usage and error information.
|
||||
// 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.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateProject method directly
|
||||
// instead.
|
||||
// See CreateProject for more information on using the CreateProject
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateProjectRequest method.
|
||||
// req, resp := client.CreateProjectRequest(params)
|
||||
|
@ -216,19 +214,18 @@ const opCreateUserProfile = "CreateUserProfile"
|
|||
|
||||
// CreateUserProfileRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateUserProfile operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateUserProfile for usage and error information.
|
||||
// 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.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateUserProfile method directly
|
||||
// instead.
|
||||
// See CreateUserProfile for more information on using the CreateUserProfile
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateUserProfileRequest method.
|
||||
// req, resp := client.CreateUserProfileRequest(params)
|
||||
|
@ -305,19 +302,18 @@ const opDeleteProject = "DeleteProject"
|
|||
|
||||
// DeleteProjectRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteProject operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteProject for usage and error information.
|
||||
// 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.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteProject method directly
|
||||
// instead.
|
||||
// See DeleteProject for more information on using the DeleteProject
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteProjectRequest method.
|
||||
// req, resp := client.DeleteProjectRequest(params)
|
||||
|
@ -394,19 +390,18 @@ const opDeleteUserProfile = "DeleteUserProfile"
|
|||
|
||||
// DeleteUserProfileRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteUserProfile operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteUserProfile for usage and error information.
|
||||
// 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.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteUserProfile method directly
|
||||
// instead.
|
||||
// See DeleteUserProfile for more information on using the DeleteUserProfile
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteUserProfileRequest method.
|
||||
// req, resp := client.DeleteUserProfileRequest(params)
|
||||
|
@ -477,19 +472,18 @@ const opDescribeProject = "DescribeProject"
|
|||
|
||||
// DescribeProjectRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeProject operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeProject for usage and error information.
|
||||
// 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.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeProject method directly
|
||||
// instead.
|
||||
// See DescribeProject for more information on using the DescribeProject
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeProjectRequest method.
|
||||
// req, resp := client.DescribeProjectRequest(params)
|
||||
|
@ -570,19 +564,18 @@ const opDescribeUserProfile = "DescribeUserProfile"
|
|||
|
||||
// DescribeUserProfileRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeUserProfile operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeUserProfile for usage and error information.
|
||||
// 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.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeUserProfile method directly
|
||||
// instead.
|
||||
// See DescribeUserProfile for more information on using the DescribeUserProfile
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeUserProfileRequest method.
|
||||
// req, resp := client.DescribeUserProfileRequest(params)
|
||||
|
@ -653,19 +646,18 @@ const opDisassociateTeamMember = "DisassociateTeamMember"
|
|||
|
||||
// DisassociateTeamMemberRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DisassociateTeamMember operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DisassociateTeamMember for usage and error information.
|
||||
// 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.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DisassociateTeamMember method directly
|
||||
// instead.
|
||||
// See DisassociateTeamMember for more information on using the DisassociateTeamMember
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DisassociateTeamMemberRequest method.
|
||||
// req, resp := client.DisassociateTeamMemberRequest(params)
|
||||
|
@ -746,19 +738,18 @@ const opListProjects = "ListProjects"
|
|||
|
||||
// ListProjectsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListProjects operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListProjects for usage and error information.
|
||||
// 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.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListProjects method directly
|
||||
// instead.
|
||||
// See ListProjects for more information on using the ListProjects
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListProjectsRequest method.
|
||||
// req, resp := client.ListProjectsRequest(params)
|
||||
|
@ -829,19 +820,18 @@ const opListResources = "ListResources"
|
|||
|
||||
// ListResourcesRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListResources operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListResources for usage and error information.
|
||||
// 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.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListResources method directly
|
||||
// instead.
|
||||
// See ListResources for more information on using the ListResources
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListResourcesRequest method.
|
||||
// req, resp := client.ListResourcesRequest(params)
|
||||
|
@ -911,23 +901,107 @@ func (c *CodeStar) ListResourcesWithContext(ctx aws.Context, input *ListResource
|
|||
return out, req.Send()
|
||||
}
|
||||
|
||||
const opListTagsForProject = "ListTagsForProject"
|
||||
|
||||
// ListTagsForProjectRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListTagsForProject operation. The "output" return
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// See ListTagsForProject for more information on using the ListTagsForProject
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
//
|
||||
// // Example sending a request using the ListTagsForProjectRequest method.
|
||||
// req, resp := client.ListTagsForProjectRequest(params)
|
||||
//
|
||||
// err := req.Send()
|
||||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListTagsForProject
|
||||
func (c *CodeStar) ListTagsForProjectRequest(input *ListTagsForProjectInput) (req *request.Request, output *ListTagsForProjectOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opListTagsForProject,
|
||||
HTTPMethod: "POST",
|
||||
HTTPPath: "/",
|
||||
}
|
||||
|
||||
if input == nil {
|
||||
input = &ListTagsForProjectInput{}
|
||||
}
|
||||
|
||||
output = &ListTagsForProjectOutput{}
|
||||
req = c.newRequest(op, input, output)
|
||||
return
|
||||
}
|
||||
|
||||
// ListTagsForProject API operation for AWS CodeStar.
|
||||
//
|
||||
// Gets the tags for a project.
|
||||
//
|
||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||
// with awserr.Error's Code and Message methods to get detailed information about
|
||||
// the error.
|
||||
//
|
||||
// See the AWS API reference guide for AWS CodeStar's
|
||||
// API operation ListTagsForProject for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeProjectNotFoundException "ProjectNotFoundException"
|
||||
// The specified AWS CodeStar project was not found.
|
||||
//
|
||||
// * ErrCodeValidationException "ValidationException"
|
||||
// The specified input is either not valid, or it could not be validated.
|
||||
//
|
||||
// * ErrCodeInvalidNextTokenException "InvalidNextTokenException"
|
||||
// The next token is not valid.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListTagsForProject
|
||||
func (c *CodeStar) ListTagsForProject(input *ListTagsForProjectInput) (*ListTagsForProjectOutput, error) {
|
||||
req, out := c.ListTagsForProjectRequest(input)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
// ListTagsForProjectWithContext is the same as ListTagsForProject with the addition of
|
||||
// the ability to pass a context and additional request options.
|
||||
//
|
||||
// See ListTagsForProject for details on how to use this API operation.
|
||||
//
|
||||
// The context must be non-nil and will be used for request cancellation. If
|
||||
// the context is nil a panic will occur. In the future the SDK may create
|
||||
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
|
||||
// for more information on using Contexts.
|
||||
func (c *CodeStar) ListTagsForProjectWithContext(ctx aws.Context, input *ListTagsForProjectInput, opts ...request.Option) (*ListTagsForProjectOutput, error) {
|
||||
req, out := c.ListTagsForProjectRequest(input)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
const opListTeamMembers = "ListTeamMembers"
|
||||
|
||||
// ListTeamMembersRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListTeamMembers operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListTeamMembers for usage and error information.
|
||||
// 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.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListTeamMembers method directly
|
||||
// instead.
|
||||
// See ListTeamMembers for more information on using the ListTeamMembers
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListTeamMembersRequest method.
|
||||
// req, resp := client.ListTeamMembersRequest(params)
|
||||
|
@ -1001,19 +1075,18 @@ const opListUserProfiles = "ListUserProfiles"
|
|||
|
||||
// ListUserProfilesRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListUserProfiles operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListUserProfiles for usage and error information.
|
||||
// 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.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListUserProfiles method directly
|
||||
// instead.
|
||||
// See ListUserProfiles for more information on using the ListUserProfiles
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListUserProfilesRequest method.
|
||||
// req, resp := client.ListUserProfilesRequest(params)
|
||||
|
@ -1080,23 +1153,200 @@ func (c *CodeStar) ListUserProfilesWithContext(ctx aws.Context, input *ListUserP
|
|||
return out, req.Send()
|
||||
}
|
||||
|
||||
const opTagProject = "TagProject"
|
||||
|
||||
// TagProjectRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the TagProject operation. The "output" return
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// See TagProject for more information on using the TagProject
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
//
|
||||
// // Example sending a request using the TagProjectRequest method.
|
||||
// req, resp := client.TagProjectRequest(params)
|
||||
//
|
||||
// err := req.Send()
|
||||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/TagProject
|
||||
func (c *CodeStar) TagProjectRequest(input *TagProjectInput) (req *request.Request, output *TagProjectOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opTagProject,
|
||||
HTTPMethod: "POST",
|
||||
HTTPPath: "/",
|
||||
}
|
||||
|
||||
if input == nil {
|
||||
input = &TagProjectInput{}
|
||||
}
|
||||
|
||||
output = &TagProjectOutput{}
|
||||
req = c.newRequest(op, input, output)
|
||||
return
|
||||
}
|
||||
|
||||
// TagProject API operation for AWS CodeStar.
|
||||
//
|
||||
// Adds tags to a project.
|
||||
//
|
||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||
// with awserr.Error's Code and Message methods to get detailed information about
|
||||
// the error.
|
||||
//
|
||||
// See the AWS API reference guide for AWS CodeStar's
|
||||
// API operation TagProject for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeProjectNotFoundException "ProjectNotFoundException"
|
||||
// The specified AWS CodeStar project was not found.
|
||||
//
|
||||
// * ErrCodeValidationException "ValidationException"
|
||||
// The specified input is either not valid, or it could not be validated.
|
||||
//
|
||||
// * ErrCodeLimitExceededException "LimitExceededException"
|
||||
// A resource limit has been exceeded.
|
||||
//
|
||||
// * ErrCodeConcurrentModificationException "ConcurrentModificationException"
|
||||
// Another modification is being made. That modification must complete before
|
||||
// you can make your change.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/TagProject
|
||||
func (c *CodeStar) TagProject(input *TagProjectInput) (*TagProjectOutput, error) {
|
||||
req, out := c.TagProjectRequest(input)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
// TagProjectWithContext is the same as TagProject with the addition of
|
||||
// the ability to pass a context and additional request options.
|
||||
//
|
||||
// See TagProject for details on how to use this API operation.
|
||||
//
|
||||
// The context must be non-nil and will be used for request cancellation. If
|
||||
// the context is nil a panic will occur. In the future the SDK may create
|
||||
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
|
||||
// for more information on using Contexts.
|
||||
func (c *CodeStar) TagProjectWithContext(ctx aws.Context, input *TagProjectInput, opts ...request.Option) (*TagProjectOutput, error) {
|
||||
req, out := c.TagProjectRequest(input)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
const opUntagProject = "UntagProject"
|
||||
|
||||
// UntagProjectRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UntagProject operation. The "output" return
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// See UntagProject for more information on using the UntagProject
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
//
|
||||
// // Example sending a request using the UntagProjectRequest method.
|
||||
// req, resp := client.UntagProjectRequest(params)
|
||||
//
|
||||
// err := req.Send()
|
||||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UntagProject
|
||||
func (c *CodeStar) UntagProjectRequest(input *UntagProjectInput) (req *request.Request, output *UntagProjectOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opUntagProject,
|
||||
HTTPMethod: "POST",
|
||||
HTTPPath: "/",
|
||||
}
|
||||
|
||||
if input == nil {
|
||||
input = &UntagProjectInput{}
|
||||
}
|
||||
|
||||
output = &UntagProjectOutput{}
|
||||
req = c.newRequest(op, input, output)
|
||||
return
|
||||
}
|
||||
|
||||
// UntagProject API operation for AWS CodeStar.
|
||||
//
|
||||
// Removes tags from a project.
|
||||
//
|
||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||
// with awserr.Error's Code and Message methods to get detailed information about
|
||||
// the error.
|
||||
//
|
||||
// See the AWS API reference guide for AWS CodeStar's
|
||||
// API operation UntagProject for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeProjectNotFoundException "ProjectNotFoundException"
|
||||
// The specified AWS CodeStar project was not found.
|
||||
//
|
||||
// * ErrCodeValidationException "ValidationException"
|
||||
// The specified input is either not valid, or it could not be validated.
|
||||
//
|
||||
// * ErrCodeLimitExceededException "LimitExceededException"
|
||||
// A resource limit has been exceeded.
|
||||
//
|
||||
// * ErrCodeConcurrentModificationException "ConcurrentModificationException"
|
||||
// Another modification is being made. That modification must complete before
|
||||
// you can make your change.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UntagProject
|
||||
func (c *CodeStar) UntagProject(input *UntagProjectInput) (*UntagProjectOutput, error) {
|
||||
req, out := c.UntagProjectRequest(input)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
// UntagProjectWithContext is the same as UntagProject with the addition of
|
||||
// the ability to pass a context and additional request options.
|
||||
//
|
||||
// See UntagProject for details on how to use this API operation.
|
||||
//
|
||||
// The context must be non-nil and will be used for request cancellation. If
|
||||
// the context is nil a panic will occur. In the future the SDK may create
|
||||
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
|
||||
// for more information on using Contexts.
|
||||
func (c *CodeStar) UntagProjectWithContext(ctx aws.Context, input *UntagProjectInput, opts ...request.Option) (*UntagProjectOutput, error) {
|
||||
req, out := c.UntagProjectRequest(input)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
const opUpdateProject = "UpdateProject"
|
||||
|
||||
// UpdateProjectRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateProject operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See UpdateProject for usage and error information.
|
||||
// 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.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the UpdateProject method directly
|
||||
// instead.
|
||||
// See UpdateProject for more information on using the UpdateProject
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the UpdateProjectRequest method.
|
||||
// req, resp := client.UpdateProjectRequest(params)
|
||||
|
@ -1167,19 +1417,18 @@ const opUpdateTeamMember = "UpdateTeamMember"
|
|||
|
||||
// UpdateTeamMemberRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateTeamMember operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See UpdateTeamMember for usage and error information.
|
||||
// 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.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the UpdateTeamMember method directly
|
||||
// instead.
|
||||
// See UpdateTeamMember for more information on using the UpdateTeamMember
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the UpdateTeamMemberRequest method.
|
||||
// req, resp := client.UpdateTeamMemberRequest(params)
|
||||
|
@ -1268,19 +1517,18 @@ const opUpdateUserProfile = "UpdateUserProfile"
|
|||
|
||||
// UpdateUserProfileRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateUserProfile operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See UpdateUserProfile for usage and error information.
|
||||
// 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.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the UpdateUserProfile method directly
|
||||
// instead.
|
||||
// See UpdateUserProfile for more information on using the UpdateUserProfile
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the UpdateUserProfileRequest method.
|
||||
// req, resp := client.UpdateUserProfileRequest(params)
|
||||
|
@ -1373,8 +1621,8 @@ type AssociateTeamMemberInput struct {
|
|||
// to remotely access project resources, for example Amazon EC2 instances.
|
||||
RemoteAccessAllowed *bool `locationName:"remoteAccessAllowed" type:"boolean"`
|
||||
|
||||
// The Amazon Resource Name (ARN) for the IAM user you want to add to the DevHub
|
||||
// project.
|
||||
// The Amazon Resource Name (ARN) for the IAM user you want to add to the AWS
|
||||
// CodeStar project.
|
||||
//
|
||||
// UserArn is a required field
|
||||
UserArn *string `locationName:"userArn" min:"32" type:"string" required:"true"`
|
||||
|
@ -2365,7 +2613,7 @@ func (s *ListProjectsOutput) SetProjects(v []*ProjectSummary) *ListProjectsOutpu
|
|||
type ListResourcesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// he maximum amount of data that can be contained in a single set of results.
|
||||
// The maximum amount of data that can be contained in a single set of results.
|
||||
MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
|
||||
|
||||
// The continuation token for the next set of results, if the results cannot
|
||||
|
@ -2462,6 +2710,105 @@ func (s *ListResourcesOutput) SetResources(v []*Resource) *ListResourcesOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListTagsForProjectRequest
|
||||
type ListTagsForProjectInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// The ID of the project to get tags for.
|
||||
//
|
||||
// Id is a required field
|
||||
Id *string `locationName:"id" min:"2" type:"string" required:"true"`
|
||||
|
||||
// Reserved for future use.
|
||||
MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
|
||||
|
||||
// Reserved for future use.
|
||||
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s ListTagsForProjectInput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s ListTagsForProjectInput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// Validate inspects the fields of the type to determine if they are valid.
|
||||
func (s *ListTagsForProjectInput) Validate() error {
|
||||
invalidParams := request.ErrInvalidParams{Context: "ListTagsForProjectInput"}
|
||||
if s.Id == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("Id"))
|
||||
}
|
||||
if s.Id != nil && len(*s.Id) < 2 {
|
||||
invalidParams.Add(request.NewErrParamMinLen("Id", 2))
|
||||
}
|
||||
if s.MaxResults != nil && *s.MaxResults < 1 {
|
||||
invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
|
||||
}
|
||||
if s.NextToken != nil && len(*s.NextToken) < 1 {
|
||||
invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
|
||||
}
|
||||
|
||||
if invalidParams.Len() > 0 {
|
||||
return invalidParams
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// SetId sets the Id field's value.
|
||||
func (s *ListTagsForProjectInput) SetId(v string) *ListTagsForProjectInput {
|
||||
s.Id = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetMaxResults sets the MaxResults field's value.
|
||||
func (s *ListTagsForProjectInput) SetMaxResults(v int64) *ListTagsForProjectInput {
|
||||
s.MaxResults = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetNextToken sets the NextToken field's value.
|
||||
func (s *ListTagsForProjectInput) SetNextToken(v string) *ListTagsForProjectInput {
|
||||
s.NextToken = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListTagsForProjectResult
|
||||
type ListTagsForProjectOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// Reserved for future use.
|
||||
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
|
||||
|
||||
// The tags for the project.
|
||||
Tags map[string]*string `locationName:"tags" type:"map"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s ListTagsForProjectOutput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s ListTagsForProjectOutput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// SetNextToken sets the NextToken field's value.
|
||||
func (s *ListTagsForProjectOutput) SetNextToken(v string) *ListTagsForProjectOutput {
|
||||
s.NextToken = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetTags sets the Tags field's value.
|
||||
func (s *ListTagsForProjectOutput) SetTags(v map[string]*string) *ListTagsForProjectOutput {
|
||||
s.Tags = v
|
||||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListTeamMembersRequest
|
||||
type ListTeamMembersInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
@ -2712,6 +3059,86 @@ func (s *Resource) SetId(v string) *Resource {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/TagProjectRequest
|
||||
type TagProjectInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// The ID of the project you want to add a tag to.
|
||||
//
|
||||
// Id is a required field
|
||||
Id *string `locationName:"id" min:"2" type:"string" required:"true"`
|
||||
|
||||
// The tags you want to add to the project.
|
||||
//
|
||||
// Tags is a required field
|
||||
Tags map[string]*string `locationName:"tags" type:"map" required:"true"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s TagProjectInput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s TagProjectInput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// Validate inspects the fields of the type to determine if they are valid.
|
||||
func (s *TagProjectInput) Validate() error {
|
||||
invalidParams := request.ErrInvalidParams{Context: "TagProjectInput"}
|
||||
if s.Id == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("Id"))
|
||||
}
|
||||
if s.Id != nil && len(*s.Id) < 2 {
|
||||
invalidParams.Add(request.NewErrParamMinLen("Id", 2))
|
||||
}
|
||||
if s.Tags == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("Tags"))
|
||||
}
|
||||
|
||||
if invalidParams.Len() > 0 {
|
||||
return invalidParams
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// SetId sets the Id field's value.
|
||||
func (s *TagProjectInput) SetId(v string) *TagProjectInput {
|
||||
s.Id = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetTags sets the Tags field's value.
|
||||
func (s *TagProjectInput) SetTags(v map[string]*string) *TagProjectInput {
|
||||
s.Tags = v
|
||||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/TagProjectResult
|
||||
type TagProjectOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// The tags for the project.
|
||||
Tags map[string]*string `locationName:"tags" type:"map"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s TagProjectOutput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s TagProjectOutput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// SetTags sets the Tags field's value.
|
||||
func (s *TagProjectOutput) SetTags(v map[string]*string) *TagProjectOutput {
|
||||
s.Tags = v
|
||||
return s
|
||||
}
|
||||
|
||||
// Information about a team member in a project.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/TeamMember
|
||||
type TeamMember struct {
|
||||
|
@ -2762,6 +3189,77 @@ func (s *TeamMember) SetUserArn(v string) *TeamMember {
|
|||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UntagProjectRequest
|
||||
type UntagProjectInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// The ID of the project to remove tags from.
|
||||
//
|
||||
// Id is a required field
|
||||
Id *string `locationName:"id" min:"2" type:"string" required:"true"`
|
||||
|
||||
// The tags to remove from the project.
|
||||
//
|
||||
// Tags is a required field
|
||||
Tags []*string `locationName:"tags" type:"list" required:"true"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s UntagProjectInput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s UntagProjectInput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// Validate inspects the fields of the type to determine if they are valid.
|
||||
func (s *UntagProjectInput) Validate() error {
|
||||
invalidParams := request.ErrInvalidParams{Context: "UntagProjectInput"}
|
||||
if s.Id == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("Id"))
|
||||
}
|
||||
if s.Id != nil && len(*s.Id) < 2 {
|
||||
invalidParams.Add(request.NewErrParamMinLen("Id", 2))
|
||||
}
|
||||
if s.Tags == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("Tags"))
|
||||
}
|
||||
|
||||
if invalidParams.Len() > 0 {
|
||||
return invalidParams
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// SetId sets the Id field's value.
|
||||
func (s *UntagProjectInput) SetId(v string) *UntagProjectInput {
|
||||
s.Id = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetTags sets the Tags field's value.
|
||||
func (s *UntagProjectInput) SetTags(v []*string) *UntagProjectInput {
|
||||
s.Tags = v
|
||||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UntagProjectResult
|
||||
type UntagProjectOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s UntagProjectOutput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s UntagProjectOutput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateProjectRequest
|
||||
type UpdateProjectInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
|
14
vendor/github.com/aws/aws-sdk-go/service/codestar/codestariface/interface.go
generated
vendored
14
vendor/github.com/aws/aws-sdk-go/service/codestar/codestariface/interface.go
generated
vendored
|
@ -21,7 +21,7 @@ import (
|
|||
//
|
||||
// The best way to use this interface is so the SDK's service client's calls
|
||||
// can be stubbed out for unit testing your code with the SDK without needing
|
||||
// to inject custom request handlers into the the SDK's request pipeline.
|
||||
// to inject custom request handlers into the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // AWS CodeStar.
|
||||
|
@ -100,6 +100,10 @@ type CodeStarAPI interface {
|
|||
ListResourcesWithContext(aws.Context, *codestar.ListResourcesInput, ...request.Option) (*codestar.ListResourcesOutput, error)
|
||||
ListResourcesRequest(*codestar.ListResourcesInput) (*request.Request, *codestar.ListResourcesOutput)
|
||||
|
||||
ListTagsForProject(*codestar.ListTagsForProjectInput) (*codestar.ListTagsForProjectOutput, error)
|
||||
ListTagsForProjectWithContext(aws.Context, *codestar.ListTagsForProjectInput, ...request.Option) (*codestar.ListTagsForProjectOutput, error)
|
||||
ListTagsForProjectRequest(*codestar.ListTagsForProjectInput) (*request.Request, *codestar.ListTagsForProjectOutput)
|
||||
|
||||
ListTeamMembers(*codestar.ListTeamMembersInput) (*codestar.ListTeamMembersOutput, error)
|
||||
ListTeamMembersWithContext(aws.Context, *codestar.ListTeamMembersInput, ...request.Option) (*codestar.ListTeamMembersOutput, error)
|
||||
ListTeamMembersRequest(*codestar.ListTeamMembersInput) (*request.Request, *codestar.ListTeamMembersOutput)
|
||||
|
@ -108,6 +112,14 @@ type CodeStarAPI interface {
|
|||
ListUserProfilesWithContext(aws.Context, *codestar.ListUserProfilesInput, ...request.Option) (*codestar.ListUserProfilesOutput, error)
|
||||
ListUserProfilesRequest(*codestar.ListUserProfilesInput) (*request.Request, *codestar.ListUserProfilesOutput)
|
||||
|
||||
TagProject(*codestar.TagProjectInput) (*codestar.TagProjectOutput, error)
|
||||
TagProjectWithContext(aws.Context, *codestar.TagProjectInput, ...request.Option) (*codestar.TagProjectOutput, error)
|
||||
TagProjectRequest(*codestar.TagProjectInput) (*request.Request, *codestar.TagProjectOutput)
|
||||
|
||||
UntagProject(*codestar.UntagProjectInput) (*codestar.UntagProjectOutput, error)
|
||||
UntagProjectWithContext(aws.Context, *codestar.UntagProjectInput, ...request.Option) (*codestar.UntagProjectOutput, error)
|
||||
UntagProjectRequest(*codestar.UntagProjectInput) (*request.Request, *codestar.UntagProjectOutput)
|
||||
|
||||
UpdateProject(*codestar.UpdateProjectInput) (*codestar.UpdateProjectOutput, error)
|
||||
UpdateProjectWithContext(aws.Context, *codestar.UpdateProjectInput, ...request.Option) (*codestar.UpdateProjectOutput, error)
|
||||
UpdateProjectRequest(*codestar.UpdateProjectInput) (*request.Request, *codestar.UpdateProjectOutput)
|
||||
|
|
99
vendor/github.com/aws/aws-sdk-go/service/codestar/doc.go
generated
vendored
99
vendor/github.com/aws/aws-sdk-go/service/codestar/doc.go
generated
vendored
|
@ -11,42 +11,47 @@
|
|||
//
|
||||
// Projects and their resources, by calling the following:
|
||||
//
|
||||
// * DeleteProject, which deletes a project in AWS CodeStar.
|
||||
// * DeleteProject, which deletes a project.
|
||||
//
|
||||
// * DescribeProject, which lists the attributes of a project.
|
||||
//
|
||||
// * ListProjects, which lists all AWS CodeStar projects associated with
|
||||
// your AWS account.
|
||||
// * ListProjects, which lists all projects associated with your AWS account.
|
||||
//
|
||||
// * ListResources, which lists the resources associated with an AWS CodeStar
|
||||
// project.
|
||||
// * ListResources, which lists the resources associated with a project.
|
||||
//
|
||||
// * UpdateProject, which updates the attributes of an AWS CodeStar project.
|
||||
// * ListTagsForProject, which lists the tags associated with a project.
|
||||
//
|
||||
// * TagProject, which adds tags to a project.
|
||||
//
|
||||
// * UntagProject, which removes tags from a project.
|
||||
//
|
||||
// * UpdateProject, which updates the attributes of a project.
|
||||
//
|
||||
// Teams and team members, by calling the following:
|
||||
//
|
||||
// * AssociateTeamMember, which adds an IAM user to the team for an AWS CodeStar
|
||||
// project.
|
||||
// * AssociateTeamMember, which adds an IAM user to the team for a project.
|
||||
//
|
||||
// * DisassociateTeamMember, which removes an IAM user from the team for
|
||||
// an AWS CodeStar project.
|
||||
// a project.
|
||||
//
|
||||
// * ListTeamMembers, which lists all the IAM users in the team for an AWS
|
||||
// CodeStar project, including their roles and attributes.
|
||||
// * ListTeamMembers, which lists all the IAM users in the team for a project,
|
||||
// including their roles and attributes.
|
||||
//
|
||||
// * UpdateTeamMember, which updates a team member's attributes in a project.
|
||||
//
|
||||
// Users, by calling the following:
|
||||
//
|
||||
// * CreateUserProfile, which creates a user profile that contains data associated
|
||||
// with the user across all AWS CodeStar projects.
|
||||
// with the user across all projects.
|
||||
//
|
||||
// * DeleteUserProfile, which deletes all user profile information across
|
||||
// all AWS CodeStar projects.
|
||||
// all projects.
|
||||
//
|
||||
// * DescribeUserProfile, which describes the profile of a user.
|
||||
//
|
||||
// * ListUserProfiles, which lists all AWS CodeStar user profiles.
|
||||
// * ListUserProfiles, which lists all user profiles.
|
||||
//
|
||||
// * UpdateUserProfile, which updates the profile for an AWS CodeStar user.
|
||||
// * UpdateUserProfile, which updates the profile for a user.
|
||||
//
|
||||
// See https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19 for more information on this service.
|
||||
//
|
||||
|
@ -55,69 +60,17 @@
|
|||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To use the client for AWS CodeStar you will first need
|
||||
// to create a new instance of it.
|
||||
// To AWS CodeStar with the SDK use the New function to create
|
||||
// a new service client. With that client you can make API requests to the service.
|
||||
// These clients are safe to use concurrently.
|
||||
//
|
||||
// When creating a client for an AWS service you'll first need to have a Session
|
||||
// already created. The Session provides configuration that can be shared
|
||||
// between multiple service clients. Additional configuration can be applied to
|
||||
// the Session and service's client when they are constructed. The aws package's
|
||||
// Config type contains several fields such as Region for the AWS Region the
|
||||
// client should make API requests too. The optional Config value can be provided
|
||||
// as the variadic argument for Sessions and client creation.
|
||||
//
|
||||
// Once the service's client is created you can use it to make API requests the
|
||||
// AWS service. These clients are safe to use concurrently.
|
||||
//
|
||||
// // Create a session to share configuration, and load external configuration.
|
||||
// sess := session.Must(session.NewSession())
|
||||
//
|
||||
// // Create the service's client with the session.
|
||||
// svc := codestar.New(sess)
|
||||
//
|
||||
// See the SDK's documentation for more information on how to use service clients.
|
||||
// See the SDK's documentation for more information on how to use the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/
|
||||
//
|
||||
// See aws package's Config type for more information on configuration options.
|
||||
// See aws.Config documentation for more information on configuring SDK clients.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
||||
//
|
||||
// See the AWS CodeStar client CodeStar for more
|
||||
// information on creating the service's client.
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/codestar/#New
|
||||
//
|
||||
// Once the client is created you can make an API request to the service.
|
||||
// Each API method takes a input parameter, and returns the service response
|
||||
// and an error.
|
||||
//
|
||||
// The API method will document which error codes the service can be returned
|
||||
// by the operation if the service models the API operation's errors. These
|
||||
// errors will also be available as const strings prefixed with "ErrCode".
|
||||
//
|
||||
// result, err := svc.AssociateTeamMember(params)
|
||||
// if err != nil {
|
||||
// // Cast err to awserr.Error to handle specific error codes.
|
||||
// aerr, ok := err.(awserr.Error)
|
||||
// if ok && aerr.Code() == <error code to check for> {
|
||||
// // Specific error code handling
|
||||
// }
|
||||
// return err
|
||||
// }
|
||||
//
|
||||
// fmt.Println("AssociateTeamMember result:")
|
||||
// fmt.Println(result)
|
||||
//
|
||||
// Using the Client with Context
|
||||
//
|
||||
// The service's client also provides methods to make API requests with a Context
|
||||
// value. This allows you to control the timeout, and cancellation of pending
|
||||
// requests. These methods also take request Option as variadic parameter to apply
|
||||
// additional configuration to the API request.
|
||||
//
|
||||
// ctx := context.Background()
|
||||
//
|
||||
// result, err := svc.AssociateTeamMemberWithContext(ctx, params)
|
||||
//
|
||||
// See the request package documentation for more information on using Context pattern
|
||||
// with the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/request/
|
||||
package codestar
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue