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 |
Removes the association between Amazon CodeGuru Reviewer and a repository.
Synopsis
- data DisassociateRepository = DisassociateRepository' {}
- newDisassociateRepository :: Text -> DisassociateRepository
- disassociateRepository_associationArn :: Lens' DisassociateRepository Text
- data DisassociateRepositoryResponse = DisassociateRepositoryResponse' {}
- newDisassociateRepositoryResponse :: Int -> DisassociateRepositoryResponse
- disassociateRepositoryResponse_repositoryAssociation :: Lens' DisassociateRepositoryResponse (Maybe RepositoryAssociation)
- disassociateRepositoryResponse_tags :: Lens' DisassociateRepositoryResponse (Maybe (HashMap Text Text))
- disassociateRepositoryResponse_httpStatus :: Lens' DisassociateRepositoryResponse Int
Creating a Request
data DisassociateRepository Source #
See: newDisassociateRepository
smart constructor.
DisassociateRepository' | |
|
Instances
newDisassociateRepository Source #
Create a value of DisassociateRepository
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:associationArn:DisassociateRepository'
, disassociateRepository_associationArn
- The Amazon Resource Name (ARN) of the
RepositoryAssociation
object. You can retrieve this ARN by calling
ListRepositoryAssociations
.
Request Lenses
disassociateRepository_associationArn :: Lens' DisassociateRepository Text Source #
The Amazon Resource Name (ARN) of the RepositoryAssociation object. You can retrieve this ARN by calling ListRepositoryAssociations .
Destructuring the Response
data DisassociateRepositoryResponse Source #
See: newDisassociateRepositoryResponse
smart constructor.
DisassociateRepositoryResponse' | |
|
Instances
newDisassociateRepositoryResponse Source #
Create a value of DisassociateRepositoryResponse
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:repositoryAssociation:DisassociateRepositoryResponse'
, disassociateRepositoryResponse_repositoryAssociation
- Information about the disassociated repository.
$sel:tags:DisassociateRepositoryResponse'
, disassociateRepositoryResponse_tags
- An array of key-value pairs used to tag an associated repository. A tag
is a custom attribute label with two parts:
- A tag key (for example,
CostCenter
,Environment
,Project
, orSecret
). Tag keys are case sensitive. - An optional field known as a tag value (for example,
111122223333
,Production
, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.
$sel:httpStatus:DisassociateRepositoryResponse'
, disassociateRepositoryResponse_httpStatus
- The response's http status code.
Response Lenses
disassociateRepositoryResponse_repositoryAssociation :: Lens' DisassociateRepositoryResponse (Maybe RepositoryAssociation) Source #
Information about the disassociated repository.
disassociateRepositoryResponse_tags :: Lens' DisassociateRepositoryResponse (Maybe (HashMap Text Text)) Source #
An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:
- A tag key (for example,
CostCenter
,Environment
,Project
, orSecret
). Tag keys are case sensitive. - An optional field known as a tag value (for example,
111122223333
,Production
, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.
disassociateRepositoryResponse_httpStatus :: Lens' DisassociateRepositoryResponse Int Source #
The response's http status code.