{ "version": "2.0", "metadata": { "apiVersion": "2017-04-19", "endpointPrefix": "codestar", "jsonVersion": "1.1", "protocol": "json", "serviceAbbreviation": "CodeStar", "serviceFullName": "AWS CodeStar", "serviceId": "CodeStar", "signatureVersion": "v4", "targetPrefix": "CodeStar_20170419", "uid": "codestar-2017-04-19" }, "operations": { "AssociateTeamMember": { "name": "AssociateTeamMember", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "AssociateTeamMemberRequest" }, "output": { "shape": "AssociateTeamMemberResult" }, "errors": [ { "shape": "LimitExceededException" }, { "shape": "ProjectNotFoundException" }, { "shape": "TeamMemberAlreadyAssociatedException" }, { "shape": "ValidationException" }, { "shape": "InvalidServiceRoleException" }, { "shape": "ProjectConfigurationException" }, { "shape": "ConcurrentModificationException" } ], "documentation": "

Adds an IAM user to the team for an AWS CodeStar project.

" }, "CreateProject": { "name": "CreateProject", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "CreateProjectRequest" }, "output": { "shape": "CreateProjectResult" }, "errors": [ { "shape": "ProjectAlreadyExistsException" }, { "shape": "LimitExceededException" }, { "shape": "ValidationException" }, { "shape": "ProjectCreationFailedException" }, { "shape": "InvalidServiceRoleException" }, { "shape": "ProjectConfigurationException" }, { "shape": "ConcurrentModificationException" } ], "documentation": "

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.

" }, "CreateUserProfile": { "name": "CreateUserProfile", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "CreateUserProfileRequest" }, "output": { "shape": "CreateUserProfileResult" }, "errors": [ { "shape": "UserProfileAlreadyExistsException" }, { "shape": "ValidationException" } ], "documentation": "

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.

" }, "DeleteProject": { "name": "DeleteProject", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteProjectRequest" }, "output": { "shape": "DeleteProjectResult" }, "errors": [ { "shape": "ConcurrentModificationException" }, { "shape": "ValidationException" }, { "shape": "InvalidServiceRoleException" } ], "documentation": "

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.

" }, "DeleteUserProfile": { "name": "DeleteUserProfile", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteUserProfileRequest" }, "output": { "shape": "DeleteUserProfileResult" }, "errors": [ { "shape": "ValidationException" } ], "documentation": "

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.

" }, "DescribeProject": { "name": "DescribeProject", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribeProjectRequest" }, "output": { "shape": "DescribeProjectResult" }, "errors": [ { "shape": "ProjectNotFoundException" }, { "shape": "ValidationException" }, { "shape": "InvalidServiceRoleException" }, { "shape": "ProjectConfigurationException" }, { "shape": "ConcurrentModificationException" } ], "documentation": "

Describes a project and its resources.

" }, "DescribeUserProfile": { "name": "DescribeUserProfile", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribeUserProfileRequest" }, "output": { "shape": "DescribeUserProfileResult" }, "errors": [ { "shape": "UserProfileNotFoundException" }, { "shape": "ValidationException" } ], "documentation": "

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

" }, "DisassociateTeamMember": { "name": "DisassociateTeamMember", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DisassociateTeamMemberRequest" }, "output": { "shape": "DisassociateTeamMemberResult" }, "errors": [ { "shape": "ProjectNotFoundException" }, { "shape": "ValidationException" }, { "shape": "InvalidServiceRoleException" }, { "shape": "ConcurrentModificationException" } ], "documentation": "

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.

" }, "ListProjects": { "name": "ListProjects", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListProjectsRequest" }, "output": { "shape": "ListProjectsResult" }, "errors": [ { "shape": "InvalidNextTokenException" }, { "shape": "ValidationException" } ], "documentation": "

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

" }, "ListResources": { "name": "ListResources", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListResourcesRequest" }, "output": { "shape": "ListResourcesResult" }, "errors": [ { "shape": "ProjectNotFoundException" }, { "shape": "InvalidNextTokenException" }, { "shape": "ValidationException" } ], "documentation": "

Lists resources associated with a project in AWS CodeStar.

" }, "ListTagsForProject": { "name": "ListTagsForProject", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListTagsForProjectRequest" }, "output": { "shape": "ListTagsForProjectResult" }, "errors": [ { "shape": "ProjectNotFoundException" }, { "shape": "ValidationException" }, { "shape": "InvalidNextTokenException" } ], "documentation": "

Gets the tags for a project.

" }, "ListTeamMembers": { "name": "ListTeamMembers", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListTeamMembersRequest" }, "output": { "shape": "ListTeamMembersResult" }, "errors": [ { "shape": "ProjectNotFoundException" }, { "shape": "InvalidNextTokenException" }, { "shape": "ValidationException" } ], "documentation": "

Lists all team members associated with a project.

" }, "ListUserProfiles": { "name": "ListUserProfiles", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListUserProfilesRequest" }, "output": { "shape": "ListUserProfilesResult" }, "errors": [ { "shape": "InvalidNextTokenException" }, { "shape": "ValidationException" } ], "documentation": "

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

" }, "TagProject": { "name": "TagProject", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "TagProjectRequest" }, "output": { "shape": "TagProjectResult" }, "errors": [ { "shape": "ProjectNotFoundException" }, { "shape": "ValidationException" }, { "shape": "LimitExceededException" }, { "shape": "ConcurrentModificationException" } ], "documentation": "

Adds tags to a project.

" }, "UntagProject": { "name": "UntagProject", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UntagProjectRequest" }, "output": { "shape": "UntagProjectResult" }, "errors": [ { "shape": "ProjectNotFoundException" }, { "shape": "ValidationException" }, { "shape": "LimitExceededException" }, { "shape": "ConcurrentModificationException" } ], "documentation": "

Removes tags from a project.

" }, "UpdateProject": { "name": "UpdateProject", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UpdateProjectRequest" }, "output": { "shape": "UpdateProjectResult" }, "errors": [ { "shape": "ProjectNotFoundException" }, { "shape": "ValidationException" } ], "documentation": "

Updates a project in AWS CodeStar.

" }, "UpdateTeamMember": { "name": "UpdateTeamMember", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UpdateTeamMemberRequest" }, "output": { "shape": "UpdateTeamMemberResult" }, "errors": [ { "shape": "LimitExceededException" }, { "shape": "ProjectNotFoundException" }, { "shape": "ValidationException" }, { "shape": "InvalidServiceRoleException" }, { "shape": "ProjectConfigurationException" }, { "shape": "ConcurrentModificationException" }, { "shape": "TeamMemberNotFoundException" } ], "documentation": "

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.

" }, "UpdateUserProfile": { "name": "UpdateUserProfile", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UpdateUserProfileRequest" }, "output": { "shape": "UpdateUserProfileResult" }, "errors": [ { "shape": "UserProfileNotFoundException" }, { "shape": "ValidationException" } ], "documentation": "

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.

" } }, "shapes": { "AssociateTeamMemberRequest": { "type": "structure", "required": [ "projectId", "userArn", "projectRole" ], "members": { "projectId": { "shape": "ProjectId", "documentation": "

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

" }, "clientRequestToken": { "shape": "ClientRequestToken", "documentation": "

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.

" }, "userArn": { "shape": "UserArn", "documentation": "

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

" }, "projectRole": { "shape": "Role", "documentation": "

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.

" }, "remoteAccessAllowed": { "shape": "RemoteAccessAllowed", "documentation": "

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

", "box": true } } }, "AssociateTeamMemberResult": { "type": "structure", "members": { "clientRequestToken": { "shape": "ClientRequestToken", "documentation": "

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

" } } }, "BucketKey": { "type": "string" }, "BucketName": { "type": "string", "max": 63, "min": 3 }, "ClientRequestToken": { "type": "string", "max": 256, "min": 1, "pattern": "^[\\w:/-]+$" }, "Code": { "type": "structure", "required": [ "source", "destination" ], "members": { "source": { "shape": "CodeSource", "documentation": "

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

" }, "destination": { "shape": "CodeDestination", "documentation": "

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.

" } }, "documentation": "

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.

" }, "CodeCommitCodeDestination": { "type": "structure", "required": [ "name" ], "members": { "name": { "shape": "RepositoryName", "documentation": "

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

" } }, "documentation": "

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": { "type": "structure", "members": { "codeCommit": { "shape": "CodeCommitCodeDestination", "documentation": "

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.

" }, "gitHub": { "shape": "GitHubCodeDestination", "documentation": "

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.

" } }, "documentation": "

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.

" }, "CodeSource": { "type": "structure", "required": [ "s3" ], "members": { "s3": { "shape": "S3Location", "documentation": "

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

" } }, "documentation": "

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

" }, "CreateProjectRequest": { "type": "structure", "required": [ "name", "id" ], "members": { "name": { "shape": "ProjectName", "documentation": "

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

" }, "id": { "shape": "ProjectId", "documentation": "

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

" }, "description": { "shape": "ProjectDescription", "documentation": "

The description of the project, if any.

" }, "clientRequestToken": { "shape": "ClientRequestToken", "documentation": "

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

" }, "sourceCode": { "shape": "SourceCode", "documentation": "

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

" }, "toolchain": { "shape": "Toolchain", "documentation": "

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.

" }, "tags": { "shape": "Tags", "documentation": "

The tags created for the project.

" } } }, "CreateProjectResult": { "type": "structure", "required": [ "id", "arn" ], "members": { "id": { "shape": "ProjectId", "documentation": "

The ID of the project.

" }, "arn": { "shape": "ProjectArn", "documentation": "

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

" }, "clientRequestToken": { "shape": "ClientRequestToken", "documentation": "

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

" }, "projectTemplateId": { "shape": "ProjectTemplateId", "documentation": "

Reserved for future use.

" } } }, "CreateUserProfileRequest": { "type": "structure", "required": [ "userArn", "displayName", "emailAddress" ], "members": { "userArn": { "shape": "UserArn", "documentation": "

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

" }, "displayName": { "shape": "UserProfileDisplayName", "documentation": "

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

" }, "emailAddress": { "shape": "Email", "documentation": "

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

" }, "sshPublicKey": { "shape": "SshPublicKey", "documentation": "

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.

" } } }, "CreateUserProfileResult": { "type": "structure", "required": [ "userArn" ], "members": { "userArn": { "shape": "UserArn", "documentation": "

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

" }, "displayName": { "shape": "UserProfileDisplayName", "documentation": "

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

" }, "emailAddress": { "shape": "Email", "documentation": "

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

" }, "sshPublicKey": { "shape": "SshPublicKey", "documentation": "

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.

" }, "createdTimestamp": { "shape": "CreatedTimestamp", "documentation": "

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

" }, "lastModifiedTimestamp": { "shape": "LastModifiedTimestamp", "documentation": "

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

" } } }, "CreatedTimestamp": { "type": "timestamp" }, "DeleteProjectRequest": { "type": "structure", "required": [ "id" ], "members": { "id": { "shape": "ProjectId", "documentation": "

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

" }, "clientRequestToken": { "shape": "ClientRequestToken", "documentation": "

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

" }, "deleteStack": { "shape": "DeleteStack", "documentation": "

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.

" } } }, "DeleteProjectResult": { "type": "structure", "members": { "stackId": { "shape": "StackId", "documentation": "

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

" }, "projectArn": { "shape": "ProjectArn", "documentation": "

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

" } } }, "DeleteStack": { "type": "boolean" }, "DeleteUserProfileRequest": { "type": "structure", "required": [ "userArn" ], "members": { "userArn": { "shape": "UserArn", "documentation": "

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

" } } }, "DeleteUserProfileResult": { "type": "structure", "required": [ "userArn" ], "members": { "userArn": { "shape": "UserArn", "documentation": "

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

" } } }, "DescribeProjectRequest": { "type": "structure", "required": [ "id" ], "members": { "id": { "shape": "ProjectId", "documentation": "

The ID of the project.

