codestar

package
v1.9.44 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package codestar provides the client and types for making API requests to AWS CodeStar.

This is the API reference for AWS CodeStar. This reference provides descriptions of the operations and data types for the AWS CodeStar API along with usage examples.

You can use the AWS CodeStar API to work with:

Projects and their resources, by calling the following:

  • DeleteProject, which deletes a project in AWS CodeStar.

  • DescribeProject, which lists the attributes of a project.

  • ListProjects, which lists all AWS CodeStar projects associated with your AWS account.

  • ListResources, which lists the resources associated with an AWS CodeStar project.

  • UpdateProject, which updates the attributes of an AWS CodeStar project.

Teams and team members, by calling the following:

  • AssociateTeamMember, which adds an IAM user to the team for an AWS CodeStar project.

  • DisassociateTeamMember, which removes an IAM user from the team for an AWS CodeStar project.

  • ListTeamMembers, which lists all the IAM users in the team for an AWS CodeStar project, including their roles and attributes.

Users, by calling the following:

  • CreateUserProfile, which creates a user profile that contains data associated with the user across all AWS CodeStar projects.

  • DeleteUserProfile, which deletes all user profile information across all AWS CodeStar projects.

  • DescribeUserProfile, which describes the profile of a user.

  • ListUserProfiles, which lists all AWS CodeStar user profiles.

  • UpdateUserProfile, which updates the profile for an AWS CodeStar user.

See https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19 for more information on this service.

See codestar package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/codestar/

Using the Client

To use the client for AWS CodeStar you will first need to create a new instance of it.

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. https://docs.aws.amazon.com/sdk-for-go/api/

See aws package's Config type for more information on configuration options. 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. 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/

Index

Constants

