libZSservicesZSamazonka-codestarZSamazonka-codestar
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodeStar.Lens

Description

 
Synopsis

Operations

ListProjects

listProjects_nextToken :: Lens' ListProjects (Maybe Text) Source #

The continuation token to be used to return the next set of results, if the results cannot be returned in one response.

listProjects_maxResults :: Lens' ListProjects (Maybe Natural) Source #

The maximum amount of data that can be contained in a single set of results.

listProjectsResponse_nextToken :: Lens' ListProjectsResponse (Maybe Text) Source #

The continuation token to use when requesting the next set of results, if there are more results to be returned.

ListTeamMembers

listTeamMembers_nextToken :: Lens' ListTeamMembers (Maybe Text) Source #

The continuation token for the next set of results, if the results cannot be returned in one response.

listTeamMembers_maxResults :: Lens' ListTeamMembers (Maybe Natural) Source #

The maximum number of team members you want returned in a response.

listTeamMembers_projectId :: Lens' ListTeamMembers Text Source #

The ID of the project for which you want to list team members.

listTeamMembersResponse_nextToken :: Lens' ListTeamMembersResponse (Maybe Text) Source #

The continuation token to use when requesting the next set of results, if there are more results to be returned.

listTeamMembersResponse_teamMembers :: Lens' ListTeamMembersResponse [TeamMember] Source #

A list of team member objects for the project.

DeleteProject

deleteProject_deleteStack :: Lens' DeleteProject (Maybe Bool) Source #

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.

deleteProject_clientRequestToken :: Lens' DeleteProject (Maybe Text) Source #

A user- or system-generated token that identifies the entity that requested project deletion. This token can be used to repeat the request.

deleteProject_id :: Lens' DeleteProject Text Source #

The ID of the project to be deleted in AWS CodeStar.

deleteProjectResponse_projectArn :: Lens' DeleteProjectResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the deleted project.

deleteProjectResponse_stackId :: Lens' DeleteProjectResponse (Maybe Text) Source #

The ID of the primary stack in AWS CloudFormation that will be deleted as part of deleting the project and its resources.

UpdateProject

updateProject_name :: Lens' UpdateProject (Maybe Text) Source #

The name of the project you want to update.

updateProject_description :: Lens' UpdateProject (Maybe Text) Source #

The description of the project, if any.

updateProject_id :: Lens' UpdateProject Text Source #

The ID of the project you want to update.

DisassociateTeamMember

disassociateTeamMember_projectId :: Lens' DisassociateTeamMember Text Source #

The ID of the AWS CodeStar project from which you want to remove a team member.

disassociateTeamMember_userArn :: Lens' DisassociateTeamMember Text Source #

The Amazon Resource Name (ARN) of the IAM user or group whom you want to remove from the project.

TagProject

tagProject_id :: Lens' TagProject Text Source #

The ID of the project you want to add a tag to.

tagProject_tags :: Lens' TagProject (HashMap Text Text) Source #

The tags you want to add to the project.

DescribeProject

describeProjectResponse_arn :: Lens' DescribeProjectResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) for the project.

describeProjectResponse_projectTemplateId :: Lens' DescribeProjectResponse (Maybe Text) Source #

The ID for the AWS CodeStar project template used to create the project.

describeProjectResponse_stackId :: Lens' DescribeProjectResponse (Maybe Text) Source #

The ID of the primary stack in AWS CloudFormation used to generate resources for the project.

describeProjectResponse_clientRequestToken :: Lens' DescribeProjectResponse (Maybe Text) Source #

A user- or system-generated token that identifies the entity that requested project creation.

describeProjectResponse_createdTimeStamp :: Lens' DescribeProjectResponse (Maybe UTCTime) Source #

The date and time the project was created, in timestamp format.

ListUserProfiles

listUserProfiles_nextToken :: Lens' ListUserProfiles (Maybe Text) Source #

The continuation token for the next set of results, if the results cannot be returned in one response.

listUserProfiles_maxResults :: Lens' ListUserProfiles (Maybe Natural) Source #

The maximum number of results to return in a response.

listUserProfilesResponse_nextToken :: Lens' ListUserProfilesResponse (Maybe Text) Source #

The continuation token to use when requesting the next set of results, if there are more results to be returned.

