-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Amazon CodeStar SDK.
--
-- The types from this library are intended to be used with
-- amazonka, which provides mechanisms for specifying AuthN/AuthZ
-- information, sending requests, and receiving responses.
--
-- Lenses are used for constructing and manipulating types, due to the
-- depth of nesting of AWS types and transparency regarding
-- de/serialisation into more palatable Haskell values. The provided
-- lenses should be compatible with any of the major lens libraries such
-- as lens or lens-family-core.
--
-- See Network.AWS.CodeStar or the AWS documentation to get
-- started.
@package amazonka-codestar
@version 1.5.0
module Network.AWS.CodeStar.Types
-- | API version 2017-04-19 of the Amazon CodeStar SDK
-- configuration.
codeStar :: Service
-- | The team member is already associated with a role in this project.
_TeamMemberAlreadyAssociatedException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified input is either not valid, or it could not be validated.
_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The service role is not valid.
_InvalidServiceRoleException :: AsError a => Getting (First ServiceError) a ServiceError
-- | 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.
_ProjectCreationFailedException :: AsError a => Getting (First ServiceError) a ServiceError
-- | 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.
_UserProfileAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified AWS CodeStar project was not found.
_ProjectNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified team member was not found.
_TeamMemberNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
-- | 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.
_ProjectAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
-- | Project configuration information is required but not specified.
_ProjectConfigurationException :: AsError a => Getting (First ServiceError) a ServiceError
-- | Another modification is being made. That modification must complete
-- before you can make your change.
_ConcurrentModificationException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The next token is not valid.
_InvalidNextTokenException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The user profile was not found.
_UserProfileNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A resource limit has been exceeded.
_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | Information about the metadata for a project.
--
-- See: projectSummary smart constructor.
data ProjectSummary
-- | 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:
--
--
projectSummary :: ProjectSummary
-- | The Amazon Resource Name (ARN) of the project.
psProjectARN :: Lens' ProjectSummary (Maybe Text)
-- | The ID of the project.
psProjectId :: Lens' ProjectSummary (Maybe Text)
-- | Information about a resource for a project.
--
-- See: resource smart constructor.
data Resource
-- | Creates a value of Resource with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - rId - The Amazon Resource Name (ARN) of the resource.
--
resource :: Text -> Resource
-- | The Amazon Resource Name (ARN) of the resource.
rId :: Lens' Resource Text
-- | Information about a team member in a project.
--
-- See: teamMember smart constructor.
data TeamMember
-- | 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 .
--
teamMember :: Text -> Text -> TeamMember
-- | Whether the user is allowed to remotely access project resources using
-- an SSH public/private key pair.
tmRemoteAccessAllowed :: Lens' TeamMember (Maybe Bool)
-- | The Amazon Resource Name (ARN) of the user in IAM.
tmUserARN :: Lens' TeamMember Text
-- | 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 .
tmProjectRole :: Lens' TeamMember Text
-- | Information about a user's profile in AWS CodeStar.
--
-- See: userProfileSummary smart constructor.
data UserProfileSummary
-- | 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).
--
userProfileSummary :: UserProfileSummary
-- | 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.
upsSshPublicKey :: Lens' UserProfileSummary (Maybe Text)
-- | The Amazon Resource Name (ARN) of the user in IAM.
upsUserARN :: Lens' UserProfileSummary (Maybe Text)
-- | The email address associated with the user.
upsEmailAddress :: Lens' UserProfileSummary (Maybe Text)
-- | 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).
upsDisplayName :: Lens' UserProfileSummary (Maybe Text)
-- | Removes tags from a project.
module Network.AWS.CodeStar.UntagProject
-- | Creates a value of UntagProject with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - uId - The ID of the project to remove tags from.
-- - uTags - The tags to remove from the project.
--
untagProject :: Text -> UntagProject
-- | See: untagProject smart constructor.
data UntagProject
-- | The ID of the project to remove tags from.
uId :: Lens' UntagProject Text
-- | The tags to remove from the project.
uTags :: Lens' UntagProject [Text]
-- | Creates a value of UntagProjectResponse with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
untagProjectResponse :: Int -> UntagProjectResponse
-- | See: untagProjectResponse smart constructor.
data UntagProjectResponse
-- |
-- - - | The response status code.
--
ursResponseStatus :: Lens' UntagProjectResponse Int
instance GHC.Generics.Generic Network.AWS.CodeStar.UntagProject.UntagProjectResponse
instance Data.Data.Data Network.AWS.CodeStar.UntagProject.UntagProjectResponse
instance GHC.Show.Show Network.AWS.CodeStar.UntagProject.UntagProjectResponse
instance GHC.Read.Read Network.AWS.CodeStar.UntagProject.UntagProjectResponse
instance GHC.Classes.Eq Network.AWS.CodeStar.UntagProject.UntagProjectResponse
instance GHC.Generics.Generic Network.AWS.CodeStar.UntagProject.UntagProject
instance Data.Data.Data Network.AWS.CodeStar.UntagProject.UntagProject
instance GHC.Show.Show Network.AWS.CodeStar.UntagProject.UntagProject
instance GHC.Read.Read Network.AWS.CodeStar.UntagProject.UntagProject
instance GHC.Classes.Eq Network.AWS.CodeStar.UntagProject.UntagProject
instance Network.AWS.Types.AWSRequest Network.AWS.CodeStar.UntagProject.UntagProject
instance Data.Hashable.Class.Hashable Network.AWS.CodeStar.UntagProject.UntagProject
instance Control.DeepSeq.NFData Network.AWS.CodeStar.UntagProject.UntagProject
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeStar.UntagProject.UntagProject
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeStar.UntagProject.UntagProject
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeStar.UntagProject.UntagProject
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeStar.UntagProject.UntagProject
instance Control.DeepSeq.NFData Network.AWS.CodeStar.UntagProject.UntagProjectResponse
-- | Updates a project in AWS CodeStar.
module Network.AWS.CodeStar.UpdateProject
-- | Creates a value of UpdateProject with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - upName - The name of the project you want to update.
-- - upDescription - The description of the project, if
-- any.
-- - upId - The ID of the project you want to update.
--
updateProject :: Text -> UpdateProject
-- | See: updateProject smart constructor.
data UpdateProject
-- | The name of the project you want to update.
upName :: Lens' UpdateProject (Maybe Text)
-- | The description of the project, if any.
upDescription :: Lens' UpdateProject (Maybe Text)
-- | The ID of the project you want to update.
upId :: Lens' UpdateProject Text
-- | Creates a value of UpdateProjectResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
updateProjectResponse :: Int -> UpdateProjectResponse
-- | See: updateProjectResponse smart constructor.
data UpdateProjectResponse
-- |
-- - - | The response status code.
--
uprsResponseStatus :: Lens' UpdateProjectResponse Int
instance GHC.Generics.Generic Network.AWS.CodeStar.UpdateProject.UpdateProjectResponse
instance Data.Data.Data Network.AWS.CodeStar.UpdateProject.UpdateProjectResponse
instance GHC.Show.Show Network.AWS.CodeStar.UpdateProject.UpdateProjectResponse
instance GHC.Read.Read Network.AWS.CodeStar.UpdateProject.UpdateProjectResponse
instance GHC.Classes.Eq Network.AWS.CodeStar.UpdateProject.UpdateProjectResponse
instance GHC.Generics.Generic Network.AWS.CodeStar.UpdateProject.UpdateProject
instance Data.Data.Data Network.AWS.CodeStar.UpdateProject.UpdateProject
instance GHC.Show.Show Network.AWS.CodeStar.UpdateProject.UpdateProject
instance GHC.Classes.Eq Network.AWS.CodeStar.UpdateProject.UpdateProject
instance Network.AWS.Types.AWSRequest Network.AWS.CodeStar.UpdateProject.UpdateProject
instance Data.Hashable.Class.Hashable Network.AWS.CodeStar.UpdateProject.UpdateProject
instance Control.DeepSeq.NFData Network.AWS.CodeStar.UpdateProject.UpdateProject
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeStar.UpdateProject.UpdateProject
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeStar.UpdateProject.UpdateProject
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeStar.UpdateProject.UpdateProject
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeStar.UpdateProject.UpdateProject
instance Control.DeepSeq.NFData Network.AWS.CodeStar.UpdateProject.UpdateProjectResponse
-- | 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.
module Network.AWS.CodeStar.UpdateTeamMember
-- | Creates a value of UpdateTeamMember with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - utmRemoteAccessAllowed - 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.
-- - utmProjectRole - 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 .
-- - utmProjectId - The ID of the project.
-- - utmUserARN - The Amazon Resource Name (ARN) of the user for
-- whom you want to change team membership attributes.
--
updateTeamMember :: Text -> Text -> UpdateTeamMember
-- | See: updateTeamMember smart constructor.
data UpdateTeamMember
-- | 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.
utmRemoteAccessAllowed :: Lens' UpdateTeamMember (Maybe Bool)
-- | 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 .
utmProjectRole :: Lens' UpdateTeamMember (Maybe Text)
-- | The ID of the project.
utmProjectId :: Lens' UpdateTeamMember Text
-- | The Amazon Resource Name (ARN) of the user for whom you want to change
-- team membership attributes.
utmUserARN :: Lens' UpdateTeamMember Text
-- | Creates a value of UpdateTeamMemberResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - utmrsUserARN - The Amazon Resource Name (ARN) of the user
-- whose team membership attributes were updated.
-- - utmrsRemoteAccessAllowed - Whether a team member is allowed
-- to remotely access project resources using the SSH public key
-- associated with the user's profile.
-- - utmrsProjectRole - The project role granted to the
-- user.
-- - utmrsResponseStatus - -- | The response status code.
--
updateTeamMemberResponse :: Int -> UpdateTeamMemberResponse
-- | See: updateTeamMemberResponse smart constructor.
data UpdateTeamMemberResponse
-- | The Amazon Resource Name (ARN) of the user whose team membership
-- attributes were updated.
utmrsUserARN :: Lens' UpdateTeamMemberResponse (Maybe Text)
-- | Whether a team member is allowed to remotely access project resources
-- using the SSH public key associated with the user's profile.
utmrsRemoteAccessAllowed :: Lens' UpdateTeamMemberResponse (Maybe Bool)
-- | The project role granted to the user.
utmrsProjectRole :: Lens' UpdateTeamMemberResponse (Maybe Text)
-- |
-- - - | The response status code.
--
utmrsResponseStatus :: Lens' UpdateTeamMemberResponse Int
instance GHC.Generics.Generic Network.AWS.CodeStar.UpdateTeamMember.UpdateTeamMemberResponse
instance Data.Data.Data Network.AWS.CodeStar.UpdateTeamMember.UpdateTeamMemberResponse
instance GHC.Show.Show Network.AWS.CodeStar.UpdateTeamMember.UpdateTeamMemberResponse
instance GHC.Read.Read Network.AWS.CodeStar.UpdateTeamMember.UpdateTeamMemberResponse
instance GHC.Classes.Eq Network.AWS.CodeStar.UpdateTeamMember.UpdateTeamMemberResponse
instance GHC.Generics.Generic Network.AWS.CodeStar.UpdateTeamMember.UpdateTeamMember
instance Data.Data.Data Network.AWS.CodeStar.UpdateTeamMember.UpdateTeamMember
instance GHC.Show.Show Network.AWS.CodeStar.UpdateTeamMember.UpdateTeamMember
instance GHC.Read.Read Network.AWS.CodeStar.UpdateTeamMember.UpdateTeamMember
instance GHC.Classes.Eq Network.AWS.CodeStar.UpdateTeamMember.UpdateTeamMember
instance Network.AWS.Types.AWSRequest Network.AWS.CodeStar.UpdateTeamMember.UpdateTeamMember
instance Data.Hashable.Class.Hashable Network.AWS.CodeStar.UpdateTeamMember.UpdateTeamMember
instance Control.DeepSeq.NFData Network.AWS.CodeStar.UpdateTeamMember.UpdateTeamMember
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeStar.UpdateTeamMember.UpdateTeamMember
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeStar.UpdateTeamMember.UpdateTeamMember
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeStar.UpdateTeamMember.UpdateTeamMember
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeStar.UpdateTeamMember.UpdateTeamMember
instance Control.DeepSeq.NFData Network.AWS.CodeStar.UpdateTeamMember.UpdateTeamMemberResponse
-- | 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.
module Network.AWS.CodeStar.UpdateUserProfile
-- | Creates a value of UpdateUserProfile with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - uupSshPublicKey - 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.
-- - uupEmailAddress - The email address that is displayed as
-- part of the user's profile in AWS CodeStar.
-- - uupDisplayName - The name that is displayed as the friendly
-- name for the user in AWS CodeStar.
-- - uupUserARN - The name that will be displayed as the
-- friendly name for the user in AWS CodeStar.
--
updateUserProfile :: Text -> UpdateUserProfile
-- | See: updateUserProfile smart constructor.
data UpdateUserProfile
-- | 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.
uupSshPublicKey :: Lens' UpdateUserProfile (Maybe Text)
-- | The email address that is displayed as part of the user's profile in
-- AWS CodeStar.
uupEmailAddress :: Lens' UpdateUserProfile (Maybe Text)
-- | The name that is displayed as the friendly name for the user in AWS
-- CodeStar.
uupDisplayName :: Lens' UpdateUserProfile (Maybe Text)
-- | The name that will be displayed as the friendly name for the user in
-- AWS CodeStar.
uupUserARN :: Lens' UpdateUserProfile Text
-- | Creates a value of UpdateUserProfileResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - uuprsLastModifiedTimestamp - The date the user profile was
-- last modified, in timestamp format.
-- - uuprsSshPublicKey - 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.
-- - uuprsEmailAddress - The email address that is displayed as
-- part of the user's profile in AWS CodeStar.
-- - uuprsDisplayName - The name that is displayed as the
-- friendly name for the user in AWS CodeStar.
-- - uuprsCreatedTimestamp - The date the user profile was
-- created, in timestamp format.
-- - uuprsResponseStatus - -- | The response status code.
-- - uuprsUserARN - The Amazon Resource Name (ARN) of the user
-- in IAM.
--
updateUserProfileResponse :: Int -> Text -> UpdateUserProfileResponse
-- | See: updateUserProfileResponse smart constructor.
data UpdateUserProfileResponse
-- | The date the user profile was last modified, in timestamp format.
uuprsLastModifiedTimestamp :: Lens' UpdateUserProfileResponse (Maybe UTCTime)
-- | 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.
uuprsSshPublicKey :: Lens' UpdateUserProfileResponse (Maybe Text)
-- | The email address that is displayed as part of the user's profile in
-- AWS CodeStar.
uuprsEmailAddress :: Lens' UpdateUserProfileResponse (Maybe Text)
-- | The name that is displayed as the friendly name for the user in AWS
-- CodeStar.
uuprsDisplayName :: Lens' UpdateUserProfileResponse (Maybe Text)
-- | The date the user profile was created, in timestamp format.
uuprsCreatedTimestamp :: Lens' UpdateUserProfileResponse (Maybe UTCTime)
-- |
-- - - | The response status code.
--
uuprsResponseStatus :: Lens' UpdateUserProfileResponse Int
-- | The Amazon Resource Name (ARN) of the user in IAM.
uuprsUserARN :: Lens' UpdateUserProfileResponse Text
instance GHC.Generics.Generic Network.AWS.CodeStar.UpdateUserProfile.UpdateUserProfileResponse
instance Data.Data.Data Network.AWS.CodeStar.UpdateUserProfile.UpdateUserProfileResponse
instance GHC.Show.Show Network.AWS.CodeStar.UpdateUserProfile.UpdateUserProfileResponse
instance GHC.Classes.Eq Network.AWS.CodeStar.UpdateUserProfile.UpdateUserProfileResponse
instance GHC.Generics.Generic Network.AWS.CodeStar.UpdateUserProfile.UpdateUserProfile
instance Data.Data.Data Network.AWS.CodeStar.UpdateUserProfile.UpdateUserProfile
instance GHC.Show.Show Network.AWS.CodeStar.UpdateUserProfile.UpdateUserProfile
instance GHC.Classes.Eq Network.AWS.CodeStar.UpdateUserProfile.UpdateUserProfile
instance Network.AWS.Types.AWSRequest Network.AWS.CodeStar.UpdateUserProfile.UpdateUserProfile
instance Data.Hashable.Class.Hashable Network.AWS.CodeStar.UpdateUserProfile.UpdateUserProfile
instance Control.DeepSeq.NFData Network.AWS.CodeStar.UpdateUserProfile.UpdateUserProfile
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeStar.UpdateUserProfile.UpdateUserProfile
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeStar.UpdateUserProfile.UpdateUserProfile
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeStar.UpdateUserProfile.UpdateUserProfile
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeStar.UpdateUserProfile.UpdateUserProfile
instance Control.DeepSeq.NFData Network.AWS.CodeStar.UpdateUserProfile.UpdateUserProfileResponse
module Network.AWS.CodeStar.Waiters
-- | Adds tags to a project.
module Network.AWS.CodeStar.TagProject
-- | Creates a value of TagProject with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - tpId - The ID of the project you want to add a tag to.
-- - tpTags - The tags you want to add to the project.
--
tagProject :: Text -> TagProject
-- | See: tagProject smart constructor.
data TagProject
-- | The ID of the project you want to add a tag to.
tpId :: Lens' TagProject Text
-- | The tags you want to add to the project.
tpTags :: Lens' TagProject (HashMap Text Text)
-- | Creates a value of TagProjectResponse with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
tagProjectResponse :: Int -> TagProjectResponse
-- | See: tagProjectResponse smart constructor.
data TagProjectResponse
-- | The tags for the project.
tprsTags :: Lens' TagProjectResponse (HashMap Text Text)
-- |
-- - - | The response status code.
--
tprsResponseStatus :: Lens' TagProjectResponse Int
instance GHC.Generics.Generic Network.AWS.CodeStar.TagProject.TagProjectResponse
instance Data.Data.Data Network.AWS.CodeStar.TagProject.TagProjectResponse
instance GHC.Show.Show Network.AWS.CodeStar.TagProject.TagProjectResponse
instance GHC.Read.Read Network.AWS.CodeStar.TagProject.TagProjectResponse
instance GHC.Classes.Eq Network.AWS.CodeStar.TagProject.TagProjectResponse
instance GHC.Generics.Generic Network.AWS.CodeStar.TagProject.TagProject
instance Data.Data.Data Network.AWS.CodeStar.TagProject.TagProject
instance GHC.Show.Show Network.AWS.CodeStar.TagProject.TagProject
instance GHC.Read.Read Network.AWS.CodeStar.TagProject.TagProject
instance GHC.Classes.Eq Network.AWS.CodeStar.TagProject.TagProject
instance Network.AWS.Types.AWSRequest Network.AWS.CodeStar.TagProject.TagProject
instance Data.Hashable.Class.Hashable Network.AWS.CodeStar.TagProject.TagProject
instance Control.DeepSeq.NFData Network.AWS.CodeStar.TagProject.TagProject
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeStar.TagProject.TagProject
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeStar.TagProject.TagProject
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeStar.TagProject.TagProject
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeStar.TagProject.TagProject
instance Control.DeepSeq.NFData Network.AWS.CodeStar.TagProject.TagProjectResponse
-- | Lists all the user profiles configured for your AWS account in AWS
-- CodeStar.
module Network.AWS.CodeStar.ListUserProfiles
-- | Creates a value of ListUserProfiles with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - lupNextToken - The continuation token for the next set of
-- results, if the results cannot be returned in one response.
-- - lupMaxResults - The maximum number of results to return in
-- a response.
--
listUserProfiles :: ListUserProfiles
-- | See: listUserProfiles smart constructor.
data ListUserProfiles
-- | The continuation token for the next set of results, if the results
-- cannot be returned in one response.
lupNextToken :: Lens' ListUserProfiles (Maybe Text)
-- | The maximum number of results to return in a response.
lupMaxResults :: Lens' ListUserProfiles (Maybe Natural)
-- | Creates a value of ListUserProfilesResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - luprsNextToken - The continuation token to use when
-- requesting the next set of results, if there are more results to be
-- returned.
-- - luprsResponseStatus - -- | The response status code.
-- - luprsUserProfiles - All the user profiles configured in AWS
-- CodeStar for an AWS account.
--
listUserProfilesResponse :: Int -> ListUserProfilesResponse
-- | See: listUserProfilesResponse smart constructor.
data ListUserProfilesResponse
-- | The continuation token to use when requesting the next set of results,
-- if there are more results to be returned.
luprsNextToken :: Lens' ListUserProfilesResponse (Maybe Text)
-- |
-- - - | The response status code.
--
luprsResponseStatus :: Lens' ListUserProfilesResponse Int
-- | All the user profiles configured in AWS CodeStar for an AWS account.
luprsUserProfiles :: Lens' ListUserProfilesResponse [UserProfileSummary]
instance GHC.Generics.Generic Network.AWS.CodeStar.ListUserProfiles.ListUserProfilesResponse
instance Data.Data.Data Network.AWS.CodeStar.ListUserProfiles.ListUserProfilesResponse
instance GHC.Show.Show Network.AWS.CodeStar.ListUserProfiles.ListUserProfilesResponse
instance GHC.Classes.Eq Network.AWS.CodeStar.ListUserProfiles.ListUserProfilesResponse
instance GHC.Generics.Generic Network.AWS.CodeStar.ListUserProfiles.ListUserProfiles
instance Data.Data.Data Network.AWS.CodeStar.ListUserProfiles.ListUserProfiles
instance GHC.Show.Show Network.AWS.CodeStar.ListUserProfiles.ListUserProfiles
instance GHC.Read.Read Network.AWS.CodeStar.ListUserProfiles.ListUserProfiles
instance GHC.Classes.Eq Network.AWS.CodeStar.ListUserProfiles.ListUserProfiles
instance Network.AWS.Types.AWSRequest Network.AWS.CodeStar.ListUserProfiles.ListUserProfiles
instance Data.Hashable.Class.Hashable Network.AWS.CodeStar.ListUserProfiles.ListUserProfiles
instance Control.DeepSeq.NFData Network.AWS.CodeStar.ListUserProfiles.ListUserProfiles
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeStar.ListUserProfiles.ListUserProfiles
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeStar.ListUserProfiles.ListUserProfiles
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeStar.ListUserProfiles.ListUserProfiles
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeStar.ListUserProfiles.ListUserProfiles
instance Control.DeepSeq.NFData Network.AWS.CodeStar.ListUserProfiles.ListUserProfilesResponse
-- | Lists all team members associated with a project.
module Network.AWS.CodeStar.ListTeamMembers
-- | Creates a value of ListTeamMembers with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - ltmNextToken - The continuation token for the next set of
-- results, if the results cannot be returned in one response.
-- - ltmMaxResults - The maximum number of team members you want
-- returned in a response.
-- - ltmProjectId - The ID of the project for which you want to
-- list team members.
--
listTeamMembers :: Text -> ListTeamMembers
-- | See: listTeamMembers smart constructor.
data ListTeamMembers
-- | The continuation token for the next set of results, if the results
-- cannot be returned in one response.
ltmNextToken :: Lens' ListTeamMembers (Maybe Text)
-- | The maximum number of team members you want returned in a response.
ltmMaxResults :: Lens' ListTeamMembers (Maybe Natural)
-- | The ID of the project for which you want to list team members.
ltmProjectId :: Lens' ListTeamMembers Text
-- | Creates a value of ListTeamMembersResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - ltmrsNextToken - The continuation token to use when
-- requesting the next set of results, if there are more results to be
-- returned.
-- - ltmrsResponseStatus - -- | The response status code.
-- - ltmrsTeamMembers - A list of team member objects for the
-- project.
--
listTeamMembersResponse :: Int -> ListTeamMembersResponse
-- | See: listTeamMembersResponse smart constructor.
data ListTeamMembersResponse
-- | The continuation token to use when requesting the next set of results,
-- if there are more results to be returned.
ltmrsNextToken :: Lens' ListTeamMembersResponse (Maybe Text)
-- |
-- - - | The response status code.
--
ltmrsResponseStatus :: Lens' ListTeamMembersResponse Int
-- | A list of team member objects for the project.
ltmrsTeamMembers :: Lens' ListTeamMembersResponse [TeamMember]
instance GHC.Generics.Generic Network.AWS.CodeStar.ListTeamMembers.ListTeamMembersResponse
instance Data.Data.Data Network.AWS.CodeStar.ListTeamMembers.ListTeamMembersResponse
instance GHC.Show.Show Network.AWS.CodeStar.ListTeamMembers.ListTeamMembersResponse
instance GHC.Read.Read Network.AWS.CodeStar.ListTeamMembers.ListTeamMembersResponse
instance GHC.Classes.Eq Network.AWS.CodeStar.ListTeamMembers.ListTeamMembersResponse
instance GHC.Generics.Generic Network.AWS.CodeStar.ListTeamMembers.ListTeamMembers
instance Data.Data.Data Network.AWS.CodeStar.ListTeamMembers.ListTeamMembers
instance GHC.Show.Show Network.AWS.CodeStar.ListTeamMembers.ListTeamMembers
instance GHC.Read.Read Network.AWS.CodeStar.ListTeamMembers.ListTeamMembers
instance GHC.Classes.Eq Network.AWS.CodeStar.ListTeamMembers.ListTeamMembers
instance Network.AWS.Types.AWSRequest Network.AWS.CodeStar.ListTeamMembers.ListTeamMembers
instance Data.Hashable.Class.Hashable Network.AWS.CodeStar.ListTeamMembers.ListTeamMembers
instance Control.DeepSeq.NFData Network.AWS.CodeStar.ListTeamMembers.ListTeamMembers
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeStar.ListTeamMembers.ListTeamMembers
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeStar.ListTeamMembers.ListTeamMembers
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeStar.ListTeamMembers.ListTeamMembers
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeStar.ListTeamMembers.ListTeamMembers
instance Control.DeepSeq.NFData Network.AWS.CodeStar.ListTeamMembers.ListTeamMembersResponse
-- | Gets the tags for a project.
module Network.AWS.CodeStar.ListTagsForProject
-- | Creates a value of ListTagsForProject with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
listTagsForProject :: Text -> ListTagsForProject
-- | See: listTagsForProject smart constructor.
data ListTagsForProject
-- | Reserved for future use.
ltfpNextToken :: Lens' ListTagsForProject (Maybe Text)
-- | Reserved for future use.
ltfpMaxResults :: Lens' ListTagsForProject (Maybe Natural)
-- | The ID of the project to get tags for.
ltfpId :: Lens' ListTagsForProject Text
-- | Creates a value of ListTagsForProjectResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
listTagsForProjectResponse :: Int -> ListTagsForProjectResponse
-- | See: listTagsForProjectResponse smart constructor.
data ListTagsForProjectResponse
-- | Reserved for future use.
ltfprsNextToken :: Lens' ListTagsForProjectResponse (Maybe Text)
-- | The tags for the project.
ltfprsTags :: Lens' ListTagsForProjectResponse (HashMap Text Text)
-- |
-- - - | The response status code.
--
ltfprsResponseStatus :: Lens' ListTagsForProjectResponse Int
instance GHC.Generics.Generic Network.AWS.CodeStar.ListTagsForProject.ListTagsForProjectResponse
instance Data.Data.Data Network.AWS.CodeStar.ListTagsForProject.ListTagsForProjectResponse
instance GHC.Show.Show Network.AWS.CodeStar.ListTagsForProject.ListTagsForProjectResponse
instance GHC.Read.Read Network.AWS.CodeStar.ListTagsForProject.ListTagsForProjectResponse
instance GHC.Classes.Eq Network.AWS.CodeStar.ListTagsForProject.ListTagsForProjectResponse
instance GHC.Generics.Generic Network.AWS.CodeStar.ListTagsForProject.ListTagsForProject
instance Data.Data.Data Network.AWS.CodeStar.ListTagsForProject.ListTagsForProject
instance GHC.Show.Show Network.AWS.CodeStar.ListTagsForProject.ListTagsForProject
instance GHC.Read.Read Network.AWS.CodeStar.ListTagsForProject.ListTagsForProject
instance GHC.Classes.Eq Network.AWS.CodeStar.ListTagsForProject.ListTagsForProject
instance Network.AWS.Types.AWSRequest Network.AWS.CodeStar.ListTagsForProject.ListTagsForProject
instance Data.Hashable.Class.Hashable Network.AWS.CodeStar.ListTagsForProject.ListTagsForProject
instance Control.DeepSeq.NFData Network.AWS.CodeStar.ListTagsForProject.ListTagsForProject
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeStar.ListTagsForProject.ListTagsForProject
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeStar.ListTagsForProject.ListTagsForProject
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeStar.ListTagsForProject.ListTagsForProject
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeStar.ListTagsForProject.ListTagsForProject
instance Control.DeepSeq.NFData Network.AWS.CodeStar.ListTagsForProject.ListTagsForProjectResponse
-- | Lists resources associated with a project in AWS CodeStar.
module Network.AWS.CodeStar.ListResources
-- | Creates a value of ListResources with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - lrNextToken - The continuation token for the next set of
-- results, if the results cannot be returned in one response.
-- - lrMaxResults - The maximum amount of data that can be
-- contained in a single set of results.
-- - lrProjectId - The ID of the project.
--
listResources :: Text -> ListResources
-- | See: listResources smart constructor.
data ListResources
-- | The continuation token for the next set of results, if the results
-- cannot be returned in one response.
lrNextToken :: Lens' ListResources (Maybe Text)
-- | The maximum amount of data that can be contained in a single set of
-- results.
lrMaxResults :: Lens' ListResources (Maybe Natural)
-- | The ID of the project.
lrProjectId :: Lens' ListResources Text
-- | Creates a value of ListResourcesResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - lrrsResources - An array of resources associated with the
-- project.
-- - lrrsNextToken - The continuation token to use when
-- requesting the next set of results, if there are more results to be
-- returned.
-- - lrrsResponseStatus - -- | The response status code.
--
listResourcesResponse :: Int -> ListResourcesResponse
-- | See: listResourcesResponse smart constructor.
data ListResourcesResponse
-- | An array of resources associated with the project.
lrrsResources :: Lens' ListResourcesResponse [Resource]
-- | The continuation token to use when requesting the next set of results,
-- if there are more results to be returned.
lrrsNextToken :: Lens' ListResourcesResponse (Maybe Text)
-- |
-- - - | The response status code.
--
lrrsResponseStatus :: Lens' ListResourcesResponse Int
instance GHC.Generics.Generic Network.AWS.CodeStar.ListResources.ListResourcesResponse
instance Data.Data.Data Network.AWS.CodeStar.ListResources.ListResourcesResponse
instance GHC.Show.Show Network.AWS.CodeStar.ListResources.ListResourcesResponse
instance GHC.Read.Read Network.AWS.CodeStar.ListResources.ListResourcesResponse
instance GHC.Classes.Eq Network.AWS.CodeStar.ListResources.ListResourcesResponse
instance GHC.Generics.Generic Network.AWS.CodeStar.ListResources.ListResources
instance Data.Data.Data Network.AWS.CodeStar.ListResources.ListResources
instance GHC.Show.Show Network.AWS.CodeStar.ListResources.ListResources
instance GHC.Read.Read Network.AWS.CodeStar.ListResources.ListResources
instance GHC.Classes.Eq Network.AWS.CodeStar.ListResources.ListResources
instance Network.AWS.Types.AWSRequest Network.AWS.CodeStar.ListResources.ListResources
instance Data.Hashable.Class.Hashable Network.AWS.CodeStar.ListResources.ListResources
instance Control.DeepSeq.NFData Network.AWS.CodeStar.ListResources.ListResources
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeStar.ListResources.ListResources
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeStar.ListResources.ListResources
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeStar.ListResources.ListResources
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeStar.ListResources.ListResources
instance Control.DeepSeq.NFData Network.AWS.CodeStar.ListResources.ListResourcesResponse
-- | Lists all projects in AWS CodeStar associated with your AWS account.
module Network.AWS.CodeStar.ListProjects
-- | Creates a value of ListProjects with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - lpNextToken - The continuation token to be used to return
-- the next set of results, if the results cannot be returned in one
-- response.
-- - lpMaxResults - The maximum amount of data that can be
-- contained in a single set of results.
--
listProjects :: ListProjects
-- | See: listProjects smart constructor.
data ListProjects
-- | The continuation token to be used to return the next set of results,
-- if the results cannot be returned in one response.
lpNextToken :: Lens' ListProjects (Maybe Text)
-- | The maximum amount of data that can be contained in a single set of
-- results.
lpMaxResults :: Lens' ListProjects (Maybe Natural)
-- | Creates a value of ListProjectsResponse with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - lprsNextToken - The continuation token to use when
-- requesting the next set of results, if there are more results to be
-- returned.
-- - lprsResponseStatus - -- | The response status code.
-- - lprsProjects - A list of projects.
--
listProjectsResponse :: Int -> ListProjectsResponse
-- | See: listProjectsResponse smart constructor.
data ListProjectsResponse
-- | The continuation token to use when requesting the next set of results,
-- if there are more results to be returned.
lprsNextToken :: Lens' ListProjectsResponse (Maybe Text)
-- |
-- - - | The response status code.
--
lprsResponseStatus :: Lens' ListProjectsResponse Int
-- | A list of projects.
lprsProjects :: Lens' ListProjectsResponse [ProjectSummary]
instance GHC.Generics.Generic Network.AWS.CodeStar.ListProjects.ListProjectsResponse
instance Data.Data.Data Network.AWS.CodeStar.ListProjects.ListProjectsResponse
instance GHC.Show.Show Network.AWS.CodeStar.ListProjects.ListProjectsResponse
instance GHC.Read.Read Network.AWS.CodeStar.ListProjects.ListProjectsResponse
instance GHC.Classes.Eq Network.AWS.CodeStar.ListProjects.ListProjectsResponse
instance GHC.Generics.Generic Network.AWS.CodeStar.ListProjects.ListProjects
instance Data.Data.Data Network.AWS.CodeStar.ListProjects.ListProjects
instance GHC.Show.Show Network.AWS.CodeStar.ListProjects.ListProjects
instance GHC.Read.Read Network.AWS.CodeStar.ListProjects.ListProjects
instance GHC.Classes.Eq Network.AWS.CodeStar.ListProjects.ListProjects
instance Network.AWS.Types.AWSRequest Network.AWS.CodeStar.ListProjects.ListProjects
instance Data.Hashable.Class.Hashable Network.AWS.CodeStar.ListProjects.ListProjects
instance Control.DeepSeq.NFData Network.AWS.CodeStar.ListProjects.ListProjects
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeStar.ListProjects.ListProjects
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeStar.ListProjects.ListProjects
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeStar.ListProjects.ListProjects
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeStar.ListProjects.ListProjects
instance Control.DeepSeq.NFData Network.AWS.CodeStar.ListProjects.ListProjectsResponse
-- | 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.
module Network.AWS.CodeStar.DisassociateTeamMember
-- | Creates a value of DisassociateTeamMember with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - dtmProjectId - The ID of the AWS CodeStar project from
-- which you want to remove a team member.
-- - dtmUserARN - The Amazon Resource Name (ARN) of the IAM user
-- or group whom you want to remove from the project.
--
disassociateTeamMember :: Text -> Text -> DisassociateTeamMember
-- | See: disassociateTeamMember smart constructor.
data DisassociateTeamMember
-- | The ID of the AWS CodeStar project from which you want to remove a
-- team member.
dtmProjectId :: Lens' DisassociateTeamMember Text
-- | The Amazon Resource Name (ARN) of the IAM user or group whom you want
-- to remove from the project.
dtmUserARN :: Lens' DisassociateTeamMember Text
-- | Creates a value of DisassociateTeamMemberResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
disassociateTeamMemberResponse :: Int -> DisassociateTeamMemberResponse
-- | See: disassociateTeamMemberResponse smart constructor.
data DisassociateTeamMemberResponse
-- |
-- - - | The response status code.
--
dtmrsResponseStatus :: Lens' DisassociateTeamMemberResponse Int
instance GHC.Generics.Generic Network.AWS.CodeStar.DisassociateTeamMember.DisassociateTeamMemberResponse
instance Data.Data.Data Network.AWS.CodeStar.DisassociateTeamMember.DisassociateTeamMemberResponse
instance GHC.Show.Show Network.AWS.CodeStar.DisassociateTeamMember.DisassociateTeamMemberResponse
instance GHC.Read.Read Network.AWS.CodeStar.DisassociateTeamMember.DisassociateTeamMemberResponse
instance GHC.Classes.Eq Network.AWS.CodeStar.DisassociateTeamMember.DisassociateTeamMemberResponse
instance GHC.Generics.Generic Network.AWS.CodeStar.DisassociateTeamMember.DisassociateTeamMember
instance Data.Data.Data Network.AWS.CodeStar.DisassociateTeamMember.DisassociateTeamMember
instance GHC.Show.Show Network.AWS.CodeStar.DisassociateTeamMember.DisassociateTeamMember
instance GHC.Read.Read Network.AWS.CodeStar.DisassociateTeamMember.DisassociateTeamMember
instance GHC.Classes.Eq Network.AWS.CodeStar.DisassociateTeamMember.DisassociateTeamMember
instance Network.AWS.Types.AWSRequest Network.AWS.CodeStar.DisassociateTeamMember.DisassociateTeamMember
instance Data.Hashable.Class.Hashable Network.AWS.CodeStar.DisassociateTeamMember.DisassociateTeamMember
instance Control.DeepSeq.NFData Network.AWS.CodeStar.DisassociateTeamMember.DisassociateTeamMember
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeStar.DisassociateTeamMember.DisassociateTeamMember
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeStar.DisassociateTeamMember.DisassociateTeamMember
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeStar.DisassociateTeamMember.DisassociateTeamMember
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeStar.DisassociateTeamMember.DisassociateTeamMember
instance Control.DeepSeq.NFData Network.AWS.CodeStar.DisassociateTeamMember.DisassociateTeamMemberResponse
-- | Describes a user in AWS CodeStar and the user attributes across all
-- projects.
module Network.AWS.CodeStar.DescribeUserProfile
-- | Creates a value of DescribeUserProfile with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - dupUserARN - The Amazon Resource Name (ARN) of the
-- user.
--
describeUserProfile :: Text -> DescribeUserProfile
-- | See: describeUserProfile smart constructor.
data DescribeUserProfile
-- | The Amazon Resource Name (ARN) of the user.
dupUserARN :: Lens' DescribeUserProfile Text
-- | Creates a value of DescribeUserProfileResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - duprsSshPublicKey - 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.
-- - duprsEmailAddress - The email address for the user.
-- Optional.
-- - duprsDisplayName - 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).
-- - duprsResponseStatus - -- | The response status code.
-- - duprsUserARN - The Amazon Resource Name (ARN) of the
-- user.
-- - duprsCreatedTimestamp - The date and time when the user
-- profile was created in AWS CodeStar, in timestamp format.
-- - duprsLastModifiedTimestamp - The date and time when the
-- user profile was last modified, in timestamp format.
--
describeUserProfileResponse :: Int -> Text -> UTCTime -> UTCTime -> DescribeUserProfileResponse
-- | See: describeUserProfileResponse smart constructor.
data DescribeUserProfileResponse
-- | 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.
duprsSshPublicKey :: Lens' DescribeUserProfileResponse (Maybe Text)
-- | The email address for the user. Optional.
duprsEmailAddress :: Lens' DescribeUserProfileResponse (Maybe Text)
-- | 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).
duprsDisplayName :: Lens' DescribeUserProfileResponse (Maybe Text)
-- |
-- - - | The response status code.
--
duprsResponseStatus :: Lens' DescribeUserProfileResponse Int
-- | The Amazon Resource Name (ARN) of the user.
duprsUserARN :: Lens' DescribeUserProfileResponse Text
-- | The date and time when the user profile was created in AWS CodeStar,
-- in timestamp format.
duprsCreatedTimestamp :: Lens' DescribeUserProfileResponse UTCTime
-- | The date and time when the user profile was last modified, in
-- timestamp format.
duprsLastModifiedTimestamp :: Lens' DescribeUserProfileResponse UTCTime
instance GHC.Generics.Generic Network.AWS.CodeStar.DescribeUserProfile.DescribeUserProfileResponse
instance Data.Data.Data Network.AWS.CodeStar.DescribeUserProfile.DescribeUserProfileResponse
instance GHC.Show.Show Network.AWS.CodeStar.DescribeUserProfile.DescribeUserProfileResponse
instance GHC.Classes.Eq Network.AWS.CodeStar.DescribeUserProfile.DescribeUserProfileResponse
instance GHC.Generics.Generic Network.AWS.CodeStar.DescribeUserProfile.DescribeUserProfile
instance Data.Data.Data Network.AWS.CodeStar.DescribeUserProfile.DescribeUserProfile
instance GHC.Show.Show Network.AWS.CodeStar.DescribeUserProfile.DescribeUserProfile
instance GHC.Read.Read Network.AWS.CodeStar.DescribeUserProfile.DescribeUserProfile
instance GHC.Classes.Eq Network.AWS.CodeStar.DescribeUserProfile.DescribeUserProfile
instance Network.AWS.Types.AWSRequest Network.AWS.CodeStar.DescribeUserProfile.DescribeUserProfile
instance Data.Hashable.Class.Hashable Network.AWS.CodeStar.DescribeUserProfile.DescribeUserProfile
instance Control.DeepSeq.NFData Network.AWS.CodeStar.DescribeUserProfile.DescribeUserProfile
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeStar.DescribeUserProfile.DescribeUserProfile
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeStar.DescribeUserProfile.DescribeUserProfile
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeStar.DescribeUserProfile.DescribeUserProfile
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeStar.DescribeUserProfile.DescribeUserProfile
instance Control.DeepSeq.NFData Network.AWS.CodeStar.DescribeUserProfile.DescribeUserProfileResponse
-- | Describes a project and its resources.
module Network.AWS.CodeStar.DescribeProject
-- | Creates a value of DescribeProject with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - dId - The ID of the project.
--
describeProject :: Text -> DescribeProject
-- | See: describeProject smart constructor.
data DescribeProject
-- | The ID of the project.
dId :: Lens' DescribeProject Text
-- | Creates a value of DescribeProjectResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - drsArn - The Amazon Resource Name (ARN) for the
-- project.
-- - drsProjectTemplateId - The ID for the AWS CodeStar project
-- template used to create the project.
-- - drsName - The display name for the project.
-- - drsId - The ID of the project.
-- - drsStackId - The ID of the primary stack in AWS
-- CloudFormation used to generate resources for the project.
-- - drsClientRequestToken - A user- or system-generated token
-- that identifies the entity that requested project creation.
-- - drsCreatedTimeStamp - The date and time the project was
-- created, in timestamp format.
-- - drsDescription - The description of the project, if
-- any.
-- - drsResponseStatus - -- | The response status code.
--
describeProjectResponse :: Int -> DescribeProjectResponse
-- | See: describeProjectResponse smart constructor.
data DescribeProjectResponse
-- | The Amazon Resource Name (ARN) for the project.
drsArn :: Lens' DescribeProjectResponse (Maybe Text)
-- | The ID for the AWS CodeStar project template used to create the
-- project.
drsProjectTemplateId :: Lens' DescribeProjectResponse (Maybe Text)
-- | The display name for the project.
drsName :: Lens' DescribeProjectResponse (Maybe Text)
-- | The ID of the project.
drsId :: Lens' DescribeProjectResponse (Maybe Text)
-- | The ID of the primary stack in AWS CloudFormation used to generate
-- resources for the project.
drsStackId :: Lens' DescribeProjectResponse (Maybe Text)
-- | A user- or system-generated token that identifies the entity that
-- requested project creation.
drsClientRequestToken :: Lens' DescribeProjectResponse (Maybe Text)
-- | The date and time the project was created, in timestamp format.
drsCreatedTimeStamp :: Lens' DescribeProjectResponse (Maybe UTCTime)
-- | The description of the project, if any.
drsDescription :: Lens' DescribeProjectResponse (Maybe Text)
-- |
-- - - | The response status code.
--
drsResponseStatus :: Lens' DescribeProjectResponse Int
instance GHC.Generics.Generic Network.AWS.CodeStar.DescribeProject.DescribeProjectResponse
instance Data.Data.Data Network.AWS.CodeStar.DescribeProject.DescribeProjectResponse
instance GHC.Show.Show Network.AWS.CodeStar.DescribeProject.DescribeProjectResponse
instance GHC.Classes.Eq Network.AWS.CodeStar.DescribeProject.DescribeProjectResponse
instance GHC.Generics.Generic Network.AWS.CodeStar.DescribeProject.DescribeProject
instance Data.Data.Data Network.AWS.CodeStar.DescribeProject.DescribeProject
instance GHC.Show.Show Network.AWS.CodeStar.DescribeProject.DescribeProject
instance GHC.Read.Read Network.AWS.CodeStar.DescribeProject.DescribeProject
instance GHC.Classes.Eq Network.AWS.CodeStar.DescribeProject.DescribeProject
instance Network.AWS.Types.AWSRequest Network.AWS.CodeStar.DescribeProject.DescribeProject
instance Data.Hashable.Class.Hashable Network.AWS.CodeStar.DescribeProject.DescribeProject
instance Control.DeepSeq.NFData Network.AWS.CodeStar.DescribeProject.DescribeProject
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeStar.DescribeProject.DescribeProject
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeStar.DescribeProject.DescribeProject
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeStar.DescribeProject.DescribeProject
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeStar.DescribeProject.DescribeProject
instance Control.DeepSeq.NFData Network.AWS.CodeStar.DescribeProject.DescribeProjectResponse
-- | 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.
module Network.AWS.CodeStar.DeleteUserProfile
-- | Creates a value of DeleteUserProfile with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - dUserARN - The Amazon Resource Name (ARN) of the user to
-- delete from AWS CodeStar.
--
deleteUserProfile :: Text -> DeleteUserProfile
-- | See: deleteUserProfile smart constructor.
data DeleteUserProfile
-- | The Amazon Resource Name (ARN) of the user to delete from AWS
-- CodeStar.
dUserARN :: Lens' DeleteUserProfile Text
-- | Creates a value of DeleteUserProfileResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
deleteUserProfileResponse :: Int -> Text -> DeleteUserProfileResponse
-- | See: deleteUserProfileResponse smart constructor.
data DeleteUserProfileResponse
-- |
-- - - | The response status code.
--
delrsResponseStatus :: Lens' DeleteUserProfileResponse Int
-- | The Amazon Resource Name (ARN) of the user deleted from AWS CodeStar.
delrsUserARN :: Lens' DeleteUserProfileResponse Text
instance GHC.Generics.Generic Network.AWS.CodeStar.DeleteUserProfile.DeleteUserProfileResponse
instance Data.Data.Data Network.AWS.CodeStar.DeleteUserProfile.DeleteUserProfileResponse
instance GHC.Show.Show Network.AWS.CodeStar.DeleteUserProfile.DeleteUserProfileResponse
instance GHC.Read.Read Network.AWS.CodeStar.DeleteUserProfile.DeleteUserProfileResponse
instance GHC.Classes.Eq Network.AWS.CodeStar.DeleteUserProfile.DeleteUserProfileResponse
instance GHC.Generics.Generic Network.AWS.CodeStar.DeleteUserProfile.DeleteUserProfile
instance Data.Data.Data Network.AWS.CodeStar.DeleteUserProfile.DeleteUserProfile
instance GHC.Show.Show Network.AWS.CodeStar.DeleteUserProfile.DeleteUserProfile
instance GHC.Read.Read Network.AWS.CodeStar.DeleteUserProfile.DeleteUserProfile
instance GHC.Classes.Eq Network.AWS.CodeStar.DeleteUserProfile.DeleteUserProfile
instance Network.AWS.Types.AWSRequest Network.AWS.CodeStar.DeleteUserProfile.DeleteUserProfile
instance Data.Hashable.Class.Hashable Network.AWS.CodeStar.DeleteUserProfile.DeleteUserProfile
instance Control.DeepSeq.NFData Network.AWS.CodeStar.DeleteUserProfile.DeleteUserProfile
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeStar.DeleteUserProfile.DeleteUserProfile
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeStar.DeleteUserProfile.DeleteUserProfile
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeStar.DeleteUserProfile.DeleteUserProfile
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeStar.DeleteUserProfile.DeleteUserProfile
instance Control.DeepSeq.NFData Network.AWS.CodeStar.DeleteUserProfile.DeleteUserProfileResponse
-- | 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.
module Network.AWS.CodeStar.DeleteProject
-- | Creates a value of DeleteProject with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - dpDeleteStack - 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.
-- - dpClientRequestToken - A user- or system-generated token
-- that identifies the entity that requested project deletion. This token
-- can be used to repeat the request.
-- - dpId - The ID of the project to be deleted in AWS
-- CodeStar.
--
deleteProject :: Text -> DeleteProject
-- | See: deleteProject smart constructor.
data DeleteProject
-- | 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.
dpDeleteStack :: Lens' DeleteProject (Maybe Bool)
-- | A user- or system-generated token that identifies the entity that
-- requested project deletion. This token can be used to repeat the
-- request.
dpClientRequestToken :: Lens' DeleteProject (Maybe Text)
-- | The ID of the project to be deleted in AWS CodeStar.
dpId :: Lens' DeleteProject Text
-- | Creates a value of DeleteProjectResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - dprsProjectARN - The Amazon Resource Name (ARN) of the
-- deleted project.
-- - dprsStackId - The ID of the primary stack in AWS
-- CloudFormation that will be deleted as part of deleting the project
-- and its resources.
-- - dprsResponseStatus - -- | The response status code.
--
deleteProjectResponse :: Int -> DeleteProjectResponse
-- | See: deleteProjectResponse smart constructor.
data DeleteProjectResponse
-- | The Amazon Resource Name (ARN) of the deleted project.
dprsProjectARN :: Lens' DeleteProjectResponse (Maybe Text)
-- | The ID of the primary stack in AWS CloudFormation that will be deleted
-- as part of deleting the project and its resources.
dprsStackId :: Lens' DeleteProjectResponse (Maybe Text)
-- |
-- - - | The response status code.
--
dprsResponseStatus :: Lens' DeleteProjectResponse Int
instance GHC.Generics.Generic Network.AWS.CodeStar.DeleteProject.DeleteProjectResponse
instance Data.Data.Data Network.AWS.CodeStar.DeleteProject.DeleteProjectResponse
instance GHC.Show.Show Network.AWS.CodeStar.DeleteProject.DeleteProjectResponse
instance GHC.Read.Read Network.AWS.CodeStar.DeleteProject.DeleteProjectResponse
instance GHC.Classes.Eq Network.AWS.CodeStar.DeleteProject.DeleteProjectResponse
instance GHC.Generics.Generic Network.AWS.CodeStar.DeleteProject.DeleteProject
instance Data.Data.Data Network.AWS.CodeStar.DeleteProject.DeleteProject
instance GHC.Show.Show Network.AWS.CodeStar.DeleteProject.DeleteProject
instance GHC.Read.Read Network.AWS.CodeStar.DeleteProject.DeleteProject
instance GHC.Classes.Eq Network.AWS.CodeStar.DeleteProject.DeleteProject
instance Network.AWS.Types.AWSRequest Network.AWS.CodeStar.DeleteProject.DeleteProject
instance Data.Hashable.Class.Hashable Network.AWS.CodeStar.DeleteProject.DeleteProject
instance Control.DeepSeq.NFData Network.AWS.CodeStar.DeleteProject.DeleteProject
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeStar.DeleteProject.DeleteProject
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeStar.DeleteProject.DeleteProject
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeStar.DeleteProject.DeleteProject
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeStar.DeleteProject.DeleteProject
instance Control.DeepSeq.NFData Network.AWS.CodeStar.DeleteProject.DeleteProjectResponse
-- | 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.
module Network.AWS.CodeStar.CreateUserProfile
-- | Creates a value of CreateUserProfile with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - cupSshPublicKey - 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.
-- - cupUserARN - The Amazon Resource Name (ARN) of the user in
-- IAM.
-- - cupDisplayName - The name that will be displayed as the
-- friendly name for the user in AWS CodeStar.
-- - cupEmailAddress - The email address that will be displayed
-- as part of the user's profile in AWS CodeStar.
--
createUserProfile :: Text -> Text -> Text -> CreateUserProfile
-- | See: createUserProfile smart constructor.
data CreateUserProfile
-- | 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.
cupSshPublicKey :: Lens' CreateUserProfile (Maybe Text)
-- | The Amazon Resource Name (ARN) of the user in IAM.
cupUserARN :: Lens' CreateUserProfile Text
-- | The name that will be displayed as the friendly name for the user in
-- AWS CodeStar.
cupDisplayName :: Lens' CreateUserProfile Text
-- | The email address that will be displayed as part of the user's profile
-- in AWS CodeStar.
cupEmailAddress :: Lens' CreateUserProfile Text
-- | Creates a value of CreateUserProfileResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - cuprsLastModifiedTimestamp - The date the user profile was
-- last modified, in timestamp format.
-- - cuprsSshPublicKey - 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.
-- - cuprsEmailAddress - The email address that is displayed as
-- part of the user's profile in AWS CodeStar.
-- - cuprsDisplayName - The name that is displayed as the
-- friendly name for the user in AWS CodeStar.
-- - cuprsCreatedTimestamp - The date the user profile was
-- created, in timestamp format.
-- - cuprsResponseStatus - -- | The response status code.
-- - cuprsUserARN - The Amazon Resource Name (ARN) of the user
-- in IAM.
--
createUserProfileResponse :: Int -> Text -> CreateUserProfileResponse
-- | See: createUserProfileResponse smart constructor.
data CreateUserProfileResponse
-- | The date the user profile was last modified, in timestamp format.
cuprsLastModifiedTimestamp :: Lens' CreateUserProfileResponse (Maybe UTCTime)
-- | 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.
cuprsSshPublicKey :: Lens' CreateUserProfileResponse (Maybe Text)
-- | The email address that is displayed as part of the user's profile in
-- AWS CodeStar.
cuprsEmailAddress :: Lens' CreateUserProfileResponse (Maybe Text)
-- | The name that is displayed as the friendly name for the user in AWS
-- CodeStar.
cuprsDisplayName :: Lens' CreateUserProfileResponse (Maybe Text)
-- | The date the user profile was created, in timestamp format.
cuprsCreatedTimestamp :: Lens' CreateUserProfileResponse (Maybe UTCTime)
-- |
-- - - | The response status code.
--
cuprsResponseStatus :: Lens' CreateUserProfileResponse Int
-- | The Amazon Resource Name (ARN) of the user in IAM.
cuprsUserARN :: Lens' CreateUserProfileResponse Text
instance GHC.Generics.Generic Network.AWS.CodeStar.CreateUserProfile.CreateUserProfileResponse
instance Data.Data.Data Network.AWS.CodeStar.CreateUserProfile.CreateUserProfileResponse
instance GHC.Show.Show Network.AWS.CodeStar.CreateUserProfile.CreateUserProfileResponse
instance GHC.Classes.Eq Network.AWS.CodeStar.CreateUserProfile.CreateUserProfileResponse
instance GHC.Generics.Generic Network.AWS.CodeStar.CreateUserProfile.CreateUserProfile
instance Data.Data.Data Network.AWS.CodeStar.CreateUserProfile.CreateUserProfile
instance GHC.Show.Show Network.AWS.CodeStar.CreateUserProfile.CreateUserProfile
instance GHC.Classes.Eq Network.AWS.CodeStar.CreateUserProfile.CreateUserProfile
instance Network.AWS.Types.AWSRequest Network.AWS.CodeStar.CreateUserProfile.CreateUserProfile
instance Data.Hashable.Class.Hashable Network.AWS.CodeStar.CreateUserProfile.CreateUserProfile
instance Control.DeepSeq.NFData Network.AWS.CodeStar.CreateUserProfile.CreateUserProfile
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeStar.CreateUserProfile.CreateUserProfile
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeStar.CreateUserProfile.CreateUserProfile
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeStar.CreateUserProfile.CreateUserProfile
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeStar.CreateUserProfile.CreateUserProfile
instance Control.DeepSeq.NFData Network.AWS.CodeStar.CreateUserProfile.CreateUserProfileResponse
-- | Reserved for future use. To create a project, use the AWS CodeStar
-- console.
module Network.AWS.CodeStar.CreateProject
-- | Creates a value of CreateProject with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
createProject :: Text -> Text -> CreateProject
-- | See: createProject smart constructor.
data CreateProject
-- | Reserved for future use.
cpClientRequestToken :: Lens' CreateProject (Maybe Text)
-- | Reserved for future use.
cpDescription :: Lens' CreateProject (Maybe Text)
-- | Reserved for future use.
cpName :: Lens' CreateProject Text
-- | Reserved for future use.
cpId :: Lens' CreateProject Text
-- | Creates a value of CreateProjectResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
createProjectResponse :: Int -> Text -> Text -> CreateProjectResponse
-- | See: createProjectResponse smart constructor.
data CreateProjectResponse
-- | Reserved for future use.
cprsProjectTemplateId :: Lens' CreateProjectResponse (Maybe Text)
-- | Reserved for future use.
cprsClientRequestToken :: Lens' CreateProjectResponse (Maybe Text)
-- |
-- - - | The response status code.
--
cprsResponseStatus :: Lens' CreateProjectResponse Int
-- | Reserved for future use.
cprsId :: Lens' CreateProjectResponse Text
-- | Reserved for future use.
cprsArn :: Lens' CreateProjectResponse Text
instance GHC.Generics.Generic Network.AWS.CodeStar.CreateProject.CreateProjectResponse
instance Data.Data.Data Network.AWS.CodeStar.CreateProject.CreateProjectResponse
instance GHC.Show.Show Network.AWS.CodeStar.CreateProject.CreateProjectResponse
instance GHC.Read.Read Network.AWS.CodeStar.CreateProject.CreateProjectResponse
instance GHC.Classes.Eq Network.AWS.CodeStar.CreateProject.CreateProjectResponse
instance GHC.Generics.Generic Network.AWS.CodeStar.CreateProject.CreateProject
instance Data.Data.Data Network.AWS.CodeStar.CreateProject.CreateProject
instance GHC.Show.Show Network.AWS.CodeStar.CreateProject.CreateProject
instance GHC.Classes.Eq Network.AWS.CodeStar.CreateProject.CreateProject
instance Network.AWS.Types.AWSRequest Network.AWS.CodeStar.CreateProject.CreateProject
instance Data.Hashable.Class.Hashable Network.AWS.CodeStar.CreateProject.CreateProject
instance Control.DeepSeq.NFData Network.AWS.CodeStar.CreateProject.CreateProject
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeStar.CreateProject.CreateProject
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeStar.CreateProject.CreateProject
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeStar.CreateProject.CreateProject
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeStar.CreateProject.CreateProject
instance Control.DeepSeq.NFData Network.AWS.CodeStar.CreateProject.CreateProjectResponse
-- | Adds an IAM user to the team for an AWS CodeStar project.
module Network.AWS.CodeStar.AssociateTeamMember
-- | Creates a value of AssociateTeamMember with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - atmRemoteAccessAllowed - Whether the team member is allowed
-- to use an SSH public/private key pair to remotely access project
-- resources, for example Amazon EC2 instances.
-- - atmClientRequestToken - 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.
-- - atmProjectId - The ID of the project to which you will add
-- the IAM user.
-- - atmUserARN - The Amazon Resource Name (ARN) for the IAM
-- user you want to add to the AWS CodeStar project.
-- - atmProjectRole - 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.
--
associateTeamMember :: Text -> Text -> Text -> AssociateTeamMember
-- | See: associateTeamMember smart constructor.
data AssociateTeamMember
-- | Whether the team member is allowed to use an SSH public/private key
-- pair to remotely access project resources, for example Amazon EC2
-- instances.
atmRemoteAccessAllowed :: Lens' AssociateTeamMember (Maybe Bool)
-- | 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.
atmClientRequestToken :: Lens' AssociateTeamMember (Maybe Text)
-- | The ID of the project to which you will add the IAM user.
atmProjectId :: Lens' AssociateTeamMember Text
-- | The Amazon Resource Name (ARN) for the IAM user you want to add to the
-- AWS CodeStar project.
atmUserARN :: Lens' AssociateTeamMember Text
-- | 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.
atmProjectRole :: Lens' AssociateTeamMember Text
-- | Creates a value of AssociateTeamMemberResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
associateTeamMemberResponse :: Int -> AssociateTeamMemberResponse
-- | See: associateTeamMemberResponse smart constructor.
data AssociateTeamMemberResponse
-- | The user- or system-generated token from the initial request that can
-- be used to repeat the request.
atmrsClientRequestToken :: Lens' AssociateTeamMemberResponse (Maybe Text)
-- |
-- - - | The response status code.
--
atmrsResponseStatus :: Lens' AssociateTeamMemberResponse Int
instance GHC.Generics.Generic Network.AWS.CodeStar.AssociateTeamMember.AssociateTeamMemberResponse
instance Data.Data.Data Network.AWS.CodeStar.AssociateTeamMember.AssociateTeamMemberResponse
instance GHC.Show.Show Network.AWS.CodeStar.AssociateTeamMember.AssociateTeamMemberResponse
instance GHC.Read.Read Network.AWS.CodeStar.AssociateTeamMember.AssociateTeamMemberResponse
instance GHC.Classes.Eq Network.AWS.CodeStar.AssociateTeamMember.AssociateTeamMemberResponse
instance GHC.Generics.Generic Network.AWS.CodeStar.AssociateTeamMember.AssociateTeamMember
instance Data.Data.Data Network.AWS.CodeStar.AssociateTeamMember.AssociateTeamMember
instance GHC.Show.Show Network.AWS.CodeStar.AssociateTeamMember.AssociateTeamMember
instance GHC.Read.Read Network.AWS.CodeStar.AssociateTeamMember.AssociateTeamMember
instance GHC.Classes.Eq Network.AWS.CodeStar.AssociateTeamMember.AssociateTeamMember
instance Network.AWS.Types.AWSRequest Network.AWS.CodeStar.AssociateTeamMember.AssociateTeamMember
instance Data.Hashable.Class.Hashable Network.AWS.CodeStar.AssociateTeamMember.AssociateTeamMember
instance Control.DeepSeq.NFData Network.AWS.CodeStar.AssociateTeamMember.AssociateTeamMember
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeStar.AssociateTeamMember.AssociateTeamMember
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeStar.AssociateTeamMember.AssociateTeamMember
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeStar.AssociateTeamMember.AssociateTeamMember
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeStar.AssociateTeamMember.AssociateTeamMember
instance Control.DeepSeq.NFData Network.AWS.CodeStar.AssociateTeamMember.AssociateTeamMemberResponse
-- | 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.
--
module Network.AWS.CodeStar
-- | API version 2017-04-19 of the Amazon CodeStar SDK
-- configuration.
codeStar :: Service
-- | The team member is already associated with a role in this project.
_TeamMemberAlreadyAssociatedException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified input is either not valid, or it could not be validated.
_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The service role is not valid.
_InvalidServiceRoleException :: AsError a => Getting (First ServiceError) a ServiceError
-- | 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.
_ProjectCreationFailedException :: AsError a => Getting (First ServiceError) a ServiceError
-- | 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.
_UserProfileAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified AWS CodeStar project was not found.
_ProjectNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified team member was not found.
_TeamMemberNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
-- | 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.
_ProjectAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
-- | Project configuration information is required but not specified.
_ProjectConfigurationException :: AsError a => Getting (First ServiceError) a ServiceError
-- | Another modification is being made. That modification must complete
-- before you can make your change.
_ConcurrentModificationException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The next token is not valid.
_InvalidNextTokenException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The user profile was not found.
_UserProfileNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A resource limit has been exceeded.
_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | Information about the metadata for a project.
--
-- See: projectSummary smart constructor.
data ProjectSummary
-- | 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:
--
--
projectSummary :: ProjectSummary
-- | The Amazon Resource Name (ARN) of the project.
psProjectARN :: Lens' ProjectSummary (Maybe Text)
-- | The ID of the project.
psProjectId :: Lens' ProjectSummary (Maybe Text)
-- | Information about a resource for a project.
--
-- See: resource smart constructor.
data Resource
-- | Creates a value of Resource with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - rId - The Amazon Resource Name (ARN) of the resource.
--
resource :: Text -> Resource
-- | The Amazon Resource Name (ARN) of the resource.
rId :: Lens' Resource Text
-- | Information about a team member in a project.
--
-- See: teamMember smart constructor.
data TeamMember
-- | 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 .
--
teamMember :: Text -> Text -> TeamMember
-- | Whether the user is allowed to remotely access project resources using
-- an SSH public/private key pair.
tmRemoteAccessAllowed :: Lens' TeamMember (Maybe Bool)
-- | The Amazon Resource Name (ARN) of the user in IAM.
tmUserARN :: Lens' TeamMember Text
-- | 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 .
tmProjectRole :: Lens' TeamMember Text
-- | Information about a user's profile in AWS CodeStar.
--
-- See: userProfileSummary smart constructor.
data UserProfileSummary
-- | 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).
--
userProfileSummary :: UserProfileSummary
-- | 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.
upsSshPublicKey :: Lens' UserProfileSummary (Maybe Text)
-- | The Amazon Resource Name (ARN) of the user in IAM.
upsUserARN :: Lens' UserProfileSummary (Maybe Text)
-- | The email address associated with the user.
upsEmailAddress :: Lens' UserProfileSummary (Maybe Text)
-- | 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).
upsDisplayName :: Lens' UserProfileSummary (Maybe Text)