AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

CodeStar

import "github.com/aws/aws-sdk-go/service/codestar"

type CodeStar struct { *client.Client }

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

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

Client

Type: *client.Client

Method

AssociateTeamMember

func (c *CodeStar) AssociateTeamMember(input *AssociateTeamMemberInput) (*AssociateTeamMemberOutput, error)

AssociateTeamMember API operation for AWS CodeStar.

Adds an IAM user to the team for an AWS CodeStar 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 AssociateTeamMember for usage and error information.

Returned Error Codes:

  • ErrCodeLimitExceededException "LimitExceededException" A resource limit has been exceeded.

  • ErrCodeProjectNotFoundException "ProjectNotFoundException" The specified AWS CodeStar project was not found.

  • ErrCodeTeamMemberAlreadyAssociatedException "TeamMemberAlreadyAssociatedException" The team member is already associated with a role in this project.

  • ErrCodeValidationException "ValidationException" The specified input is either not valid, or it could not be validated.

  • ErrCodeInvalidServiceRoleException "InvalidServiceRoleException" The service role is not valid.

  • ErrCodeProjectConfigurationException "ProjectConfigurationException" Project configuration information is required but not specified.

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" Another modification is being made. That modification must complete before you can make your change.

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/AssociateTeamMember

AssociateTeamMemberRequest

func (c *CodeStar) AssociateTeamMemberRequest(input *AssociateTeamMemberInput) (req *request.Request, output *AssociateTeamMemberOutput)

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

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

See 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.

// Example sending a request using the AssociateTeamMemberRequest method. req, resp := client.AssociateTeamMemberRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/AssociateTeamMember

AssociateTeamMemberWithContext

func (c *CodeStar) AssociateTeamMemberWithContext(ctx aws.Context, input *AssociateTeamMemberInput, opts ...request.Option) (*AssociateTeamMemberOutput, error)

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

See AssociateTeamMember 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.

See Also

For more information about using this API, see AWS API Documentation.

CreateProject

func (c *CodeStar) CreateProject(input *CreateProjectInput) (*CreateProjectOutput, error)

CreateProject API operation for AWS CodeStar.

Creates a project, including project resources. This action creates a project based on a submitted project request. A set of source code files and a toolchain template file can be included with the project request. If these are not provided, an empty project is created.

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 CreateProject for usage and error information.

Returned Error Codes:

  • ErrCodeProjectAlreadyExistsException "ProjectAlreadyExistsException" An AWS CodeStar project with the same ID already exists in this region for the AWS account. AWS CodeStar project IDs must be unique within a region for the AWS account.

  • ErrCodeLimitExceededException "LimitExceededException" A resource limit has been exceeded.

  • ErrCodeValidationException "ValidationException" The specified input is either not valid, or it could not be validated.

  • ErrCodeProjectCreationFailedException "ProjectCreationFailedException" The project creation request was valid, but a nonspecific exception or error occurred during project creation. The project could not be created in AWS CodeStar.

  • ErrCodeInvalidServiceRoleException "InvalidServiceRoleException" The service role is not valid.

  • ErrCodeProjectConfigurationException "ProjectConfigurationException" Project configuration information is required but not specified.

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" Another modification is being made. That modification must complete before you can make your change.

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/CreateProject

CreateProjectRequest

func (c *CodeStar) CreateProjectRequest(input *CreateProjectInput) (req *request.Request, output *CreateProjectOutput)

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 successfully.

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

See 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.

// Example sending a request using the CreateProjectRequest method. req, resp := client.CreateProjectRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/CreateProject

CreateProjectWithContext

func (c *CodeStar) CreateProjectWithContext(ctx aws.Context, input *CreateProjectInput, opts ...request.Option) (*CreateProjectOutput, error)

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

See CreateProject 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.

See Also

For more information about using this API, see AWS API Documentation.

CreateUserProfile

func (c *CodeStar) CreateUserProfile(input *CreateUserProfileInput) (*CreateUserProfileOutput, error)

CreateUserProfile API operation for AWS CodeStar.

Creates a profile for a user that includes user preferences, such as the display name and email address assocciated with the user, in AWS CodeStar. The user profile is not project-specific. Information in the user profile is displayed wherever the user's information appears to other users in AWS CodeStar.

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 CreateUserProfile for usage and error information.