listUserProfilesResponse_userProfiles :: Lens' ListUserProfilesResponse [UserProfileSummary] Source #

All the user profiles configured in AWS CodeStar for an AWS account.

ListResources

listResources_nextToken :: Lens' ListResources (Maybe Text) Source #

The continuation token for the next set of results, if the results cannot be returned in one response.

listResources_maxResults :: Lens' ListResources (Maybe Natural) Source #

The maximum amount of data that can be contained in a single set of results.

listResourcesResponse_resources :: Lens' ListResourcesResponse (Maybe [Resource]) Source #

An array of resources associated with the project.

listResourcesResponse_nextToken :: Lens' ListResourcesResponse (Maybe Text) Source #

The continuation token to use when requesting the next set of results, if there are more results to be returned.

AssociateTeamMember

associateTeamMember_remoteAccessAllowed :: Lens' AssociateTeamMember (Maybe Bool) Source #

Whether the team member is allowed to use an SSH public/private key pair to remotely access project resources, for example Amazon EC2 instances.

associateTeamMember_clientRequestToken :: Lens' AssociateTeamMember (Maybe Text) Source #

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.

associateTeamMember_projectId :: Lens' AssociateTeamMember Text Source #

The ID of the project to which you will add the IAM user.

associateTeamMember_userArn :: Lens' AssociateTeamMember Text Source #

The Amazon Resource Name (ARN) for the IAM user you want to add to the AWS CodeStar project.

associateTeamMember_projectRole :: Lens' AssociateTeamMember Text Source #

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.

associateTeamMemberResponse_clientRequestToken :: Lens' AssociateTeamMemberResponse (Maybe Text) Source #

The user- or system-generated token from the initial request that can be used to repeat the request.

UntagProject

untagProject_id :: Lens' UntagProject Text Source #

The ID of the project to remove tags from.

untagProject_tags :: Lens' UntagProject [Text] Source #

The tags to remove from the project.

UpdateTeamMember

updateTeamMember_remoteAccessAllowed :: Lens' UpdateTeamMember (Maybe Bool) Source #

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.

updateTeamMember_projectRole :: Lens' UpdateTeamMember (Maybe Text) Source #

The role assigned to the user in the project. Project roles have different levels of access. For more information, see Working with Teams in the AWS CodeStar User Guide.

updateTeamMember_userArn :: Lens' UpdateTeamMember Text Source #

The Amazon Resource Name (ARN) of the user for whom you want to change team membership attributes.

updateTeamMemberResponse_userArn :: Lens' UpdateTeamMemberResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the user whose team membership attributes were updated.

updateTeamMemberResponse_remoteAccessAllowed :: Lens' UpdateTeamMemberResponse (Maybe Bool) Source #

Whether a team member is allowed to remotely access project resources using the SSH public key associated with the user's profile.

DescribeUserProfile

describeUserProfile_userArn :: Lens' DescribeUserProfile Text Source #

The Amazon Resource Name (ARN) of the user.

describeUserProfileResponse_sshPublicKey :: Lens' DescribeUserProfileResponse (Maybe Text) Source #

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.

describeUserProfileResponse_displayName :: Lens' DescribeUserProfileResponse (Maybe Text) Source #

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").

describeUserProfileResponse_createdTimestamp :: Lens' DescribeUserProfileResponse UTCTime Source #

The date and time when the user profile was created in AWS CodeStar, in timestamp format.

describeUserProfileResponse_lastModifiedTimestamp :: Lens' DescribeUserProfileResponse UTCTime Source #

The date and time when the user profile was last modified, in timestamp format.

ListTagsForProject

listTagsForProject_id :: Lens' ListTagsForProject Text Source #

The ID of the project to get tags for.

DeleteUserProfile

deleteUserProfile_userArn :: Lens' DeleteUserProfile Text Source #

The Amazon Resource Name (ARN) of the user to delete from AWS CodeStar.

deleteUserProfileResponse_userArn :: Lens' DeleteUserProfileResponse Text Source #

The Amazon Resource Name (ARN) of the user deleted from AWS CodeStar.

UpdateUserProfile

updateUserProfile_sshPublicKey :: Lens' UpdateUserProfile (Maybe Text) Source #

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.

updateUserProfile_emailAddress :: Lens' UpdateUserProfile (Maybe Text) Source #

