Class: AWS.CodeStar
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.CodeStar
- Identifier:
- codestar
- API Version:
- 2017-04-19
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
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.
Sending a Request Using CodeStar
var codestar = new AWS.CodeStar();
codestar.associateTeamMember(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Locking the API Version
In order to ensure that the CodeStar object uses this specific API, you can
construct the object by passing the apiVersion
option to the constructor:
var codestar = new AWS.CodeStar({apiVersion: '2017-04-19'});
You can also set the API version globally in AWS.config.apiVersions
using
the codestar service identifier:
AWS.config.apiVersions = {
codestar: '2017-04-19',
// other service API versions
};
var codestar = new AWS.CodeStar();
Constructor Summary
-
new AWS.CodeStar(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary
-
associateTeamMember(params = {}, callback) ⇒ AWS.Request
Adds an IAM user to the team for an AWS CodeStar project.
-
createProject(params = {}, callback) ⇒ AWS.Request
Creates a project, including project resources.
-
createUserProfile(params = {}, callback) ⇒ AWS.Request
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.
-
deleteProject(params = {}, callback) ⇒ AWS.Request
Deletes a project, including project resources.
-
deleteUserProfile(params = {}, callback) ⇒ AWS.Request
Deletes a user profile in AWS CodeStar, including all personal preference data associated with that profile, such as display name and email address.
-
describeProject(params = {}, callback) ⇒ AWS.Request
Describes a project and its resources.
-
describeUserProfile(params = {}, callback) ⇒ AWS.Request
Describes a user in AWS CodeStar and the user attributes across all projects.
-
disassociateTeamMember(params = {}, callback) ⇒ AWS.Request
Removes a user from a project.
-
listProjects(params = {}, callback) ⇒ AWS.Request
Lists all projects in AWS CodeStar associated with your AWS account.
-
listResources(params = {}, callback) ⇒ AWS.Request
Lists resources associated with a project in AWS CodeStar.
-
listTagsForProject(params = {}, callback) ⇒ AWS.Request
Gets the tags for a project.
-
listTeamMembers(params = {}, callback) ⇒ AWS.Request
Lists all team members associated with a project.
-
listUserProfiles(params = {}, callback) ⇒ AWS.Request
Lists all the user profiles configured for your AWS account in AWS CodeStar.
-
tagProject(params = {}, callback) ⇒ AWS.Request
Adds tags to a project.
-
untagProject(params = {}, callback) ⇒ AWS.Request
Removes tags from a project.
-
updateProject(params = {}, callback) ⇒ AWS.Request
Updates a project in AWS CodeStar.
-
updateTeamMember(params = {}, callback) ⇒ AWS.Request
Updates a team member's attributes in an AWS CodeStar project.
-
updateUserProfile(params = {}, callback) ⇒ AWS.Request
Updates a user's profile in AWS CodeStar.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
Property Details
Method Details
associateTeamMember(params = {}, callback) ⇒ AWS.Request
Adds an IAM user to the team for an AWS CodeStar project.
createProject(params = {}, callback) ⇒ AWS.Request
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(params = {}, callback) ⇒ AWS.Request
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(params = {}, callback) ⇒ AWS.Request
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(params = {}, callback) ⇒ AWS.Request
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.
describeUserProfile(params = {}, callback) ⇒ AWS.Request
Describes a user in AWS CodeStar and the user attributes across all projects.
disassociateTeamMember(params = {}, callback) ⇒ AWS.Request
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(params = {}, callback) ⇒ AWS.Request
Lists all projects in AWS CodeStar associated with your AWS account.
listResources(params = {}, callback) ⇒ AWS.Request
Lists resources associated with a project in AWS CodeStar.
listTeamMembers(params = {}, callback) ⇒ AWS.Request
Lists all team members associated with a project.
listUserProfiles(params = {}, callback) ⇒ AWS.Request
Lists all the user profiles configured for your AWS account in AWS CodeStar.