Returned Error Codes:

  • ErrCodeUserProfileAlreadyExistsException "UserProfileAlreadyExistsException" A user profile with that name already exists in this region for the AWS account. AWS CodeStar user profile names must be unique within a region for the AWS account.

  • ErrCodeValidationException "ValidationException" The specified input is either not valid, or it could not be validated.

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/CreateUserProfile

CreateUserProfileRequest

func (c *CodeStar) CreateUserProfileRequest(input *CreateUserProfileInput) (req *request.Request, output *CreateUserProfileOutput)

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

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

See 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.

// Example sending a request using the CreateUserProfileRequest method. req, resp := client.CreateUserProfileRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/CreateUserProfile

CreateUserProfileWithContext

func (c *CodeStar) CreateUserProfileWithContext(ctx aws.Context, input *CreateUserProfileInput, opts ...request.Option) (*CreateUserProfileOutput, error)

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

See CreateUserProfile 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.

See Also

For more information about using this API, see AWS API Documentation.

DeleteProject

func (c *CodeStar) DeleteProject(input *DeleteProjectInput) (*DeleteProjectOutput, error)

DeleteProject API operation for AWS CodeStar.

Deletes a project, including project resources. Does not delete users associated with the project, but does delete the IAM roles that allowed access to the 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 DeleteProject for usage and error information.

Returned Error Codes:

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" Another modification is being made. That modification must complete before you can make your change.

  • ErrCodeValidationException "ValidationException" The specified input is either not valid, or it could not be validated.

  • ErrCodeInvalidServiceRoleException "InvalidServiceRoleException" The service role is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DeleteProject

DeleteProjectRequest

func (c *CodeStar) DeleteProjectRequest(input *DeleteProjectInput) (req *request.Request, output *DeleteProjectOutput)

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 successfully.

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

See 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.

// Example sending a request using the DeleteProjectRequest method. req, resp := client.DeleteProjectRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DeleteProject

DeleteProjectWithContext

func (c *CodeStar) DeleteProjectWithContext(ctx aws.Context, input *DeleteProjectInput, opts ...request.Option) (*DeleteProjectOutput, error)

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

See DeleteProject 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.

See Also

For more information about using this API, see AWS API Documentation.

DeleteUserProfile

func (c *CodeStar) DeleteUserProfile(input *DeleteUserProfileInput) (*DeleteUserProfileOutput, error)

DeleteUserProfile API operation for AWS CodeStar.

Deletes a user profile in AWS CodeStar, including all personal preference data associated with that profile, such as display name and email address. It does not delete the history of that user, for example the history of commits made by that user.

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 DeleteUserProfile for usage and error information.

Returned Error Codes:

  • ErrCodeValidationException "ValidationException" The specified input is either not valid, or it could not be validated.

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DeleteUserProfile

DeleteUserProfileRequest

func (c *CodeStar) DeleteUserProfileRequest(input *DeleteUserProfileInput) (req *request.Request, output *DeleteUserProfileOutput)

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

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

See 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.

// Example sending a request using the DeleteUserProfileRequest method. req, resp := client.DeleteUserProfileRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DeleteUserProfile

DeleteUserProfileWithContext

func (c *CodeStar) DeleteUserProfileWithContext(ctx aws.Context, input *DeleteUserProfileInput, opts ...request.Option) (*DeleteUserProfileOutput, error)

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

See DeleteUserProfile 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.

See Also

For more information about using this API, see AWS API Documentation.

DescribeProject

func (c *CodeStar) DescribeProject(input *DescribeProjectInput) (*DescribeProjectOutput, error)

DescribeProject API operation for AWS CodeStar.

Describes a project and its resources.

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 DescribeProject 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.

  • ErrCodeInvalidServiceRoleException "InvalidServiceRoleException" The service role is not valid.

  • ErrCodeProjectConfigurationException "ProjectConfigurationException" Project configuration information is required but not specified.

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" Another modification is being made. That modification must complete before you can make your change.

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DescribeProject

DescribeProjectRequest

func (c *CodeStar) DescribeProjectRequest(input *DescribeProjectInput) (req *request.Request, output *DescribeProjectOutput)

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 successfully.

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

See 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.

// Example sending a request using the DescribeProjectRequest method. req, resp := client.DescribeProjectRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DescribeProject

DescribeProjectWithContext

