Copyright | (c) 2013-2021 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 |
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.
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:
$sel:tokenName: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.
DeleteGitHubAccountTokenResponse' | |
|
Instances
Eq DeleteGitHubAccountTokenResponse Source # | |
Read DeleteGitHubAccountTokenResponse Source # | |
Show DeleteGitHubAccountTokenResponse Source # | |
Generic DeleteGitHubAccountTokenResponse Source # | |
NFData DeleteGitHubAccountTokenResponse Source # | |
Defined in Amazonka.CodeDeploy.DeleteGitHubAccountToken rnf :: DeleteGitHubAccountTokenResponse -> () # | |
type Rep DeleteGitHubAccountTokenResponse Source # | |
Defined in Amazonka.CodeDeploy.DeleteGitHubAccountToken type Rep DeleteGitHubAccountTokenResponse = D1 ('MetaData "DeleteGitHubAccountTokenResponse" "Amazonka.CodeDeploy.DeleteGitHubAccountToken" "libZSservicesZSamazonka-codedeployZSamazonka-codedeploy" 'False) (C1 ('MetaCons "DeleteGitHubAccountTokenResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tokenName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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:
$sel:tokenName: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.