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 |
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.
Synopsis
- deleteProject :: Text -> DeleteProject
- data DeleteProject
- dpDeleteStack :: Lens' DeleteProject (Maybe Bool)
- dpClientRequestToken :: Lens' DeleteProject (Maybe Text)
- dpId :: Lens' DeleteProject Text
- deleteProjectResponse :: Int -> DeleteProjectResponse
- data DeleteProjectResponse
- dprsProjectARN :: Lens' DeleteProjectResponse (Maybe Text)
- dprsStackId :: Lens' DeleteProjectResponse (Maybe Text)
- dprsResponseStatus :: Lens' DeleteProjectResponse Int
Creating a Request
:: Text | |
-> 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.
data DeleteProject Source #
See: deleteProject
smart constructor.
Instances
Request Lenses
dpDeleteStack :: Lens' DeleteProject (Maybe Bool) Source #
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 :: Lens' DeleteProject (Maybe Text) Source #
A user- or system-generated token that identifies the entity that requested project deletion. This token can be used to repeat the request.
Destructuring the Response
deleteProjectResponse Source #
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.
data DeleteProjectResponse Source #
See: deleteProjectResponse
smart constructor.
Instances
Response Lenses
dprsProjectARN :: Lens' DeleteProjectResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the deleted project.
dprsStackId :: Lens' DeleteProjectResponse (Maybe Text) Source #
The ID of the primary stack in AWS CloudFormation that will be deleted as part of deleting the project and its resources.
dprsResponseStatus :: Lens' DeleteProjectResponse Int Source #
- - | The response status code.