View Source
const (

	// ErrCodeConcurrentModificationException for service response error code
	// "ConcurrentModificationException".
	//
	// Another modification is being made. That modification must complete before
	// you can make your change.
	ErrCodeConcurrentModificationException = "ConcurrentModificationException"

	// ErrCodeInvalidNextTokenException for service response error code
	// "InvalidNextTokenException".
	//
	// The next token is not valid.
	ErrCodeInvalidNextTokenException = "InvalidNextTokenException"

	// ErrCodeInvalidServiceRoleException for service response error code
	// "InvalidServiceRoleException".
	//
	// The service role is not valid.
	ErrCodeInvalidServiceRoleException = "InvalidServiceRoleException"

	// ErrCodeLimitExceededException for service response error code
	// "LimitExceededException".
	//
	// A resource limit has been exceeded.
	ErrCodeLimitExceededException = "LimitExceededException"

	// ErrCodeProjectAlreadyExistsException for service response error code
	// "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.
	ErrCodeProjectAlreadyExistsException = "ProjectAlreadyExistsException"

	// ErrCodeProjectConfigurationException for service response error code
	// "ProjectConfigurationException".
	//
	// Project configuration information is required but not specified.
	ErrCodeProjectConfigurationException = "ProjectConfigurationException"

	// ErrCodeProjectCreationFailedException for service response error code
	// "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.
	ErrCodeProjectCreationFailedException = "ProjectCreationFailedException"

	// ErrCodeProjectNotFoundException for service response error code
	// "ProjectNotFoundException".
	//
	// The specified AWS CodeStar project was not found.
	ErrCodeProjectNotFoundException = "ProjectNotFoundException"

	// ErrCodeTeamMemberAlreadyAssociatedException for service response error code
	// "TeamMemberAlreadyAssociatedException".
	//
	// The team member is already associated with a role in this project.
	ErrCodeTeamMemberAlreadyAssociatedException = "TeamMemberAlreadyAssociatedException"

	// ErrCodeTeamMemberNotFoundException for service response error code
	// "TeamMemberNotFoundException".
	//
	// The specified team member was not found.
	ErrCodeTeamMemberNotFoundException = "TeamMemberNotFoundException"

	// ErrCodeUserProfileAlreadyExistsException for service response error code
	// "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.
	ErrCodeUserProfileAlreadyExistsException = "UserProfileAlreadyExistsException"

	// ErrCodeUserProfileNotFoundException for service response error code
	// "UserProfileNotFoundException".
	//
	// The user profile was not found.
	ErrCodeUserProfileNotFoundException = "UserProfileNotFoundException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// The specified input is either not valid, or it could not be validated.
	ErrCodeValidationException = "ValidationException"
)
View Source
const (
	ServiceName = "codestar"  // Service endpoint prefix API calls made to.
	EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type AssociateTeamMemberInput

type AssociateTeamMemberInput struct {

	// A user- or system-generated token that identifies the entity that requested
	// the team member association to the project. This token can be used to repeat
	// the request.
	ClientRequestToken *string `locationName:"clientRequestToken" min:"1" type:"string"`

	// The ID of the project to which you will add the IAM user.
	//
	// ProjectId is a required field
	ProjectId *string `locationName:"projectId" min:"2" type:"string" required:"true"`

	// The AWS CodeStar project role that will apply to this user. This role determines
	// what actions a user can take in an AWS CodeStar project.
	//
	// ProjectRole is a required field
	ProjectRole *string `locationName:"projectRole" type:"string" required:"true"`

	// Whether the team member is allowed to use an SSH public/private key pair
	// 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.
	//
	// UserArn is a required field
	UserArn *string `locationName:"userArn" min:"32" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/AssociateTeamMemberRequest

func (AssociateTeamMemberInput) GoString

func (s AssociateTeamMemberInput) GoString() string

GoString returns the string representation

func (*AssociateTeamMemberInput) SetClientRequestToken

func (s *AssociateTeamMemberInput) SetClientRequestToken(v string) *AssociateTeamMemberInput

SetClientRequestToken sets the ClientRequestToken field's value.

func (*AssociateTeamMemberInput) SetProjectId

SetProjectId sets the ProjectId field's value.

func (*AssociateTeamMemberInput) SetProjectRole

SetProjectRole sets the ProjectRole field's value.

func (*AssociateTeamMemberInput) SetRemoteAccessAllowed

func (s *AssociateTeamMemberInput) SetRemoteAccessAllowed(v bool) *AssociateTeamMemberInput

SetRemoteAccessAllowed sets the RemoteAccessAllowed field's value.

func (*AssociateTeamMemberInput) SetUserArn

SetUserArn sets the UserArn field's value.

func (AssociateTeamMemberInput) String

func (s AssociateTeamMemberInput) String() string

String returns the string representation

func (*AssociateTeamMemberInput) Validate

func (s *AssociateTeamMemberInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AssociateTeamMemberOutput

type AssociateTeamMemberOutput struct {

	// The user- or system-generated token from the initial request that can be
	// used to repeat the request.
	ClientRequestToken *string `locationName:"clientRequestToken" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/AssociateTeamMemberResult

func (AssociateTeamMemberOutput) GoString

func (s AssociateTeamMemberOutput) GoString() string

GoString returns the string representation

func (*AssociateTeamMemberOutput) SetClientRequestToken

func (s *AssociateTeamMemberOutput) SetClientRequestToken(v string) *AssociateTeamMemberOutput

SetClientRequestToken sets the ClientRequestToken field's value.

func (AssociateTeamMemberOutput) String

func (s AssociateTeamMemberOutput) String() string

String returns the string representation

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

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *CodeStar

New creates a new instance of the CodeStar client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

// Create a CodeStar client from just a session.
svc := codestar.New(mySession)

// Create a CodeStar client with additional configuration
svc := codestar.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*CodeStar) 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.

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

func (*CodeStar) 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 can be used to capture response data after the request's "Send" method is called.

See AssociateTeamMember for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AssociateTeamMember method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the AssociateTeamMemberRequest method.
req, resp := client.AssociateTeamMemberRequest(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/AssociateTeamMember

func (*CodeStar) 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.

func (*CodeStar) CreateProject

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

CreateProject API operation for AWS CodeStar.

Reserved for future use. To create a project, use the AWS CodeStar console.

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.

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

func (*CodeStar) 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 can be used to capture response data after the request's "Send" method is called.

See CreateProject for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreateProject method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the CreateProjectRequest method.
req, resp := client.CreateProjectRequest(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/CreateProject

func (*CodeStar) 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.

func (*CodeStar) 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.

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

func (*CodeStar) 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 can be used to capture response data after the request's "Send" method is called.

See CreateUserProfile for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreateUserProfile method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the CreateUserProfileRequest method.
req, resp := client.CreateUserProfileRequest(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/CreateUserProfile

func (*CodeStar) 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.

func (*CodeStar) 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.

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

func (*CodeStar) 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 can be used to capture response data after the request's "Send" method is called.

See DeleteProject for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteProject method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the DeleteProjectRequest method.
req, resp := client.DeleteProjectRequest(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/DeleteProject

func (*CodeStar) 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.

func (*CodeStar) 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.

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

func (*CodeStar) 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 can be used to capture response data after the request's "Send" method is called.

See DeleteUserProfile for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteUserProfile method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the DeleteUserProfileRequest method.
req, resp := client.DeleteUserProfileRequest(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/DeleteUserProfile

func (*CodeStar) 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.

func (*CodeStar) 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.

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

func (*CodeStar) 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 can be used to capture response data after the request's "Send" method is called.

See DescribeProject for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeProject method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the DescribeProjectRequest method.
req, resp := client.DescribeProjectRequest(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/DescribeProject

func (*CodeStar) 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.

func (*CodeStar) 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.

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

func (*CodeStar) 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 can be used to capture response data after the request's "Send" method is called.

See DescribeUserProfile for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeUserProfile method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the DescribeUserProfileRequest method.
req, resp := client.DescribeUserProfileRequest(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/DescribeUserProfile

func (*CodeStar) 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.

func (*CodeStar) 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.

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

func (*CodeStar) 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 can be used to capture response data after the request's "Send" method is called.

See DisassociateTeamMember for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DisassociateTeamMember method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the DisassociateTeamMemberRequest method.
req, resp := client.DisassociateTeamMemberRequest(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/DisassociateTeamMember

func (*CodeStar) 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.

func (*CodeStar) 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.

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

func (*CodeStar) 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 can be used to capture response data after the request's "Send" method is called.

See ListProjects for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListProjects method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the ListProjectsRequest method.
req, resp := client.ListProjectsRequest(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/ListProjects

func (*CodeStar) 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.

func (*CodeStar) 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.

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

func (*CodeStar) 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 can be used to capture response data after the request's "Send" method is called.

See ListResources for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListResources method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the ListResourcesRequest method.
req, resp := client.ListResourcesRequest(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/ListResources

func (*CodeStar) 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.

func (*CodeStar) 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.

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

func (*CodeStar) 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 can be used to capture response data after the request's "Send" method is called.

See ListTeamMembers for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListTeamMembers method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the ListTeamMembersRequest method.
req, resp := client.ListTeamMembersRequest(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/ListTeamMembers

func (*CodeStar) 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.

func (*CodeStar) 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.

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

func (*CodeStar) 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 can be used to capture response data after the request's "Send" method is called.

See ListUserProfiles for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListUserProfiles method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the ListUserProfilesRequest method.
req, resp := client.ListUserProfilesRequest(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/ListUserProfiles

func (*CodeStar) 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.

func (*CodeStar) 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.

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

func (*CodeStar) 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 can be used to capture response data after the request's "Send" method is called.

See UpdateProject for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the UpdateProject method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the UpdateProjectRequest method.
req, resp := client.UpdateProjectRequest(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/UpdateProject

func (*CodeStar) 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.

func (*CodeStar) 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.

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

func (*CodeStar) 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 can be used to capture response data after the request's "Send" method is called.

See UpdateTeamMember for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the UpdateTeamMember method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the UpdateTeamMemberRequest method.
req, resp := client.UpdateTeamMemberRequest(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/UpdateTeamMember

func (*CodeStar) 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.

func (*CodeStar) 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.

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

func (*CodeStar) 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 can be used to capture response data after the request's "Send" method is called.

See UpdateUserProfile for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the UpdateUserProfile method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the UpdateUserProfileRequest method.
req, resp := client.UpdateUserProfileRequest(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/UpdateUserProfile

func (*CodeStar) 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.

type CreateProjectInput

type CreateProjectInput struct {

	// Reserved for future use.
	ClientRequestToken *string `locationName:"clientRequestToken" min:"1" type:"string"`

	// Reserved for future use.
	Description *string `locationName:"description" type:"string"`

	// Reserved for future use.
	//
	// Id is a required field
	Id *string `locationName:"id" min:"2" type:"string" required:"true"`

	// Reserved for future use.
	//
	// Name is a required field
	Name *string `locationName:"name" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/CreateProjectRequest

func (CreateProjectInput) GoString

func (s CreateProjectInput) GoString() string

GoString returns the string representation

func (*CreateProjectInput) SetClientRequestToken

func (s *CreateProjectInput) SetClientRequestToken(v string) *CreateProjectInput

SetClientRequestToken sets the ClientRequestToken field's value.

func (*CreateProjectInput) SetDescription

func (s *CreateProjectInput) SetDescription(v string) *CreateProjectInput

SetDescription sets the Description field's value.

func (*CreateProjectInput) SetId

SetId sets the Id field's value.

func (*CreateProjectInput) SetName

SetName sets the Name field's value.

func (CreateProjectInput) String

func (s CreateProjectInput) String() string

String returns the string representation

func (*CreateProjectInput) Validate

func (s *CreateProjectInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateProjectOutput

type CreateProjectOutput struct {

	// Reserved for future use.
	//
	// Arn is a required field
	Arn *string `locationName:"arn" type:"string" required:"true"`

	// Reserved for future use.
	ClientRequestToken *string `locationName:"clientRequestToken" min:"1" type:"string"`

	// Reserved for future use.
	//
	// Id is a required field
	Id *string `locationName:"id" min:"2" type:"string" required:"true"`

	// Reserved for future use.
	ProjectTemplateId *string `locationName:"projectTemplateId" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/CreateProjectResult

func (CreateProjectOutput) GoString

func (s CreateProjectOutput) GoString() string

GoString returns the string representation

func (*CreateProjectOutput) SetArn

SetArn sets the Arn field's value.

func (*CreateProjectOutput) SetClientRequestToken

func (s *CreateProjectOutput) SetClientRequestToken(v string) *CreateProjectOutput

SetClientRequestToken sets the ClientRequestToken field's value.

func (*CreateProjectOutput) SetId

SetId sets the Id field's value.

func (*CreateProjectOutput) SetProjectTemplateId

func (s *CreateProjectOutput) SetProjectTemplateId(v string) *CreateProjectOutput

SetProjectTemplateId sets the ProjectTemplateId field's value.

func (CreateProjectOutput) String

func (s CreateProjectOutput) String() string

String returns the string representation

type CreateUserProfileInput

type CreateUserProfileInput struct {

	// The name that will be displayed as the friendly name for the user in AWS
	// CodeStar.
	//
	// DisplayName is a required field
	DisplayName *string `locationName:"displayName" min:"1" type:"string" required:"true"`

	// The email address that will be displayed as part of the user's profile in
	// AWS CodeStar.
	//
	// EmailAddress is a required field
	EmailAddress *string `locationName:"emailAddress" min:"3" type:"string" required:"true"`

	// The SSH public key associated with the user in AWS CodeStar. If a project
	// owner allows the user remote access to project resources, this public key
	// will be used along with the user's private key for SSH access.
	SshPublicKey *string `locationName:"sshPublicKey" type:"string"`

	// The Amazon Resource Name (ARN) of the user in IAM.
	//
	// UserArn is a required field
	UserArn *string `locationName:"userArn" min:"32" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/CreateUserProfileRequest

func (CreateUserProfileInput) GoString

func (s CreateUserProfileInput) GoString() string

GoString returns the string representation

func (*CreateUserProfileInput) SetDisplayName

SetDisplayName sets the DisplayName field's value.

func (*CreateUserProfileInput) SetEmailAddress

func (s *CreateUserProfileInput) SetEmailAddress(v string) *CreateUserProfileInput

SetEmailAddress sets the EmailAddress field's value.

func (*CreateUserProfileInput) SetSshPublicKey

func (s *CreateUserProfileInput) SetSshPublicKey(v string) *CreateUserProfileInput

SetSshPublicKey sets the SshPublicKey field's value.

func (*CreateUserProfileInput) SetUserArn

SetUserArn sets the UserArn field's value.

func (CreateUserProfileInput) String

func (s CreateUserProfileInput) String() string

String returns the string representation

func (*CreateUserProfileInput) Validate

func (s *CreateUserProfileInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateUserProfileOutput

type CreateUserProfileOutput struct {

	// The date the user profile was created, in timestamp format.
	CreatedTimestamp *time.Time `locationName:"createdTimestamp" type:"timestamp" timestampFormat:"unix"`

	// The name that is displayed as the friendly name for the user in AWS CodeStar.
	DisplayName *string `locationName:"displayName" min:"1" type:"string"`

	// The email address that is displayed as part of the user's profile in AWS
	// CodeStar.
	EmailAddress *string `locationName:"emailAddress" min:"3" type:"string"`

	// The date the user profile was last modified, in timestamp format.
	LastModifiedTimestamp *time.Time `locationName:"lastModifiedTimestamp" type:"timestamp" timestampFormat:"unix"`

	// The SSH public key associated with the user in AWS CodeStar. This is the
	// public portion of the public/private keypair the user can use to access project
	// resources if a project owner allows the user remote access to those resources.
	SshPublicKey *string `locationName:"sshPublicKey" type:"string"`

	// The Amazon Resource Name (ARN) of the user in IAM.
	//
	// UserArn is a required field
	UserArn *string `locationName:"userArn" min:"32" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/CreateUserProfileResult

func (CreateUserProfileOutput) GoString

func (s CreateUserProfileOutput) GoString() string

GoString returns the string representation

func (*CreateUserProfileOutput) SetCreatedTimestamp

func (s *CreateUserProfileOutput) SetCreatedTimestamp(v time.Time) *CreateUserProfileOutput

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*CreateUserProfileOutput) SetDisplayName

SetDisplayName sets the DisplayName field's value.

func (*CreateUserProfileOutput) SetEmailAddress

SetEmailAddress sets the EmailAddress field's value.

func (*CreateUserProfileOutput) SetLastModifiedTimestamp

func (s *CreateUserProfileOutput) SetLastModifiedTimestamp(v time.Time) *CreateUserProfileOutput

SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value.

func (*CreateUserProfileOutput) SetSshPublicKey

SetSshPublicKey sets the SshPublicKey field's value.

func (*CreateUserProfileOutput) SetUserArn

SetUserArn sets the UserArn field's value.

func (CreateUserProfileOutput) String

func (s CreateUserProfileOutput) String() string

String returns the string representation

type DeleteProjectInput

type DeleteProjectInput struct {

	// A user- or system-generated token that identifies the entity that requested
	// project deletion. This token can be used to repeat the request.
	ClientRequestToken *string `locationName:"clientRequestToken" min:"1" type:"string"`

	// Whether to send a delete request for the primary stack in AWS CloudFormation
	// originally used to generate the project and its resources. This option will
	// delete all AWS resources for the project (except for any buckets in Amazon
	// S3) as well as deleting the project itself. Recommended for most use cases.
	DeleteStack *bool `locationName:"deleteStack" type:"boolean"`

	// The ID of the project to be deleted in AWS CodeStar.
	//
	// Id is a required field
	Id *string `locationName:"id" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DeleteProjectRequest

func (DeleteProjectInput) GoString

func (s DeleteProjectInput) GoString() string

GoString returns the string representation

func (*DeleteProjectInput) SetClientRequestToken

func (s *DeleteProjectInput) SetClientRequestToken(v string) *DeleteProjectInput

SetClientRequestToken sets the ClientRequestToken field's value.

func (*DeleteProjectInput) SetDeleteStack

func (s *DeleteProjectInput) SetDeleteStack(v bool) *DeleteProjectInput

SetDeleteStack sets the DeleteStack field's value.

func (*DeleteProjectInput) SetId

SetId sets the Id field's value.

func (DeleteProjectInput) String

func (s DeleteProjectInput) String() string

String returns the string representation

func (*DeleteProjectInput) Validate

func (s *DeleteProjectInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteProjectOutput

type DeleteProjectOutput struct {

	// The Amazon Resource Name (ARN) of the deleted project.
	ProjectArn *string `locationName:"projectArn" type:"string"`

	// The ID of the primary stack in AWS CloudFormation that will be deleted as
	// part of deleting the project and its resources.
	StackId *string `locationName:"stackId" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DeleteProjectResult

func (DeleteProjectOutput) GoString

func (s DeleteProjectOutput) GoString() string

GoString returns the string representation

func (*DeleteProjectOutput) SetProjectArn

func (s *DeleteProjectOutput) SetProjectArn(v string) *DeleteProjectOutput

SetProjectArn sets the ProjectArn field's value.

func (*DeleteProjectOutput) SetStackId

SetStackId sets the StackId field's value.

func (DeleteProjectOutput) String

func (s DeleteProjectOutput) String() string

String returns the string representation

type DeleteUserProfileInput

type DeleteUserProfileInput struct {

	// The Amazon Resource Name (ARN) of the user to delete from AWS CodeStar.
	//
	// UserArn is a required field
	UserArn *string `locationName:"userArn" min:"32" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DeleteUserProfileRequest

func (DeleteUserProfileInput) GoString

func (s DeleteUserProfileInput) GoString() string

GoString returns the string representation

func (*DeleteUserProfileInput) SetUserArn

SetUserArn sets the UserArn field's value.

func (DeleteUserProfileInput) String

func (s DeleteUserProfileInput) String() string

String returns the string representation

func (*DeleteUserProfileInput) Validate

func (s *DeleteUserProfileInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteUserProfileOutput

type DeleteUserProfileOutput struct {

	// The Amazon Resource Name (ARN) of the user deleted from AWS CodeStar.
	//
	// UserArn is a required field
	UserArn *string `locationName:"userArn" min:"32" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DeleteUserProfileResult

func (DeleteUserProfileOutput) GoString

func (s DeleteUserProfileOutput) GoString() string

GoString returns the string representation

func (*DeleteUserProfileOutput) SetUserArn

SetUserArn sets the UserArn field's value.

func (DeleteUserProfileOutput) String

func (s DeleteUserProfileOutput) String() string

String returns the string representation

type DescribeProjectInput

type DescribeProjectInput struct {

	// The ID of the project.
	//
	// Id is a required field
	Id *string `locationName:"id" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DescribeProjectRequest

func (DescribeProjectInput) GoString

func (s DescribeProjectInput) GoString() string

GoString returns the string representation

func (*DescribeProjectInput) SetId

SetId sets the Id field's value.

func (DescribeProjectInput) String

func (s DescribeProjectInput) String() string

String returns the string representation

func (*DescribeProjectInput) Validate

func (s *DescribeProjectInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeProjectOutput

type DescribeProjectOutput struct {

	// The Amazon Resource Name (ARN) for the project.
	Arn *string `locationName:"arn" type:"string"`

	// A user- or system-generated token that identifies the entity that requested
	// project creation.
	ClientRequestToken *string `locationName:"clientRequestToken" min:"1" type:"string"`

	// The date and time the project was created, in timestamp format.
	CreatedTimeStamp *time.Time `locationName:"createdTimeStamp" type:"timestamp" timestampFormat:"unix"`

	// The description of the project, if any.
	Description *string `locationName:"description" type:"string"`

	// The ID of the project.
	Id *string `locationName:"id" min:"2" type:"string"`

	// The display name for the project.
	Name *string `locationName:"name" min:"1" type:"string"`

	// The ID for the AWS CodeStar project template used to create the project.
	ProjectTemplateId *string `locationName:"projectTemplateId" min:"1" type:"string"`

	// The ID of the primary stack in AWS CloudFormation used to generate resources
	// for the project.
	StackId *string `locationName:"stackId" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DescribeProjectResult

func (DescribeProjectOutput) GoString

func (s DescribeProjectOutput) GoString() string

GoString returns the string representation

func (*DescribeProjectOutput) SetArn

SetArn sets the Arn field's value.

func (*DescribeProjectOutput) SetClientRequestToken

func (s *DescribeProjectOutput) SetClientRequestToken(v string) *DescribeProjectOutput

SetClientRequestToken sets the ClientRequestToken field's value.

func (*DescribeProjectOutput) SetCreatedTimeStamp

func (s *DescribeProjectOutput) SetCreatedTimeStamp(v time.Time) *DescribeProjectOutput

SetCreatedTimeStamp sets the CreatedTimeStamp field's value.

func (*DescribeProjectOutput) SetDescription

func (s *DescribeProjectOutput) SetDescription(v string) *DescribeProjectOutput

SetDescription sets the Description field's value.

func (*DescribeProjectOutput) SetId

SetId sets the Id field's value.

func (*DescribeProjectOutput) SetName

SetName sets the Name field's value.

func (*DescribeProjectOutput) SetProjectTemplateId

func (s *DescribeProjectOutput) SetProjectTemplateId(v string) *DescribeProjectOutput

SetProjectTemplateId sets the ProjectTemplateId field's value.

func (*DescribeProjectOutput) SetStackId

SetStackId sets the StackId field's value.

func (DescribeProjectOutput) String

func (s DescribeProjectOutput) String() string

String returns the string representation

type DescribeUserProfileInput

type DescribeUserProfileInput struct {

	// The Amazon Resource Name (ARN) of the user.
	//
	// UserArn is a required field
	UserArn *string `locationName:"userArn" min:"32" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DescribeUserProfileRequest

func (DescribeUserProfileInput) GoString

func (s DescribeUserProfileInput) GoString() string

GoString returns the string representation

func (*DescribeUserProfileInput) SetUserArn

SetUserArn sets the UserArn field's value.

func (DescribeUserProfileInput) String

func (s DescribeUserProfileInput) String() string

String returns the string representation

func (*DescribeUserProfileInput) Validate

func (s *DescribeUserProfileInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeUserProfileOutput

type DescribeUserProfileOutput struct {

	// The date and time when the user profile was created in AWS CodeStar, in timestamp
	// format.
	//
	// CreatedTimestamp is a required field
	CreatedTimestamp *time.Time `locationName:"createdTimestamp" type:"timestamp" timestampFormat:"unix" required:"true"`

	// The display name shown for the user in AWS CodeStar projects. For example,
	// this could be set to both first and last name ("Mary Major") or a single
	// name ("Mary"). The display name is also used to generate the initial icon
	// associated with the user in AWS CodeStar projects. If spaces are included
	// in the display name, the first character that appears after the space will
	// be used as the second character in the user initial icon. The initial icon
	// displays a maximum of two characters, so a display name with more than one
	// space (for example "Mary Jane Major") would generate an initial icon using
	// the first character and the first character after the space ("MJ", not "MM").
	DisplayName *string `locationName:"displayName" min:"1" type:"string"`

	// The email address for the user. Optional.
	EmailAddress *string `locationName:"emailAddress" min:"3" type:"string"`

	// The date and time when the user profile was last modified, in timestamp format.
	//
	// LastModifiedTimestamp is a required field
	LastModifiedTimestamp *time.Time `locationName:"lastModifiedTimestamp" type:"timestamp" timestampFormat:"unix" required:"true"`

	// The SSH public key associated with the user. This SSH public key is associated
	// with the user profile, and can be used in conjunction with the associated
	// private key for access to project resources, such as Amazon EC2 instances,
	// if a project owner grants remote access to those resources.
	SshPublicKey *string `locationName:"sshPublicKey" type:"string"`

	// The Amazon Resource Name (ARN) of the user.
	//
	// UserArn is a required field
	UserArn *string `locationName:"userArn" min:"32" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DescribeUserProfileResult

func (DescribeUserProfileOutput) GoString

func (s DescribeUserProfileOutput) GoString() string

GoString returns the string representation

func (*DescribeUserProfileOutput) SetCreatedTimestamp

func (s *DescribeUserProfileOutput) SetCreatedTimestamp(v time.Time) *DescribeUserProfileOutput

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*DescribeUserProfileOutput) SetDisplayName

SetDisplayName sets the DisplayName field's value.

func (*DescribeUserProfileOutput) SetEmailAddress

SetEmailAddress sets the EmailAddress field's value.

func (*DescribeUserProfileOutput) SetLastModifiedTimestamp

func (s *DescribeUserProfileOutput) SetLastModifiedTimestamp(v time.Time) *DescribeUserProfileOutput

SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value.

func (*DescribeUserProfileOutput) SetSshPublicKey

SetSshPublicKey sets the SshPublicKey field's value.

func (*DescribeUserProfileOutput) SetUserArn

SetUserArn sets the UserArn field's value.

func (DescribeUserProfileOutput) String

func (s DescribeUserProfileOutput) String() string

String returns the string representation

type DisassociateTeamMemberInput

type DisassociateTeamMemberInput struct {

	// The ID of the AWS CodeStar project from which you want to remove a team member.
	//
	// ProjectId is a required field
	ProjectId *string `locationName:"projectId" min:"2" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of the IAM user or group whom you want to
	// remove from the project.
	//
	// UserArn is a required field
	UserArn *string `locationName:"userArn" min:"32" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DisassociateTeamMemberRequest

func (DisassociateTeamMemberInput) GoString

func (s DisassociateTeamMemberInput) GoString() string

GoString returns the string representation

func (*DisassociateTeamMemberInput) SetProjectId

SetProjectId sets the ProjectId field's value.

func (*DisassociateTeamMemberInput) SetUserArn

SetUserArn sets the UserArn field's value.

func (DisassociateTeamMemberInput) String

String returns the string representation

func (*DisassociateTeamMemberInput) Validate

func (s *DisassociateTeamMemberInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DisassociateTeamMemberOutput

type DisassociateTeamMemberOutput struct {
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DisassociateTeamMemberResult

func (DisassociateTeamMemberOutput) GoString

func (s DisassociateTeamMemberOutput) GoString() string

GoString returns the string representation

func (DisassociateTeamMemberOutput) String

String returns the string representation

type ListProjectsInput

type ListProjectsInput struct {

	// 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 to be used to return the next set of results, if the
	// results cannot be returned in one response.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListProjectsRequest

func (ListProjectsInput) GoString

func (s ListProjectsInput) GoString() string

GoString returns the string representation

func (*ListProjectsInput) SetMaxResults

func (s *ListProjectsInput) SetMaxResults(v int64) *ListProjectsInput

SetMaxResults sets the MaxResults field's value.

func (*ListProjectsInput) SetNextToken

func (s *ListProjectsInput) SetNextToken(v string) *ListProjectsInput

SetNextToken sets the NextToken field's value.

func (ListProjectsInput) String

func (s ListProjectsInput) String() string

String returns the string representation

func (*ListProjectsInput) Validate

func (s *ListProjectsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListProjectsOutput

type ListProjectsOutput struct {

	// The continuation token to use when requesting the next set of results, if
	// there are more results to be returned.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`

	// A list of projects.
	//
	// Projects is a required field
	Projects []*ProjectSummary `locationName:"projects" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListProjectsResult

func (ListProjectsOutput) GoString

func (s ListProjectsOutput) GoString() string

GoString returns the string representation

func (*ListProjectsOutput) SetNextToken

func (s *ListProjectsOutput) SetNextToken(v string) *ListProjectsOutput

SetNextToken sets the NextToken field's value.

func (*ListProjectsOutput) SetProjects

SetProjects sets the Projects field's value.

func (ListProjectsOutput) String

func (s ListProjectsOutput) String() string

String returns the string representation

type ListResourcesInput

type ListResourcesInput struct {

	// he 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
	// be returned in one response.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`

	// The ID of the project.
	//
	// ProjectId is a required field
	ProjectId *string `locationName:"projectId" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListResourcesRequest

func (ListResourcesInput) GoString

func (s ListResourcesInput) GoString() string

GoString returns the string representation

func (*ListResourcesInput) SetMaxResults

func (s *ListResourcesInput) SetMaxResults(v int64) *ListResourcesInput

SetMaxResults sets the MaxResults field's value.

func (*ListResourcesInput) SetNextToken

func (s *ListResourcesInput) SetNextToken(v string) *ListResourcesInput

SetNextToken sets the NextToken field's value.

func (*ListResourcesInput) SetProjectId

func (s *ListResourcesInput) SetProjectId(v string) *ListResourcesInput

SetProjectId sets the ProjectId field's value.

func (ListResourcesInput) String

func (s ListResourcesInput) String() string

String returns the string representation

func (*ListResourcesInput) Validate

func (s *ListResourcesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListResourcesOutput

type ListResourcesOutput struct {

	// The continuation token to use when requesting the next set of results, if
	// there are more results to be returned.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`

	// An array of resources associated with the project.
	Resources []*Resource `locationName:"resources" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListResourcesResult

func (ListResourcesOutput) GoString

func (s ListResourcesOutput) GoString() string

GoString returns the string representation

func (*ListResourcesOutput) SetNextToken

func (s *ListResourcesOutput) SetNextToken(v string) *ListResourcesOutput

SetNextToken sets the NextToken field's value.

func (*ListResourcesOutput) SetResources

func (s *ListResourcesOutput) SetResources(v []*Resource) *ListResourcesOutput

SetResources sets the Resources field's value.

func (ListResourcesOutput) String

func (s ListResourcesOutput) String() string

String returns the string representation

type ListTeamMembersInput

type ListTeamMembersInput struct {

	// The maximum number of team members you want returned in a response.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// The continuation token for the next set of results, if the results cannot
	// be returned in one response.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`

	// The ID of the project for which you want to list team members.
	//
	// ProjectId is a required field
	ProjectId *string `locationName:"projectId" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListTeamMembersRequest

func (ListTeamMembersInput) GoString

func (s ListTeamMembersInput) GoString() string

GoString returns the string representation

func (*ListTeamMembersInput) SetMaxResults

func (s *ListTeamMembersInput) SetMaxResults(v int64) *ListTeamMembersInput

SetMaxResults sets the MaxResults field's value.

func (*ListTeamMembersInput) SetNextToken

func (s *ListTeamMembersInput) SetNextToken(v string) *ListTeamMembersInput

SetNextToken sets the NextToken field's value.

func (*ListTeamMembersInput) SetProjectId

func (s *ListTeamMembersInput) SetProjectId(v string) *ListTeamMembersInput

SetProjectId sets the ProjectId field's value.

func (ListTeamMembersInput) String

func (s ListTeamMembersInput) String() string

String returns the string representation

func (*ListTeamMembersInput) Validate

func (s *ListTeamMembersInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTeamMembersOutput

type ListTeamMembersOutput struct {

	// The continuation token to use when requesting the next set of results, if
	// there are more results to be returned.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`

	// A list of team member objects for the project.
	//
	// TeamMembers is a required field
	TeamMembers []*TeamMember `locationName:"teamMembers" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListTeamMembersResult

func (ListTeamMembersOutput) GoString

func (s ListTeamMembersOutput) GoString() string

GoString returns the string representation

func (*ListTeamMembersOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListTeamMembersOutput) SetTeamMembers

func (s *ListTeamMembersOutput) SetTeamMembers(v []*TeamMember) *ListTeamMembersOutput

SetTeamMembers sets the TeamMembers field's value.

func (ListTeamMembersOutput) String

func (s ListTeamMembersOutput) String() string

String returns the string representation

type ListUserProfilesInput

type ListUserProfilesInput struct {

	// The maximum number of results to return in a response.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// The continuation token for the next set of results, if the results cannot
	// be returned in one response.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListUserProfilesRequest

func (ListUserProfilesInput) GoString

func (s ListUserProfilesInput) GoString() string

GoString returns the string representation

func (*ListUserProfilesInput) SetMaxResults

func (s *ListUserProfilesInput) SetMaxResults(v int64) *ListUserProfilesInput

SetMaxResults sets the MaxResults field's value.

func (*ListUserProfilesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListUserProfilesInput) String

func (s ListUserProfilesInput) String() string

String returns the string representation

func (*ListUserProfilesInput) Validate

func (s *ListUserProfilesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListUserProfilesOutput

type ListUserProfilesOutput struct {

	// The continuation token to use when requesting the next set of results, if
	// there are more results to be returned.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`

	// All the user profiles configured in AWS CodeStar for an AWS account.
	//
	// UserProfiles is a required field
	UserProfiles []*UserProfileSummary `locationName:"userProfiles" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListUserProfilesResult

func (ListUserProfilesOutput) GoString

func (s ListUserProfilesOutput) GoString() string

GoString returns the string representation

func (*ListUserProfilesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListUserProfilesOutput) SetUserProfiles

SetUserProfiles sets the UserProfiles field's value.

func (ListUserProfilesOutput) String

func (s ListUserProfilesOutput) String() string

String returns the string representation

type ProjectSummary

type ProjectSummary struct {

	// The Amazon Resource Name (ARN) of the project.
	ProjectArn *string `locationName:"projectArn" type:"string"`

	// The ID of the project.
	ProjectId *string `locationName:"projectId" min:"2" type:"string"`
	// contains filtered or unexported fields
}

Information about the metadata for a project. Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ProjectSummary

func (ProjectSummary) GoString

func (s ProjectSummary) GoString() string

GoString returns the string representation

func (*ProjectSummary) SetProjectArn

func (s *ProjectSummary) SetProjectArn(v string) *ProjectSummary

SetProjectArn sets the ProjectArn field's value.

func (*ProjectSummary) SetProjectId

func (s *ProjectSummary) SetProjectId(v string) *ProjectSummary

SetProjectId sets the ProjectId field's value.

func (ProjectSummary) String

func (s ProjectSummary) String() string

String returns the string representation

type Resource

type Resource struct {

	// The Amazon Resource Name (ARN) of the resource.
	//
	// Id is a required field
	Id *string `locationName:"id" min:"11" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Information about a resource for a project. Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/Resource

func (Resource) GoString

func (s Resource) GoString() string

GoString returns the string representation

func (*Resource) SetId

func (s *Resource) SetId(v string) *Resource

SetId sets the Id field's value.

func (Resource) String

func (s Resource) String() string

String returns the string representation

type TeamMember

type TeamMember struct {

	// The role assigned to the user in the project. Project roles have different
	// levels of access. For more information, see Working with Teams (http://docs.aws.amazon.com/codestar/latest/userguide/working-with-teams.html)
	// in the AWS CodeStar User Guide.
	//
	// ProjectRole is a required field
	ProjectRole *string `locationName:"projectRole" type:"string" required:"true"`

	// Whether the user is allowed to remotely access project resources using an
	// SSH public/private key pair.
	RemoteAccessAllowed *bool `locationName:"remoteAccessAllowed" type:"boolean"`

	// The Amazon Resource Name (ARN) of the user in IAM.
	//
	// UserArn is a required field
	UserArn *string `locationName:"userArn" min:"32" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Information about a team member in a project. Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/TeamMember

func (TeamMember) GoString

func (s TeamMember) GoString() string

GoString returns the string representation

func (*TeamMember) SetProjectRole

func (s *TeamMember) SetProjectRole(v string) *TeamMember

SetProjectRole sets the ProjectRole field's value.

func (*TeamMember) SetRemoteAccessAllowed

func (s *TeamMember) SetRemoteAccessAllowed(v bool) *TeamMember

SetRemoteAccessAllowed sets the RemoteAccessAllowed field's value.

func (*TeamMember) SetUserArn

func (s *TeamMember) SetUserArn(v string) *TeamMember

SetUserArn sets the UserArn field's value.

func (TeamMember) String

func (s TeamMember) String() string

String returns the string representation

type UpdateProjectInput

type UpdateProjectInput struct {

	// The description of the project, if any.
	Description *string `locationName:"description" type:"string"`

	// The ID of the project you want to update.
	//
	// Id is a required field
	Id *string `locationName:"id" min:"2" type:"string" required:"true"`

	// The name of the project you want to update.
	Name *string `locationName:"name" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateProjectRequest

func (UpdateProjectInput) GoString

func (s UpdateProjectInput) GoString() string

GoString returns the string representation

func (*UpdateProjectInput) SetDescription

func (s *UpdateProjectInput) SetDescription(v string) *UpdateProjectInput

SetDescription sets the Description field's value.

func (*UpdateProjectInput) SetId

SetId sets the Id field's value.

func (*UpdateProjectInput) SetName

SetName sets the Name field's value.

func (UpdateProjectInput) String

func (s UpdateProjectInput) String() string

String returns the string representation

func (*UpdateProjectInput) Validate

func (s *UpdateProjectInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateProjectOutput

type UpdateProjectOutput struct {
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateProjectResult

func (UpdateProjectOutput) GoString

func (s UpdateProjectOutput) GoString() string

GoString returns the string representation

func (UpdateProjectOutput) String

func (s UpdateProjectOutput) String() string

String returns the string representation

type UpdateTeamMemberInput

type UpdateTeamMemberInput struct {

	// The ID of the project.
	//
	// ProjectId is a required field
	ProjectId *string `locationName:"projectId" min:"2" type:"string" required:"true"`

	// The role assigned to the user in the project. Project roles have different
	// levels of access. For more information, see Working with Teams (http://docs.aws.amazon.com/codestar/latest/userguide/working-with-teams.html)
	// in the AWS CodeStar User Guide.
	ProjectRole *string `locationName:"projectRole" type:"string"`

	// Whether a team member is allowed to remotely access project resources using
	// the SSH public key associated with the user's profile. Even if this is set
	// to True, the user must associate a public key with their profile before the
	// user can access resources.
	RemoteAccessAllowed *bool `locationName:"remoteAccessAllowed" type:"boolean"`

	// The Amazon Resource Name (ARN) of the user for whom you want to change team
	// membership attributes.
	//
	// UserArn is a required field
	UserArn *string `locationName:"userArn" min:"32" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateTeamMemberRequest

func (UpdateTeamMemberInput) GoString

func (s UpdateTeamMemberInput) GoString() string

GoString returns the string representation

func (*UpdateTeamMemberInput) SetProjectId

SetProjectId sets the ProjectId field's value.

func (*UpdateTeamMemberInput) SetProjectRole

func (s *UpdateTeamMemberInput) SetProjectRole(v string) *UpdateTeamMemberInput

SetProjectRole sets the ProjectRole field's value.

func (*UpdateTeamMemberInput) SetRemoteAccessAllowed

func (s *UpdateTeamMemberInput) SetRemoteAccessAllowed(v bool) *UpdateTeamMemberInput

SetRemoteAccessAllowed sets the RemoteAccessAllowed field's value.

func (*UpdateTeamMemberInput) SetUserArn

SetUserArn sets the UserArn field's value.

func (UpdateTeamMemberInput) String

func (s UpdateTeamMemberInput) String() string

String returns the string representation

func (*UpdateTeamMemberInput) Validate

func (s *UpdateTeamMemberInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateTeamMemberOutput

type UpdateTeamMemberOutput struct {

	// The project role granted to the user.
	ProjectRole *string `locationName:"projectRole" type:"string"`

	// Whether a team member is allowed to remotely access project resources using
	// the SSH public key associated with the user's profile.
	RemoteAccessAllowed *bool `locationName:"remoteAccessAllowed" type:"boolean"`

	// The Amazon Resource Name (ARN) of the user whose team membership attributes
	// were updated.
	UserArn *string `locationName:"userArn" min:"32" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateTeamMemberResult

func (UpdateTeamMemberOutput) GoString

func (s UpdateTeamMemberOutput) GoString() string

GoString returns the string representation

func (*UpdateTeamMemberOutput) SetProjectRole

SetProjectRole sets the ProjectRole field's value.

func (*UpdateTeamMemberOutput) SetRemoteAccessAllowed

func (s *UpdateTeamMemberOutput) SetRemoteAccessAllowed(v bool) *UpdateTeamMemberOutput

SetRemoteAccessAllowed sets the RemoteAccessAllowed field's value.

func (*UpdateTeamMemberOutput) SetUserArn

SetUserArn sets the UserArn field's value.

func (UpdateTeamMemberOutput) String

func (s UpdateTeamMemberOutput) String() string

String returns the string representation

type UpdateUserProfileInput

type UpdateUserProfileInput struct {

	// The name that is displayed as the friendly name for the user in AWS CodeStar.
	DisplayName *string `locationName:"displayName" min:"1" type:"string"`

	// The email address that is displayed as part of the user's profile in AWS
	// CodeStar.
	EmailAddress *string `locationName:"emailAddress" min:"3" type:"string"`

	// The SSH public key associated with the user in AWS CodeStar. If a project
	// owner allows the user remote access to project resources, this public key
	// will be used along with the user's private key for SSH access.
	SshPublicKey *string `locationName:"sshPublicKey" type:"string"`

	// The name that will be displayed as the friendly name for the user in AWS
	// CodeStar.
	//
	// UserArn is a required field
	UserArn *string `locationName:"userArn" min:"32" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateUserProfileRequest

func (UpdateUserProfileInput) GoString

func (s UpdateUserProfileInput) GoString() string

GoString returns the string representation

func (*UpdateUserProfileInput) SetDisplayName

SetDisplayName sets the DisplayName field's value.

func (*UpdateUserProfileInput) SetEmailAddress

func (s *UpdateUserProfileInput) SetEmailAddress(v string) *UpdateUserProfileInput

SetEmailAddress sets the EmailAddress field's value.

func (*UpdateUserProfileInput) SetSshPublicKey

func (s *UpdateUserProfileInput) SetSshPublicKey(v string) *UpdateUserProfileInput

SetSshPublicKey sets the SshPublicKey field's value.

func (*UpdateUserProfileInput) SetUserArn

SetUserArn sets the UserArn field's value.

func (UpdateUserProfileInput) String

func (s UpdateUserProfileInput) String() string

String returns the string representation

func (*UpdateUserProfileInput) Validate

func (s *UpdateUserProfileInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateUserProfileOutput

type UpdateUserProfileOutput struct {

	// The date the user profile was created, in timestamp format.
	CreatedTimestamp *time.Time `locationName:"createdTimestamp" type:"timestamp" timestampFormat:"unix"`

	// The name that is displayed as the friendly name for the user in AWS CodeStar.
	DisplayName *string `locationName:"displayName" min:"1" type:"string"`

	// The email address that is displayed as part of the user's profile in AWS
	// CodeStar.
	EmailAddress *string `locationName:"emailAddress" min:"3" type:"string"`

	// The date the user profile was last modified, in timestamp format.
	LastModifiedTimestamp *time.Time `locationName:"lastModifiedTimestamp" type:"timestamp" timestampFormat:"unix"`

	// The SSH public key associated with the user in AWS CodeStar. This is the
	// public portion of the public/private keypair the user can use to access project
	// resources if a project owner allows the user remote access to those resources.
	SshPublicKey *string `locationName:"sshPublicKey" type:"string"`

	// The Amazon Resource Name (ARN) of the user in IAM.
	//
	// UserArn is a required field
	UserArn *string `locationName:"userArn" min:"32" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateUserProfileResult

func (UpdateUserProfileOutput) GoString

func (s UpdateUserProfileOutput) GoString() string

GoString returns the string representation

func (*UpdateUserProfileOutput) SetCreatedTimestamp

func (s *UpdateUserProfileOutput) SetCreatedTimestamp(v time.Time) *UpdateUserProfileOutput

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*UpdateUserProfileOutput) SetDisplayName

SetDisplayName sets the DisplayName field's value.

func (*UpdateUserProfileOutput) SetEmailAddress

SetEmailAddress sets the EmailAddress field's value.

func (*UpdateUserProfileOutput) SetLastModifiedTimestamp

func (s *UpdateUserProfileOutput) SetLastModifiedTimestamp(v time.Time) *UpdateUserProfileOutput

SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value.

func (*UpdateUserProfileOutput) SetSshPublicKey

SetSshPublicKey sets the SshPublicKey field's value.

func (*UpdateUserProfileOutput) SetUserArn

SetUserArn sets the UserArn field's value.

func (UpdateUserProfileOutput) String

func (s UpdateUserProfileOutput) String() string

String returns the string representation

type UserProfileSummary

type UserProfileSummary struct {

	// The display name of a user in AWS CodeStar. For example, this could be set
	// to both first and last name ("Mary Major") or a single name ("Mary"). The
	// display name is also used to generate the initial icon associated with the
	// user in AWS CodeStar projects. If spaces are included in the display name,
	// the first character that appears after the space will be used as the second
	// character in the user initial icon. The initial icon displays a maximum of
	// two characters, so a display name with more than one space (for example "Mary
	// Jane Major") would generate an initial icon using the first character and
	// the first character after the space ("MJ", not "MM").
	DisplayName *string `locationName:"displayName" min:"1" type:"string"`

	// The email address associated with the user.
	EmailAddress *string `locationName:"emailAddress" min:"3" type:"string"`

	// The SSH public key associated with the user in AWS CodeStar. If a project
	// owner allows the user remote access to project resources, this public key
	// will be used along with the user's private key for SSH access.
	SshPublicKey *string `locationName:"sshPublicKey" type:"string"`

	// The Amazon Resource Name (ARN) of the user in IAM.
	UserArn *string `locationName:"userArn" min:"32" type:"string"`
	// contains filtered or unexported fields
}

Information about a user's profile in AWS CodeStar. Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UserProfileSummary

func (UserProfileSummary) GoString

func (s UserProfileSummary) GoString() string

GoString returns the string representation

func (*UserProfileSummary) SetDisplayName

func (s *UserProfileSummary) SetDisplayName(v string) *UserProfileSummary

SetDisplayName sets the DisplayName field's value.

func (*UserProfileSummary) SetEmailAddress

func (s *UserProfileSummary) SetEmailAddress(v string) *UserProfileSummary

SetEmailAddress sets the EmailAddress field's value.

func (*UserProfileSummary) SetSshPublicKey

func (s *UserProfileSummary) SetSshPublicKey(v string) *UserProfileSummary

SetSshPublicKey sets the SshPublicKey field's value.

func (*UserProfileSummary) SetUserArn

func (s *UserProfileSummary) SetUserArn(v string) *UserProfileSummary

SetUserArn sets the UserArn field's value.

func (UserProfileSummary) String

func (s UserProfileSummary) String() string

String returns the string representation

Directories

Path Synopsis
Package codestariface provides an interface to enable mocking the AWS CodeStar service client for testing your code.
Package codestariface provides an interface to enable mocking the AWS CodeStar service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL