libZSservicesZSamazonka-codeartifactZSamazonka-codeartifact
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.CodeArtifact.DeleteRepository

Description

Deletes a repository.

Synopsis

Creating a Request

data DeleteRepository Source #

See: newDeleteRepository smart constructor.

Constructors

DeleteRepository' 

Fields

  • domainOwner :: Maybe Text

    The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.

  • domain :: Text

    The name of the domain that contains the repository to delete.

  • repository :: Text

    The name of the repository to delete.

Instances

Instances details
Eq DeleteRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepository

Read DeleteRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepository

Show DeleteRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepository

Generic DeleteRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepository

Associated Types

type Rep DeleteRepository :: Type -> Type #

NFData DeleteRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepository

Methods

rnf :: DeleteRepository -> () #

Hashable DeleteRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepository

AWSRequest DeleteRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepository

Associated Types

type AWSResponse DeleteRepository #

ToHeaders DeleteRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepository

ToPath DeleteRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepository

ToQuery DeleteRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepository

type Rep DeleteRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepository

type Rep DeleteRepository = D1 ('MetaData "DeleteRepository" "Amazonka.CodeArtifact.DeleteRepository" "libZSservicesZSamazonka-codeartifactZSamazonka-codeartifact" 'False) (C1 ('MetaCons "DeleteRepository'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domainOwner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "domain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "repository") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse DeleteRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.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:domainOwner:DeleteRepository', deleteRepository_domainOwner - The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.

$sel:domain:DeleteRepository', deleteRepository_domain - The name of the domain that contains the repository to delete.

$sel:repository:DeleteRepository', deleteRepository_repository - The name of the repository to delete.

Request Lenses

deleteRepository_domainOwner :: Lens' DeleteRepository (Maybe Text) Source #

The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.

deleteRepository_domain :: Lens' DeleteRepository Text Source #

The name of the domain that contains the repository to delete.

deleteRepository_repository :: Lens' DeleteRepository Text Source #

The name of the repository to delete.

Destructuring the Response

data DeleteRepositoryResponse Source #

See: newDeleteRepositoryResponse smart constructor.

Constructors

DeleteRepositoryResponse' 

Fields

Instances

Instances details
Eq DeleteRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepository

Read DeleteRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepository

Show DeleteRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepository

Generic DeleteRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepository

Associated Types

type Rep DeleteRepositoryResponse :: Type -> Type #

NFData DeleteRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepository

type Rep DeleteRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepository

type Rep DeleteRepositoryResponse = D1 ('MetaData "DeleteRepositoryResponse" "Amazonka.CodeArtifact.DeleteRepository" "libZSservicesZSamazonka-codeartifactZSamazonka-codeartifact" 'False) (C1 ('MetaCons "DeleteRepositoryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "repository") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RepositoryDescription)) :*: 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:repository:DeleteRepository', deleteRepositoryResponse_repository - Information about the deleted repository after processing the request.

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

Response Lenses

deleteRepositoryResponse_repository :: Lens' DeleteRepositoryResponse (Maybe RepositoryDescription) Source #

Information about the deleted repository after processing the request.