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 |
Amazonka.CodeBuild.DeleteSourceCredentials
Description
Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.
Synopsis
- data DeleteSourceCredentials = DeleteSourceCredentials' {}
- newDeleteSourceCredentials :: Text -> DeleteSourceCredentials
- deleteSourceCredentials_arn :: Lens' DeleteSourceCredentials Text
- data DeleteSourceCredentialsResponse = DeleteSourceCredentialsResponse' {
- arn :: Maybe Text
- httpStatus :: Int
- newDeleteSourceCredentialsResponse :: Int -> DeleteSourceCredentialsResponse
- deleteSourceCredentialsResponse_arn :: Lens' DeleteSourceCredentialsResponse (Maybe Text)
- deleteSourceCredentialsResponse_httpStatus :: Lens' DeleteSourceCredentialsResponse Int
Creating a Request
data DeleteSourceCredentials Source #
See: newDeleteSourceCredentials
smart constructor.
Constructors
DeleteSourceCredentials' | |
Instances
newDeleteSourceCredentials Source #
Arguments
:: Text | |
-> DeleteSourceCredentials |
Create a value of DeleteSourceCredentials
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:arn:DeleteSourceCredentials'
, deleteSourceCredentials_arn
- The Amazon Resource Name (ARN) of the token.
Request Lenses
deleteSourceCredentials_arn :: Lens' DeleteSourceCredentials Text Source #
The Amazon Resource Name (ARN) of the token.
Destructuring the Response
data DeleteSourceCredentialsResponse Source #
See: newDeleteSourceCredentialsResponse
smart constructor.
Constructors
DeleteSourceCredentialsResponse' | |
Fields
|
Instances
newDeleteSourceCredentialsResponse Source #
Create a value of DeleteSourceCredentialsResponse
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:arn:DeleteSourceCredentials'
, deleteSourceCredentialsResponse_arn
- The Amazon Resource Name (ARN) of the token.
$sel:httpStatus:DeleteSourceCredentialsResponse'
, deleteSourceCredentialsResponse_httpStatus
- The response's http status code.
Response Lenses
deleteSourceCredentialsResponse_arn :: Lens' DeleteSourceCredentialsResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the token.
deleteSourceCredentialsResponse_httpStatus :: Lens' DeleteSourceCredentialsResponse Int Source #
The response's http status code.