" } } }, "DescribeProjectResult": { "type": "structure", "members": { "name": { "shape": "ProjectName", "documentation": "

The display name for the project.

" }, "id": { "shape": "ProjectId", "documentation": "

The ID of the project.

" }, "arn": { "shape": "ProjectArn", "documentation": "

The Amazon Resource Name (ARN) for the project.

" }, "description": { "shape": "ProjectDescription", "documentation": "

The description of the project, if any.

" }, "clientRequestToken": { "shape": "ClientRequestToken", "documentation": "

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

" }, "createdTimeStamp": { "shape": "CreatedTimestamp", "documentation": "

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

" }, "stackId": { "shape": "StackId", "documentation": "

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

" }, "projectTemplateId": { "shape": "ProjectTemplateId", "documentation": "

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

" }, "status": { "shape": "ProjectStatus", "documentation": "

The project creation or deletion status.

" } } }, "DescribeUserProfileRequest": { "type": "structure", "required": [ "userArn" ], "members": { "userArn": { "shape": "UserArn", "documentation": "

The Amazon Resource Name (ARN) of the user.

" } } }, "DescribeUserProfileResult": { "type": "structure", "required": [ "userArn", "createdTimestamp", "lastModifiedTimestamp" ], "members": { "userArn": { "shape": "UserArn", "documentation": "

The Amazon Resource Name (ARN) of the user.

" }, "displayName": { "shape": "UserProfileDisplayName", "documentation": "

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

" }, "emailAddress": { "shape": "Email", "documentation": "

The email address for the user. Optional.

" }, "sshPublicKey": { "shape": "SshPublicKey", "documentation": "

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.

" }, "createdTimestamp": { "shape": "CreatedTimestamp", "documentation": "

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

" }, "lastModifiedTimestamp": { "shape": "LastModifiedTimestamp", "documentation": "

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

" } } }, "DisassociateTeamMemberRequest": { "type": "structure", "required": [ "projectId", "userArn" ], "members": { "projectId": { "shape": "ProjectId", "documentation": "

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

" }, "userArn": { "shape": "UserArn", "documentation": "

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

" } } }, "DisassociateTeamMemberResult": { "type": "structure", "members": {} }, "Email": { "type": "string", "max": 128, "min": 3, "pattern": "^[\\w-.+]+@[\\w-.+]+$", "sensitive": true }, "GitHubCodeDestination": { "type": "structure", "required": [ "name", "type", "owner", "privateRepository", "issuesEnabled", "token" ], "members": { "name": { "shape": "RepositoryName", "documentation": "

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

" }, "description": { "shape": "RepositoryDescription", "documentation": "

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

" }, "type": { "shape": "RepositoryType", "documentation": "

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

" }, "owner": { "shape": "RepositoryOwner", "documentation": "

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.

" }, "privateRepository": { "shape": "RepositoryIsPrivate", "documentation": "

Whether the GitHub repository is to be a private repository.

" }, "issuesEnabled": { "shape": "RepositoryEnableIssues", "documentation": "

Whether to enable issues for the GitHub repository.

" }, "token": { "shape": "GitHubPersonalToken", "documentation": "

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

" } }, "documentation": "

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.

" }, "GitHubPersonalToken": { "type": "string", "min": 1, "sensitive": true }, "LastModifiedTimestamp": { "type": "timestamp" }, "ListProjectsRequest": { "type": "structure", "members": { "nextToken": { "shape": "PaginationToken", "documentation": "

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

" }, "maxResults": { "shape": "MaxResults", "documentation": "

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

", "box": true } } }, "ListProjectsResult": { "type": "structure", "required": [ "projects" ], "members": { "projects": { "shape": "ProjectsList", "documentation": "

A list of projects.

" }, "nextToken": { "shape": "PaginationToken", "documentation": "

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

" } } }, "ListResourcesRequest": { "type": "structure", "required": [ "projectId" ], "members": { "projectId": { "shape": "ProjectId", "documentation": "

The ID of the project.

" }, "nextToken": { "shape": "PaginationToken", "documentation": "

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

" }, "maxResults": { "shape": "MaxResults", "documentation": "

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

", "box": true } } }, "ListResourcesResult": { "type": "structure", "members": { "resources": { "shape": "ResourcesResult", "documentation": "

An array of resources associated with the project.

" }, "nextToken": { "shape": "PaginationToken", "documentation": "

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

" } } }, "ListTagsForProjectRequest": { "type": "structure", "required": [ "id" ], "members": { "id": { "shape": "ProjectId", "documentation": "

The ID of the project to get tags for.

" }, "nextToken": { "shape": "PaginationToken", "documentation": "

Reserved for future use.

" }, "maxResults": { "shape": "MaxResults", "documentation": "

Reserved for future use.

", "box": true } } }, "ListTagsForProjectResult": { "type": "structure", "members": { "tags": { "shape": "Tags", "documentation": "

The tags for the project.

" }, "nextToken": { "shape": "PaginationToken", "documentation": "

Reserved for future use.

" } } }, "ListTeamMembersRequest": { "type": "structure", "required": [ "projectId" ], "members": { "projectId": { "shape": "ProjectId", "documentation": "

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

" }, "nextToken": { "shape": "PaginationToken", "documentation": "

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

" }, "maxResults": { "shape": "MaxResults", "documentation": "

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

", "box": true } } }, "ListTeamMembersResult": { "type": "structure", "required": [ "teamMembers" ], "members": { "teamMembers": { "shape": "TeamMemberResult", "documentation": "

A list of team member objects for the project.

" }, "nextToken": { "shape": "PaginationToken", "documentation": "

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

" } } }, "ListUserProfilesRequest": { "type": "structure", "members": { "nextToken": { "shape": "PaginationToken", "documentation": "

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

" }, "maxResults": { "shape": "MaxResults", "documentation": "

The maximum number of results to return in a response.

", "box": true } } }, "ListUserProfilesResult": { "type": "structure", "required": [ "userProfiles" ], "members": { "userProfiles": { "shape": "UserProfilesList", "documentation": "

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

" }, "nextToken": { "shape": "PaginationToken", "documentation": "

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

" } } }, "MaxResults": { "type": "integer", "max": 100, "min": 1 }, "PaginationToken": { "type": "string", "max": 512, "min": 1, "pattern": "^[\\w/+=]+$" }, "ProjectArn": { "type": "string", "pattern": "^arn:aws[^:\\s]*:codestar:[^:\\s]+:[0-9]{12}:project\\/[a-z]([a-z0-9|-])+$" }, "ProjectDescription": { "type": "string", "max": 1024, "pattern": "^$|^\\S(.*\\S)?$", "sensitive": true }, "ProjectId": { "type": "string", "max": 15, "min": 2, "pattern": "^[a-z][a-z0-9-]+$" }, "ProjectName": { "type": "string", "max": 100, "min": 1, "pattern": "^\\S(.*\\S)?$", "sensitive": true }, "ProjectStatus": { "type": "structure", "required": [ "state" ], "members": { "state": { "shape": "State", "documentation": "

The phase of completion for a project creation or deletion.

" }, "reason": { "shape": "Reason", "documentation": "

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

" } }, "documentation": "

An indication of whether a project creation or deletion is failed or successful.

" }, "ProjectSummary": { "type": "structure", "members": { "projectId": { "shape": "ProjectId", "documentation": "

The ID of the project.

" }, "projectArn": { "shape": "ProjectArn", "documentation": "

The Amazon Resource Name (ARN) of the project.

" } }, "documentation": "

Information about the metadata for a project.

