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 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.
Instances
newDeleteSourceCredentials Source #
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.
DeleteSourceCredentialsResponse' | |
|
Instances
Eq DeleteSourceCredentialsResponse Source # | |
Read DeleteSourceCredentialsResponse Source # | |
Show DeleteSourceCredentialsResponse Source # | |
Defined in Amazonka.CodeBuild.DeleteSourceCredentials | |
Generic DeleteSourceCredentialsResponse Source # | |
NFData DeleteSourceCredentialsResponse Source # | |
Defined in Amazonka.CodeBuild.DeleteSourceCredentials rnf :: DeleteSourceCredentialsResponse -> () # | |
type Rep DeleteSourceCredentialsResponse Source # | |
Defined in Amazonka.CodeBuild.DeleteSourceCredentials type Rep DeleteSourceCredentialsResponse = D1 ('MetaData "DeleteSourceCredentialsResponse" "Amazonka.CodeBuild.DeleteSourceCredentials" "libZSservicesZSamazonka-codebuildZSamazonka-codebuild" 'False) (C1 ('MetaCons "DeleteSourceCredentialsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.