libZSservicesZSamazonka-codecommitZSamazonka-codecommit
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodeCommit.DeleteRepository

Description

Deletes a repository. If a specified repository was already deleted, a null repository ID is returned.

Deleting a repository also deletes all associated objects and metadata. After a repository is deleted, all future push calls to the deleted repository fail.

Synopsis

Creating a Request

data DeleteRepository Source #

Represents the input of a delete repository operation.

See: newDeleteRepository smart constructor.

Constructors

DeleteRepository' 

Fields

Instances

Instances details
Eq DeleteRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteRepository

Read DeleteRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteRepository

Show DeleteRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteRepository

Generic DeleteRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteRepository

Associated Types

type Rep DeleteRepository :: Type -> Type #

NFData DeleteRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteRepository

Methods

rnf :: DeleteRepository -> () #

Hashable DeleteRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteRepository

ToJSON DeleteRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteRepository

AWSRequest DeleteRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteRepository

Associated Types

type AWSResponse DeleteRepository #

ToHeaders DeleteRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteRepository

ToPath DeleteRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteRepository

ToQuery DeleteRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteRepository

type Rep DeleteRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteRepository

type Rep DeleteRepository = D1 ('MetaData "DeleteRepository" "Amazonka.CodeCommit.DeleteRepository" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "DeleteRepository'" 'PrefixI 'True) (S1 ('MetaSel ('Just "repositoryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteRepository

newDeleteRepository Source #

Create a value of DeleteRepository 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:repositoryName:DeleteRepository', deleteRepository_repositoryName - The name of the repository to delete.

Request Lenses

deleteRepository_repositoryName :: Lens' DeleteRepository Text Source #

The name of the repository to delete.

Destructuring the Response

data DeleteRepositoryResponse Source #

Represents the output of a delete repository operation.

See: newDeleteRepositoryResponse smart constructor.

Constructors

DeleteRepositoryResponse' 

Fields

Instances

Instances details
Eq DeleteRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteRepository

Read DeleteRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteRepository

Show DeleteRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteRepository

Generic DeleteRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteRepository

Associated Types

type Rep DeleteRepositoryResponse :: Type -> Type #

NFData DeleteRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteRepository

type Rep DeleteRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteRepository

type Rep DeleteRepositoryResponse = D1 ('MetaData "DeleteRepositoryResponse" "Amazonka.CodeCommit.DeleteRepository" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "DeleteRepositoryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "repositoryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteRepositoryResponse Source #

Create a value of DeleteRepositoryResponse 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:repositoryId:DeleteRepositoryResponse', deleteRepositoryResponse_repositoryId - The ID of the repository that was deleted.

$sel:httpStatus:DeleteRepositoryResponse', deleteRepositoryResponse_httpStatus - The response's http status code.

Response Lenses