" }, "ProjectTemplateId": { "type": "string", "min": 1, "pattern": "^arn:aws[^:\\s]{0,5}:codestar:[^:\\s]+::project-template(\\/(github|codecommit))?\\/[a-z0-9-]+$" }, "ProjectsList": { "type": "list", "member": { "shape": "ProjectSummary" } }, "Reason": { "type": "string", "max": 1024, "pattern": "^$|^\\S(.*\\S)?$" }, "RemoteAccessAllowed": { "type": "boolean" }, "RepositoryDescription": { "type": "string", "max": 1000, "min": 1, "pattern": "^\\S(.*\\S)?$" }, "RepositoryEnableIssues": { "type": "boolean" }, "RepositoryIsPrivate": { "type": "boolean" }, "RepositoryName": { "type": "string", "max": 100, "min": 1, "pattern": "^\\S[\\w.-]*$" }, "RepositoryOwner": { "type": "string", "max": 100, "min": 1, "pattern": "^\\S(.*\\S)?$" }, "RepositoryType": { "type": "string", "pattern": "^(user|organization|User|Organization)$" }, "Resource": { "type": "structure", "required": [ "id" ], "members": { "id": { "shape": "ResourceId", "documentation": "

The Amazon Resource Name (ARN) of the resource.

" } }, "documentation": "

Information about a resource for a project.

" }, "ResourceId": { "type": "string", "min": 11, "pattern": "^arn\\:aws\\:\\S.*\\:.*" }, "ResourcesResult": { "type": "list", "member": { "shape": "Resource" } }, "Role": { "type": "string", "pattern": "^(Owner|Viewer|Contributor)$" }, "RoleArn": { "type": "string", "max": 1224, "min": 1 }, "S3Location": { "type": "structure", "members": { "bucketName": { "shape": "BucketName", "documentation": "

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

" }, "bucketKey": { "shape": "BucketKey", "documentation": "

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

" } }, "documentation": "

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

" }, "SourceCode": { "type": "list", "member": { "shape": "Code" } }, "SshPublicKey": { "type": "string", "max": 16384, "pattern": "^[\\t\\r\\n\\u0020-\\u00FF]*$" }, "StackId": { "type": "string", "pattern": "^arn:aws[^:\\s]*:cloudformation:[^:\\s]+:[0-9]{12}:stack\\/[^:\\s]+\\/[^:\\s]+$" }, "State": { "type": "string", "pattern": "^(CreateInProgress|CreateComplete|CreateFailed|DeleteComplete|DeleteFailed|DeleteInProgress|UpdateComplete|UpdateInProgress|UpdateFailed|Unknown)$" }, "TagKey": { "type": "string", "max": 128, "min": 1, "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" }, "TagKeys": { "type": "list", "member": { "shape": "TagKey" } }, "TagProjectRequest": { "type": "structure", "required": [ "id", "tags" ], "members": { "id": { "shape": "ProjectId", "documentation": "

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

" }, "tags": { "shape": "Tags", "documentation": "

The tags you want to add to the project.

" } } }, "TagProjectResult": { "type": "structure", "members": { "tags": { "shape": "Tags", "documentation": "

The tags for the project.

" } } }, "TagValue": { "type": "string", "max": 256, "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" }, "Tags": { "type": "map", "key": { "shape": "TagKey" }, "value": { "shape": "TagValue" } }, "TeamMember": { "type": "structure", "required": [ "userArn", "projectRole" ], "members": { "userArn": { "shape": "UserArn", "documentation": "

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

" }, "projectRole": { "shape": "Role", "documentation": "

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.

" }, "remoteAccessAllowed": { "shape": "RemoteAccessAllowed", "documentation": "

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

", "box": true } }, "documentation": "

Information about a team member in a project.

" }, "TeamMemberResult": { "type": "list", "member": { "shape": "TeamMember" } }, "TemplateParameterKey": { "type": "string", "max": 30, "min": 1, "pattern": "^\\S(.*\\S)?$" }, "TemplateParameterMap": { "type": "map", "key": { "shape": "TemplateParameterKey" }, "value": { "shape": "TemplateParameterValue" }, "max": 25 }, "TemplateParameterValue": { "type": "string", "max": 100, "min": 1, "pattern": "^\\S(.*\\S)?$", "sensitive": true }, "Toolchain": { "type": "structure", "required": [ "source" ], "members": { "source": { "shape": "ToolchainSource", "documentation": "

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

" }, "roleArn": { "shape": "RoleArn", "documentation": "

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

" }, "stackParameters": { "shape": "TemplateParameterMap", "documentation": "

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

