amazonka-codeartifact-2.0: Amazon CodeArtifact 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.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 Amazon Web Services 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
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

AWSRequest DeleteRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepository

Associated Types

type AWSResponse DeleteRepository #

Generic DeleteRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepository

Associated Types

type Rep DeleteRepository :: Type -> Type #

Read DeleteRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepository

Show DeleteRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepository

NFData DeleteRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepository

Methods

rnf :: DeleteRepository -> () #

Eq DeleteRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepository

Hashable DeleteRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepository

type AWSResponse 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" "amazonka-codeartifact-2.0-CskMABZQLQJDgej73fXQxp" '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))))

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:

DeleteRepository, deleteRepository_domainOwner - The 12-digit account number of the Amazon Web Services 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.

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 Amazon Web Services 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
Generic DeleteRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepository

Associated Types

type Rep DeleteRepositoryResponse :: Type -> Type #

Read DeleteRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepository

Show DeleteRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepository

NFData DeleteRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepository

Eq 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" "amazonka-codeartifact-2.0-CskMABZQLQJDgej73fXQxp" '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:

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.