/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the codestar-2017-04-19.normal.json service model. */ using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.CodeStar.Model; namespace Amazon.CodeStar { /// /// Interface for accessing CodeStar /// /// 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: /// /// /// public partial interface IAmazonCodeStar : IAmazonService, IDisposable { #region AssociateTeamMember /// /// Adds an IAM user to the team for an AWS CodeStar project. /// /// Container for the necessary parameters to execute the AssociateTeamMember service method. /// /// The response from the AssociateTeamMember service method, as returned by CodeStar. /// /// Another modification is being made. That modification must complete before you can /// make your change. /// /// /// The service role is not valid. /// /// /// A resource limit has been exceeded. /// /// /// Project configuration information is required but not specified. /// /// /// The specified AWS CodeStar project was not found. /// /// /// The team member is already associated with a role in this project. /// /// /// The specified input is either not valid, or it could not be validated. /// /// REST API Reference for AssociateTeamMember Operation AssociateTeamMemberResponse AssociateTeamMember(AssociateTeamMemberRequest request); /// /// Adds an IAM user to the team for an AWS CodeStar project. /// /// Container for the necessary parameters to execute the AssociateTeamMember service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateTeamMember service method, as returned by CodeStar. /// /// Another modification is being made. That modification must complete before you can /// make your change. /// /// /// The service role is not valid. /// /// /// A resource limit has been exceeded. /// /// /// Project configuration information is required but not specified. /// /// /// The specified AWS CodeStar project was not found. /// /// /// The team member is already associated with a role in this project. /// /// /// The specified input is either not valid, or it could not be validated. /// /// REST API Reference for AssociateTeamMember Operation Task AssociateTeamMemberAsync(AssociateTeamMemberRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateProject /// /// 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. /// /// Container for the necessary parameters to execute the CreateProject service method. /// /// The response from the CreateProject service method, as returned by CodeStar. /// /// Another modification is being made. That modification must complete before you can /// make your change. /// /// /// The service role is not valid. /// /// /// A resource limit has been exceeded. /// /// /// 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. /// /// /// Project configuration information is required but not specified. /// /// /// 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. /// /// /// The specified input is either not valid, or it could not be validated. /// /// REST API Reference for CreateProject Operation CreateProjectResponse CreateProject(CreateProjectRequest 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. /// /// Container for the necessary parameters to execute the CreateProject service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateProject service method, as returned by CodeStar. /// /// Another modification is being made. That modification must complete before you can /// make your change. /// /// /// The service role is not valid. /// /// /// A resource limit has been exceeded. /// /// /// 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. /// /// /// Project configuration information is required but not specified. /// /// /// 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. /// /// /// The specified input is either not valid, or it could not be validated. /// /// REST API Reference for CreateProject Operation Task CreateProjectAsync(CreateProjectRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateUserProfile /// /// 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. /// /// Container for the necessary parameters to execute the CreateUserProfile service method. /// /// The response from the CreateUserProfile service method, as returned by CodeStar. /// /// 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. /// /// /// The specified input is either not valid, or it could not be validated. /// /// REST API Reference for CreateUserProfile Operation CreateUserProfileResponse CreateUserProfile(CreateUserProfileRequest 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. /// /// Container for the necessary parameters to execute the CreateUserProfile service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateUserProfile service method, as returned by CodeStar. /// /// 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. /// /// /// The specified input is either not valid, or it could not be validated. /// /// REST API Reference for CreateUserProfile Operation Task CreateUserProfileAsync(CreateUserProfileRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteProject /// /// 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. /// /// Container for the necessary parameters to execute the DeleteProject service method. /// /// The response from the DeleteProject service method, as returned by CodeStar. /// /// Another modification is being made. That modification must complete before you can /// make your change. /// /// /// The service role is not valid. /// /// /// The specified input is either not valid, or it could not be validated. /// /// REST API Reference for DeleteProject Operation DeleteProjectResponse DeleteProject(DeleteProjectRequest 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. /// /// Container for the necessary parameters to execute the DeleteProject service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteProject service method, as returned by CodeStar. /// /// Another modification is being made. That modification must complete before you can /// make your change. /// /// /// The service role is not valid. /// /// /// The specified input is either not valid, or it could not be validated. /// /// REST API Reference for DeleteProject Operation Task DeleteProjectAsync(DeleteProjectRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteUserProfile /// /// 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. /// /// Container for the necessary parameters to execute the DeleteUserProfile service method. /// /// The response from the DeleteUserProfile service method, as returned by CodeStar. /// /// The specified input is either not valid, or it could not be validated. /// /// REST API Reference for DeleteUserProfile Operation DeleteUserProfileResponse DeleteUserProfile(DeleteUserProfileRequest 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. /// /// Container for the necessary parameters to execute the DeleteUserProfile service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteUserProfile service method, as returned by CodeStar. /// /// The specified input is either not valid, or it could not be validated. /// /// REST API Reference for DeleteUserProfile Operation Task DeleteUserProfileAsync(DeleteUserProfileRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeProject /// /// Describes a project and its resources. /// /// Container for the necessary parameters to execute the DescribeProject service method. /// /// The response from the DescribeProject service method, as returned by CodeStar. /// /// Another modification is being made. That modification must complete before you can /// make your change. /// /// /// The service role is not valid. /// /// /// Project configuration information is required but not specified. /// /// /// The specified AWS CodeStar project was not found. /// /// /// The specified input is either not valid, or it could not be validated. /// /// REST API Reference for DescribeProject Operation DescribeProjectResponse DescribeProject(DescribeProjectRequest request); /// /// Describes a project and its resources. /// /// Container for the necessary parameters to execute the DescribeProject service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeProject service method, as returned by CodeStar. /// /// Another modification is being made. That modification must complete before you can /// make your change. /// /// /// The service role is not valid. /// /// /// Project configuration information is required but not specified. /// /// /// The specified AWS CodeStar project was not found. /// /// /// The specified input is either not valid, or it could not be validated. /// /// REST API Reference for DescribeProject Operation Task DescribeProjectAsync(DescribeProjectRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeUserProfile /// /// Describes a user in AWS CodeStar and the user attributes across all projects. /// /// Container for the necessary parameters to execute the DescribeUserProfile service method. /// /// The response from the DescribeUserProfile service method, as returned by CodeStar. /// /// The user profile was not found. /// /// /// The specified input is either not valid, or it could not be validated. /// /// REST API Reference for DescribeUserProfile Operation DescribeUserProfileResponse DescribeUserProfile(DescribeUserProfileRequest request); /// /// Describes a user in AWS CodeStar and the user attributes across all projects. /// /// Container for the necessary parameters to execute the DescribeUserProfile service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeUserProfile service method, as returned by CodeStar. /// /// The user profile was not found. /// /// /// The specified input is either not valid, or it could not be validated. /// /// REST API Reference for DescribeUserProfile Operation Task DescribeUserProfileAsync(DescribeUserProfileRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DisassociateTeamMember /// /// 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. /// /// Container for the necessary parameters to execute the DisassociateTeamMember service method. /// /// The response from the DisassociateTeamMember service method, as returned by CodeStar. /// /// Another modification is being made. That modification must complete before you can /// make your change. /// /// /// The service role is not valid. /// /// /// The specified AWS CodeStar project was not found. /// /// /// The specified input is either not valid, or it could not be validated. /// /// REST API Reference for DisassociateTeamMember Operation DisassociateTeamMemberResponse DisassociateTeamMember(DisassociateTeamMemberRequest 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. /// /// Container for the necessary parameters to execute the DisassociateTeamMember service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateTeamMember service method, as returned by CodeStar. /// /// Another modification is being made. That modification must complete before you can /// make your change. /// /// /// The service role is not valid. /// /// /// The specified AWS CodeStar project was not found. /// /// /// The specified input is either not valid, or it could not be validated. /// /// REST API Reference for DisassociateTeamMember Operation Task DisassociateTeamMemberAsync(DisassociateTeamMemberRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListProjects /// /// Lists all projects in AWS CodeStar associated with your AWS account. /// /// Container for the necessary parameters to execute the ListProjects service method. /// /// The response from the ListProjects service method, as returned by CodeStar. /// /// The next token is not valid. /// /// /// The specified input is either not valid, or it could not be validated. /// /// REST API Reference for ListProjects Operation ListProjectsResponse ListProjects(ListProjectsRequest request); /// /// Lists all projects in AWS CodeStar associated with your AWS account. /// /// Container for the necessary parameters to execute the ListProjects service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListProjects service method, as returned by CodeStar. /// /// The next token is not valid. /// /// /// The specified input is either not valid, or it could not be validated. /// /// REST API Reference for ListProjects Operation Task ListProjectsAsync(ListProjectsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListResources /// /// Lists resources associated with a project in AWS CodeStar. /// /// Container for the necessary parameters to execute the ListResources service method. /// /// The response from the ListResources service method, as returned by CodeStar. /// /// The next token is not valid. /// /// /// The specified AWS CodeStar project was not found. /// /// /// The specified input is either not valid, or it could not be validated. /// /// REST API Reference for ListResources Operation ListResourcesResponse ListResources(ListResourcesRequest request); /// /// Lists resources associated with a project in AWS CodeStar. /// /// Container for the necessary parameters to execute the ListResources service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListResources service method, as returned by CodeStar. /// /// The next token is not valid. /// /// /// The specified AWS CodeStar project was not found. /// /// /// The specified input is either not valid, or it could not be validated. /// /// REST API Reference for ListResources Operation Task ListResourcesAsync(ListResourcesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListTagsForProject /// /// Gets the tags for a project. /// /// Container for the necessary parameters to execute the ListTagsForProject service method. /// /// The response from the ListTagsForProject service method, as returned by CodeStar. /// /// The next token is not valid. /// /// /// The specified AWS CodeStar project was not found. /// /// /// The specified input is either not valid, or it could not be validated. /// /// REST API Reference for ListTagsForProject Operation ListTagsForProjectResponse ListTagsForProject(ListTagsForProjectRequest request); /// /// Gets the tags for a project. /// /// Container for the necessary parameters to execute the ListTagsForProject service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTagsForProject service method, as returned by CodeStar. /// /// The next token is not valid. /// /// /// The specified AWS CodeStar project was not found. /// /// /// The specified input is either not valid, or it could not be validated. /// /// REST API Reference for ListTagsForProject Operation Task ListTagsForProjectAsync(ListTagsForProjectRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListTeamMembers /// /// Lists all team members associated with a project. /// /// Container for the necessary parameters to execute the ListTeamMembers service method. /// /// The response from the ListTeamMembers service method, as returned by CodeStar. /// /// The next token is not valid. /// /// /// The specified AWS CodeStar project was not found. /// /// /// The specified input is either not valid, or it could not be validated. /// /// REST API Reference for ListTeamMembers Operation ListTeamMembersResponse ListTeamMembers(ListTeamMembersRequest request); /// /// Lists all team members associated with a project. /// /// Container for the necessary parameters to execute the ListTeamMembers service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTeamMembers service method, as returned by CodeStar. /// /// The next token is not valid. /// /// /// The specified AWS CodeStar project was not found. /// /// /// The specified input is either not valid, or it could not be validated. /// /// REST API Reference for ListTeamMembers Operation Task ListTeamMembersAsync(ListTeamMembersRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListUserProfiles /// /// Lists all the user profiles configured for your AWS account in AWS CodeStar. /// /// Container for the necessary parameters to execute the ListUserProfiles service method. /// /// The response from the ListUserProfiles service method, as returned by CodeStar. /// /// The next token is not valid. /// /// /// The specified input is either not valid, or it could not be validated. /// /// REST API Reference for ListUserProfiles Operation ListUserProfilesResponse ListUserProfiles(ListUserProfilesRequest request); /// /// Lists all the user profiles configured for your AWS account in AWS CodeStar. /// /// Container for the necessary parameters to execute the ListUserProfiles service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListUserProfiles service method, as returned by CodeStar. /// /// The next token is not valid. /// /// /// The specified input is either not valid, or it could not be validated. /// /// REST API Reference for ListUserProfiles Operation Task ListUserProfilesAsync(ListUserProfilesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region TagProject /// /// Adds tags to a project. /// /// Container for the necessary parameters to execute the TagProject service method. /// /// The response from the TagProject service method, as returned by CodeStar. /// /// Another modification is being made. That modification must complete before you can /// make your change. /// /// /// A resource limit has been exceeded. /// /// /// The specified AWS CodeStar project was not found. /// /// /// The specified input is either not valid, or it could not be validated. /// /// REST API Reference for TagProject Operation TagProjectResponse TagProject(TagProjectRequest request); /// /// Adds tags to a project. /// /// Container for the necessary parameters to execute the TagProject service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the TagProject service method, as returned by CodeStar. /// /// Another modification is being made. That modification must complete before you can /// make your change. /// /// /// A resource limit has been exceeded. /// /// /// The specified AWS CodeStar project was not found. /// /// /// The specified input is either not valid, or it could not be validated. /// /// REST API Reference for TagProject Operation Task TagProjectAsync(TagProjectRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UntagProject /// /// Removes tags from a project. /// /// Container for the necessary parameters to execute the UntagProject service method. /// /// The response from the UntagProject service method, as returned by CodeStar. /// /// Another modification is being made. That modification must complete before you can /// make your change. /// /// /// A resource limit has been exceeded. /// /// /// The specified AWS CodeStar project was not found. /// /// /// The specified input is either not valid, or it could not be validated. /// /// REST API Reference for UntagProject Operation UntagProjectResponse UntagProject(UntagProjectRequest request); /// /// Removes tags from a project. /// /// Container for the necessary parameters to execute the UntagProject service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UntagProject service method, as returned by CodeStar. /// /// Another modification is being made. That modification must complete before you can /// make your change. /// /// /// A resource limit has been exceeded. /// /// /// The specified AWS CodeStar project was not found. /// /// /// The specified input is either not valid, or it could not be validated. /// /// REST API Reference for UntagProject Operation Task UntagProjectAsync(UntagProjectRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateProject /// /// Updates a project in AWS CodeStar. /// /// Container for the necessary parameters to execute the UpdateProject service method. /// /// The response from the UpdateProject service method, as returned by CodeStar. /// /// The specified AWS CodeStar project was not found. /// /// /// The specified input is either not valid, or it could not be validated. /// /// REST API Reference for UpdateProject Operation UpdateProjectResponse UpdateProject(UpdateProjectRequest request); /// /// Updates a project in AWS CodeStar. /// /// Container for the necessary parameters to execute the UpdateProject service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateProject service method, as returned by CodeStar. /// /// The specified AWS CodeStar project was not found. /// /// /// The specified input is either not valid, or it could not be validated. /// /// REST API Reference for UpdateProject Operation Task UpdateProjectAsync(UpdateProjectRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateTeamMember /// /// 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. /// /// Container for the necessary parameters to execute the UpdateTeamMember service method. /// /// The response from the UpdateTeamMember service method, as returned by CodeStar. /// /// Another modification is being made. That modification must complete before you can /// make your change. /// /// /// The service role is not valid. /// /// /// A resource limit has been exceeded. /// /// /// Project configuration information is required but not specified. /// /// /// The specified AWS CodeStar project was not found. /// /// /// The specified team member was not found. /// /// /// The specified input is either not valid, or it could not be validated. /// /// REST API Reference for UpdateTeamMember Operation UpdateTeamMemberResponse UpdateTeamMember(UpdateTeamMemberRequest request); /// /// 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. /// /// Container for the necessary parameters to execute the UpdateTeamMember service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateTeamMember service method, as returned by CodeStar. /// /// Another modification is being made. That modification must complete before you can /// make your change. /// /// /// The service role is not valid. /// /// /// A resource limit has been exceeded. /// /// /// Project configuration information is required but not specified. /// /// /// The specified AWS CodeStar project was not found. /// /// /// The specified team member was not found. /// /// /// The specified input is either not valid, or it could not be validated. /// /// REST API Reference for UpdateTeamMember Operation Task UpdateTeamMemberAsync(UpdateTeamMemberRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateUserProfile /// /// 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. /// /// Container for the necessary parameters to execute the UpdateUserProfile service method. /// /// The response from the UpdateUserProfile service method, as returned by CodeStar. /// /// The user profile was not found. /// /// /// The specified input is either not valid, or it could not be validated. /// /// REST API Reference for UpdateUserProfile Operation UpdateUserProfileResponse UpdateUserProfile(UpdateUserProfileRequest request); /// /// 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. /// /// Container for the necessary parameters to execute the UpdateUserProfile service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateUserProfile service method, as returned by CodeStar. /// /// The user profile was not found. /// /// /// The specified input is either not valid, or it could not be validated. /// /// REST API Reference for UpdateUserProfile Operation Task UpdateUserProfileAsync(UpdateUserProfileRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion } }