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.
DescribeProject, which lists the attributes of a project.
ListProjects, which lists all projects associated with your AWS account.
ListResources, which lists the resources associated with a project.
ListTagsForProject, which lists the tags associated with a project.
TagProject, which adds tags to a project.
UntagProject, which removes tags from a project.
UpdateProject, which updates the attributes of a project.
Teams and team members, by calling the following:
AssociateTeamMember, which adds an IAM user to the team for a project.
DisassociateTeamMember, which removes an IAM user from the team for a project.
ListTeamMembers, which lists all the IAM users in the team for a project, including their roles and attributes.
UpdateTeamMember, which updates a team member's attributes in a project.
Users, by calling the following:
CreateUserProfile, which creates a user profile that contains data associated with the user across all projects.
DeleteUserProfile, which deletes all user profile information across all projects.
DescribeUserProfile, which describes the profile of a user.
ListUserProfiles, which lists all user profiles.
UpdateUserProfile, which updates the profile for a user.
See https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19 for more information on this service.
See codestar package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/codestar/
Using the Client ¶
To contact AWS CodeStar with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the AWS CodeStar client CodeStar for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/codestar/#New
Index ¶
- Constants
- type AssociateTeamMemberInput
- func (s AssociateTeamMemberInput) GoString() string
- func (s *AssociateTeamMemberInput) SetClientRequestToken(v string) *AssociateTeamMemberInput
- func (s *AssociateTeamMemberInput) SetProjectId(v string) *AssociateTeamMemberInput
- func (s *AssociateTeamMemberInput) SetProjectRole(v string) *AssociateTeamMemberInput
- func (s *AssociateTeamMemberInput) SetRemoteAccessAllowed(v bool) *AssociateTeamMemberInput
- func (s *AssociateTeamMemberInput) SetUserArn(v string) *AssociateTeamMemberInput
- func (s AssociateTeamMemberInput) String() string
- func (s *AssociateTeamMemberInput) Validate() error
- type AssociateTeamMemberOutput
- type Code
- type CodeCommitCodeDestination
- type CodeDestination
- type CodeSource
- type CodeStar
- func (c *CodeStar) AssociateTeamMember(input *AssociateTeamMemberInput) (*AssociateTeamMemberOutput, error)
- func (c *CodeStar) AssociateTeamMemberRequest(input *AssociateTeamMemberInput) (req *request.Request, output *AssociateTeamMemberOutput)
- func (c *CodeStar) AssociateTeamMemberWithContext(ctx aws.Context, input *AssociateTeamMemberInput, opts ...request.Option) (*AssociateTeamMemberOutput, error)
- func (c *CodeStar) CreateProject(input *CreateProjectInput) (*CreateProjectOutput, error)
- func (c *CodeStar) CreateProjectRequest(input *CreateProjectInput) (req *request.Request, output *CreateProjectOutput)
- func (c *CodeStar) CreateProjectWithContext(ctx aws.Context, input *CreateProjectInput, opts ...request.Option) (*CreateProjectOutput, error)
- func (c *CodeStar) CreateUserProfile(input *CreateUserProfileInput) (*CreateUserProfileOutput, error)
- func (c *CodeStar) CreateUserProfileRequest(input *CreateUserProfileInput) (req *request.Request, output *CreateUserProfileOutput)
- func (c *CodeStar) CreateUserProfileWithContext(ctx aws.Context, input *CreateUserProfileInput, opts ...request.Option) (*CreateUserProfileOutput, error)
- func (c *CodeStar) DeleteProject(input *DeleteProjectInput) (*DeleteProjectOutput, error)
- func (c *CodeStar) DeleteProjectRequest(input *DeleteProjectInput) (req *request.Request, output *DeleteProjectOutput)
- func (c *CodeStar) DeleteProjectWithContext(ctx aws.Context, input *DeleteProjectInput, opts ...request.Option) (*DeleteProjectOutput, error)
- func (c *CodeStar) DeleteUserProfile(input *DeleteUserProfileInput) (*DeleteUserProfileOutput, error)
- func (c *CodeStar) DeleteUserProfileRequest(input *DeleteUserProfileInput) (req *request.Request, output *DeleteUserProfileOutput)
- func (c *CodeStar) DeleteUserProfileWithContext(ctx aws.Context, input *DeleteUserProfileInput, opts ...request.Option) (*DeleteUserProfileOutput, error)
- func (c *CodeStar) DescribeProject(input *DescribeProjectInput) (*DescribeProjectOutput, error)
- func (c *CodeStar) DescribeProjectRequest(input *DescribeProjectInput) (req *request.Request, output *DescribeProjectOutput)
- func (c *CodeStar) DescribeProjectWithContext(ctx aws.Context, input *DescribeProjectInput, opts ...request.Option) (*DescribeProjectOutput, error)
- func (c *CodeStar) DescribeUserProfile(input *DescribeUserProfileInput) (*DescribeUserProfileOutput, error)
- func (c *CodeStar) DescribeUserProfileRequest(input *DescribeUserProfileInput) (req *request.Request, output *DescribeUserProfileOutput)
- func (c *CodeStar) DescribeUserProfileWithContext(ctx aws.Context, input *DescribeUserProfileInput, opts ...request.Option) (*DescribeUserProfileOutput, error)
- func (c *CodeStar) DisassociateTeamMember(input *DisassociateTeamMemberInput) (*DisassociateTeamMemberOutput, error)
- func (c *CodeStar) DisassociateTeamMemberRequest(input *DisassociateTeamMemberInput) (req *request.Request, output *DisassociateTeamMemberOutput)
- func (c *CodeStar) DisassociateTeamMemberWithContext(ctx aws.Context, input *DisassociateTeamMemberInput, opts ...request.Option) (*DisassociateTeamMemberOutput, error)
- func (c *CodeStar) ListProjects(input *ListProjectsInput) (*ListProjectsOutput, error)
- func (c *CodeStar) ListProjectsRequest(input *ListProjectsInput) (req *request.Request, output *ListProjectsOutput)
- func (c *CodeStar) ListProjectsWithContext(ctx aws.Context, input *ListProjectsInput, opts ...request.Option) (*ListProjectsOutput, error)
- func (c *CodeStar) ListResources(input *ListResourcesInput) (*ListResourcesOutput, error)
- func (c *CodeStar) ListResourcesRequest(input *ListResourcesInput) (req *request.Request, output *ListResourcesOutput)
- func (c *CodeStar) ListResourcesWithContext(ctx aws.Context, input *ListResourcesInput, opts ...request.Option) (*ListResourcesOutput, error)
- func (c *CodeStar) ListTagsForProject(input *ListTagsForProjectInput) (*ListTagsForProjectOutput, error)
- func (c *CodeStar) ListTagsForProjectRequest(input *ListTagsForProjectInput) (req *request.Request, output *ListTagsForProjectOutput)
- func (c *CodeStar) ListTagsForProjectWithContext(ctx aws.Context, input *ListTagsForProjectInput, opts ...request.Option) (*ListTagsForProjectOutput, error)
- func (c *CodeStar) ListTeamMembers(input *ListTeamMembersInput) (*ListTeamMembersOutput, error)
- func (c *CodeStar) ListTeamMembersRequest(input *ListTeamMembersInput) (req *request.Request, output *ListTeamMembersOutput)
- func (c *CodeStar) ListTeamMembersWithContext(ctx aws.Context, input *ListTeamMembersInput, opts ...request.Option) (*ListTeamMembersOutput, error)
- func (c *CodeStar) ListUserProfiles(input *ListUserProfilesInput) (*ListUserProfilesOutput, error)
- func (c *CodeStar) ListUserProfilesRequest(input *ListUserProfilesInput) (req *request.Request, output *ListUserProfilesOutput)
- func (c *CodeStar) ListUserProfilesWithContext(ctx aws.Context, input *ListUserProfilesInput, opts ...request.Option) (*ListUserProfilesOutput, error)
- func (c *CodeStar) TagProject(input *TagProjectInput) (*TagProjectOutput, error)
- func (c *CodeStar) TagProjectRequest(input *TagProjectInput) (req *request.Request, output *TagProjectOutput)
- func (c *CodeStar) TagProjectWithContext(ctx aws.Context, input *TagProjectInput, opts ...request.Option) (*TagProjectOutput, error)
- func (c *CodeStar) UntagProject(input *UntagProjectInput) (*UntagProjectOutput, error)
- func (c *CodeStar) UntagProjectRequest(input *UntagProjectInput) (req *request.Request, output *UntagProjectOutput)
- func (c *CodeStar) UntagProjectWithContext(ctx aws.Context, input *UntagProjectInput, opts ...request.Option) (*UntagProjectOutput, error)
- func (c *CodeStar) UpdateProject(input *UpdateProjectInput) (*UpdateProjectOutput, error)
- func (c *CodeStar) UpdateProjectRequest(input *UpdateProjectInput) (req *request.Request, output *UpdateProjectOutput)
- func (c *CodeStar) UpdateProjectWithContext(ctx aws.Context, input *UpdateProjectInput, opts ...request.Option) (*UpdateProjectOutput, error)
- func (c *CodeStar) UpdateTeamMember(input *UpdateTeamMemberInput) (*UpdateTeamMemberOutput, error)
- func (c *CodeStar) UpdateTeamMemberRequest(input *UpdateTeamMemberInput) (req *request.Request, output *UpdateTeamMemberOutput)
- func (c *CodeStar) UpdateTeamMemberWithContext(ctx aws.Context, input *UpdateTeamMemberInput, opts ...request.Option) (*UpdateTeamMemberOutput, error)
- func (c *CodeStar) UpdateUserProfile(input *UpdateUserProfileInput) (*UpdateUserProfileOutput, error)
- func (c *CodeStar) UpdateUserProfileRequest(input *UpdateUserProfileInput) (req *request.Request, output *UpdateUserProfileOutput)
- func (c *CodeStar) UpdateUserProfileWithContext(ctx aws.Context, input *UpdateUserProfileInput, opts ...request.Option) (*UpdateUserProfileOutput, error)
- type ConcurrentModificationException
- func (s *ConcurrentModificationException) Code() string
- func (s *ConcurrentModificationException) Error() string
- func (s ConcurrentModificationException) GoString() string
- func (s *ConcurrentModificationException) Message() string
- func (s *ConcurrentModificationException) OrigErr() error
- func (s *ConcurrentModificationException) RequestID() string
- func (s *ConcurrentModificationException) StatusCode() int
- func (s ConcurrentModificationException) String() string
- type CreateProjectInput
- func (s CreateProjectInput) GoString() string
- func (s *CreateProjectInput) SetClientRequestToken(v string) *CreateProjectInput
- func (s *CreateProjectInput) SetDescription(v string) *CreateProjectInput
- func (s *CreateProjectInput) SetId(v string) *CreateProjectInput
- func (s *CreateProjectInput) SetName(v string) *CreateProjectInput
- func (s *CreateProjectInput) SetSourceCode(v []*Code) *CreateProjectInput
- func (s *CreateProjectInput) SetTags(v map[string]*string) *CreateProjectInput
- func (s *CreateProjectInput) SetToolchain(v *Toolchain) *CreateProjectInput
- func (s CreateProjectInput) String() string
- func (s *CreateProjectInput) Validate() error
- type CreateProjectOutput
- func (s CreateProjectOutput) GoString() string
- func (s *CreateProjectOutput) SetArn(v string) *CreateProjectOutput
- func (s *CreateProjectOutput) SetClientRequestToken(v string) *CreateProjectOutput
- func (s *CreateProjectOutput) SetId(v string) *CreateProjectOutput
- func (s *CreateProjectOutput) SetProjectTemplateId(v string) *CreateProjectOutput
- func (s CreateProjectOutput) String() string
- type CreateUserProfileInput
- func (s CreateUserProfileInput) GoString() string
- func (s *CreateUserProfileInput) SetDisplayName(v string) *CreateUserProfileInput
- func (s *CreateUserProfileInput) SetEmailAddress(v string) *CreateUserProfileInput
- func (s *CreateUserProfileInput) SetSshPublicKey(v string) *CreateUserProfileInput
- func (s *CreateUserProfileInput) SetUserArn(v string) *CreateUserProfileInput
- func (s CreateUserProfileInput) String() string
- func (s *CreateUserProfileInput) Validate() error
- type CreateUserProfileOutput
- func (s CreateUserProfileOutput) GoString() string
- func (s *CreateUserProfileOutput) SetCreatedTimestamp(v time.Time) *CreateUserProfileOutput
- func (s *CreateUserProfileOutput) SetDisplayName(v string) *CreateUserProfileOutput
- func (s *CreateUserProfileOutput) SetEmailAddress(v string) *CreateUserProfileOutput
- func (s *CreateUserProfileOutput) SetLastModifiedTimestamp(v time.Time) *CreateUserProfileOutput
- func (s *CreateUserProfileOutput) SetSshPublicKey(v string) *CreateUserProfileOutput
- func (s *CreateUserProfileOutput) SetUserArn(v string) *CreateUserProfileOutput
- func (s CreateUserProfileOutput) String() string
- type DeleteProjectInput
- func (s DeleteProjectInput) GoString() string
- func (s *DeleteProjectInput) SetClientRequestToken(v string) *DeleteProjectInput
- func (s *DeleteProjectInput) SetDeleteStack(v bool) *DeleteProjectInput
- func (s *DeleteProjectInput) SetId(v string) *DeleteProjectInput
- func (s DeleteProjectInput) String() string
- func (s *DeleteProjectInput) Validate() error
- type DeleteProjectOutput
- type DeleteUserProfileInput
- type DeleteUserProfileOutput
- type DescribeProjectInput
- type DescribeProjectOutput
- func (s DescribeProjectOutput) GoString() string
- func (s *DescribeProjectOutput) SetArn(v string) *DescribeProjectOutput
- func (s *DescribeProjectOutput) SetClientRequestToken(v string) *DescribeProjectOutput
- func (s *DescribeProjectOutput) SetCreatedTimeStamp(v time.Time) *DescribeProjectOutput
- func (s *DescribeProjectOutput) SetDescription(v string) *DescribeProjectOutput
- func (s *DescribeProjectOutput) SetId(v string) *DescribeProjectOutput
- func (s *DescribeProjectOutput) SetName(v string) *DescribeProjectOutput
- func (s *DescribeProjectOutput) SetProjectTemplateId(v string) *DescribeProjectOutput
- func (s *DescribeProjectOutput) SetStackId(v string) *DescribeProjectOutput
- func (s *DescribeProjectOutput) SetStatus(v *ProjectStatus) *DescribeProjectOutput
- func (s DescribeProjectOutput) String() string
- type DescribeUserProfileInput
- type DescribeUserProfileOutput
- func (s DescribeUserProfileOutput) GoString() string
- func (s *DescribeUserProfileOutput) SetCreatedTimestamp(v time.Time) *DescribeUserProfileOutput
- func (s *DescribeUserProfileOutput) SetDisplayName(v string) *DescribeUserProfileOutput
- func (s *DescribeUserProfileOutput) SetEmailAddress(v string) *DescribeUserProfileOutput
- func (s *DescribeUserProfileOutput) SetLastModifiedTimestamp(v time.Time) *DescribeUserProfileOutput
- func (s *DescribeUserProfileOutput) SetSshPublicKey(v string) *DescribeUserProfileOutput
- func (s *DescribeUserProfileOutput) SetUserArn(v string) *DescribeUserProfileOutput
- func (s DescribeUserProfileOutput) String() string
- type DisassociateTeamMemberInput
- func (s DisassociateTeamMemberInput) GoString() string
- func (s *DisassociateTeamMemberInput) SetProjectId(v string) *DisassociateTeamMemberInput
- func (s *DisassociateTeamMemberInput) SetUserArn(v string) *DisassociateTeamMemberInput
- func (s DisassociateTeamMemberInput) String() string
- func (s *DisassociateTeamMemberInput) Validate() error
- type DisassociateTeamMemberOutput
- type GitHubCodeDestination
- func (s GitHubCodeDestination) GoString() string
- func (s *GitHubCodeDestination) SetDescription(v string) *GitHubCodeDestination
- func (s *GitHubCodeDestination) SetIssuesEnabled(v bool) *GitHubCodeDestination
- func (s *GitHubCodeDestination) SetName(v string) *GitHubCodeDestination
- func (s *GitHubCodeDestination) SetOwner(v string) *GitHubCodeDestination
- func (s *GitHubCodeDestination) SetPrivateRepository(v bool) *GitHubCodeDestination
- func (s *GitHubCodeDestination) SetToken(v string) *GitHubCodeDestination
- func (s *GitHubCodeDestination) SetType(v string) *GitHubCodeDestination
- func (s GitHubCodeDestination) String() string
- func (s *GitHubCodeDestination) Validate() error
- type InvalidNextTokenException
- func (s *InvalidNextTokenException) Code() string
- func (s *InvalidNextTokenException) Error() string
- func (s InvalidNextTokenException) GoString() string
- func (s *InvalidNextTokenException) Message() string
- func (s *InvalidNextTokenException) OrigErr() error
- func (s *InvalidNextTokenException) RequestID() string
- func (s *InvalidNextTokenException) StatusCode() int
- func (s InvalidNextTokenException) String() string
- type InvalidServiceRoleException
- func (s *InvalidServiceRoleException) Code() string
- func (s *InvalidServiceRoleException) Error() string
- func (s InvalidServiceRoleException) GoString() string
- func (s *InvalidServiceRoleException) Message() string
- func (s *InvalidServiceRoleException) OrigErr() error
- func (s *InvalidServiceRoleException) RequestID() string
- func (s *InvalidServiceRoleException) StatusCode() int
- func (s InvalidServiceRoleException) String() string
- type LimitExceededException
- func (s *LimitExceededException) Code() string
- func (s *LimitExceededException) Error() string
- func (s LimitExceededException) GoString() string
- func (s *LimitExceededException) Message() string
- func (s *LimitExceededException) OrigErr() error
- func (s *LimitExceededException) RequestID() string
- func (s *LimitExceededException) StatusCode() int
- func (s LimitExceededException) String() string
- type ListProjectsInput
- type ListProjectsOutput
- type ListResourcesInput
- func (s ListResourcesInput) GoString() string
- func (s *ListResourcesInput) SetMaxResults(v int64) *ListResourcesInput
- func (s *ListResourcesInput) SetNextToken(v string) *ListResourcesInput
- func (s *ListResourcesInput) SetProjectId(v string) *ListResourcesInput
- func (s ListResourcesInput) String() string
- func (s *ListResourcesInput) Validate() error
- type ListResourcesOutput
- type ListTagsForProjectInput
- func (s ListTagsForProjectInput) GoString() string
- func (s *ListTagsForProjectInput) SetId(v string) *ListTagsForProjectInput
- func (s *ListTagsForProjectInput) SetMaxResults(v int64) *ListTagsForProjectInput
- func (s *ListTagsForProjectInput) SetNextToken(v string) *ListTagsForProjectInput
- func (s ListTagsForProjectInput) String() string
- func (s *ListTagsForProjectInput) Validate() error
- type ListTagsForProjectOutput
- type ListTeamMembersInput
- func (s ListTeamMembersInput) GoString() string
- func (s *ListTeamMembersInput) SetMaxResults(v int64) *ListTeamMembersInput
- func (s *ListTeamMembersInput) SetNextToken(v string) *ListTeamMembersInput
- func (s *ListTeamMembersInput) SetProjectId(v string) *ListTeamMembersInput
- func (s ListTeamMembersInput) String() string
- func (s *ListTeamMembersInput) Validate() error
- type ListTeamMembersOutput
- type ListUserProfilesInput
- func (s ListUserProfilesInput) GoString() string
- func (s *ListUserProfilesInput) SetMaxResults(v int64) *ListUserProfilesInput
- func (s *ListUserProfilesInput) SetNextToken(v string) *ListUserProfilesInput
- func (s ListUserProfilesInput) String() string
- func (s *ListUserProfilesInput) Validate() error
- type ListUserProfilesOutput
- type ProjectAlreadyExistsException
- func (s *ProjectAlreadyExistsException) Code() string
- func (s *ProjectAlreadyExistsException) Error() string
- func (s ProjectAlreadyExistsException) GoString() string
- func (s *ProjectAlreadyExistsException) Message() string
- func (s *ProjectAlreadyExistsException) OrigErr() error
- func (s *ProjectAlreadyExistsException) RequestID() string
- func (s *ProjectAlreadyExistsException) StatusCode() int
- func (s ProjectAlreadyExistsException) String() string
- type ProjectConfigurationException
- func (s *ProjectConfigurationException) Code() string
- func (s *ProjectConfigurationException) Error() string
- func (s ProjectConfigurationException) GoString() string
- func (s *ProjectConfigurationException) Message() string
- func (s *ProjectConfigurationException) OrigErr() error
- func (s *ProjectConfigurationException) RequestID() string
- func (s *ProjectConfigurationException) StatusCode() int
- func (s ProjectConfigurationException) String() string
- type ProjectCreationFailedException
- func (s *ProjectCreationFailedException) Code() string
- func (s *ProjectCreationFailedException) Error() string
- func (s ProjectCreationFailedException) GoString() string
- func (s *ProjectCreationFailedException) Message() string
- func (s *ProjectCreationFailedException) OrigErr() error
- func (s *ProjectCreationFailedException) RequestID() string
- func (s *ProjectCreationFailedException) StatusCode() int
- func (s ProjectCreationFailedException) String() string
- type ProjectNotFoundException
- func (s *ProjectNotFoundException) Code() string
- func (s *ProjectNotFoundException) Error() string
- func (s ProjectNotFoundException) GoString() string
- func (s *ProjectNotFoundException) Message() string
- func (s *ProjectNotFoundException) OrigErr() error
- func (s *ProjectNotFoundException) RequestID() string
- func (s *ProjectNotFoundException) StatusCode() int
- func (s ProjectNotFoundException) String() string
- type ProjectStatus
- type ProjectSummary
- type Resource
- type S3Location
- type TagProjectInput
- type TagProjectOutput
- type TeamMember
- type TeamMemberAlreadyAssociatedException
- func (s *TeamMemberAlreadyAssociatedException) Code() string
- func (s *TeamMemberAlreadyAssociatedException) Error() string
- func (s TeamMemberAlreadyAssociatedException) GoString() string
- func (s *TeamMemberAlreadyAssociatedException) Message() string
- func (s *TeamMemberAlreadyAssociatedException) OrigErr() error
- func (s *TeamMemberAlreadyAssociatedException) RequestID() string
- func (s *TeamMemberAlreadyAssociatedException) StatusCode() int
- func (s TeamMemberAlreadyAssociatedException) String() string
- type TeamMemberNotFoundException
- func (s *TeamMemberNotFoundException) Code() string
- func (s *TeamMemberNotFoundException) Error() string
- func (s TeamMemberNotFoundException) GoString() string
- func (s *TeamMemberNotFoundException) Message() string
- func (s *TeamMemberNotFoundException) OrigErr() error
- func (s *TeamMemberNotFoundException) RequestID() string
- func (s *TeamMemberNotFoundException) StatusCode() int
- func (s TeamMemberNotFoundException) String() string
- type Toolchain
- type ToolchainSource
- type UntagProjectInput
- type UntagProjectOutput
- type UpdateProjectInput
- func (s UpdateProjectInput) GoString() string
- func (s *UpdateProjectInput) SetDescription(v string) *UpdateProjectInput
- func (s *UpdateProjectInput) SetId(v string) *UpdateProjectInput
- func (s *UpdateProjectInput) SetName(v string) *UpdateProjectInput
- func (s UpdateProjectInput) String() string
- func (s *UpdateProjectInput) Validate() error
- type UpdateProjectOutput
- type UpdateTeamMemberInput
- func (s UpdateTeamMemberInput) GoString() string
- func (s *UpdateTeamMemberInput) SetProjectId(v string) *UpdateTeamMemberInput
- func (s *UpdateTeamMemberInput) SetProjectRole(v string) *UpdateTeamMemberInput
- func (s *UpdateTeamMemberInput) SetRemoteAccessAllowed(v bool) *UpdateTeamMemberInput
- func (s *UpdateTeamMemberInput) SetUserArn(v string) *UpdateTeamMemberInput
- func (s UpdateTeamMemberInput) String() string
- func (s *UpdateTeamMemberInput) Validate() error
- type UpdateTeamMemberOutput
- func (s UpdateTeamMemberOutput) GoString() string
- func (s *UpdateTeamMemberOutput) SetProjectRole(v string) *UpdateTeamMemberOutput
- func (s *UpdateTeamMemberOutput) SetRemoteAccessAllowed(v bool) *UpdateTeamMemberOutput
- func (s *UpdateTeamMemberOutput) SetUserArn(v string) *UpdateTeamMemberOutput
- func (s UpdateTeamMemberOutput) String() string
- type UpdateUserProfileInput
- func (s UpdateUserProfileInput) GoString() string
- func (s *UpdateUserProfileInput) SetDisplayName(v string) *UpdateUserProfileInput
- func (s *UpdateUserProfileInput) SetEmailAddress(v string) *UpdateUserProfileInput
- func (s *UpdateUserProfileInput) SetSshPublicKey(v string) *UpdateUserProfileInput
- func (s *UpdateUserProfileInput) SetUserArn(v string) *UpdateUserProfileInput
- func (s UpdateUserProfileInput) String() string
- func (s *UpdateUserProfileInput) Validate() error
- type UpdateUserProfileOutput
- func (s UpdateUserProfileOutput) GoString() string
- func (s *UpdateUserProfileOutput) SetCreatedTimestamp(v time.Time) *UpdateUserProfileOutput
- func (s *UpdateUserProfileOutput) SetDisplayName(v string) *UpdateUserProfileOutput
- func (s *UpdateUserProfileOutput) SetEmailAddress(v string) *UpdateUserProfileOutput
- func (s *UpdateUserProfileOutput) SetLastModifiedTimestamp(v time.Time) *UpdateUserProfileOutput
- func (s *UpdateUserProfileOutput) SetSshPublicKey(v string) *UpdateUserProfileOutput
- func (s *UpdateUserProfileOutput) SetUserArn(v string) *UpdateUserProfileOutput
- func (s UpdateUserProfileOutput) String() string
- type UserProfileAlreadyExistsException
- func (s *UserProfileAlreadyExistsException) Code() string
- func (s *UserProfileAlreadyExistsException) Error() string
- func (s UserProfileAlreadyExistsException) GoString() string
- func (s *UserProfileAlreadyExistsException) Message() string
- func (s *UserProfileAlreadyExistsException) OrigErr() error
- func (s *UserProfileAlreadyExistsException) RequestID() string
- func (s *UserProfileAlreadyExistsException) StatusCode() int
- func (s UserProfileAlreadyExistsException) String() string
- type UserProfileNotFoundException
- func (s *UserProfileNotFoundException) Code() string
- func (s *UserProfileNotFoundException) Error() string
- func (s UserProfileNotFoundException) GoString() string
- func (s *UserProfileNotFoundException) Message() string
- func (s *UserProfileNotFoundException) OrigErr() error
- func (s *UserProfileNotFoundException) RequestID() string
- func (s *UserProfileNotFoundException) StatusCode() int
- func (s UserProfileNotFoundException) String() string
- type UserProfileSummary
- func (s UserProfileSummary) GoString() string
- func (s *UserProfileSummary) SetDisplayName(v string) *UserProfileSummary
- func (s *UserProfileSummary) SetEmailAddress(v string) *UserProfileSummary
- func (s *UserProfileSummary) SetSshPublicKey(v string) *UserProfileSummary
- func (s *UserProfileSummary) SetUserArn(v string) *UserProfileSummary
- func (s UserProfileSummary) String() string
- type ValidationException
- func (s *ValidationException) Code() string
- func (s *ValidationException) Error() string
- func (s ValidationException) GoString() string
- func (s *ValidationException) Message() string
- func (s *ValidationException) OrigErr() error
- func (s *ValidationException) RequestID() string
- func (s *ValidationException) StatusCode() int
- func (s ValidationException) String() string
Constants ¶
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" )
const ( ServiceName = "codestar" // Name of service. EndpointsID = ServiceName // ID to lookup a service endpoint with. ServiceID = "CodeStar" // ServiceID is a unique identifier of a specific service. )
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 AWS // CodeStar project. // // UserArn is a required field UserArn *string `locationName:"userArn" min:"32" type:"string" required:"true"` // contains filtered or unexported fields }
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 ¶
func (s *AssociateTeamMemberInput) SetProjectId(v string) *AssociateTeamMemberInput
SetProjectId sets the ProjectId field's value.
func (*AssociateTeamMemberInput) SetProjectRole ¶
func (s *AssociateTeamMemberInput) SetProjectRole(v string) *AssociateTeamMemberInput
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 ¶
func (s *AssociateTeamMemberInput) SetUserArn(v string) *AssociateTeamMemberInput
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 }
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 Code ¶ added in v1.15.62
type Code struct { // The repository to be created in AWS CodeStar. Valid values are AWS CodeCommit // or GitHub. After AWS CodeStar provisions the new repository, the source code // files provided with the project request are placed in the repository. // // Destination is a required field Destination *CodeDestination `locationName:"destination" type:"structure" required:"true"` // The location where the source code files provided with the project request // are stored. AWS CodeStar retrieves the files during project creation. // // Source is a required field Source *CodeSource `locationName:"source" type:"structure" required:"true"` // contains filtered or unexported fields }
Location and destination information about the source code files provided with the project request. The source code is uploaded to the new project source repository after project creation.
func (*Code) SetDestination ¶ added in v1.15.62
func (s *Code) SetDestination(v *CodeDestination) *Code
SetDestination sets the Destination field's value.
func (*Code) SetSource ¶ added in v1.15.62
func (s *Code) SetSource(v *CodeSource) *Code
SetSource sets the Source field's value.
type CodeCommitCodeDestination ¶ added in v1.15.62
type CodeCommitCodeDestination struct { // The name of the AWS CodeCommit repository to be created in AWS CodeStar. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Information about the AWS CodeCommit repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.
func (CodeCommitCodeDestination) GoString ¶ added in v1.15.62
func (s CodeCommitCodeDestination) GoString() string
GoString returns the string representation
func (*CodeCommitCodeDestination) SetName ¶ added in v1.15.62
func (s *CodeCommitCodeDestination) SetName(v string) *CodeCommitCodeDestination
SetName sets the Name field's value.
func (CodeCommitCodeDestination) String ¶ added in v1.15.62
func (s CodeCommitCodeDestination) String() string
String returns the string representation
func (*CodeCommitCodeDestination) Validate ¶ added in v1.15.62
func (s *CodeCommitCodeDestination) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CodeDestination ¶ added in v1.15.62
type CodeDestination struct { // Information about the AWS CodeCommit repository to be created in AWS CodeStar. // This is where the source code files provided with the project request will // be uploaded after project creation. CodeCommit *CodeCommitCodeDestination `locationName:"codeCommit" type:"structure"` // Information about the GitHub repository to be created in AWS CodeStar. This // is where the source code files provided with the project request will be // uploaded after project creation. GitHub *GitHubCodeDestination `locationName:"gitHub" type:"structure"` // contains filtered or unexported fields }
The repository to be created in AWS CodeStar. Valid values are AWS CodeCommit or GitHub. After AWS CodeStar provisions the new repository, the source code files provided with the project request are placed in the repository.
func (CodeDestination) GoString ¶ added in v1.15.62
func (s CodeDestination) GoString() string
GoString returns the string representation
func (*CodeDestination) SetCodeCommit ¶ added in v1.15.62
func (s *CodeDestination) SetCodeCommit(v *CodeCommitCodeDestination) *CodeDestination
SetCodeCommit sets the CodeCommit field's value.
func (*CodeDestination) SetGitHub ¶ added in v1.15.62
func (s *CodeDestination) SetGitHub(v *GitHubCodeDestination) *CodeDestination
SetGitHub sets the GitHub field's value.
func (CodeDestination) String ¶ added in v1.15.62
func (s CodeDestination) String() string
String returns the string representation
func (*CodeDestination) Validate ¶ added in v1.15.62
func (s *CodeDestination) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CodeSource ¶ added in v1.15.62
type CodeSource struct { // Information about the Amazon S3 location where the source code files provided // with the project request are stored. // // S3 is a required field S3 *S3Location `locationName:"s3" type:"structure" required:"true"` // contains filtered or unexported fields }
The location where the source code files provided with the project request are stored. AWS CodeStar retrieves the files during project creation.
func (CodeSource) GoString ¶ added in v1.15.62
func (s CodeSource) GoString() string
GoString returns the string representation
func (*CodeSource) SetS3 ¶ added in v1.15.62
func (s *CodeSource) SetS3(v *S3Location) *CodeSource
SetS3 sets the S3 field's value.
func (CodeSource) String ¶ added in v1.15.62
func (s CodeSource) String() string
String returns the string representation
func (*CodeSource) Validate ¶ added in v1.15.62
func (s *CodeSource) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CodeStar ¶
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:
mySession := session.Must(session.NewSession()) // 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 Types:
LimitExceededException A resource limit has been exceeded.
ProjectNotFoundException The specified AWS CodeStar project was not found.
TeamMemberAlreadyAssociatedException The team member is already associated with a role in this project.
ValidationException The specified input is either not valid, or it could not be validated.
InvalidServiceRoleException The service role is not valid.
ProjectConfigurationException Project configuration information is required but not specified.
ConcurrentModificationException Another modification is being made. That modification must complete before you can make your change.
See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/AssociateTeamMember
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AssociateTeamMember for more information on using the AssociateTeamMember API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the AssociateTeamMemberRequest method. req, resp := client.AssociateTeamMemberRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/AssociateTeamMember
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.
Creates a project, including project resources. This action creates a project based on a submitted project request. A set of source code files and a toolchain template file can be included with the project request. If these are not provided, an empty project is created.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CodeStar's API operation CreateProject for usage and error information.
Returned Error Types:
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.
LimitExceededException A resource limit has been exceeded.
ValidationException The specified input is either not valid, or it could not be validated.
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.
InvalidServiceRoleException The service role is not valid.
ProjectConfigurationException Project configuration information is required but not specified.
ConcurrentModificationException Another modification is being made. That modification must complete before you can make your change.
See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/CreateProject
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateProject for more information on using the CreateProject API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateProjectRequest method. req, resp := client.CreateProjectRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/CreateProject
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 Types:
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.
ValidationException The specified input is either not valid, or it could not be validated.
See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/CreateUserProfile
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateUserProfile for more information on using the CreateUserProfile API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateUserProfileRequest method. req, resp := client.CreateUserProfileRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/CreateUserProfile
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 Types:
ConcurrentModificationException Another modification is being made. That modification must complete before you can make your change.
ValidationException The specified input is either not valid, or it could not be validated.
InvalidServiceRoleException The service role is not valid.
See also, 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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteProject for more information on using the DeleteProject API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteProjectRequest method. req, resp := client.DeleteProjectRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DeleteProject
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 Types:
- ValidationException The specified input is either not valid, or it could not be validated.
See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DeleteUserProfile
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteUserProfile for more information on using the DeleteUserProfile API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteUserProfileRequest method. req, resp := client.DeleteUserProfileRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DeleteUserProfile
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 Types:
ProjectNotFoundException The specified AWS CodeStar project was not found.
ValidationException The specified input is either not valid, or it could not be validated.
InvalidServiceRoleException The service role is not valid.
ProjectConfigurationException Project configuration information is required but not specified.
ConcurrentModificationException Another modification is being made. That modification must complete before you can make your change.
See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DescribeProject
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeProject for more information on using the DescribeProject API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeProjectRequest method. req, resp := client.DescribeProjectRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DescribeProject
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 Types:
UserProfileNotFoundException The user profile was not found.
ValidationException The specified input is either not valid, or it could not be validated.
See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DescribeUserProfile
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeUserProfile for more information on using the DescribeUserProfile API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeUserProfileRequest method. req, resp := client.DescribeUserProfileRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DescribeUserProfile
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 Types:
ProjectNotFoundException The specified AWS CodeStar project was not found.
ValidationException The specified input is either not valid, or it could not be validated.
InvalidServiceRoleException The service role is not valid.
ConcurrentModificationException Another modification is being made. That modification must complete before you can make your change.
See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DisassociateTeamMember
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DisassociateTeamMember for more information on using the DisassociateTeamMember API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DisassociateTeamMemberRequest method. req, resp := client.DisassociateTeamMemberRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DisassociateTeamMember
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 Types:
InvalidNextTokenException The next token is not valid.
ValidationException The specified input is either not valid, or it could not be validated.
See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListProjects
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListProjects for more information on using the ListProjects API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListProjectsRequest method. req, resp := client.ListProjectsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListProjects
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 Types:
ProjectNotFoundException The specified AWS CodeStar project was not found.
InvalidNextTokenException The next token is not valid.
ValidationException The specified input is either not valid, or it could not be validated.
See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListResources
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListResources for more information on using the ListResources API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListResourcesRequest method. req, resp := client.ListResourcesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListResources
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) ListTagsForProject ¶ added in v1.10.38
func (c *CodeStar) ListTagsForProject(input *ListTagsForProjectInput) (*ListTagsForProjectOutput, error)
ListTagsForProject API operation for AWS CodeStar.
Gets the tags for a project.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CodeStar's API operation ListTagsForProject for usage and error information.
Returned Error Types:
ProjectNotFoundException The specified AWS CodeStar project was not found.
ValidationException The specified input is either not valid, or it could not be validated.
InvalidNextTokenException The next token is not valid.
See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListTagsForProject
func (*CodeStar) ListTagsForProjectRequest ¶ added in v1.10.38
func (c *CodeStar) ListTagsForProjectRequest(input *ListTagsForProjectInput) (req *request.Request, output *ListTagsForProjectOutput)
ListTagsForProjectRequest generates a "aws/request.Request" representing the client's request for the ListTagsForProject operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListTagsForProject for more information on using the ListTagsForProject API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListTagsForProjectRequest method. req, resp := client.ListTagsForProjectRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListTagsForProject
func (*CodeStar) ListTagsForProjectWithContext ¶ added in v1.10.38
func (c *CodeStar) ListTagsForProjectWithContext(ctx aws.Context, input *ListTagsForProjectInput, opts ...request.Option) (*ListTagsForProjectOutput, error)
ListTagsForProjectWithContext is the same as ListTagsForProject with the addition of the ability to pass a context and additional request options.
See ListTagsForProject for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
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 Types:
ProjectNotFoundException The specified AWS CodeStar project was not found.
InvalidNextTokenException The next token is not valid.
ValidationException The specified input is either not valid, or it could not be validated.
See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListTeamMembers
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListTeamMembers for more information on using the ListTeamMembers API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListTeamMembersRequest method. req, resp := client.ListTeamMembersRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListTeamMembers
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 Types:
InvalidNextTokenException The next token is not valid.
ValidationException The specified input is either not valid, or it could not be validated.
See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListUserProfiles
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListUserProfiles for more information on using the ListUserProfiles API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListUserProfilesRequest method. req, resp := client.ListUserProfilesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListUserProfiles
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) TagProject ¶ added in v1.10.38
func (c *CodeStar) TagProject(input *TagProjectInput) (*TagProjectOutput, error)
TagProject API operation for AWS CodeStar.
Adds tags to a project.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CodeStar's API operation TagProject for usage and error information.
Returned Error Types:
ProjectNotFoundException The specified AWS CodeStar project was not found.
ValidationException The specified input is either not valid, or it could not be validated.
LimitExceededException A resource limit has been exceeded.
ConcurrentModificationException Another modification is being made. That modification must complete before you can make your change.
See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/TagProject
func (*CodeStar) TagProjectRequest ¶ added in v1.10.38
func (c *CodeStar) TagProjectRequest(input *TagProjectInput) (req *request.Request, output *TagProjectOutput)
TagProjectRequest generates a "aws/request.Request" representing the client's request for the TagProject operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See TagProject for more information on using the TagProject API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the TagProjectRequest method. req, resp := client.TagProjectRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/TagProject
func (*CodeStar) TagProjectWithContext ¶ added in v1.10.38
func (c *CodeStar) TagProjectWithContext(ctx aws.Context, input *TagProjectInput, opts ...request.Option) (*TagProjectOutput, error)
TagProjectWithContext is the same as TagProject with the addition of the ability to pass a context and additional request options.
See TagProject for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CodeStar) UntagProject ¶ added in v1.10.38
func (c *CodeStar) UntagProject(input *UntagProjectInput) (*UntagProjectOutput, error)
UntagProject API operation for AWS CodeStar.
Removes tags from a project.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS CodeStar's API operation UntagProject for usage and error information.
Returned Error Types:
ProjectNotFoundException The specified AWS CodeStar project was not found.
ValidationException The specified input is either not valid, or it could not be validated.
LimitExceededException A resource limit has been exceeded.
ConcurrentModificationException Another modification is being made. That modification must complete before you can make your change.
See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UntagProject
func (*CodeStar) UntagProjectRequest ¶ added in v1.10.38
func (c *CodeStar) UntagProjectRequest(input *UntagProjectInput) (req *request.Request, output *UntagProjectOutput)
UntagProjectRequest generates a "aws/request.Request" representing the client's request for the UntagProject operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UntagProject for more information on using the UntagProject API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UntagProjectRequest method. req, resp := client.UntagProjectRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UntagProject
func (*CodeStar) UntagProjectWithContext ¶ added in v1.10.38
func (c *CodeStar) UntagProjectWithContext(ctx aws.Context, input *UntagProjectInput, opts ...request.Option) (*UntagProjectOutput, error)
UntagProjectWithContext is the same as UntagProject with the addition of the ability to pass a context and additional request options.
See UntagProject for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
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 Types:
ProjectNotFoundException The specified AWS CodeStar project was not found.
ValidationException The specified input is either not valid, or it could not be validated.
See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateProject
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateProject for more information on using the UpdateProject API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateProjectRequest method. req, resp := client.UpdateProjectRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateProject
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 Types:
LimitExceededException A resource limit has been exceeded.
ProjectNotFoundException The specified AWS CodeStar project was not found.
ValidationException The specified input is either not valid, or it could not be validated.
InvalidServiceRoleException The service role is not valid.
ProjectConfigurationException Project configuration information is required but not specified.
ConcurrentModificationException Another modification is being made. That modification must complete before you can make your change.
TeamMemberNotFoundException The specified team member was not found.
See also, 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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateTeamMember for more information on using the UpdateTeamMember API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateTeamMemberRequest method. req, resp := client.UpdateTeamMemberRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateTeamMember
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 Types:
UserProfileNotFoundException The user profile was not found.
ValidationException The specified input is either not valid, or it could not be validated.
See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateUserProfile
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateUserProfile for more information on using the UpdateUserProfile API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateUserProfileRequest method. req, resp := client.UpdateUserProfileRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateUserProfile
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 ConcurrentModificationException ¶ added in v1.28.0
type ConcurrentModificationException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Another modification is being made. That modification must complete before you can make your change.
func (*ConcurrentModificationException) Code ¶ added in v1.28.0
func (s *ConcurrentModificationException) Code() string
Code returns the exception type name.
func (*ConcurrentModificationException) Error ¶ added in v1.28.0
func (s *ConcurrentModificationException) Error() string
func (ConcurrentModificationException) GoString ¶ added in v1.28.0
func (s ConcurrentModificationException) GoString() string
GoString returns the string representation
func (*ConcurrentModificationException) Message ¶ added in v1.28.0
func (s *ConcurrentModificationException) Message() string
Message returns the exception's message.
func (*ConcurrentModificationException) OrigErr ¶ added in v1.28.0
func (s *ConcurrentModificationException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ConcurrentModificationException) RequestID ¶ added in v1.28.0
func (s *ConcurrentModificationException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ConcurrentModificationException) StatusCode ¶ added in v1.28.0
func (s *ConcurrentModificationException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ConcurrentModificationException) String ¶ added in v1.28.0
func (s ConcurrentModificationException) String() string
String returns the string representation
type CreateProjectInput ¶
type CreateProjectInput struct { // A user- or system-generated token that identifies the entity that requested // project creation. This token can be used to repeat the request. ClientRequestToken *string `locationName:"clientRequestToken" min:"1" type:"string"` // The description of the project, if any. Description *string `locationName:"description" type:"string" sensitive:"true"` // The ID of the project to be created in AWS CodeStar. // // Id is a required field Id *string `locationName:"id" min:"2" type:"string" required:"true"` // The display name for the project to be created in AWS CodeStar. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true" sensitive:"true"` // A list of the Code objects submitted with the project request. If this parameter // is specified, the request must also include the toolchain parameter. SourceCode []*Code `locationName:"sourceCode" type:"list"` // The tags created for the project. Tags map[string]*string `locationName:"tags" type:"map"` // The name of the toolchain template file submitted with the project request. // If this parameter is specified, the request must also include the sourceCode // parameter. Toolchain *Toolchain `locationName:"toolchain" type:"structure"` // contains filtered or unexported fields }
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 ¶
func (s *CreateProjectInput) SetId(v string) *CreateProjectInput
SetId sets the Id field's value.
func (*CreateProjectInput) SetName ¶
func (s *CreateProjectInput) SetName(v string) *CreateProjectInput
SetName sets the Name field's value.
func (*CreateProjectInput) SetSourceCode ¶ added in v1.15.62
func (s *CreateProjectInput) SetSourceCode(v []*Code) *CreateProjectInput
SetSourceCode sets the SourceCode field's value.
func (*CreateProjectInput) SetTags ¶ added in v1.15.45
func (s *CreateProjectInput) SetTags(v map[string]*string) *CreateProjectInput
SetTags sets the Tags field's value.
func (*CreateProjectInput) SetToolchain ¶ added in v1.15.62
func (s *CreateProjectInput) SetToolchain(v *Toolchain) *CreateProjectInput
SetToolchain sets the Toolchain 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 { // The Amazon Resource Name (ARN) of the created project. // // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // A user- or system-generated token that identifies the entity that requested // project creation. ClientRequestToken *string `locationName:"clientRequestToken" min:"1" type:"string"` // The ID of the project. // // 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 }
func (CreateProjectOutput) GoString ¶
func (s CreateProjectOutput) GoString() string
GoString returns the string representation
func (*CreateProjectOutput) SetArn ¶
func (s *CreateProjectOutput) SetArn(v string) *CreateProjectOutput
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 ¶
func (s *CreateProjectOutput) SetId(v string) *CreateProjectOutput
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" sensitive:"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" sensitive:"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 }
func (CreateUserProfileInput) GoString ¶
func (s CreateUserProfileInput) GoString() string
GoString returns the string representation
func (*CreateUserProfileInput) SetDisplayName ¶
func (s *CreateUserProfileInput) SetDisplayName(v string) *CreateUserProfileInput
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 ¶
func (s *CreateUserProfileInput) SetUserArn(v string) *CreateUserProfileInput
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"` // The name that is displayed as the friendly name for the user in AWS CodeStar. DisplayName *string `locationName:"displayName" min:"1" type:"string" sensitive:"true"` // The email address that is displayed as part of the user's profile in AWS // CodeStar. EmailAddress *string `locationName:"emailAddress" min:"3" type:"string" sensitive:"true"` // The date the user profile was last modified, in timestamp format. LastModifiedTimestamp *time.Time `locationName:"lastModifiedTimestamp" type:"timestamp"` // 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 }
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 ¶
func (s *CreateUserProfileOutput) SetDisplayName(v string) *CreateUserProfileOutput
SetDisplayName sets the DisplayName field's value.
func (*CreateUserProfileOutput) SetEmailAddress ¶
func (s *CreateUserProfileOutput) SetEmailAddress(v string) *CreateUserProfileOutput
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 ¶
func (s *CreateUserProfileOutput) SetSshPublicKey(v string) *CreateUserProfileOutput
SetSshPublicKey sets the SshPublicKey field's value.
func (*CreateUserProfileOutput) SetUserArn ¶
func (s *CreateUserProfileOutput) SetUserArn(v string) *CreateUserProfileOutput
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 }
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 ¶
func (s *DeleteProjectInput) SetId(v string) *DeleteProjectInput
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 }
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 ¶
func (s *DeleteProjectOutput) SetStackId(v string) *DeleteProjectOutput
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 }
func (DeleteUserProfileInput) GoString ¶
func (s DeleteUserProfileInput) GoString() string
GoString returns the string representation
func (*DeleteUserProfileInput) SetUserArn ¶
func (s *DeleteUserProfileInput) SetUserArn(v string) *DeleteUserProfileInput
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 }
func (DeleteUserProfileOutput) GoString ¶
func (s DeleteUserProfileOutput) GoString() string
GoString returns the string representation
func (*DeleteUserProfileOutput) SetUserArn ¶
func (s *DeleteUserProfileOutput) SetUserArn(v string) *DeleteUserProfileOutput
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 }
func (DescribeProjectInput) GoString ¶
func (s DescribeProjectInput) GoString() string
GoString returns the string representation
func (*DescribeProjectInput) SetId ¶
func (s *DescribeProjectInput) SetId(v string) *DescribeProjectInput
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"` // The description of the project, if any. Description *string `locationName:"description" type:"string" sensitive:"true"` // 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" sensitive:"true"` // 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"` // The project creation or deletion status. Status *ProjectStatus `locationName:"status" type:"structure"` // contains filtered or unexported fields }
func (DescribeProjectOutput) GoString ¶
func (s DescribeProjectOutput) GoString() string
GoString returns the string representation
func (*DescribeProjectOutput) SetArn ¶
func (s *DescribeProjectOutput) SetArn(v string) *DescribeProjectOutput
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 ¶
func (s *DescribeProjectOutput) SetId(v string) *DescribeProjectOutput
SetId sets the Id field's value.
func (*DescribeProjectOutput) SetName ¶
func (s *DescribeProjectOutput) SetName(v string) *DescribeProjectOutput
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 ¶
func (s *DescribeProjectOutput) SetStackId(v string) *DescribeProjectOutput
SetStackId sets the StackId field's value.
func (*DescribeProjectOutput) SetStatus ¶ added in v1.15.45
func (s *DescribeProjectOutput) SetStatus(v *ProjectStatus) *DescribeProjectOutput
SetStatus sets the Status 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 }
func (DescribeUserProfileInput) GoString ¶
func (s DescribeUserProfileInput) GoString() string
GoString returns the string representation
func (*DescribeUserProfileInput) SetUserArn ¶
func (s *DescribeUserProfileInput) SetUserArn(v string) *DescribeUserProfileInput
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" 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" sensitive:"true"` // The email address for the user. Optional. EmailAddress *string `locationName:"emailAddress" min:"3" type:"string" sensitive:"true"` // 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" 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 }
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 ¶
func (s *DescribeUserProfileOutput) SetDisplayName(v string) *DescribeUserProfileOutput
SetDisplayName sets the DisplayName field's value.
func (*DescribeUserProfileOutput) SetEmailAddress ¶
func (s *DescribeUserProfileOutput) SetEmailAddress(v string) *DescribeUserProfileOutput
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 ¶
func (s *DescribeUserProfileOutput) SetSshPublicKey(v string) *DescribeUserProfileOutput
SetSshPublicKey sets the SshPublicKey field's value.
func (*DescribeUserProfileOutput) SetUserArn ¶
func (s *DescribeUserProfileOutput) SetUserArn(v string) *DescribeUserProfileOutput
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 }
func (DisassociateTeamMemberInput) GoString ¶
func (s DisassociateTeamMemberInput) GoString() string
GoString returns the string representation
func (*DisassociateTeamMemberInput) SetProjectId ¶
func (s *DisassociateTeamMemberInput) SetProjectId(v string) *DisassociateTeamMemberInput
SetProjectId sets the ProjectId field's value.
func (*DisassociateTeamMemberInput) SetUserArn ¶
func (s *DisassociateTeamMemberInput) SetUserArn(v string) *DisassociateTeamMemberInput
SetUserArn sets the UserArn field's value.
func (DisassociateTeamMemberInput) String ¶
func (s DisassociateTeamMemberInput) String() 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
}
func (DisassociateTeamMemberOutput) GoString ¶
func (s DisassociateTeamMemberOutput) GoString() string
GoString returns the string representation
func (DisassociateTeamMemberOutput) String ¶
func (s DisassociateTeamMemberOutput) String() string
String returns the string representation
type GitHubCodeDestination ¶ added in v1.15.62
type GitHubCodeDestination struct { // Description for the GitHub repository to be created in AWS CodeStar. This // description displays in GitHub after the repository is created. Description *string `locationName:"description" min:"1" type:"string"` // Whether to enable issues for the GitHub repository. // // IssuesEnabled is a required field IssuesEnabled *bool `locationName:"issuesEnabled" type:"boolean" required:"true"` // Name of the GitHub repository to be created in AWS CodeStar. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The GitHub username for the owner of the GitHub repository to be created // in AWS CodeStar. If this repository should be owned by a GitHub organization, // provide its name. // // Owner is a required field Owner *string `locationName:"owner" min:"1" type:"string" required:"true"` // Whether the GitHub repository is to be a private repository. // // PrivateRepository is a required field PrivateRepository *bool `locationName:"privateRepository" type:"boolean" required:"true"` // The GitHub user's personal access token for the GitHub repository. // // Token is a required field Token *string `locationName:"token" min:"1" type:"string" required:"true" sensitive:"true"` // The type of GitHub repository to be created in AWS CodeStar. Valid values // are User or Organization. // // Type is a required field Type *string `locationName:"type" type:"string" required:"true"` // contains filtered or unexported fields }
Information about the GitHub repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.
func (GitHubCodeDestination) GoString ¶ added in v1.15.62
func (s GitHubCodeDestination) GoString() string
GoString returns the string representation
func (*GitHubCodeDestination) SetDescription ¶ added in v1.15.62
func (s *GitHubCodeDestination) SetDescription(v string) *GitHubCodeDestination
SetDescription sets the Description field's value.
func (*GitHubCodeDestination) SetIssuesEnabled ¶ added in v1.15.62
func (s *GitHubCodeDestination) SetIssuesEnabled(v bool) *GitHubCodeDestination
SetIssuesEnabled sets the IssuesEnabled field's value.
func (*GitHubCodeDestination) SetName ¶ added in v1.15.62
func (s *GitHubCodeDestination) SetName(v string) *GitHubCodeDestination
SetName sets the Name field's value.
func (*GitHubCodeDestination) SetOwner ¶ added in v1.15.62
func (s *GitHubCodeDestination) SetOwner(v string) *GitHubCodeDestination
SetOwner sets the Owner field's value.
func (*GitHubCodeDestination) SetPrivateRepository ¶ added in v1.15.62
func (s *GitHubCodeDestination) SetPrivateRepository(v bool) *GitHubCodeDestination
SetPrivateRepository sets the PrivateRepository field's value.
func (*GitHubCodeDestination) SetToken ¶ added in v1.15.62
func (s *GitHubCodeDestination) SetToken(v string) *GitHubCodeDestination
SetToken sets the Token field's value.
func (*GitHubCodeDestination) SetType ¶ added in v1.15.62
func (s *GitHubCodeDestination) SetType(v string) *GitHubCodeDestination
SetType sets the Type field's value.
func (GitHubCodeDestination) String ¶ added in v1.15.62
func (s GitHubCodeDestination) String() string
String returns the string representation
func (*GitHubCodeDestination) Validate ¶ added in v1.15.62
func (s *GitHubCodeDestination) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type InvalidNextTokenException ¶ added in v1.28.0
type InvalidNextTokenException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The next token is not valid.
func (*InvalidNextTokenException) Code ¶ added in v1.28.0
func (s *InvalidNextTokenException) Code() string
Code returns the exception type name.
func (*InvalidNextTokenException) Error ¶ added in v1.28.0
func (s *InvalidNextTokenException) Error() string
func (InvalidNextTokenException) GoString ¶ added in v1.28.0
func (s InvalidNextTokenException) GoString() string
GoString returns the string representation
func (*InvalidNextTokenException) Message ¶ added in v1.28.0
func (s *InvalidNextTokenException) Message() string
Message returns the exception's message.
func (*InvalidNextTokenException) OrigErr ¶ added in v1.28.0
func (s *InvalidNextTokenException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidNextTokenException) RequestID ¶ added in v1.28.0
func (s *InvalidNextTokenException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidNextTokenException) StatusCode ¶ added in v1.28.0
func (s *InvalidNextTokenException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidNextTokenException) String ¶ added in v1.28.0
func (s InvalidNextTokenException) String() string
String returns the string representation
type InvalidServiceRoleException ¶ added in v1.28.0
type InvalidServiceRoleException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The service role is not valid.
func (*InvalidServiceRoleException) Code ¶ added in v1.28.0
func (s *InvalidServiceRoleException) Code() string
Code returns the exception type name.
func (*InvalidServiceRoleException) Error ¶ added in v1.28.0
func (s *InvalidServiceRoleException) Error() string
func (InvalidServiceRoleException) GoString ¶ added in v1.28.0
func (s InvalidServiceRoleException) GoString() string
GoString returns the string representation
func (*InvalidServiceRoleException) Message ¶ added in v1.28.0
func (s *InvalidServiceRoleException) Message() string
Message returns the exception's message.
func (*InvalidServiceRoleException) OrigErr ¶ added in v1.28.0
func (s *InvalidServiceRoleException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidServiceRoleException) RequestID ¶ added in v1.28.0
func (s *InvalidServiceRoleException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidServiceRoleException) StatusCode ¶ added in v1.28.0
func (s *InvalidServiceRoleException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidServiceRoleException) String ¶ added in v1.28.0
func (s InvalidServiceRoleException) String() string
String returns the string representation
type LimitExceededException ¶ added in v1.28.0
type LimitExceededException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
A resource limit has been exceeded.
func (*LimitExceededException) Code ¶ added in v1.28.0
func (s *LimitExceededException) Code() string
Code returns the exception type name.
func (*LimitExceededException) Error ¶ added in v1.28.0
func (s *LimitExceededException) Error() string
func (LimitExceededException) GoString ¶ added in v1.28.0
func (s LimitExceededException) GoString() string
GoString returns the string representation
func (*LimitExceededException) Message ¶ added in v1.28.0
func (s *LimitExceededException) Message() string
Message returns the exception's message.
func (*LimitExceededException) OrigErr ¶ added in v1.28.0
func (s *LimitExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*LimitExceededException) RequestID ¶ added in v1.28.0
func (s *LimitExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*LimitExceededException) StatusCode ¶ added in v1.28.0
func (s *LimitExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (LimitExceededException) String ¶ added in v1.28.0
func (s LimitExceededException) String() 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 }
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 }
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 ¶
func (s *ListProjectsOutput) SetProjects(v []*ProjectSummary) *ListProjectsOutput
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 { // The maximum amount of data that can be contained in a single set of results. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // The continuation token for the next set of results, if the results cannot // 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 }
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 }
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 ListTagsForProjectInput ¶ added in v1.10.38
type ListTagsForProjectInput struct { // The ID of the project to get tags for. // // Id is a required field Id *string `locationName:"id" min:"2" type:"string" required:"true"` // Reserved for future use. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // Reserved for future use. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (ListTagsForProjectInput) GoString ¶ added in v1.10.38
func (s ListTagsForProjectInput) GoString() string
GoString returns the string representation
func (*ListTagsForProjectInput) SetId ¶ added in v1.10.38
func (s *ListTagsForProjectInput) SetId(v string) *ListTagsForProjectInput
SetId sets the Id field's value.
func (*ListTagsForProjectInput) SetMaxResults ¶ added in v1.10.38
func (s *ListTagsForProjectInput) SetMaxResults(v int64) *ListTagsForProjectInput
SetMaxResults sets the MaxResults field's value.
func (*ListTagsForProjectInput) SetNextToken ¶ added in v1.10.38
func (s *ListTagsForProjectInput) SetNextToken(v string) *ListTagsForProjectInput
SetNextToken sets the NextToken field's value.
func (ListTagsForProjectInput) String ¶ added in v1.10.38
func (s ListTagsForProjectInput) String() string
String returns the string representation
func (*ListTagsForProjectInput) Validate ¶ added in v1.10.38
func (s *ListTagsForProjectInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForProjectOutput ¶ added in v1.10.38
type ListTagsForProjectOutput struct { // Reserved for future use. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // The tags for the project. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
func (ListTagsForProjectOutput) GoString ¶ added in v1.10.38
func (s ListTagsForProjectOutput) GoString() string
GoString returns the string representation
func (*ListTagsForProjectOutput) SetNextToken ¶ added in v1.10.38
func (s *ListTagsForProjectOutput) SetNextToken(v string) *ListTagsForProjectOutput
SetNextToken sets the NextToken field's value.
func (*ListTagsForProjectOutput) SetTags ¶ added in v1.10.38
func (s *ListTagsForProjectOutput) SetTags(v map[string]*string) *ListTagsForProjectOutput
SetTags sets the Tags field's value.
func (ListTagsForProjectOutput) String ¶ added in v1.10.38
func (s ListTagsForProjectOutput) 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 }
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 }
func (ListTeamMembersOutput) GoString ¶
func (s ListTeamMembersOutput) GoString() string
GoString returns the string representation
func (*ListTeamMembersOutput) SetNextToken ¶
func (s *ListTeamMembersOutput) SetNextToken(v string) *ListTeamMembersOutput
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 }
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 ¶
func (s *ListUserProfilesInput) SetNextToken(v string) *ListUserProfilesInput
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 }
func (ListUserProfilesOutput) GoString ¶
func (s ListUserProfilesOutput) GoString() string
GoString returns the string representation
func (*ListUserProfilesOutput) SetNextToken ¶
func (s *ListUserProfilesOutput) SetNextToken(v string) *ListUserProfilesOutput
SetNextToken sets the NextToken field's value.
func (*ListUserProfilesOutput) SetUserProfiles ¶
func (s *ListUserProfilesOutput) SetUserProfiles(v []*UserProfileSummary) *ListUserProfilesOutput
SetUserProfiles sets the UserProfiles field's value.
func (ListUserProfilesOutput) String ¶
func (s ListUserProfilesOutput) String() string
String returns the string representation
type ProjectAlreadyExistsException ¶ added in v1.28.0
type ProjectAlreadyExistsException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
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.
func (*ProjectAlreadyExistsException) Code ¶ added in v1.28.0
func (s *ProjectAlreadyExistsException) Code() string
Code returns the exception type name.
func (*ProjectAlreadyExistsException) Error ¶ added in v1.28.0
func (s *ProjectAlreadyExistsException) Error() string
func (ProjectAlreadyExistsException) GoString ¶ added in v1.28.0
func (s ProjectAlreadyExistsException) GoString() string
GoString returns the string representation
func (*ProjectAlreadyExistsException) Message ¶ added in v1.28.0
func (s *ProjectAlreadyExistsException) Message() string
Message returns the exception's message.
func (*ProjectAlreadyExistsException) OrigErr ¶ added in v1.28.0
func (s *ProjectAlreadyExistsException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ProjectAlreadyExistsException) RequestID ¶ added in v1.28.0
func (s *ProjectAlreadyExistsException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ProjectAlreadyExistsException) StatusCode ¶ added in v1.28.0
func (s *ProjectAlreadyExistsException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ProjectAlreadyExistsException) String ¶ added in v1.28.0
func (s ProjectAlreadyExistsException) String() string
String returns the string representation
type ProjectConfigurationException ¶ added in v1.28.0
type ProjectConfigurationException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Project configuration information is required but not specified.
func (*ProjectConfigurationException) Code ¶ added in v1.28.0
func (s *ProjectConfigurationException) Code() string
Code returns the exception type name.
func (*ProjectConfigurationException) Error ¶ added in v1.28.0
func (s *ProjectConfigurationException) Error() string
func (ProjectConfigurationException) GoString ¶ added in v1.28.0
func (s ProjectConfigurationException) GoString() string
GoString returns the string representation
func (*ProjectConfigurationException) Message ¶ added in v1.28.0
func (s *ProjectConfigurationException) Message() string
Message returns the exception's message.
func (*ProjectConfigurationException) OrigErr ¶ added in v1.28.0
func (s *ProjectConfigurationException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ProjectConfigurationException) RequestID ¶ added in v1.28.0
func (s *ProjectConfigurationException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ProjectConfigurationException) StatusCode ¶ added in v1.28.0
func (s *ProjectConfigurationException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ProjectConfigurationException) String ¶ added in v1.28.0
func (s ProjectConfigurationException) String() string
String returns the string representation
type ProjectCreationFailedException ¶ added in v1.28.0
type ProjectCreationFailedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
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.
func (*ProjectCreationFailedException) Code ¶ added in v1.28.0
func (s *ProjectCreationFailedException) Code() string
Code returns the exception type name.
func (*ProjectCreationFailedException) Error ¶ added in v1.28.0
func (s *ProjectCreationFailedException) Error() string
func (ProjectCreationFailedException) GoString ¶ added in v1.28.0
func (s ProjectCreationFailedException) GoString() string
GoString returns the string representation
func (*ProjectCreationFailedException) Message ¶ added in v1.28.0
func (s *ProjectCreationFailedException) Message() string
Message returns the exception's message.
func (*ProjectCreationFailedException) OrigErr ¶ added in v1.28.0
func (s *ProjectCreationFailedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ProjectCreationFailedException) RequestID ¶ added in v1.28.0
func (s *ProjectCreationFailedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ProjectCreationFailedException) StatusCode ¶ added in v1.28.0
func (s *ProjectCreationFailedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ProjectCreationFailedException) String ¶ added in v1.28.0
func (s ProjectCreationFailedException) String() string
String returns the string representation
type ProjectNotFoundException ¶ added in v1.28.0
type ProjectNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The specified AWS CodeStar project was not found.
func (*ProjectNotFoundException) Code ¶ added in v1.28.0
func (s *ProjectNotFoundException) Code() string
Code returns the exception type name.
func (*ProjectNotFoundException) Error ¶ added in v1.28.0
func (s *ProjectNotFoundException) Error() string
func (ProjectNotFoundException) GoString ¶ added in v1.28.0
func (s ProjectNotFoundException) GoString() string
GoString returns the string representation
func (*ProjectNotFoundException) Message ¶ added in v1.28.0
func (s *ProjectNotFoundException) Message() string
Message returns the exception's message.
func (*ProjectNotFoundException) OrigErr ¶ added in v1.28.0
func (s *ProjectNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ProjectNotFoundException) RequestID ¶ added in v1.28.0
func (s *ProjectNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ProjectNotFoundException) StatusCode ¶ added in v1.28.0
func (s *ProjectNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ProjectNotFoundException) String ¶ added in v1.28.0
func (s ProjectNotFoundException) String() string
String returns the string representation
type ProjectStatus ¶ added in v1.15.45
type ProjectStatus struct { // In the case of a project creation or deletion failure, a reason for the failure. Reason *string `locationName:"reason" type:"string"` // The phase of completion for a project creation or deletion. // // State is a required field State *string `locationName:"state" type:"string" required:"true"` // contains filtered or unexported fields }
An indication of whether a project creation or deletion is failed or successful.
func (ProjectStatus) GoString ¶ added in v1.15.45
func (s ProjectStatus) GoString() string
GoString returns the string representation
func (*ProjectStatus) SetReason ¶ added in v1.15.45
func (s *ProjectStatus) SetReason(v string) *ProjectStatus
SetReason sets the Reason field's value.
func (*ProjectStatus) SetState ¶ added in v1.15.45
func (s *ProjectStatus) SetState(v string) *ProjectStatus
SetState sets the State field's value.
func (ProjectStatus) String ¶ added in v1.15.45
func (s ProjectStatus) 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.
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.
type S3Location ¶ added in v1.15.62
type S3Location struct { // The Amazon S3 object key where the source code files provided with the project // request are stored. BucketKey *string `locationName:"bucketKey" type:"string"` // The Amazon S3 bucket name where the source code files provided with the project // request are stored. BucketName *string `locationName:"bucketName" min:"3" type:"string"` // contains filtered or unexported fields }
The Amazon S3 location where the source code files provided with the project request are stored.
func (S3Location) GoString ¶ added in v1.15.62
func (s S3Location) GoString() string
GoString returns the string representation
func (*S3Location) SetBucketKey ¶ added in v1.15.62
func (s *S3Location) SetBucketKey(v string) *S3Location
SetBucketKey sets the BucketKey field's value.
func (*S3Location) SetBucketName ¶ added in v1.15.62
func (s *S3Location) SetBucketName(v string) *S3Location
SetBucketName sets the BucketName field's value.
func (S3Location) String ¶ added in v1.15.62
func (s S3Location) String() string
String returns the string representation
func (*S3Location) Validate ¶ added in v1.15.62
func (s *S3Location) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagProjectInput ¶ added in v1.10.38
type TagProjectInput struct { // The ID of the project you want to add a tag to. // // Id is a required field Id *string `locationName:"id" min:"2" type:"string" required:"true"` // The tags you want to add to the project. // // Tags is a required field Tags map[string]*string `locationName:"tags" type:"map" required:"true"` // contains filtered or unexported fields }
func (TagProjectInput) GoString ¶ added in v1.10.38
func (s TagProjectInput) GoString() string
GoString returns the string representation
func (*TagProjectInput) SetId ¶ added in v1.10.38
func (s *TagProjectInput) SetId(v string) *TagProjectInput
SetId sets the Id field's value.
func (*TagProjectInput) SetTags ¶ added in v1.10.38
func (s *TagProjectInput) SetTags(v map[string]*string) *TagProjectInput
SetTags sets the Tags field's value.
func (TagProjectInput) String ¶ added in v1.10.38
func (s TagProjectInput) String() string
String returns the string representation
func (*TagProjectInput) Validate ¶ added in v1.10.38
func (s *TagProjectInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagProjectOutput ¶ added in v1.10.38
type TagProjectOutput struct { // The tags for the project. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
func (TagProjectOutput) GoString ¶ added in v1.10.38
func (s TagProjectOutput) GoString() string
GoString returns the string representation
func (*TagProjectOutput) SetTags ¶ added in v1.10.38
func (s *TagProjectOutput) SetTags(v map[string]*string) *TagProjectOutput
SetTags sets the Tags field's value.
func (TagProjectOutput) String ¶ added in v1.10.38
func (s TagProjectOutput) 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.
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 TeamMemberAlreadyAssociatedException ¶ added in v1.28.0
type TeamMemberAlreadyAssociatedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The team member is already associated with a role in this project.
func (*TeamMemberAlreadyAssociatedException) Code ¶ added in v1.28.0
func (s *TeamMemberAlreadyAssociatedException) Code() string
Code returns the exception type name.
func (*TeamMemberAlreadyAssociatedException) Error ¶ added in v1.28.0
func (s *TeamMemberAlreadyAssociatedException) Error() string
func (TeamMemberAlreadyAssociatedException) GoString ¶ added in v1.28.0
func (s TeamMemberAlreadyAssociatedException) GoString() string
GoString returns the string representation
func (*TeamMemberAlreadyAssociatedException) Message ¶ added in v1.28.0
func (s *TeamMemberAlreadyAssociatedException) Message() string
Message returns the exception's message.
func (*TeamMemberAlreadyAssociatedException) OrigErr ¶ added in v1.28.0
func (s *TeamMemberAlreadyAssociatedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*TeamMemberAlreadyAssociatedException) RequestID ¶ added in v1.28.0
func (s *TeamMemberAlreadyAssociatedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*TeamMemberAlreadyAssociatedException) StatusCode ¶ added in v1.28.0
func (s *TeamMemberAlreadyAssociatedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (TeamMemberAlreadyAssociatedException) String ¶ added in v1.28.0
func (s TeamMemberAlreadyAssociatedException) String() string
String returns the string representation
type TeamMemberNotFoundException ¶ added in v1.28.0
type TeamMemberNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The specified team member was not found.
func (*TeamMemberNotFoundException) Code ¶ added in v1.28.0
func (s *TeamMemberNotFoundException) Code() string
Code returns the exception type name.
func (*TeamMemberNotFoundException) Error ¶ added in v1.28.0
func (s *TeamMemberNotFoundException) Error() string
func (TeamMemberNotFoundException) GoString ¶ added in v1.28.0
func (s TeamMemberNotFoundException) GoString() string
GoString returns the string representation
func (*TeamMemberNotFoundException) Message ¶ added in v1.28.0
func (s *TeamMemberNotFoundException) Message() string
Message returns the exception's message.
func (*TeamMemberNotFoundException) OrigErr ¶ added in v1.28.0
func (s *TeamMemberNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*TeamMemberNotFoundException) RequestID ¶ added in v1.28.0
func (s *TeamMemberNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*TeamMemberNotFoundException) StatusCode ¶ added in v1.28.0
func (s *TeamMemberNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (TeamMemberNotFoundException) String ¶ added in v1.28.0
func (s TeamMemberNotFoundException) String() string
String returns the string representation
type Toolchain ¶ added in v1.15.62
type Toolchain struct { // The service role ARN for AWS CodeStar to use for the toolchain template during // stack provisioning. RoleArn *string `locationName:"roleArn" min:"1" type:"string"` // The Amazon S3 location where the toolchain template file provided with the // project request is stored. AWS CodeStar retrieves the file during project // creation. // // Source is a required field Source *ToolchainSource `locationName:"source" type:"structure" required:"true"` // The list of parameter overrides to be passed into the toolchain template // during stack provisioning, if any. StackParameters map[string]*string `locationName:"stackParameters" type:"map"` // contains filtered or unexported fields }
The toolchain template file provided with the project request. AWS CodeStar uses the template to provision the toolchain stack in AWS CloudFormation.
func (*Toolchain) SetRoleArn ¶ added in v1.15.62
SetRoleArn sets the RoleArn field's value.
func (*Toolchain) SetSource ¶ added in v1.15.62
func (s *Toolchain) SetSource(v *ToolchainSource) *Toolchain
SetSource sets the Source field's value.
func (*Toolchain) SetStackParameters ¶ added in v1.15.62
SetStackParameters sets the StackParameters field's value.
type ToolchainSource ¶ added in v1.15.62
type ToolchainSource struct { // The Amazon S3 bucket where the toolchain template file provided with the // project request is stored. // // S3 is a required field S3 *S3Location `locationName:"s3" type:"structure" required:"true"` // contains filtered or unexported fields }
The Amazon S3 location where the toolchain template file provided with the project request is stored. AWS CodeStar retrieves the file during project creation.
func (ToolchainSource) GoString ¶ added in v1.15.62
func (s ToolchainSource) GoString() string
GoString returns the string representation
func (*ToolchainSource) SetS3 ¶ added in v1.15.62
func (s *ToolchainSource) SetS3(v *S3Location) *ToolchainSource
SetS3 sets the S3 field's value.
func (ToolchainSource) String ¶ added in v1.15.62
func (s ToolchainSource) String() string
String returns the string representation
func (*ToolchainSource) Validate ¶ added in v1.15.62
func (s *ToolchainSource) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagProjectInput ¶ added in v1.10.38
type UntagProjectInput struct { // The ID of the project to remove tags from. // // Id is a required field Id *string `locationName:"id" min:"2" type:"string" required:"true"` // The tags to remove from the project. // // Tags is a required field Tags []*string `locationName:"tags" type:"list" required:"true"` // contains filtered or unexported fields }
func (UntagProjectInput) GoString ¶ added in v1.10.38
func (s UntagProjectInput) GoString() string
GoString returns the string representation
func (*UntagProjectInput) SetId ¶ added in v1.10.38
func (s *UntagProjectInput) SetId(v string) *UntagProjectInput
SetId sets the Id field's value.
func (*UntagProjectInput) SetTags ¶ added in v1.10.38
func (s *UntagProjectInput) SetTags(v []*string) *UntagProjectInput
SetTags sets the Tags field's value.
func (UntagProjectInput) String ¶ added in v1.10.38
func (s UntagProjectInput) String() string
String returns the string representation
func (*UntagProjectInput) Validate ¶ added in v1.10.38
func (s *UntagProjectInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagProjectOutput ¶ added in v1.10.38
type UntagProjectOutput struct {
// contains filtered or unexported fields
}
func (UntagProjectOutput) GoString ¶ added in v1.10.38
func (s UntagProjectOutput) GoString() string
GoString returns the string representation
func (UntagProjectOutput) String ¶ added in v1.10.38
func (s UntagProjectOutput) 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" sensitive:"true"` // 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" sensitive:"true"` // contains filtered or unexported fields }
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 ¶
func (s *UpdateProjectInput) SetId(v string) *UpdateProjectInput
SetId sets the Id field's value.
func (*UpdateProjectInput) SetName ¶
func (s *UpdateProjectInput) SetName(v string) *UpdateProjectInput
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
}
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 }
func (UpdateTeamMemberInput) GoString ¶
func (s UpdateTeamMemberInput) GoString() string
GoString returns the string representation
func (*UpdateTeamMemberInput) SetProjectId ¶
func (s *UpdateTeamMemberInput) SetProjectId(v string) *UpdateTeamMemberInput
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 ¶
func (s *UpdateTeamMemberInput) SetUserArn(v string) *UpdateTeamMemberInput
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 }
func (UpdateTeamMemberOutput) GoString ¶
func (s UpdateTeamMemberOutput) GoString() string
GoString returns the string representation
func (*UpdateTeamMemberOutput) SetProjectRole ¶
func (s *UpdateTeamMemberOutput) SetProjectRole(v string) *UpdateTeamMemberOutput
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 ¶
func (s *UpdateTeamMemberOutput) SetUserArn(v string) *UpdateTeamMemberOutput
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" sensitive:"true"` // The email address that is displayed as part of the user's profile in AWS // CodeStar. EmailAddress *string `locationName:"emailAddress" min:"3" type:"string" sensitive:"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 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 }
func (UpdateUserProfileInput) GoString ¶
func (s UpdateUserProfileInput) GoString() string
GoString returns the string representation
func (*UpdateUserProfileInput) SetDisplayName ¶
func (s *UpdateUserProfileInput) SetDisplayName(v string) *UpdateUserProfileInput
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 ¶
func (s *UpdateUserProfileInput) SetUserArn(v string) *UpdateUserProfileInput
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"` // The name that is displayed as the friendly name for the user in AWS CodeStar. DisplayName *string `locationName:"displayName" min:"1" type:"string" sensitive:"true"` // The email address that is displayed as part of the user's profile in AWS // CodeStar. EmailAddress *string `locationName:"emailAddress" min:"3" type:"string" sensitive:"true"` // The date the user profile was last modified, in timestamp format. LastModifiedTimestamp *time.Time `locationName:"lastModifiedTimestamp" type:"timestamp"` // 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 }
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 ¶
func (s *UpdateUserProfileOutput) SetDisplayName(v string) *UpdateUserProfileOutput
SetDisplayName sets the DisplayName field's value.
func (*UpdateUserProfileOutput) SetEmailAddress ¶
func (s *UpdateUserProfileOutput) SetEmailAddress(v string) *UpdateUserProfileOutput
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 ¶
func (s *UpdateUserProfileOutput) SetSshPublicKey(v string) *UpdateUserProfileOutput
SetSshPublicKey sets the SshPublicKey field's value.
func (*UpdateUserProfileOutput) SetUserArn ¶
func (s *UpdateUserProfileOutput) SetUserArn(v string) *UpdateUserProfileOutput
SetUserArn sets the UserArn field's value.
func (UpdateUserProfileOutput) String ¶
func (s UpdateUserProfileOutput) String() string
String returns the string representation
type UserProfileAlreadyExistsException ¶ added in v1.28.0
type UserProfileAlreadyExistsException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
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.
func (*UserProfileAlreadyExistsException) Code ¶ added in v1.28.0
func (s *UserProfileAlreadyExistsException) Code() string
Code returns the exception type name.
func (*UserProfileAlreadyExistsException) Error ¶ added in v1.28.0
func (s *UserProfileAlreadyExistsException) Error() string
func (UserProfileAlreadyExistsException) GoString ¶ added in v1.28.0
func (s UserProfileAlreadyExistsException) GoString() string
GoString returns the string representation
func (*UserProfileAlreadyExistsException) Message ¶ added in v1.28.0
func (s *UserProfileAlreadyExistsException) Message() string
Message returns the exception's message.
func (*UserProfileAlreadyExistsException) OrigErr ¶ added in v1.28.0
func (s *UserProfileAlreadyExistsException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*UserProfileAlreadyExistsException) RequestID ¶ added in v1.28.0
func (s *UserProfileAlreadyExistsException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*UserProfileAlreadyExistsException) StatusCode ¶ added in v1.28.0
func (s *UserProfileAlreadyExistsException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (UserProfileAlreadyExistsException) String ¶ added in v1.28.0
func (s UserProfileAlreadyExistsException) String() string
String returns the string representation
type UserProfileNotFoundException ¶ added in v1.28.0
type UserProfileNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The user profile was not found.
func (*UserProfileNotFoundException) Code ¶ added in v1.28.0
func (s *UserProfileNotFoundException) Code() string
Code returns the exception type name.
func (*UserProfileNotFoundException) Error ¶ added in v1.28.0
func (s *UserProfileNotFoundException) Error() string
func (UserProfileNotFoundException) GoString ¶ added in v1.28.0
func (s UserProfileNotFoundException) GoString() string
GoString returns the string representation
func (*UserProfileNotFoundException) Message ¶ added in v1.28.0
func (s *UserProfileNotFoundException) Message() string
Message returns the exception's message.
func (*UserProfileNotFoundException) OrigErr ¶ added in v1.28.0
func (s *UserProfileNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*UserProfileNotFoundException) RequestID ¶ added in v1.28.0
func (s *UserProfileNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*UserProfileNotFoundException) StatusCode ¶ added in v1.28.0
func (s *UserProfileNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (UserProfileNotFoundException) String ¶ added in v1.28.0
func (s UserProfileNotFoundException) 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" sensitive:"true"` // The email address associated with the user. EmailAddress *string `locationName:"emailAddress" min:"3" type:"string" sensitive:"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 *string `locationName:"userArn" min:"32" type:"string"` // contains filtered or unexported fields }
Information about a user's profile in AWS CodeStar.
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
type ValidationException ¶ added in v1.28.0
type ValidationException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The specified input is either not valid, or it could not be validated.
func (*ValidationException) Code ¶ added in v1.28.0
func (s *ValidationException) Code() string
Code returns the exception type name.
func (*ValidationException) Error ¶ added in v1.28.0
func (s *ValidationException) Error() string
func (ValidationException) GoString ¶ added in v1.28.0
func (s ValidationException) GoString() string
GoString returns the string representation
func (*ValidationException) Message ¶ added in v1.28.0
func (s *ValidationException) Message() string
Message returns the exception's message.
func (*ValidationException) OrigErr ¶ added in v1.28.0
func (s *ValidationException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ValidationException) RequestID ¶ added in v1.28.0
func (s *ValidationException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ValidationException) StatusCode ¶ added in v1.28.0
func (s *ValidationException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ValidationException) String ¶ added in v1.28.0
func (s ValidationException) 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. |