| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CodeDeploy.DeleteGitHubAccountToken
Description
Deletes a GitHub account connection.
Synopsis
- data DeleteGitHubAccountToken = DeleteGitHubAccountToken' {}
- newDeleteGitHubAccountToken :: DeleteGitHubAccountToken
- deleteGitHubAccountToken_tokenName :: Lens' DeleteGitHubAccountToken (Maybe Text)
- data DeleteGitHubAccountTokenResponse = DeleteGitHubAccountTokenResponse' {
- tokenName :: Maybe Text
- httpStatus :: Int
- newDeleteGitHubAccountTokenResponse :: Int -> DeleteGitHubAccountTokenResponse
- deleteGitHubAccountTokenResponse_tokenName :: Lens' DeleteGitHubAccountTokenResponse (Maybe Text)
- deleteGitHubAccountTokenResponse_httpStatus :: Lens' DeleteGitHubAccountTokenResponse Int
Creating a Request
data DeleteGitHubAccountToken Source #
Represents the input of a DeleteGitHubAccount operation.
See: newDeleteGitHubAccountToken smart constructor.
Constructors
| DeleteGitHubAccountToken' | |
Instances
newDeleteGitHubAccountToken :: DeleteGitHubAccountToken Source #
Create a value of DeleteGitHubAccountToken with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DeleteGitHubAccountToken, deleteGitHubAccountToken_tokenName - The name of the GitHub account connection to delete.
Request Lenses
deleteGitHubAccountToken_tokenName :: Lens' DeleteGitHubAccountToken (Maybe Text) Source #
The name of the GitHub account connection to delete.
Destructuring the Response
data DeleteGitHubAccountTokenResponse Source #
Represents the output of a DeleteGitHubAccountToken operation.
See: newDeleteGitHubAccountTokenResponse smart constructor.
Constructors
| DeleteGitHubAccountTokenResponse' | |
Fields
| |
Instances
newDeleteGitHubAccountTokenResponse Source #
Create a value of DeleteGitHubAccountTokenResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DeleteGitHubAccountToken, deleteGitHubAccountTokenResponse_tokenName - The name of the GitHub account connection that was deleted.
$sel:httpStatus:DeleteGitHubAccountTokenResponse', deleteGitHubAccountTokenResponse_httpStatus - The response's http status code.
Response Lenses
deleteGitHubAccountTokenResponse_tokenName :: Lens' DeleteGitHubAccountTokenResponse (Maybe Text) Source #
The name of the GitHub account connection that was deleted.
deleteGitHubAccountTokenResponse_httpStatus :: Lens' DeleteGitHubAccountTokenResponse Int Source #
The response's http status code.