amazonka-codeguru-reviewer-2.0: Amazon CodeGuru Reviewer SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CodeGuruReviewer.DisassociateRepository

Description

Removes the association between Amazon CodeGuru Reviewer and a repository.

Synopsis

Creating a Request

data DisassociateRepository Source #

See: newDisassociateRepository smart constructor.

Constructors

DisassociateRepository' 

Fields

Instances

Instances details
ToHeaders DisassociateRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.DisassociateRepository

ToPath DisassociateRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.DisassociateRepository

ToQuery DisassociateRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.DisassociateRepository

AWSRequest DisassociateRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.DisassociateRepository

Associated Types

type AWSResponse DisassociateRepository #

Generic DisassociateRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.DisassociateRepository

Associated Types

type Rep DisassociateRepository :: Type -> Type #

Read DisassociateRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.DisassociateRepository

Show DisassociateRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.DisassociateRepository

NFData DisassociateRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.DisassociateRepository

Methods

rnf :: DisassociateRepository -> () #

Eq DisassociateRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.DisassociateRepository

Hashable DisassociateRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.DisassociateRepository

type AWSResponse DisassociateRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.DisassociateRepository

type Rep DisassociateRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.DisassociateRepository

type Rep DisassociateRepository = D1 ('MetaData "DisassociateRepository" "Amazonka.CodeGuruReviewer.DisassociateRepository" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" 'False) (C1 ('MetaCons "DisassociateRepository'" 'PrefixI 'True) (S1 ('MetaSel ('Just "associationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

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.

Constructors

DisassociateRepositoryResponse' 

Fields

  • repositoryAssociation :: Maybe RepositoryAssociation

    Information about the disassociated repository.

  • tags :: Maybe (HashMap Text Text)

    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, or Secret). 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.
  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DisassociateRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.DisassociateRepository

Associated Types

type Rep DisassociateRepositoryResponse :: Type -> Type #

Read DisassociateRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.DisassociateRepository

Show DisassociateRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.DisassociateRepository

NFData DisassociateRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.DisassociateRepository

Eq DisassociateRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.DisassociateRepository

type Rep DisassociateRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.DisassociateRepository

type Rep DisassociateRepositoryResponse = D1 ('MetaData "DisassociateRepositoryResponse" "Amazonka.CodeGuruReviewer.DisassociateRepository" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" 'False) (C1 ('MetaCons "DisassociateRepositoryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "repositoryAssociation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RepositoryAssociation)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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, or Secret). 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_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, or Secret). 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.