Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- Service Configuration
- Errors
- TeamMemberAlreadyAssociatedException
- ValidationException
- InvalidServiceRoleException
- ProjectCreationFailedException
- UserProfileAlreadyExistsException
- ProjectNotFoundException
- TeamMemberNotFoundException
- ProjectAlreadyExistsException
- ProjectConfigurationException
- ConcurrentModificationException
- InvalidNextTokenException
- UserProfileNotFoundException
- LimitExceededException
- Waiters
- Operations
- Types
AWS CodeStar
This is the API reference for AWS CodeStar. This reference provides descriptions of the operations and data types for the AWS CodeStar API along with usage examples.
You can use the AWS CodeStar API to work with:
Projects and their resources, by calling the following:
DeleteProject
, which deletes a project.DescribeProject
, which lists the attributes of a project.ListProjects
, which lists all projects associated with your AWS account.ListResources
, which lists the resources associated with a project.ListTagsForProject
, which lists the tags associated with a project.TagProject
, which adds tags to a project.UntagProject
, which removes tags from a project.UpdateProject
, which updates the attributes of a project.
Teams and team members, by calling the following:
AssociateTeamMember
, which adds an IAM user to the team for a project.DisassociateTeamMember
, which removes an IAM user from the team for a project.ListTeamMembers
, which lists all the IAM users in the team for a project, including their roles and attributes.UpdateTeamMember
, which updates a team member's attributes in a project.
Users, by calling the following:
CreateUserProfile
, which creates a user profile that contains data associated with the user across all projects.DeleteUserProfile
, which deletes all user profile information across all projects.DescribeUserProfile
, which describes the profile of a user.ListUserProfiles
, which lists all user profiles.UpdateUserProfile
, which updates the profile for a user.
Synopsis
- codeStar :: Service
- _TeamMemberAlreadyAssociatedException :: AsError a => Getting (First ServiceError) a ServiceError
- _ValidationException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidServiceRoleException :: AsError a => Getting (First ServiceError) a ServiceError
- _ProjectCreationFailedException :: AsError a => Getting (First ServiceError) a ServiceError
- _UserProfileAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
- _ProjectNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _TeamMemberNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _ProjectAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
- _ProjectConfigurationException :: AsError a => Getting (First ServiceError) a ServiceError
- _ConcurrentModificationException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidNextTokenException :: AsError a => Getting (First ServiceError) a ServiceError
- _UserProfileNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- module Network.AWS.CodeStar.ListProjects
- module Network.AWS.CodeStar.ListTeamMembers
- module Network.AWS.CodeStar.DeleteProject
- module Network.AWS.CodeStar.UpdateProject
- module Network.AWS.CodeStar.DisassociateTeamMember
- module Network.AWS.CodeStar.TagProject
- module Network.AWS.CodeStar.DescribeProject
- module Network.AWS.CodeStar.ListUserProfiles
- module Network.AWS.CodeStar.ListResources
- module Network.AWS.CodeStar.AssociateTeamMember
- module Network.AWS.CodeStar.UntagProject
- module Network.AWS.CodeStar.UpdateTeamMember
- module Network.AWS.CodeStar.DescribeUserProfile
- module Network.AWS.CodeStar.ListTagsForProject
- module Network.AWS.CodeStar.DeleteUserProfile
- module Network.AWS.CodeStar.UpdateUserProfile
- module Network.AWS.CodeStar.CreateUserProfile
- module Network.AWS.CodeStar.CreateProject
- data ProjectSummary
- projectSummary :: ProjectSummary
- psProjectARN :: Lens' ProjectSummary (Maybe Text)
- psProjectId :: Lens' ProjectSummary (Maybe Text)
- data Resource
- resource :: Text -> Resource
- rId :: Lens' Resource Text
- data TeamMember
- teamMember :: Text -> Text -> TeamMember
- tmRemoteAccessAllowed :: Lens' TeamMember (Maybe Bool)
- tmUserARN :: Lens' TeamMember Text
- tmProjectRole :: Lens' TeamMember Text
- data UserProfileSummary
- userProfileSummary :: UserProfileSummary
- upsSshPublicKey :: Lens' UserProfileSummary (Maybe Text)
- upsUserARN :: Lens' UserProfileSummary (Maybe Text)
- upsEmailAddress :: Lens' UserProfileSummary (Maybe Text)
- upsDisplayName :: Lens' UserProfileSummary (Maybe Text)
Service Configuration
Errors
Error matchers are designed for use with the functions provided by
Control.Exception.Lens.
This allows catching (and rethrowing) service specific errors returned
by CodeStar
.
TeamMemberAlreadyAssociatedException
_TeamMemberAlreadyAssociatedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The team member is already associated with a role in this project.
ValidationException
_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified input is either not valid, or it could not be validated.
InvalidServiceRoleException
_InvalidServiceRoleException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The service role is not valid.
ProjectCreationFailedException
_ProjectCreationFailedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
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.
UserProfileAlreadyExistsException
_UserProfileAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
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.
ProjectNotFoundException
_ProjectNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified AWS CodeStar project was not found.
TeamMemberNotFoundException
_TeamMemberNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified team member was not found.
ProjectAlreadyExistsException
_ProjectAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
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.
ProjectConfigurationException
_ProjectConfigurationException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Project configuration information is required but not specified.
ConcurrentModificationException
_ConcurrentModificationException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Another modification is being made. That modification must complete before you can make your change.
InvalidNextTokenException
_InvalidNextTokenException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The next token is not valid.
UserProfileNotFoundException
_UserProfileNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The user profile was not found.
LimitExceededException
_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A resource limit has been exceeded.
Waiters
Waiters poll by repeatedly sending a request until some remote success condition
configured by the Wait
specification is fulfilled. The Wait
specification
determines how many attempts should be made, in addition to delay and retry strategies.
Operations
Some AWS operations return results that are incomplete and require subsequent
requests in order to obtain the entire result set. The process of sending
subsequent requests to continue where a previous request left off is called
pagination. For example, the ListObjects
operation of Amazon S3 returns up to
1000 objects at a time, and you must send subsequent requests with the
appropriate Marker in order to retrieve the next page of results.
Operations that have an AWSPager
instance can transparently perform subsequent
requests, correctly setting Markers and other request facets to iterate through
the entire result set of a truncated API operation. Operations which support
this have an additional note in the documentation.
Many operations have the ability to filter results on the server side. See the individual operation parameters for details.
ListProjects
ListTeamMembers
DeleteProject
UpdateProject
DisassociateTeamMember
TagProject
DescribeProject
ListUserProfiles
ListResources
AssociateTeamMember
UntagProject
UpdateTeamMember
DescribeUserProfile
ListTagsForProject
DeleteUserProfile
UpdateUserProfile
CreateUserProfile
CreateProject
Types
ProjectSummary
data ProjectSummary Source #
Information about the metadata for a project.
See: projectSummary
smart constructor.
Instances
projectSummary :: ProjectSummary Source #
Creates a value of ProjectSummary
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
psProjectARN
- The Amazon Resource Name (ARN) of the project.psProjectId
- The ID of the project.
psProjectARN :: Lens' ProjectSummary (Maybe Text) Source #
The Amazon Resource Name (ARN) of the project.
psProjectId :: Lens' ProjectSummary (Maybe Text) Source #
The ID of the project.
Resource
Information about a resource for a project.
See: resource
smart constructor.
Instances
Eq Resource Source # | |
Data Resource Source # | |
Defined in Network.AWS.CodeStar.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Resource -> c Resource # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Resource # toConstr :: Resource -> Constr # dataTypeOf :: Resource -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Resource) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Resource) # gmapT :: (forall b. Data b => b -> b) -> Resource -> Resource # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Resource -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Resource -> r # gmapQ :: (forall d. Data d => d -> u) -> Resource -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Resource -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Resource -> m Resource # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Resource -> m Resource # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Resource -> m Resource # | |
Read Resource Source # | |
Show Resource Source # | |
Generic Resource Source # | |
Hashable Resource Source # | |
Defined in Network.AWS.CodeStar.Types.Product | |
FromJSON Resource Source # | |
NFData Resource Source # | |
Defined in Network.AWS.CodeStar.Types.Product | |
type Rep Resource Source # | |
Defined in Network.AWS.CodeStar.Types.Product |
TeamMember
data TeamMember Source #
Information about a team member in a project.
See: teamMember
smart constructor.
Instances
Creates a value of TeamMember
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tmRemoteAccessAllowed
- Whether the user is allowed to remotely access project resources using an SSH public/private key pair.tmUserARN
- The Amazon Resource Name (ARN) of the user in IAM.tmProjectRole
- 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 .
tmRemoteAccessAllowed :: Lens' TeamMember (Maybe Bool) Source #
Whether the user is allowed to remotely access project resources using an SSH public/private key pair.
tmProjectRole :: 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 .
UserProfileSummary
data UserProfileSummary Source #
Information about a user's profile in AWS CodeStar.
See: userProfileSummary
smart constructor.
Instances
userProfileSummary :: UserProfileSummary Source #
Creates a value of UserProfileSummary
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
upsSshPublicKey
- 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.upsUserARN
- The Amazon Resource Name (ARN) of the user in IAM.upsEmailAddress
- The email address associated with the user.upsDisplayName
- 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).
upsSshPublicKey :: 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.
upsUserARN :: Lens' UserProfileSummary (Maybe Text) Source #
The Amazon Resource Name (ARN) of the user in IAM.
upsEmailAddress :: Lens' UserProfileSummary (Maybe Text) Source #
The email address associated with the user.
upsDisplayName :: 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).