" } }, "documentation": "

The toolchain template file provided with the project request. AWS CodeStar uses the template to provision the toolchain stack in AWS CloudFormation.

" }, "ToolchainSource": { "type": "structure", "required": [ "s3" ], "members": { "s3": { "shape": "S3Location", "documentation": "

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

" } }, "documentation": "

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

" }, "UntagProjectRequest": { "type": "structure", "required": [ "id", "tags" ], "members": { "id": { "shape": "ProjectId", "documentation": "

The ID of the project to remove tags from.

" }, "tags": { "shape": "TagKeys", "documentation": "

The tags to remove from the project.

" } } }, "UntagProjectResult": { "type": "structure", "members": {} }, "UpdateProjectRequest": { "type": "structure", "required": [ "id" ], "members": { "id": { "shape": "ProjectId", "documentation": "

The ID of the project you want to update.

" }, "name": { "shape": "ProjectName", "documentation": "

The name of the project you want to update.

" }, "description": { "shape": "ProjectDescription", "documentation": "

The description of the project, if any.

" } } }, "UpdateProjectResult": { "type": "structure", "members": {} }, "UpdateTeamMemberRequest": { "type": "structure", "required": [ "projectId", "userArn" ], "members": { "projectId": { "shape": "ProjectId", "documentation": "

The ID of the project.

" }, "userArn": { "shape": "UserArn", "documentation": "

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

" }, "projectRole": { "shape": "Role", "documentation": "

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.

" }, "remoteAccessAllowed": { "shape": "RemoteAccessAllowed", "documentation": "

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.

", "box": true } } }, "UpdateTeamMemberResult": { "type": "structure", "members": { "userArn": { "shape": "UserArn", "documentation": "

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

" }, "projectRole": { "shape": "Role", "documentation": "

The project role granted to the user.

" }, "remoteAccessAllowed": { "shape": "RemoteAccessAllowed", "documentation": "

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

", "box": true } } }, "UpdateUserProfileRequest": { "type": "structure", "required": [ "userArn" ], "members": { "userArn": { "shape": "UserArn", "documentation": "

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

" }, "displayName": { "shape": "UserProfileDisplayName", "documentation": "

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

" }, "emailAddress": { "shape": "Email", "documentation": "

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

" }, "sshPublicKey": { "shape": "SshPublicKey", "documentation": "

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.

" } } }, "UpdateUserProfileResult": { "type": "structure", "required": [ "userArn" ], "members": { "userArn": { "shape": "UserArn", "documentation": "

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

" }, "displayName": { "shape": "UserProfileDisplayName", "documentation": "

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

" }, "emailAddress": { "shape": "Email", "documentation": "

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

" }, "sshPublicKey": { "shape": "SshPublicKey", "documentation": "

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.

" }, "createdTimestamp": { "shape": "CreatedTimestamp", "documentation": "

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

" }, "lastModifiedTimestamp": { "shape": "LastModifiedTimestamp", "documentation": "

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

" } } }, "UserArn": { "type": "string", "max": 95, "min": 32, "pattern": "^arn:aws:iam::\\d{12}:user(?:(\\u002F)|(\\u002F[\\u0021-\\u007E]+\\u002F))[\\w+=,.@-]+$" }, "UserProfileDisplayName": { "type": "string", "max": 64, "min": 1, "pattern": "^\\S(.*\\S)?$", "sensitive": true }, "UserProfileSummary": { "type": "structure", "members": { "userArn": { "shape": "UserArn", "documentation": "

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

" }, "displayName": { "shape": "UserProfileDisplayName", "documentation": "

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

" }, "emailAddress": { "shape": "Email", "documentation": "

The email address associated with the user.

" }, "sshPublicKey": { "shape": "SshPublicKey", "documentation": "

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.

" } }, "documentation": "

Information about a user's profile in AWS CodeStar.

" }, "UserProfilesList": { "type": "list", "member": { "shape": "UserProfileSummary" } } }, "documentation": "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:

Teams and team members, by calling the following:

Users, by calling the following:

" }