The email address that is displayed as part of the user's profile in AWS CodeStar.

updateUserProfile_displayName :: Lens' UpdateUserProfile (Maybe Text) Source #

The name that is displayed as the friendly name for the user in AWS CodeStar.

updateUserProfile_userArn :: Lens' UpdateUserProfile Text Source #

The name that will be displayed as the friendly name for the user in AWS CodeStar.

updateUserProfileResponse_lastModifiedTimestamp :: Lens' UpdateUserProfileResponse (Maybe UTCTime) Source #

The date the user profile was last modified, in timestamp format.

updateUserProfileResponse_sshPublicKey :: Lens' UpdateUserProfileResponse (Maybe Text) Source #

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.

updateUserProfileResponse_emailAddress :: Lens' UpdateUserProfileResponse (Maybe Text) Source #

The email address that is displayed as part of the user's profile in AWS CodeStar.

updateUserProfileResponse_displayName :: Lens' UpdateUserProfileResponse (Maybe Text) Source #

The name that is displayed as the friendly name for the user in AWS CodeStar.

updateUserProfileResponse_createdTimestamp :: Lens' UpdateUserProfileResponse (Maybe UTCTime) Source #

The date the user profile was created, in timestamp format.

updateUserProfileResponse_userArn :: Lens' UpdateUserProfileResponse Text Source #

The Amazon Resource Name (ARN) of the user in IAM.

CreateUserProfile

createUserProfile_sshPublicKey :: Lens' CreateUserProfile (Maybe Text) Source #

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.

createUserProfile_userArn :: Lens' CreateUserProfile Text Source #

The Amazon Resource Name (ARN) of the user in IAM.

createUserProfile_displayName :: Lens' CreateUserProfile Text Source #

The name that will be displayed as the friendly name for the user in AWS CodeStar.

createUserProfile_emailAddress :: Lens' CreateUserProfile Text Source #

The email address that will be displayed as part of the user's profile in AWS CodeStar.

createUserProfileResponse_lastModifiedTimestamp :: Lens' CreateUserProfileResponse (Maybe UTCTime) Source #

The date the user profile was last modified, in timestamp format.

createUserProfileResponse_sshPublicKey :: Lens' CreateUserProfileResponse (Maybe Text) Source #

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.

createUserProfileResponse_emailAddress :: Lens' CreateUserProfileResponse (Maybe Text) Source #

The email address that is displayed as part of the user's profile in AWS CodeStar.

createUserProfileResponse_displayName :: Lens' CreateUserProfileResponse (Maybe Text) Source #

The name that is displayed as the friendly name for the user in AWS CodeStar.

createUserProfileResponse_createdTimestamp :: Lens' CreateUserProfileResponse (Maybe UTCTime) Source #

The date the user profile was created, in timestamp format.

createUserProfileResponse_userArn :: Lens' CreateUserProfileResponse Text Source #

The Amazon Resource Name (ARN) of the user in IAM.

CreateProject

createProject_sourceCode :: Lens' CreateProject (Maybe [Code]) Source #

A list of the Code objects submitted with the project request. If this parameter is specified, the request must also include the toolchain parameter.

createProject_toolchain :: Lens' CreateProject (Maybe Toolchain) Source #

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.

createProject_clientRequestToken :: Lens' CreateProject (Maybe Text) Source #

A user- or system-generated token that identifies the entity that requested project creation. This token can be used to repeat the request.

createProject_description :: Lens' CreateProject (Maybe Text) Source #

The description of the project, if any.

createProject_tags :: Lens' CreateProject (Maybe (HashMap Text Text)) Source #

The tags created for the project.

createProject_name :: Lens' CreateProject Text Source #

The display name for the project to be created in AWS CodeStar.

createProject_id :: Lens' CreateProject Text Source #

The ID of the project to be created in AWS CodeStar.

createProjectResponse_clientRequestToken :: Lens' CreateProjectResponse (Maybe Text) Source #

A user- or system-generated token that identifies the entity that requested project creation.

createProjectResponse_arn :: Lens' CreateProjectResponse Text Source #

The Amazon Resource Name (ARN) of the created project.

Types

Code

code_source :: Lens' Code CodeSource Source #

The location where the source code files provided with the project request are stored. AWS CodeStar retrieves the files during project creation.

code_destination :: Lens' Code CodeDestination Source #

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.

CodeCommitCodeDestination

codeCommitCodeDestination_name :: Lens' CodeCommitCodeDestination Text Source #

The name of the AWS CodeCommit repository to be created in AWS CodeStar.

CodeDestination

codeDestination_codeCommit :: Lens' CodeDestination (Maybe CodeCommitCodeDestination) Source #

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.

codeDestination_gitHub :: Lens' CodeDestination (Maybe GitHubCodeDestination) Source #

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.

CodeSource

codeSource_s3 :: Lens' CodeSource S3Location Source #

Information about the Amazon S3 location where the source code files provided with the project request are stored.

GitHubCodeDestination

gitHubCodeDestination_description :: Lens' GitHubCodeDestination (Maybe Text) Source #

Description for the GitHub repository to be created in AWS CodeStar. This description displays in GitHub after the repository is created.

gitHubCodeDestination_name :: Lens' GitHubCodeDestination Text Source #

Name of the GitHub repository to be created in AWS CodeStar.

gitHubCodeDestination_type :: Lens' GitHubCodeDestination Text Source #

The type of GitHub repository to be created in AWS CodeStar. Valid values are User or Organization.

gitHubCodeDestination_owner :: Lens' GitHubCodeDestination Text Source #

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.

gitHubCodeDestination_privateRepository :: Lens' GitHubCodeDestination Bool Source #

Whether the GitHub repository is to be a private repository.

gitHubCodeDestination_issuesEnabled :: Lens' GitHubCodeDestination Bool Source #

Whether to enable issues for the GitHub repository.

gitHubCodeDestination_token :: Lens' GitHubCodeDestination Text Source #

The GitHub user's personal access token for the GitHub repository.

ProjectStatus

projectStatus_reason :: Lens' ProjectStatus (Maybe Text) Source #

In the case of a project creation or deletion failure, a reason for the failure.

projectStatus_state :: Lens' ProjectStatus Text Source #

The phase of completion for a project creation or deletion.

ProjectSummary

projectSummary_projectArn :: Lens' ProjectSummary (Maybe Text) Source #

The Amazon Resource Name (ARN) of the project.

Resource

resource_id :: Lens' Resource Text Source #

The Amazon Resource Name (ARN) of the resource.

S3Location

s3Location_bucketKey :: Lens' S3Location (Maybe Text) Source #

The Amazon S3 object key where the source code files provided with the project request are stored.

s3Location_bucketName :: Lens' S3Location (Maybe Text) Source #

The Amazon S3 bucket name where the source code files provided with the project request are stored.

TeamMember

teamMember_remoteAccessAllowed :: Lens' TeamMember (Maybe Bool) Source #

Whether the user is allowed to remotely access project resources using an SSH public/private key pair.

teamMember_userArn :: Lens' TeamMember Text Source #

The Amazon Resource Name (ARN) of the user in IAM.

teamMember_projectRole :: Lens' TeamMember Text Source #

The role assigned to the user in the project. Project roles have different levels of access. For more information, see Working with Teams in the AWS CodeStar User Guide.

Toolchain

toolchain_stackParameters :: Lens' Toolchain (Maybe (HashMap Text Text)) Source #

The list of parameter overrides to be passed into the toolchain template during stack provisioning, if any.

toolchain_roleArn :: Lens' Toolchain (Maybe Text) Source #

The service role ARN for AWS CodeStar to use for the toolchain template during stack provisioning.

toolchain_source :: Lens' Toolchain ToolchainSource Source #

The Amazon S3 location where the toolchain template file provided with the project request is stored. AWS CodeStar retrieves the file during project creation.

ToolchainSource

toolchainSource_s3 :: Lens' ToolchainSource S3Location Source #

The Amazon S3 bucket where the toolchain template file provided with the project request is stored.

UserProfileSummary

userProfileSummary_sshPublicKey :: Lens' UserProfileSummary (Maybe Text) Source #

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.

userProfileSummary_userArn :: Lens' UserProfileSummary (Maybe Text) Source #

The Amazon Resource Name (ARN) of the user in IAM.

userProfileSummary_emailAddress :: Lens' UserProfileSummary (Maybe Text) Source #

The email address associated with the user.

userProfileSummary_displayName :: Lens' UserProfileSummary (Maybe Text) Source #

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").