func (c *CodeStar) DescribeProjectWithContext(ctx aws.Context, input *DescribeProjectInput, opts ...request.Option) (*DescribeProjectOutput, error)

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

See DescribeProject 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.

See Also

For more information about using this API, see AWS API Documentation.

DescribeUserProfile

func (c *CodeStar) DescribeUserProfile(input *DescribeUserProfileInput) (*DescribeUserProfileOutput, error)

DescribeUserProfile API operation for AWS CodeStar.

Describes a user in AWS CodeStar and the user attributes across all projects.

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 DescribeUserProfile for usage and error information.

Returned Error Codes:

  • ErrCodeUserProfileNotFoundException "UserProfileNotFoundException" The user profile was not found.

  • ErrCodeValidationException "ValidationException" The specified input is either not valid, or it could not be validated.

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DescribeUserProfile

DescribeUserProfileRequest

func (c *CodeStar) DescribeUserProfileRequest(input *DescribeUserProfileInput) (req *request.Request, output *DescribeUserProfileOutput)

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

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

See 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.

// Example sending a request using the DescribeUserProfileRequest method. req, resp := client.DescribeUserProfileRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DescribeUserProfile

DescribeUserProfileWithContext

func (c *CodeStar) DescribeUserProfileWithContext(ctx aws.Context, input *DescribeUserProfileInput, opts ...request.Option) (*DescribeUserProfileOutput, error)

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

See DescribeUserProfile 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.

See Also

For more information about using this API, see AWS API Documentation.

DisassociateTeamMember

func (c *CodeStar) DisassociateTeamMember(input *DisassociateTeamMemberInput) (*DisassociateTeamMemberOutput, error)

DisassociateTeamMember API operation for AWS CodeStar.

Removes a user from a project. Removing a user from a project also removes the IAM policies from that user that allowed access to the project and its resources. Disassociating a team member does not remove that user's profile from AWS CodeStar. It does not remove the user from IAM.

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 DisassociateTeamMember 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.

  • ErrCodeInvalidServiceRoleException "InvalidServiceRoleException" The service role is not valid.

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" Another modification is being made. That modification must complete before you can make your change.

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DisassociateTeamMember

DisassociateTeamMemberRequest

func (c *CodeStar) DisassociateTeamMemberRequest(input *DisassociateTeamMemberInput) (req *request.Request, output *DisassociateTeamMemberOutput)

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

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

See 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.

// Example sending a request using the DisassociateTeamMemberRequest method. req, resp := client.DisassociateTeamMemberRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DisassociateTeamMember

DisassociateTeamMemberWithContext

func (c *CodeStar) DisassociateTeamMemberWithContext(ctx aws.Context, input *DisassociateTeamMemberInput, opts ...request.Option) (*DisassociateTeamMemberOutput, error)

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

See DisassociateTeamMember 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.

See Also

For more information about using this API, see AWS API Documentation.

ListProjects

func (c *CodeStar) ListProjects(input *ListProjectsInput) (*ListProjectsOutput, error)

ListProjects API operation for AWS CodeStar.

Lists all projects in AWS CodeStar associated with your AWS account.

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 ListProjects for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" The next token is not valid.

  • ErrCodeValidationException "ValidationException" The specified input is either not valid, or it could not be validated.

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListProjects

ListProjectsRequest

func (c *CodeStar) ListProjectsRequest(input *ListProjectsInput) (req *request.Request, output *ListProjectsOutput)

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 successfully.

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

See 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.

// Example sending a request using the ListProjectsRequest method. req, resp := client.ListProjectsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListProjects

ListProjectsWithContext

func (c *CodeStar) ListProjectsWithContext(ctx aws.Context, input *ListProjectsInput, opts ...request.Option) (*ListProjectsOutput, error)

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

See ListProjects 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.

See Also

For more information about using this API, see AWS API Documentation.

ListResources

func (c *CodeStar) ListResources(input *ListResourcesInput) (*ListResourcesOutput, error)

ListResources API operation for AWS CodeStar.

Lists resources associated with a project in AWS CodeStar.

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 ListResources for usage and error information.

Returned Error Codes:

  • ErrCodeProjectNotFoundException "ProjectNotFoundException" The specified AWS CodeStar project was not found.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" The next token is not valid.

  • ErrCodeValidationException "ValidationException" The specified input is either not valid, or it could not be validated.

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListResources

ListResourcesRequest

func (c *CodeStar) ListResourcesRequest(input *ListResourcesInput) (req *request.Request, output *ListResourcesOutput)

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

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

See 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.

// Example sending a request using the ListResourcesRequest method. req, resp := client.ListResourcesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListResources

ListResourcesWithContext

func (c *CodeStar) ListResourcesWithContext(ctx aws.Context, input *ListResourcesInput, opts ...request.Option) (*ListResourcesOutput, error)

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

See ListResources 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.

See Also

For more information about using this API, see AWS API Documentation.

ListTagsForProject

func (c *CodeStar) ListTagsForProject(input *ListTagsForProjectInput) (*ListTagsForProjectOutput, error)

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.

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListTagsForProject

ListTagsForProjectRequest

func (c *CodeStar) ListTagsForProjectRequest(input *ListTagsForProjectInput) (req *request.Request, output *ListTagsForProjectOutput)

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 completes successfully.

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

See 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) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListTagsForProject

ListTagsForProjectWithContext

func (c *CodeStar) ListTagsForProjectWithContext(ctx aws.Context, input *ListTagsForProjectInput, opts ...request.Option) (*ListTagsForProjectOutput, error)

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.

See Also

For more information about using this API, see AWS API Documentation.

ListTeamMembers

func (c *CodeStar) ListTeamMembers(input *ListTeamMembersInput) (*ListTeamMembersOutput, error)

ListTeamMembers API operation for AWS CodeStar.

Lists all team members associated with 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 ListTeamMembers for usage and error information.

Returned Error Codes:

  • ErrCodeProjectNotFoundException "ProjectNotFoundException" The specified AWS CodeStar project was not found.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" The next token is not valid.

  • ErrCodeValidationException "ValidationException" The specified input is either not valid, or it could not be validated.

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListTeamMembers

ListTeamMembersRequest

func (c *CodeStar) ListTeamMembersRequest(input *ListTeamMembersInput) (req *request.Request, output *ListTeamMembersOutput)

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

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

See 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.

// Example sending a request using the ListTeamMembersRequest method. req, resp := client.ListTeamMembersRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListTeamMembers

ListTeamMembersWithContext

func (c *CodeStar) ListTeamMembersWithContext(ctx aws.Context, input *ListTeamMembersInput, opts ...request.Option) (*ListTeamMembersOutput, error)

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

See ListTeamMembers 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.

See Also

For more information about using this API, see AWS API Documentation.

ListUserProfiles

func (c *CodeStar) ListUserProfiles(input *ListUserProfilesInput) (*ListUserProfilesOutput, error)

ListUserProfiles API operation for AWS CodeStar.

Lists all the user profiles configured for your AWS account in AWS CodeStar.

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 ListUserProfiles for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" The next token is not valid.

  • ErrCodeValidationException "ValidationException" The specified input is either not valid, or it could not be validated.

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListUserProfiles

ListUserProfilesRequest

func (c *CodeStar) ListUserProfilesRequest(input *ListUserProfilesInput) (req *request.Request, output *ListUserProfilesOutput)

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

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

See 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.

// Example sending a request using the ListUserProfilesRequest method. req, resp := client.ListUserProfilesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListUserProfiles

ListUserProfilesWithContext

func (c *CodeStar) ListUserProfilesWithContext(ctx aws.Context, input *ListUserProfilesInput, opts ...request.Option) (*ListUserProfilesOutput, error)

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

See ListUserProfiles 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.

See Also

For more information about using this API, see AWS API Documentation.

TagProject

func (c *CodeStar) TagProject(input *TagProjectInput) (*TagProjectOutput, error)

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.

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/TagProject

TagProjectRequest

func (c *CodeStar) TagProjectRequest(input *TagProjectInput) (req *request.Request, output *TagProjectOutput)

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 completes successfully.

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

See 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) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/TagProject

TagProjectWithContext

func (c *CodeStar) TagProjectWithContext(ctx aws.Context, input *TagProjectInput, opts ...request.Option) (*TagProjectOutput, error)

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.

See Also

For more information about using this API, see AWS API Documentation.

UntagProject

func (c *CodeStar) UntagProject(input *UntagProjectInput) (*UntagProjectOutput, error)

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.

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UntagProject

UntagProjectRequest

func (c *CodeStar) UntagProjectRequest(input *UntagProjectInput) (req *request.Request, output *UntagProjectOutput)

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 completes successfully.

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

See 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) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UntagProject

UntagProjectWithContext

func (c *CodeStar) UntagProjectWithContext(ctx aws.Context, input *UntagProjectInput, opts ...request.Option) (*UntagProjectOutput, error)

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.

See Also

For more information about using this API, see AWS API Documentation.

UpdateProject

func (c *CodeStar) UpdateProject(input *UpdateProjectInput) (*UpdateProjectOutput, error)

UpdateProject API operation for AWS CodeStar.

Updates a project in AWS CodeStar.

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 UpdateProject 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.

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateProject

UpdateProjectRequest

func (c *CodeStar) UpdateProjectRequest(input *UpdateProjectInput) (req *request.Request, output *UpdateProjectOutput)

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 successfully.

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

See 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.

// Example sending a request using the UpdateProjectRequest method. req, resp := client.UpdateProjectRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateProject

UpdateProjectWithContext

func (c *CodeStar) UpdateProjectWithContext(ctx aws.Context, input *UpdateProjectInput, opts ...request.Option) (*UpdateProjectOutput, error)

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

See UpdateProject 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.

See Also

For more information about using this API, see AWS API Documentation.

UpdateTeamMember

func (c *CodeStar) UpdateTeamMember(input *UpdateTeamMemberInput) (*UpdateTeamMemberOutput, error)

UpdateTeamMember API operation for AWS CodeStar.

Updates a team member's attributes in an AWS CodeStar project. For example, you can change a team member's role in the project, or change whether they have remote access to project resources.

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 UpdateTeamMember for usage and error information.

Returned Error Codes:

  • ErrCodeLimitExceededException "LimitExceededException" A resource limit has been exceeded.

  • 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.

  • ErrCodeInvalidServiceRoleException "InvalidServiceRoleException" The service role is not valid.

  • ErrCodeProjectConfigurationException "ProjectConfigurationException" Project configuration information is required but not specified.

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" Another modification is being made. That modification must complete before you can make your change.

  • ErrCodeTeamMemberNotFoundException "TeamMemberNotFoundException" The specified team member was not found.

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateTeamMember

UpdateTeamMemberRequest

func (c *CodeStar) UpdateTeamMemberRequest(input *UpdateTeamMemberInput) (req *request.Request, output *UpdateTeamMemberOutput)

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

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

See 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.

// Example sending a request using the UpdateTeamMemberRequest method. req, resp := client.UpdateTeamMemberRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateTeamMember

UpdateTeamMemberWithContext

func (c *CodeStar) UpdateTeamMemberWithContext(ctx aws.Context, input *UpdateTeamMemberInput, opts ...request.Option) (*UpdateTeamMemberOutput, error)

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

See UpdateTeamMember 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.

See Also

For more information about using this API, see AWS API Documentation.

UpdateUserProfile

func (c *CodeStar) UpdateUserProfile(input *UpdateUserProfileInput) (*UpdateUserProfileOutput, error)

UpdateUserProfile API operation for AWS CodeStar.

Updates a user's profile in AWS CodeStar. The user profile is not project-specific. Information in the user profile is displayed wherever the user's information appears to other users in AWS CodeStar.

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 UpdateUserProfile for usage and error information.

Returned Error Codes:

  • ErrCodeUserProfileNotFoundException "UserProfileNotFoundException" The user profile was not found.

  • ErrCodeValidationException "ValidationException" The specified input is either not valid, or it could not be validated.

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateUserProfile

UpdateUserProfileRequest

func (c *CodeStar) UpdateUserProfileRequest(input *UpdateUserProfileInput) (req *request.Request, output *UpdateUserProfileOutput)

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

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

See 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.

// Example sending a request using the UpdateUserProfileRequest method. req, resp := client.UpdateUserProfileRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateUserProfile

UpdateUserProfileWithContext

func (c *CodeStar) UpdateUserProfileWithContext(ctx aws.Context, input *UpdateUserProfileInput, opts ...request.Option) (*UpdateUserProfileOutput, error)

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

See UpdateUserProfile 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.

See Also

For more information about using this API, see AWS API Documentation.

On this page: