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 |
- Service Configuration
- Errors
- Waiters
- Operations
- DisposePackageVersions
- GetRepositoryEndpoint
- ListTagsForResource
- ListPackageVersionDependencies
- ListPackages (Paginated)
- PutRepositoryPermissionsPolicy
- DeleteRepositoryPermissionsPolicy
- GetDomainPermissionsPolicy
- ListRepositories (Paginated)
- UpdatePackageVersionsStatus
- CreateRepository
- GetPackageVersionAsset
- ListRepositoriesInDomain (Paginated)
- PutDomainPermissionsPolicy
- DeleteDomainPermissionsPolicy
- GetPackageVersionReadme
- CreateDomain
- GetRepositoryPermissionsPolicy
- AssociateExternalConnection
- DescribeRepository
- DeletePackageVersions
- DescribeDomain
- DescribePackageVersion
- TagResource
- UntagResource
- DeleteRepository
- UpdateRepository
- CopyPackageVersions
- GetAuthorizationToken
- DisassociateExternalConnection
- DeleteDomain
- ListDomains (Paginated)
- ListPackageVersions (Paginated)
- ListPackageVersionAssets (Paginated)
- Types
- DomainStatus
- ExternalConnectionStatus
- HashAlgorithm
- PackageFormat
- PackageVersionErrorCode
- PackageVersionSortType
- PackageVersionStatus
- AssetSummary
- DomainDescription
- DomainSummary
- LicenseInfo
- PackageDependency
- PackageSummary
- PackageVersionDescription
- PackageVersionError
- PackageVersionSummary
- RepositoryDescription
- RepositoryExternalConnectionInfo
- RepositorySummary
- ResourcePolicy
- SuccessfulPackageVersionInfo
- Tag
- UpstreamRepository
- UpstreamRepositoryInfo
Derived from API version 2018-09-22
of the AWS service descriptions, licensed under Apache 2.0.
AWS CodeArtifact is a fully managed artifact repository compatible with language-native package managers and build tools such as npm, Apache Maven, and pip. You can use CodeArtifact to share packages with development teams and pull packages. Packages can be pulled from both public and CodeArtifact repositories. You can also create an upstream relationship between a CodeArtifact repository and another repository, which effectively merges their contents from the point of view of a package manager client.
AWS CodeArtifact Components
Use the information in this guide to help you work with the following CodeArtifact components:
- Repository: A CodeArtifact repository contains a set of
package versions,
each of which maps to a set of assets, or files. Repositories are
polyglot, so a single repository can contain packages of any
supported type. Each repository exposes endpoints for fetching and
publishing packages using tools like the
npm
CLI, the Maven CLI (mvn
), andpip
. Domain: Repositories are aggregated into a higher-level entity known as a domain. All package assets and metadata are stored in the domain, but are consumed through repositories. A given package asset, such as a Maven JAR file, is stored once per domain, no matter how many repositories it's present in. All of the assets and metadata in a domain are encrypted with the same customer master key (CMK) stored in AWS Key Management Service (AWS KMS).
Each repository is a member of a single domain and can't be moved to a different domain.
The domain allows organizational policy to be applied across multiple repositories, such as which accounts can access repositories in the domain, and which public repositories can be used as sources of packages.
Although an organization can have multiple domains, we recommend a single production domain that contains all published artifacts so that teams can find and share packages across their organization.
Package: A package is a bundle of software and the metadata required to resolve dependencies and install the software. CodeArtifact supports npm, PyPI, and Maven package formats.
In CodeArtifact, a package consists of:
- A name (for example,
webpack
is the name of a popular npm package) - An optional namespace (for example,
@types
in@types/node
) - A set of versions (for example,
1.0.0
,1.0.1
,1.0.2
, etc.) - Package-level metadata (for example, npm tags)
- A name (for example,
- Package version: A version of a package, such as
@types/node 12.6.9
. The version number format and semantics vary for different package formats. For example, npm package versions must conform to the Semantic Versioning specification. In CodeArtifact, a package version consists of the version identifier, metadata at the package version level, and a set of assets. - Upstream repository: One repository is upstream of another when the package versions in it can be accessed from the repository endpoint of the downstream repository, effectively merging the contents of the two repositories from the point of view of a client. CodeArtifact allows creating an upstream relationship between two repositories.
- Asset: An individual file stored in CodeArtifact associated with
a package version, such as an npm
.tgz
file or Maven POM and JAR files.
CodeArtifact supports these operations:
AssociateExternalConnection
: Adds an existing external connection to a repository.CopyPackageVersions
: Copies package versions from one repository to another repository in the same domain.CreateDomain
: Creates a domainCreateRepository
: Creates a CodeArtifact repository in a domain.DeleteDomain
: Deletes a domain. You cannot delete a domain that contains repositories.DeleteDomainPermissionsPolicy
: Deletes the resource policy that is set on a domain.DeletePackageVersions
: Deletes versions of a package. After a package has been deleted, it can be republished, but its assets and metadata cannot be restored because they have been permanently removed from storage.DeleteRepository
: Deletes a repository.DeleteRepositoryPermissionsPolicy
: Deletes the resource policy that is set on a repository.DescribeDomain
: Returns aDomainDescription
object that contains information about the requested domain.DescribePackageVersion
: Returns a PackageVersionDescription object that contains details about a package version.DescribeRepository
: Returns aRepositoryDescription
object that contains detailed information about the requested repository.DisposePackageVersions
: Disposes versions of a package. A package version with the statusDisposed
cannot be restored because they have been permanently removed from storage.DisassociateExternalConnection
: Removes an existing external connection from a repository.GetAuthorizationToken
: Generates a temporary authorization token for accessing repositories in the domain. The token expires the authorization period has passed. The default authorization period is 12 hours and can be customized to any length with a maximum of 12 hours.GetDomainPermissionsPolicy
: Returns the policy of a resource that is attached to the specified domain.GetPackageVersionAsset
: Returns the contents of an asset that is in a package version.GetPackageVersionReadme
: Gets the readme file or descriptive text for a package version.GetRepositoryEndpoint
: Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each package format:npm
pypi
maven
GetRepositoryPermissionsPolicy
: Returns the resource policy that is set on a repository.ListDomains
: Returns a list ofDomainSummary
objects. Each returnedDomainSummary
object contains information about a domain.ListPackages
: Lists the packages in a repository.ListPackageVersionAssets
: Lists the assets for a given package version.ListPackageVersionDependencies
: Returns a list of the direct dependencies for a package version.ListPackageVersions
: Returns a list of package versions for a specified package in a repository.ListRepositories
: Returns a list of repositories owned by the AWS account that called this method.ListRepositoriesInDomain
: Returns a list of the repositories in a domain.PutDomainPermissionsPolicy
: Attaches a resource policy to a domain.PutRepositoryPermissionsPolicy
: Sets the resource policy on a repository that specifies permissions to access it.UpdatePackageVersionsStatus
: Updates the status of one or more versions of a package.UpdateRepository
: Updates the properties of a repository.
Synopsis
- defaultService :: Service
- _ValidationException :: AsError a => Getting (First ServiceError) a ServiceError
- _AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- _ConflictException :: AsError a => Getting (First ServiceError) a ServiceError
- _ServiceQuotaExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- data DisposePackageVersions = DisposePackageVersions' (Maybe PackageVersionStatus) (Maybe (HashMap Text Text)) (Maybe Text) (Maybe Text) Text Text PackageFormat Text [Text]
- newDisposePackageVersions :: Text -> Text -> PackageFormat -> Text -> DisposePackageVersions
- data DisposePackageVersionsResponse = DisposePackageVersionsResponse' (Maybe (HashMap Text PackageVersionError)) (Maybe (HashMap Text SuccessfulPackageVersionInfo)) Int
- newDisposePackageVersionsResponse :: Int -> DisposePackageVersionsResponse
- data GetRepositoryEndpoint = GetRepositoryEndpoint' (Maybe Text) Text Text PackageFormat
- newGetRepositoryEndpoint :: Text -> Text -> PackageFormat -> GetRepositoryEndpoint
- data GetRepositoryEndpointResponse = GetRepositoryEndpointResponse' (Maybe Text) Int
- newGetRepositoryEndpointResponse :: Int -> GetRepositoryEndpointResponse
- data ListTagsForResource = ListTagsForResource' Text
- newListTagsForResource :: Text -> ListTagsForResource
- data ListTagsForResourceResponse = ListTagsForResourceResponse' (Maybe [Tag]) Int
- newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
- data ListPackageVersionDependencies = ListPackageVersionDependencies' (Maybe Text) (Maybe Text) (Maybe Text) Text Text PackageFormat Text Text
- newListPackageVersionDependencies :: Text -> Text -> PackageFormat -> Text -> Text -> ListPackageVersionDependencies
- data ListPackageVersionDependenciesResponse = ListPackageVersionDependenciesResponse' (Maybe PackageFormat) (Maybe Text) (Maybe Text) (Maybe [PackageDependency]) (Maybe Text) (Maybe Text) (Maybe Text) Int
- newListPackageVersionDependenciesResponse :: Int -> ListPackageVersionDependenciesResponse
- data ListPackages = ListPackages' (Maybe PackageFormat) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Natural) Text Text
- newListPackages :: Text -> Text -> ListPackages
- data ListPackagesResponse = ListPackagesResponse' (Maybe [PackageSummary]) (Maybe Text) Int
- newListPackagesResponse :: Int -> ListPackagesResponse
- data PutRepositoryPermissionsPolicy = PutRepositoryPermissionsPolicy' (Maybe Text) (Maybe Text) Text Text Text
- newPutRepositoryPermissionsPolicy :: Text -> Text -> Text -> PutRepositoryPermissionsPolicy
- data PutRepositoryPermissionsPolicyResponse = PutRepositoryPermissionsPolicyResponse' (Maybe ResourcePolicy) Int
- newPutRepositoryPermissionsPolicyResponse :: Int -> PutRepositoryPermissionsPolicyResponse
- data DeleteRepositoryPermissionsPolicy = DeleteRepositoryPermissionsPolicy' (Maybe Text) (Maybe Text) Text Text
- newDeleteRepositoryPermissionsPolicy :: Text -> Text -> DeleteRepositoryPermissionsPolicy
- data DeleteRepositoryPermissionsPolicyResponse = DeleteRepositoryPermissionsPolicyResponse' (Maybe ResourcePolicy) Int
- newDeleteRepositoryPermissionsPolicyResponse :: Int -> DeleteRepositoryPermissionsPolicyResponse
- data GetDomainPermissionsPolicy = GetDomainPermissionsPolicy' (Maybe Text) Text
- newGetDomainPermissionsPolicy :: Text -> GetDomainPermissionsPolicy
- data GetDomainPermissionsPolicyResponse = GetDomainPermissionsPolicyResponse' (Maybe ResourcePolicy) Int
- newGetDomainPermissionsPolicyResponse :: Int -> GetDomainPermissionsPolicyResponse
- data ListRepositories = ListRepositories' (Maybe Text) (Maybe Text) (Maybe Natural)
- newListRepositories :: ListRepositories
- data ListRepositoriesResponse = ListRepositoriesResponse' (Maybe [RepositorySummary]) (Maybe Text) Int
- newListRepositoriesResponse :: Int -> ListRepositoriesResponse
- data UpdatePackageVersionsStatus = UpdatePackageVersionsStatus' (Maybe PackageVersionStatus) (Maybe (HashMap Text Text)) (Maybe Text) (Maybe Text) Text Text PackageFormat Text [Text] PackageVersionStatus
- newUpdatePackageVersionsStatus :: Text -> Text -> PackageFormat -> Text -> PackageVersionStatus -> UpdatePackageVersionsStatus
- data UpdatePackageVersionsStatusResponse = UpdatePackageVersionsStatusResponse' (Maybe (HashMap Text PackageVersionError)) (Maybe (HashMap Text SuccessfulPackageVersionInfo)) Int
- newUpdatePackageVersionsStatusResponse :: Int -> UpdatePackageVersionsStatusResponse
- data CreateRepository = CreateRepository' (Maybe [UpstreamRepository]) (Maybe Text) (Maybe Text) (Maybe [Tag]) Text Text
- newCreateRepository :: Text -> Text -> CreateRepository
- data CreateRepositoryResponse = CreateRepositoryResponse' (Maybe RepositoryDescription) Int
- newCreateRepositoryResponse :: Int -> CreateRepositoryResponse
- data GetPackageVersionAsset = GetPackageVersionAsset' (Maybe Text) (Maybe Text) (Maybe Text) Text Text PackageFormat Text Text Text
- newGetPackageVersionAsset :: Text -> Text -> PackageFormat -> Text -> Text -> Text -> GetPackageVersionAsset
- data GetPackageVersionAssetResponse = GetPackageVersionAssetResponse' (Maybe Text) (Maybe Text) (Maybe Text) Int ResponseBody
- newGetPackageVersionAssetResponse :: Int -> ResponseBody -> GetPackageVersionAssetResponse
- data ListRepositoriesInDomain = ListRepositoriesInDomain' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Natural) Text
- newListRepositoriesInDomain :: Text -> ListRepositoriesInDomain
- data ListRepositoriesInDomainResponse = ListRepositoriesInDomainResponse' (Maybe [RepositorySummary]) (Maybe Text) Int
- newListRepositoriesInDomainResponse :: Int -> ListRepositoriesInDomainResponse
- data PutDomainPermissionsPolicy = PutDomainPermissionsPolicy' (Maybe Text) (Maybe Text) Text Text
- newPutDomainPermissionsPolicy :: Text -> Text -> PutDomainPermissionsPolicy
- data PutDomainPermissionsPolicyResponse = PutDomainPermissionsPolicyResponse' (Maybe ResourcePolicy) Int
- newPutDomainPermissionsPolicyResponse :: Int -> PutDomainPermissionsPolicyResponse
- data DeleteDomainPermissionsPolicy = DeleteDomainPermissionsPolicy' (Maybe Text) (Maybe Text) Text
- newDeleteDomainPermissionsPolicy :: Text -> DeleteDomainPermissionsPolicy
- data DeleteDomainPermissionsPolicyResponse = DeleteDomainPermissionsPolicyResponse' (Maybe ResourcePolicy) Int
- newDeleteDomainPermissionsPolicyResponse :: Int -> DeleteDomainPermissionsPolicyResponse
- data GetPackageVersionReadme = GetPackageVersionReadme' (Maybe Text) (Maybe Text) Text Text PackageFormat Text Text
- newGetPackageVersionReadme :: Text -> Text -> PackageFormat -> Text -> Text -> GetPackageVersionReadme
- data GetPackageVersionReadmeResponse = GetPackageVersionReadmeResponse' (Maybe Text) (Maybe PackageFormat) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) Int
- newGetPackageVersionReadmeResponse :: Int -> GetPackageVersionReadmeResponse
- data CreateDomain = CreateDomain' (Maybe Text) (Maybe [Tag]) Text
- newCreateDomain :: Text -> CreateDomain
- data CreateDomainResponse = CreateDomainResponse' (Maybe DomainDescription) Int
- newCreateDomainResponse :: Int -> CreateDomainResponse
- data GetRepositoryPermissionsPolicy = GetRepositoryPermissionsPolicy' (Maybe Text) Text Text
- newGetRepositoryPermissionsPolicy :: Text -> Text -> GetRepositoryPermissionsPolicy
- data GetRepositoryPermissionsPolicyResponse = GetRepositoryPermissionsPolicyResponse' (Maybe ResourcePolicy) Int
- newGetRepositoryPermissionsPolicyResponse :: Int -> GetRepositoryPermissionsPolicyResponse
- data AssociateExternalConnection = AssociateExternalConnection' (Maybe Text) Text Text Text
- newAssociateExternalConnection :: Text -> Text -> Text -> AssociateExternalConnection
- data AssociateExternalConnectionResponse = AssociateExternalConnectionResponse' (Maybe RepositoryDescription) Int
- newAssociateExternalConnectionResponse :: Int -> AssociateExternalConnectionResponse
- data DescribeRepository = DescribeRepository' (Maybe Text) Text Text
- newDescribeRepository :: Text -> Text -> DescribeRepository
- data DescribeRepositoryResponse = DescribeRepositoryResponse' (Maybe RepositoryDescription) Int
- newDescribeRepositoryResponse :: Int -> DescribeRepositoryResponse
- data DeletePackageVersions = DeletePackageVersions' (Maybe PackageVersionStatus) (Maybe Text) (Maybe Text) Text Text PackageFormat Text [Text]
- newDeletePackageVersions :: Text -> Text -> PackageFormat -> Text -> DeletePackageVersions
- data DeletePackageVersionsResponse = DeletePackageVersionsResponse' (Maybe (HashMap Text PackageVersionError)) (Maybe (HashMap Text SuccessfulPackageVersionInfo)) Int
- newDeletePackageVersionsResponse :: Int -> DeletePackageVersionsResponse
- data DescribeDomain = DescribeDomain' (Maybe Text) Text
- newDescribeDomain :: Text -> DescribeDomain
- data DescribeDomainResponse = DescribeDomainResponse' (Maybe DomainDescription) Int
- newDescribeDomainResponse :: Int -> DescribeDomainResponse
- data DescribePackageVersion = DescribePackageVersion' (Maybe Text) (Maybe Text) Text Text PackageFormat Text Text
- newDescribePackageVersion :: Text -> Text -> PackageFormat -> Text -> Text -> DescribePackageVersion
- data DescribePackageVersionResponse = DescribePackageVersionResponse' Int PackageVersionDescription
- newDescribePackageVersionResponse :: Int -> PackageVersionDescription -> DescribePackageVersionResponse
- data TagResource = TagResource' Text [Tag]
- newTagResource :: Text -> TagResource
- data TagResourceResponse = TagResourceResponse' Int
- newTagResourceResponse :: Int -> TagResourceResponse
- data UntagResource = UntagResource' Text [Text]
- newUntagResource :: Text -> UntagResource
- data UntagResourceResponse = UntagResourceResponse' Int
- newUntagResourceResponse :: Int -> UntagResourceResponse
- data DeleteRepository = DeleteRepository' (Maybe Text) Text Text
- newDeleteRepository :: Text -> Text -> DeleteRepository
- data DeleteRepositoryResponse = DeleteRepositoryResponse' (Maybe RepositoryDescription) Int
- newDeleteRepositoryResponse :: Int -> DeleteRepositoryResponse
- data UpdateRepository = UpdateRepository' (Maybe [UpstreamRepository]) (Maybe Text) (Maybe Text) Text Text
- newUpdateRepository :: Text -> Text -> UpdateRepository
- data UpdateRepositoryResponse = UpdateRepositoryResponse' (Maybe RepositoryDescription) Int
- newUpdateRepositoryResponse :: Int -> UpdateRepositoryResponse
- data CopyPackageVersions = CopyPackageVersions' (Maybe Bool) (Maybe (HashMap Text Text)) (Maybe Text) (Maybe Text) (Maybe [Text]) (Maybe Bool) Text Text Text PackageFormat Text
- newCopyPackageVersions :: Text -> Text -> Text -> PackageFormat -> Text -> CopyPackageVersions
- data CopyPackageVersionsResponse = CopyPackageVersionsResponse' (Maybe (HashMap Text PackageVersionError)) (Maybe (HashMap Text SuccessfulPackageVersionInfo)) Int
- newCopyPackageVersionsResponse :: Int -> CopyPackageVersionsResponse
- data GetAuthorizationToken = GetAuthorizationToken' (Maybe Text) (Maybe Natural) Text
- newGetAuthorizationToken :: Text -> GetAuthorizationToken
- data GetAuthorizationTokenResponse = GetAuthorizationTokenResponse' (Maybe POSIX) (Maybe Text) Int
- newGetAuthorizationTokenResponse :: Int -> GetAuthorizationTokenResponse
- data DisassociateExternalConnection = DisassociateExternalConnection' (Maybe Text) Text Text Text
- newDisassociateExternalConnection :: Text -> Text -> Text -> DisassociateExternalConnection
- data DisassociateExternalConnectionResponse = DisassociateExternalConnectionResponse' (Maybe RepositoryDescription) Int
- newDisassociateExternalConnectionResponse :: Int -> DisassociateExternalConnectionResponse
- data DeleteDomain = DeleteDomain' (Maybe Text) Text
- newDeleteDomain :: Text -> DeleteDomain
- data DeleteDomainResponse = DeleteDomainResponse' (Maybe DomainDescription) Int
- newDeleteDomainResponse :: Int -> DeleteDomainResponse
- data ListDomains = ListDomains' (Maybe Text) (Maybe Natural)
- newListDomains :: ListDomains
- data ListDomainsResponse = ListDomainsResponse' (Maybe Text) (Maybe [DomainSummary]) Int
- newListDomainsResponse :: Int -> ListDomainsResponse
- data ListPackageVersions = ListPackageVersions' (Maybe PackageVersionStatus) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Natural) (Maybe PackageVersionSortType) Text Text PackageFormat Text
- newListPackageVersions :: Text -> Text -> PackageFormat -> Text -> ListPackageVersions
- data ListPackageVersionsResponse = ListPackageVersionsResponse' (Maybe PackageFormat) (Maybe Text) (Maybe [PackageVersionSummary]) (Maybe Text) (Maybe Text) (Maybe Text) Int
- newListPackageVersionsResponse :: Int -> ListPackageVersionsResponse
- data ListPackageVersionAssets = ListPackageVersionAssets' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Natural) Text Text PackageFormat Text Text
- newListPackageVersionAssets :: Text -> Text -> PackageFormat -> Text -> Text -> ListPackageVersionAssets
- data ListPackageVersionAssetsResponse = ListPackageVersionAssetsResponse' (Maybe PackageFormat) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe [AssetSummary]) Int
- newListPackageVersionAssetsResponse :: Int -> ListPackageVersionAssetsResponse
- newtype DomainStatus where
- DomainStatus' { }
- pattern DomainStatus_Active :: DomainStatus
- pattern DomainStatus_Deleted :: DomainStatus
- newtype ExternalConnectionStatus where
- newtype HashAlgorithm where
- HashAlgorithm' { }
- pattern HashAlgorithm_MD5 :: HashAlgorithm
- pattern HashAlgorithm_SHA_1 :: HashAlgorithm
- pattern HashAlgorithm_SHA_256 :: HashAlgorithm
- pattern HashAlgorithm_SHA_512 :: HashAlgorithm
- newtype PackageFormat where
- PackageFormat' { }
- pattern PackageFormat_Maven :: PackageFormat
- pattern PackageFormat_Npm :: PackageFormat
- pattern PackageFormat_Nuget :: PackageFormat
- pattern PackageFormat_Pypi :: PackageFormat
- newtype PackageVersionErrorCode where
- PackageVersionErrorCode' { }
- pattern PackageVersionErrorCode_ALREADY_EXISTS :: PackageVersionErrorCode
- pattern PackageVersionErrorCode_MISMATCHED_REVISION :: PackageVersionErrorCode
- pattern PackageVersionErrorCode_MISMATCHED_STATUS :: PackageVersionErrorCode
- pattern PackageVersionErrorCode_NOT_ALLOWED :: PackageVersionErrorCode
- pattern PackageVersionErrorCode_NOT_FOUND :: PackageVersionErrorCode
- pattern PackageVersionErrorCode_SKIPPED :: PackageVersionErrorCode
- newtype PackageVersionSortType where
- newtype PackageVersionStatus where
- PackageVersionStatus' { }
- pattern PackageVersionStatus_Archived :: PackageVersionStatus
- pattern PackageVersionStatus_Deleted :: PackageVersionStatus
- pattern PackageVersionStatus_Disposed :: PackageVersionStatus
- pattern PackageVersionStatus_Published :: PackageVersionStatus
- pattern PackageVersionStatus_Unfinished :: PackageVersionStatus
- pattern PackageVersionStatus_Unlisted :: PackageVersionStatus
- data AssetSummary = AssetSummary' (Maybe Integer) (Maybe (HashMap HashAlgorithm Text)) Text
- newAssetSummary :: Text -> AssetSummary
- data DomainDescription = DomainDescription' (Maybe Integer) (Maybe DomainStatus) (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe Int) (Maybe Text) (Maybe Text)
- newDomainDescription :: DomainDescription
- data DomainSummary = DomainSummary' (Maybe DomainStatus) (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe Text)
- newDomainSummary :: DomainSummary
- data LicenseInfo = LicenseInfo' (Maybe Text) (Maybe Text)
- newLicenseInfo :: LicenseInfo
- data PackageDependency = PackageDependency' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text)
- newPackageDependency :: PackageDependency
- data PackageSummary = PackageSummary' (Maybe PackageFormat) (Maybe Text) (Maybe Text)
- newPackageSummary :: PackageSummary
- data PackageVersionDescription = PackageVersionDescription' (Maybe Text) (Maybe Text) (Maybe PackageVersionStatus) (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe PackageFormat) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe [LicenseInfo]) (Maybe Text)
- newPackageVersionDescription :: PackageVersionDescription
- data PackageVersionError = PackageVersionError' (Maybe PackageVersionErrorCode) (Maybe Text)
- newPackageVersionError :: PackageVersionError
- data PackageVersionSummary = PackageVersionSummary' (Maybe Text) Text PackageVersionStatus
- newPackageVersionSummary :: Text -> PackageVersionStatus -> PackageVersionSummary
- data RepositoryDescription = RepositoryDescription' (Maybe [UpstreamRepositoryInfo]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe [RepositoryExternalConnectionInfo]) (Maybe Text)
- newRepositoryDescription :: RepositoryDescription
- data RepositoryExternalConnectionInfo = RepositoryExternalConnectionInfo' (Maybe Text) (Maybe ExternalConnectionStatus) (Maybe PackageFormat)
- newRepositoryExternalConnectionInfo :: RepositoryExternalConnectionInfo
- data RepositorySummary = RepositorySummary' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text)
- newRepositorySummary :: RepositorySummary
- data ResourcePolicy = ResourcePolicy' (Maybe Text) (Maybe Text) (Maybe Text)
- newResourcePolicy :: ResourcePolicy
- data SuccessfulPackageVersionInfo = SuccessfulPackageVersionInfo' (Maybe PackageVersionStatus) (Maybe Text)
- newSuccessfulPackageVersionInfo :: SuccessfulPackageVersionInfo
- data Tag = Tag' Text Text
- newTag :: Text -> Text -> Tag
- data UpstreamRepository = UpstreamRepository' Text
- newUpstreamRepository :: Text -> UpstreamRepository
- data UpstreamRepositoryInfo = UpstreamRepositoryInfo' (Maybe Text)
- newUpstreamRepositoryInfo :: UpstreamRepositoryInfo
Service Configuration
defaultService :: Service Source #
API version 2018-09-22
of the Amazon CodeArtifact SDK configuration.
Errors
Error matchers are designed for use with the functions provided by
Control.Exception.Lens.
This allows catching (and rethrowing) service specific errors returned
by CodeArtifact
.
ValidationException
_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation did not succeed because a parameter in the request was sent with an invalid value.
AccessDeniedException
_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation did not succeed because of an unauthorized access attempt.
ConflictException
_ConflictException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation did not succeed because prerequisites are not met.
ServiceQuotaExceededException
_ServiceQuotaExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation did not succeed because it would have exceeded a service limit for your account.
ThrottlingException
_ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation did not succeed because too many requests are sent to the service.
InternalServerException
_InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation did not succeed because of an error that occurred inside AWS CodeArtifact.
ResourceNotFoundException
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation did not succeed because the resource requested is not found in the service.
Waiters
Waiters poll by repeatedly sending a request until some remote success condition
configured by the Wait
specification is fulfilled. The Wait
specification
determines how many attempts should be made, in addition to delay and retry strategies.
Operations
Some AWS operations return results that are incomplete and require subsequent
requests in order to obtain the entire result set. The process of sending
subsequent requests to continue where a previous request left off is called
pagination. For example, the ListObjects
operation of Amazon S3 returns up to
1000 objects at a time, and you must send subsequent requests with the
appropriate Marker in order to retrieve the next page of results.
Operations that have an AWSPager
instance can transparently perform subsequent
requests, correctly setting Markers and other request facets to iterate through
the entire result set of a truncated API operation. Operations which support
this have an additional note in the documentation.
Many operations have the ability to filter results on the server side. See the individual operation parameters for details.
DisposePackageVersions
data DisposePackageVersions Source #
See: newDisposePackageVersions
smart constructor.
DisposePackageVersions' (Maybe PackageVersionStatus) (Maybe (HashMap Text Text)) (Maybe Text) (Maybe Text) Text Text PackageFormat Text [Text] |
Instances
newDisposePackageVersions Source #
:: Text | |
-> Text | |
-> PackageFormat | |
-> Text | |
-> DisposePackageVersions |
Create a value of DisposePackageVersions
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:expectedStatus:DisposePackageVersions'
, disposePackageVersions_expectedStatus
- The expected status of the package version to dispose. Valid values are:
Published
Unfinished
Unlisted
Archived
Disposed
$sel:versionRevisions:DisposePackageVersions'
, disposePackageVersions_versionRevisions
- The revisions of the package versions you want to dispose.
$sel:namespace:DisposePackageVersions'
, disposePackageVersions_namespace
- The namespace of the package. The package component that specifies its
namespace depends on its type. For example:
- The namespace of a Maven package is its
groupId
. - The namespace of an npm package is its
scope
. - A Python package does not contain a corresponding component, so Python packages do not have a namespace.
$sel:domainOwner:DisposePackageVersions'
, disposePackageVersions_domainOwner
- The 12-digit account number of the AWS account that owns the domain. It
does not include dashes or spaces.
$sel:domain:DisposePackageVersions'
, disposePackageVersions_domain
- The name of the domain that contains the repository you want to dispose.
$sel:repository:DisposePackageVersions'
, disposePackageVersions_repository
- The name of the repository that contains the package versions you want
to dispose.
$sel:format:DisposePackageVersions'
, disposePackageVersions_format
- A format that specifies the type of package versions you want to
dispose. The valid values are:
npm
pypi
maven
$sel:package:DisposePackageVersions'
, disposePackageVersions_package
- The name of the package with the versions you want to dispose.
$sel:versions:DisposePackageVersions'
, disposePackageVersions_versions
- The versions of the package you want to dispose.
data DisposePackageVersionsResponse Source #
See: newDisposePackageVersionsResponse
smart constructor.
DisposePackageVersionsResponse' (Maybe (HashMap Text PackageVersionError)) (Maybe (HashMap Text SuccessfulPackageVersionInfo)) Int |
Instances
newDisposePackageVersionsResponse Source #
Create a value of DisposePackageVersionsResponse
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:failedVersions:DisposePackageVersionsResponse'
, disposePackageVersionsResponse_failedVersions
- A PackageVersionError
object that contains a map of errors codes for
the disposed package versions that failed. The possible error codes are:
ALREADY_EXISTS
MISMATCHED_REVISION
MISMATCHED_STATUS
NOT_ALLOWED
NOT_FOUND
SKIPPED
$sel:successfulVersions:DisposePackageVersionsResponse'
, disposePackageVersionsResponse_successfulVersions
- A list of the package versions that were successfully disposed.
$sel:httpStatus:DisposePackageVersionsResponse'
, disposePackageVersionsResponse_httpStatus
- The response's http status code.
GetRepositoryEndpoint
data GetRepositoryEndpoint Source #
See: newGetRepositoryEndpoint
smart constructor.
Instances
newGetRepositoryEndpoint Source #
:: Text | |
-> Text | |
-> PackageFormat | |
-> GetRepositoryEndpoint |
Create a value of GetRepositoryEndpoint
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:GetRepositoryEndpoint'
, getRepositoryEndpoint_domainOwner
- The 12-digit account number of the AWS account that owns the domain that
contains the repository. It does not include dashes or spaces.
$sel:domain:GetRepositoryEndpoint'
, getRepositoryEndpoint_domain
- The name of the domain that contains the repository.
$sel:repository:GetRepositoryEndpoint'
, getRepositoryEndpoint_repository
- The name of the repository.
$sel:format:GetRepositoryEndpoint'
, getRepositoryEndpoint_format
- Returns which endpoint of a repository to return. A repository has one
endpoint for each package format:
npm
pypi
maven
data GetRepositoryEndpointResponse Source #
See: newGetRepositoryEndpointResponse
smart constructor.
Instances
newGetRepositoryEndpointResponse Source #
Create a value of GetRepositoryEndpointResponse
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:repositoryEndpoint:GetRepositoryEndpointResponse'
, getRepositoryEndpointResponse_repositoryEndpoint
- A string that specifies the URL of the returned endpoint.
$sel:httpStatus:GetRepositoryEndpointResponse'
, getRepositoryEndpointResponse_httpStatus
- The response's http status code.
ListTagsForResource
data ListTagsForResource Source #
See: newListTagsForResource
smart constructor.
Instances
newListTagsForResource Source #
Create a value of ListTagsForResource
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:resourceArn:ListTagsForResource'
, listTagsForResource_resourceArn
- The Amazon Resource Name (ARN) of the resource to get tags for.
data ListTagsForResourceResponse Source #
See: newListTagsForResourceResponse
smart constructor.
Instances
newListTagsForResourceResponse Source #
Create a value of ListTagsForResourceResponse
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:tags:ListTagsForResourceResponse'
, listTagsForResourceResponse_tags
- A list of tag key and value pairs associated with the specified
resource.
$sel:httpStatus:ListTagsForResourceResponse'
, listTagsForResourceResponse_httpStatus
- The response's http status code.
ListPackageVersionDependencies
data ListPackageVersionDependencies Source #
See: newListPackageVersionDependencies
smart constructor.
ListPackageVersionDependencies' (Maybe Text) (Maybe Text) (Maybe Text) Text Text PackageFormat Text Text |
Instances
newListPackageVersionDependencies Source #
:: Text | |
-> Text | |
-> PackageFormat | |
-> Text | |
-> Text | |
-> ListPackageVersionDependencies |
Create a value of ListPackageVersionDependencies
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:namespace:ListPackageVersionDependencies'
, listPackageVersionDependencies_namespace
- The namespace of the package. The package component that specifies its
namespace depends on its type. For example:
- The namespace of a Maven package is its
groupId
. - The namespace of an npm package is its
scope
. - A Python package does not contain a corresponding component, so Python packages do not have a namespace.
$sel:domainOwner:ListPackageVersionDependencies'
, listPackageVersionDependencies_domainOwner
- The 12-digit account number of the AWS account that owns the domain. It
does not include dashes or spaces.
$sel:nextToken:ListPackageVersionDependencies'
, listPackageVersionDependencies_nextToken
- The token for the next set of results. Use the value returned in the
previous response in the next request to retrieve the next set of
results.
$sel:domain:ListPackageVersionDependencies'
, listPackageVersionDependencies_domain
- The name of the domain that contains the repository that contains the
requested package version dependencies.
$sel:repository:ListPackageVersionDependencies'
, listPackageVersionDependencies_repository
- The name of the repository that contains the requested package version.
$sel:format:ListPackageVersionDependencies'
, listPackageVersionDependencies_format
- The format of the package with the requested dependencies. The valid
package types are:
npm
: A Node Package Manager (npm) package.pypi
: A Python Package Index (PyPI) package.maven
: A Maven package that contains compiled code in a distributable format, such as a JAR file.
$sel:package:ListPackageVersionDependencies'
, listPackageVersionDependencies_package
- The name of the package versions' package.
$sel:packageVersion:ListPackageVersionDependencies'
, listPackageVersionDependencies_packageVersion
- A string that contains the package version (for example, 3.5.2
).
data ListPackageVersionDependenciesResponse Source #
See: newListPackageVersionDependenciesResponse
smart constructor.
ListPackageVersionDependenciesResponse' (Maybe PackageFormat) (Maybe Text) (Maybe Text) (Maybe [PackageDependency]) (Maybe Text) (Maybe Text) (Maybe Text) Int |
Instances
newListPackageVersionDependenciesResponse Source #
Create a value of ListPackageVersionDependenciesResponse
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:format:ListPackageVersionDependencies'
, listPackageVersionDependenciesResponse_format
- A format that specifies the type of the package that contains the
returned dependencies. The valid values are:
npm
pypi
maven
$sel:namespace:ListPackageVersionDependencies'
, listPackageVersionDependenciesResponse_namespace
- The namespace of the package. The package component that specifies its
namespace depends on its type. For example:
- The namespace of a Maven package is its
groupId
. - The namespace of an npm package is its
scope
. - A Python package does not contain a corresponding component, so Python packages do not have a namespace.
$sel:versionRevision:ListPackageVersionDependenciesResponse'
, listPackageVersionDependenciesResponse_versionRevision
- The current revision associated with the package version.
$sel:dependencies:ListPackageVersionDependenciesResponse'
, listPackageVersionDependenciesResponse_dependencies
- The returned list of
PackageDependency
objects.
$sel:nextToken:ListPackageVersionDependencies'
, listPackageVersionDependenciesResponse_nextToken
- The token for the next set of results. Use the value returned in the
previous response in the next request to retrieve the next set of
results.
$sel:version:ListPackageVersionDependenciesResponse'
, listPackageVersionDependenciesResponse_version
- The version of the package that is specified in the request.
$sel:package:ListPackageVersionDependencies'
, listPackageVersionDependenciesResponse_package
- The name of the package that contains the returned package versions
dependencies.
$sel:httpStatus:ListPackageVersionDependenciesResponse'
, listPackageVersionDependenciesResponse_httpStatus
- The response's http status code.
ListPackages (Paginated)
data ListPackages Source #
See: newListPackages
smart constructor.
ListPackages' (Maybe PackageFormat) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Natural) Text Text |
Instances
Create a value of ListPackages
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:format:ListPackages'
, listPackages_format
- The format of the packages. The valid package types are:
npm
: A Node Package Manager (npm) package.pypi
: A Python Package Index (PyPI) package.maven
: A Maven package that contains compiled code in a distributable format, such as a JAR file.
$sel:namespace:ListPackages'
, listPackages_namespace
- The namespace of the package. The package component that specifies its
namespace depends on its type. For example:
- The namespace of a Maven package is its
groupId
. - The namespace of an npm package is its
scope
. - A Python package does not contain a corresponding component, so Python packages do not have a namespace.
$sel:domainOwner:ListPackages'
, listPackages_domainOwner
- The 12-digit account number of the AWS account that owns the domain. It
does not include dashes or spaces.
$sel:nextToken:ListPackages'
, listPackages_nextToken
- The token for the next set of results. Use the value returned in the
previous response in the next request to retrieve the next set of
results.
$sel:packagePrefix:ListPackages'
, listPackages_packagePrefix
- A prefix used to filter returned packages. Only packages with names that
start with packagePrefix
are returned.
$sel:maxResults:ListPackages'
, listPackages_maxResults
- The maximum number of results to return per page.
$sel:domain:ListPackages'
, listPackages_domain
- The name of the domain that contains the repository that contains the
requested list of packages.
$sel:repository:ListPackages'
, listPackages_repository
- The name of the repository from which packages are to be listed.
data ListPackagesResponse Source #
See: newListPackagesResponse
smart constructor.
Instances
newListPackagesResponse Source #
Create a value of ListPackagesResponse
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:packages:ListPackagesResponse'
, listPackagesResponse_packages
- The list of returned
PackageSummary
objects.
$sel:nextToken:ListPackages'
, listPackagesResponse_nextToken
- If there are additional results, this is the token for the next set of
results.
$sel:httpStatus:ListPackagesResponse'
, listPackagesResponse_httpStatus
- The response's http status code.
PutRepositoryPermissionsPolicy
data PutRepositoryPermissionsPolicy Source #
See: newPutRepositoryPermissionsPolicy
smart constructor.
Instances
newPutRepositoryPermissionsPolicy Source #
:: Text | |
-> Text | |
-> Text | |
-> PutRepositoryPermissionsPolicy |
Create a value of PutRepositoryPermissionsPolicy
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:policyRevision:PutRepositoryPermissionsPolicy'
, putRepositoryPermissionsPolicy_policyRevision
- Sets the revision of the resource policy that specifies permissions to
access the repository. This revision is used for optimistic locking,
which prevents others from overwriting your changes to the repository's
resource policy.
$sel:domainOwner:PutRepositoryPermissionsPolicy'
, putRepositoryPermissionsPolicy_domainOwner
- The 12-digit account number of the AWS account that owns the domain. It
does not include dashes or spaces.
$sel:domain:PutRepositoryPermissionsPolicy'
, putRepositoryPermissionsPolicy_domain
- The name of the domain containing the repository to set the resource
policy on.
$sel:repository:PutRepositoryPermissionsPolicy'
, putRepositoryPermissionsPolicy_repository
- The name of the repository to set the resource policy on.
$sel:policyDocument:PutRepositoryPermissionsPolicy'
, putRepositoryPermissionsPolicy_policyDocument
- A valid displayable JSON Aspen policy string to be set as the access
control resource policy on the provided repository.
data PutRepositoryPermissionsPolicyResponse Source #
See: newPutRepositoryPermissionsPolicyResponse
smart constructor.
Instances
newPutRepositoryPermissionsPolicyResponse Source #
Create a value of PutRepositoryPermissionsPolicyResponse
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:policy:PutRepositoryPermissionsPolicyResponse'
, putRepositoryPermissionsPolicyResponse_policy
- The resource policy that was set after processing the request.
$sel:httpStatus:PutRepositoryPermissionsPolicyResponse'
, putRepositoryPermissionsPolicyResponse_httpStatus
- The response's http status code.
DeleteRepositoryPermissionsPolicy
data DeleteRepositoryPermissionsPolicy Source #
See: newDeleteRepositoryPermissionsPolicy
smart constructor.
Instances
newDeleteRepositoryPermissionsPolicy Source #
Create a value of DeleteRepositoryPermissionsPolicy
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:policyRevision:DeleteRepositoryPermissionsPolicy'
, deleteRepositoryPermissionsPolicy_policyRevision
- The revision of the repository's resource policy to be deleted. This
revision is used for optimistic locking, which prevents others from
accidentally overwriting your changes to the repository's resource
policy.
$sel:domainOwner:DeleteRepositoryPermissionsPolicy'
, deleteRepositoryPermissionsPolicy_domainOwner
- The 12-digit account number of the AWS account that owns the domain. It
does not include dashes or spaces.
$sel:domain:DeleteRepositoryPermissionsPolicy'
, deleteRepositoryPermissionsPolicy_domain
- The name of the domain that contains the repository associated with the
resource policy to be deleted.
$sel:repository:DeleteRepositoryPermissionsPolicy'
, deleteRepositoryPermissionsPolicy_repository
- The name of the repository that is associated with the resource policy
to be deleted
data DeleteRepositoryPermissionsPolicyResponse Source #
See: newDeleteRepositoryPermissionsPolicyResponse
smart constructor.
Instances
newDeleteRepositoryPermissionsPolicyResponse Source #
Create a value of DeleteRepositoryPermissionsPolicyResponse
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:policy:DeleteRepositoryPermissionsPolicyResponse'
, deleteRepositoryPermissionsPolicyResponse_policy
- Information about the deleted policy after processing the request.
$sel:httpStatus:DeleteRepositoryPermissionsPolicyResponse'
, deleteRepositoryPermissionsPolicyResponse_httpStatus
- The response's http status code.
GetDomainPermissionsPolicy
data GetDomainPermissionsPolicy Source #
See: newGetDomainPermissionsPolicy
smart constructor.
Instances
newGetDomainPermissionsPolicy Source #
Create a value of GetDomainPermissionsPolicy
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:GetDomainPermissionsPolicy'
, getDomainPermissionsPolicy_domainOwner
- The 12-digit account number of the AWS account that owns the domain. It
does not include dashes or spaces.
$sel:domain:GetDomainPermissionsPolicy'
, getDomainPermissionsPolicy_domain
- The name of the domain to which the resource policy is attached.
data GetDomainPermissionsPolicyResponse Source #
See: newGetDomainPermissionsPolicyResponse
smart constructor.
Instances
Eq GetDomainPermissionsPolicyResponse Source # | |
Read GetDomainPermissionsPolicyResponse Source # | |
Show GetDomainPermissionsPolicyResponse Source # | |
Generic GetDomainPermissionsPolicyResponse Source # | |
NFData GetDomainPermissionsPolicyResponse Source # | |
Defined in Amazonka.CodeArtifact.GetDomainPermissionsPolicy rnf :: GetDomainPermissionsPolicyResponse -> () # | |
type Rep GetDomainPermissionsPolicyResponse Source # | |
Defined in Amazonka.CodeArtifact.GetDomainPermissionsPolicy type Rep GetDomainPermissionsPolicyResponse = D1 ('MetaData "GetDomainPermissionsPolicyResponse" "Amazonka.CodeArtifact.GetDomainPermissionsPolicy" "libZSservicesZSamazonka-codeartifactZSamazonka-codeartifact" 'False) (C1 ('MetaCons "GetDomainPermissionsPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "policy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourcePolicy)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newGetDomainPermissionsPolicyResponse Source #
Create a value of GetDomainPermissionsPolicyResponse
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:policy:GetDomainPermissionsPolicyResponse'
, getDomainPermissionsPolicyResponse_policy
- The returned resource policy.
$sel:httpStatus:GetDomainPermissionsPolicyResponse'
, getDomainPermissionsPolicyResponse_httpStatus
- The response's http status code.
ListRepositories (Paginated)
data ListRepositories Source #
See: newListRepositories
smart constructor.
Instances
newListRepositories :: ListRepositories Source #
Create a value of ListRepositories
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:repositoryPrefix:ListRepositories'
, listRepositories_repositoryPrefix
- A prefix used to filter returned repositories. Only repositories with
names that start with repositoryPrefix
are returned.
$sel:nextToken:ListRepositories'
, listRepositories_nextToken
- The token for the next set of results. Use the value returned in the
previous response in the next request to retrieve the next set of
results.
$sel:maxResults:ListRepositories'
, listRepositories_maxResults
- The maximum number of results to return per page.
data ListRepositoriesResponse Source #
See: newListRepositoriesResponse
smart constructor.
Instances
newListRepositoriesResponse Source #
Create a value of ListRepositoriesResponse
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:repositories:ListRepositoriesResponse'
, listRepositoriesResponse_repositories
- The returned list of
RepositorySummary
objects.
$sel:nextToken:ListRepositories'
, listRepositoriesResponse_nextToken
- If there are additional results, this is the token for the next set of
results.
$sel:httpStatus:ListRepositoriesResponse'
, listRepositoriesResponse_httpStatus
- The response's http status code.
UpdatePackageVersionsStatus
data UpdatePackageVersionsStatus Source #
See: newUpdatePackageVersionsStatus
smart constructor.
UpdatePackageVersionsStatus' (Maybe PackageVersionStatus) (Maybe (HashMap Text Text)) (Maybe Text) (Maybe Text) Text Text PackageFormat Text [Text] PackageVersionStatus |
Instances
newUpdatePackageVersionsStatus Source #
:: Text | |
-> Text | |
-> PackageFormat | |
-> Text | |
-> PackageVersionStatus | |
-> UpdatePackageVersionsStatus |
Create a value of UpdatePackageVersionsStatus
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:expectedStatus:UpdatePackageVersionsStatus'
, updatePackageVersionsStatus_expectedStatus
- The package version’s expected status before it is updated. If
expectedStatus
is provided, the package version's status is updated
only if its status at the time UpdatePackageVersionsStatus
is called
matches expectedStatus
.
$sel:versionRevisions:UpdatePackageVersionsStatus'
, updatePackageVersionsStatus_versionRevisions
- A map of package versions and package version revisions. The map key
is the package version (for example, 3.5.2
), and the map value
is
the package version revision.
$sel:namespace:UpdatePackageVersionsStatus'
, updatePackageVersionsStatus_namespace
- The namespace of the package. The package component that specifies its
namespace depends on its type. For example:
- The namespace of a Maven package is its
groupId
. - The namespace of an npm package is its
scope
. - A Python package does not contain a corresponding component, so Python packages do not have a namespace.
$sel:domainOwner:UpdatePackageVersionsStatus'
, updatePackageVersionsStatus_domainOwner
- The 12-digit account number of the AWS account that owns the domain. It
does not include dashes or spaces.
$sel:domain:UpdatePackageVersionsStatus'
, updatePackageVersionsStatus_domain
- The name of the domain that contains the repository that contains the
package versions with a status to be updated.
$sel:repository:UpdatePackageVersionsStatus'
, updatePackageVersionsStatus_repository
- The repository that contains the package versions with the status you
want to update.
$sel:format:UpdatePackageVersionsStatus'
, updatePackageVersionsStatus_format
- A format that specifies the type of the package with the statuses to
update. The valid values are:
npm
pypi
maven
$sel:package:UpdatePackageVersionsStatus'
, updatePackageVersionsStatus_package
- The name of the package with the version statuses to update.
$sel:versions:UpdatePackageVersionsStatus'
, updatePackageVersionsStatus_versions
- An array of strings that specify the versions of the package with the
statuses to update.
$sel:targetStatus:UpdatePackageVersionsStatus'
, updatePackageVersionsStatus_targetStatus
- The status you want to change the package version status to.
data UpdatePackageVersionsStatusResponse Source #
See: newUpdatePackageVersionsStatusResponse
smart constructor.
UpdatePackageVersionsStatusResponse' (Maybe (HashMap Text PackageVersionError)) (Maybe (HashMap Text SuccessfulPackageVersionInfo)) Int |
Instances
newUpdatePackageVersionsStatusResponse Source #
Create a value of UpdatePackageVersionsStatusResponse
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:failedVersions:UpdatePackageVersionsStatusResponse'
, updatePackageVersionsStatusResponse_failedVersions
- A list of SuccessfulPackageVersionInfo
objects, one for each package
version with a status that successfully updated.
$sel:successfulVersions:UpdatePackageVersionsStatusResponse'
, updatePackageVersionsStatusResponse_successfulVersions
- A list of PackageVersionError
objects, one for each package version
with a status that failed to update.
$sel:httpStatus:UpdatePackageVersionsStatusResponse'
, updatePackageVersionsStatusResponse_httpStatus
- The response's http status code.
CreateRepository
data CreateRepository Source #
See: newCreateRepository
smart constructor.
Instances
Create a value of CreateRepository
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:upstreams:CreateRepository'
, createRepository_upstreams
- A list of upstream repositories to associate with the repository. The
order of the upstream repositories in the list determines their priority
order when AWS CodeArtifact looks for a requested package version. For
more information, see
Working with upstream repositories.
$sel:domainOwner:CreateRepository'
, createRepository_domainOwner
- The 12-digit account number of the AWS account that owns the domain. It
does not include dashes or spaces.
$sel:description:CreateRepository'
, createRepository_description
- A description of the created repository.
$sel:tags:CreateRepository'
, createRepository_tags
- One or more tag key-value pairs for the repository.
$sel:domain:CreateRepository'
, createRepository_domain
- The name of the domain that contains the created repository.
$sel:repository:CreateRepository'
, createRepository_repository
- The name of the repository to create.
data CreateRepositoryResponse Source #
See: newCreateRepositoryResponse
smart constructor.
Instances
newCreateRepositoryResponse Source #
Create a value of CreateRepositoryResponse
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:CreateRepository'
, createRepositoryResponse_repository
- Information about the created repository after processing the request.
$sel:httpStatus:CreateRepositoryResponse'
, createRepositoryResponse_httpStatus
- The response's http status code.
GetPackageVersionAsset
data GetPackageVersionAsset Source #
See: newGetPackageVersionAsset
smart constructor.
GetPackageVersionAsset' (Maybe Text) (Maybe Text) (Maybe Text) Text Text PackageFormat Text Text Text |
Instances
newGetPackageVersionAsset Source #
:: Text | |
-> Text | |
-> PackageFormat | |
-> Text | |
-> Text | |
-> Text | |
-> GetPackageVersionAsset |
Create a value of GetPackageVersionAsset
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:namespace:GetPackageVersionAsset'
, getPackageVersionAsset_namespace
- The namespace of the package. The package component that specifies its
namespace depends on its type. For example:
- The namespace of a Maven package is its
groupId
. - The namespace of an npm package is its
scope
. - A Python package does not contain a corresponding component, so Python packages do not have a namespace.
$sel:domainOwner:GetPackageVersionAsset'
, getPackageVersionAsset_domainOwner
- The 12-digit account number of the AWS account that owns the domain. It
does not include dashes or spaces.
$sel:packageVersionRevision:GetPackageVersionAsset'
, getPackageVersionAsset_packageVersionRevision
- The name of the package version revision that contains the requested
asset.
$sel:domain:GetPackageVersionAsset'
, getPackageVersionAsset_domain
- The name of the domain that contains the repository that contains the
package version with the requested asset.
$sel:repository:GetPackageVersionAsset'
, getPackageVersionAsset_repository
- The repository that contains the package version with the requested
asset.
$sel:format:GetPackageVersionAsset'
, getPackageVersionAsset_format
- A format that specifies the type of the package version with the
requested asset file. The valid values are:
npm
pypi
maven
$sel:package:GetPackageVersionAsset'
, getPackageVersionAsset_package
- The name of the package that contains the requested asset.
$sel:packageVersion:GetPackageVersionAsset'
, getPackageVersionAsset_packageVersion
- A string that contains the package version (for example, 3.5.2
).
$sel:asset:GetPackageVersionAsset'
, getPackageVersionAsset_asset
- The name of the requested asset.
data GetPackageVersionAssetResponse Source #
See: newGetPackageVersionAssetResponse
smart constructor.
Instances
newGetPackageVersionAssetResponse Source #
Create a value of GetPackageVersionAssetResponse
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:packageVersion:GetPackageVersionAsset'
, getPackageVersionAssetResponse_packageVersion
- A string that contains the package version (for example, 3.5.2
).
$sel:assetName:GetPackageVersionAssetResponse'
, getPackageVersionAssetResponse_assetName
- The name of the asset that is downloaded.
$sel:packageVersionRevision:GetPackageVersionAsset'
, getPackageVersionAssetResponse_packageVersionRevision
- The name of the package version revision that contains the downloaded
asset.
$sel:httpStatus:GetPackageVersionAssetResponse'
, getPackageVersionAssetResponse_httpStatus
- The response's http status code.
$sel:asset:GetPackageVersionAsset'
, getPackageVersionAssetResponse_asset
- The binary file, or asset, that is downloaded.
ListRepositoriesInDomain (Paginated)
data ListRepositoriesInDomain Source #
See: newListRepositoriesInDomain
smart constructor.
Instances
newListRepositoriesInDomain Source #
Create a value of ListRepositoriesInDomain
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:repositoryPrefix:ListRepositoriesInDomain'
, listRepositoriesInDomain_repositoryPrefix
- A prefix used to filter returned repositories. Only repositories with
names that start with repositoryPrefix
are returned.
$sel:domainOwner:ListRepositoriesInDomain'
, listRepositoriesInDomain_domainOwner
- The 12-digit account number of the AWS account that owns the domain. It
does not include dashes or spaces.
$sel:nextToken:ListRepositoriesInDomain'
, listRepositoriesInDomain_nextToken
- The token for the next set of results. Use the value returned in the
previous response in the next request to retrieve the next set of
results.
$sel:administratorAccount:ListRepositoriesInDomain'
, listRepositoriesInDomain_administratorAccount
- Filter the list of repositories to only include those that are managed
by the AWS account ID.
$sel:maxResults:ListRepositoriesInDomain'
, listRepositoriesInDomain_maxResults
- The maximum number of results to return per page.
$sel:domain:ListRepositoriesInDomain'
, listRepositoriesInDomain_domain
- The name of the domain that contains the returned list of repositories.
data ListRepositoriesInDomainResponse Source #
See: newListRepositoriesInDomainResponse
smart constructor.
Instances
newListRepositoriesInDomainResponse Source #
Create a value of ListRepositoriesInDomainResponse
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:repositories:ListRepositoriesInDomainResponse'
, listRepositoriesInDomainResponse_repositories
- The returned list of repositories.
$sel:nextToken:ListRepositoriesInDomain'
, listRepositoriesInDomainResponse_nextToken
- If there are additional results, this is the token for the next set of
results.
$sel:httpStatus:ListRepositoriesInDomainResponse'
, listRepositoriesInDomainResponse_httpStatus
- The response's http status code.
PutDomainPermissionsPolicy
data PutDomainPermissionsPolicy Source #
See: newPutDomainPermissionsPolicy
smart constructor.
Instances
newPutDomainPermissionsPolicy Source #
:: Text | |
-> Text | |
-> PutDomainPermissionsPolicy |
Create a value of PutDomainPermissionsPolicy
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:policyRevision:PutDomainPermissionsPolicy'
, putDomainPermissionsPolicy_policyRevision
- The current revision of the resource policy to be set. This revision is
used for optimistic locking, which prevents others from overwriting your
changes to the domain's resource policy.
$sel:domainOwner:PutDomainPermissionsPolicy'
, putDomainPermissionsPolicy_domainOwner
- The 12-digit account number of the AWS account that owns the domain. It
does not include dashes or spaces.
$sel:domain:PutDomainPermissionsPolicy'
, putDomainPermissionsPolicy_domain
- The name of the domain on which to set the resource policy.
$sel:policyDocument:PutDomainPermissionsPolicy'
, putDomainPermissionsPolicy_policyDocument
- A valid displayable JSON Aspen policy string to be set as the access
control resource policy on the provided domain.
data PutDomainPermissionsPolicyResponse Source #
See: newPutDomainPermissionsPolicyResponse
smart constructor.
Instances
Eq PutDomainPermissionsPolicyResponse Source # | |
Read PutDomainPermissionsPolicyResponse Source # | |
Show PutDomainPermissionsPolicyResponse Source # | |
Generic PutDomainPermissionsPolicyResponse Source # | |
NFData PutDomainPermissionsPolicyResponse Source # | |
Defined in Amazonka.CodeArtifact.PutDomainPermissionsPolicy rnf :: PutDomainPermissionsPolicyResponse -> () # | |
type Rep PutDomainPermissionsPolicyResponse Source # | |
Defined in Amazonka.CodeArtifact.PutDomainPermissionsPolicy type Rep PutDomainPermissionsPolicyResponse = D1 ('MetaData "PutDomainPermissionsPolicyResponse" "Amazonka.CodeArtifact.PutDomainPermissionsPolicy" "libZSservicesZSamazonka-codeartifactZSamazonka-codeartifact" 'False) (C1 ('MetaCons "PutDomainPermissionsPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "policy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourcePolicy)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newPutDomainPermissionsPolicyResponse Source #
Create a value of PutDomainPermissionsPolicyResponse
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:policy:PutDomainPermissionsPolicyResponse'
, putDomainPermissionsPolicyResponse_policy
- The resource policy that was set after processing the request.
$sel:httpStatus:PutDomainPermissionsPolicyResponse'
, putDomainPermissionsPolicyResponse_httpStatus
- The response's http status code.
DeleteDomainPermissionsPolicy
data DeleteDomainPermissionsPolicy Source #
See: newDeleteDomainPermissionsPolicy
smart constructor.
Instances
newDeleteDomainPermissionsPolicy Source #
Create a value of DeleteDomainPermissionsPolicy
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:policyRevision:DeleteDomainPermissionsPolicy'
, deleteDomainPermissionsPolicy_policyRevision
- The current revision of the resource policy to be deleted. This revision
is used for optimistic locking, which prevents others from overwriting
your changes to the domain's resource policy.
$sel:domainOwner:DeleteDomainPermissionsPolicy'
, deleteDomainPermissionsPolicy_domainOwner
- The 12-digit account number of the AWS account that owns the domain. It
does not include dashes or spaces.
$sel:domain:DeleteDomainPermissionsPolicy'
, deleteDomainPermissionsPolicy_domain
- The name of the domain associated with the resource policy to be
deleted.
data DeleteDomainPermissionsPolicyResponse Source #
See: newDeleteDomainPermissionsPolicyResponse
smart constructor.
Instances
newDeleteDomainPermissionsPolicyResponse Source #
Create a value of DeleteDomainPermissionsPolicyResponse
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:policy:DeleteDomainPermissionsPolicyResponse'
, deleteDomainPermissionsPolicyResponse_policy
- Information about the deleted resource policy after processing the
request.
$sel:httpStatus:DeleteDomainPermissionsPolicyResponse'
, deleteDomainPermissionsPolicyResponse_httpStatus
- The response's http status code.
GetPackageVersionReadme
data GetPackageVersionReadme Source #
See: newGetPackageVersionReadme
smart constructor.
Instances
newGetPackageVersionReadme Source #
:: Text | |
-> Text | |
-> PackageFormat | |
-> Text | |
-> Text | |
-> GetPackageVersionReadme |
Create a value of GetPackageVersionReadme
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:namespace:GetPackageVersionReadme'
, getPackageVersionReadme_namespace
- The namespace of the package. The package component that specifies its
namespace depends on its type. For example:
- The namespace of a Maven package is its
groupId
. - The namespace of an npm package is its
scope
. - A Python package does not contain a corresponding component, so Python packages do not have a namespace.
$sel:domainOwner:GetPackageVersionReadme'
, getPackageVersionReadme_domainOwner
- The 12-digit account number of the AWS account that owns the domain. It
does not include dashes or spaces.
$sel:domain:GetPackageVersionReadme'
, getPackageVersionReadme_domain
- The name of the domain that contains the repository that contains the
package version with the requested readme file.
$sel:repository:GetPackageVersionReadme'
, getPackageVersionReadme_repository
- The repository that contains the package with the requested readme file.
$sel:format:GetPackageVersionReadme'
, getPackageVersionReadme_format
- A format that specifies the type of the package version with the
requested readme file. The valid values are:
npm
pypi
maven
$sel:package:GetPackageVersionReadme'
, getPackageVersionReadme_package
- The name of the package version that contains the requested readme file.
$sel:packageVersion:GetPackageVersionReadme'
, getPackageVersionReadme_packageVersion
- A string that contains the package version (for example, 3.5.2
).
data GetPackageVersionReadmeResponse Source #
See: newGetPackageVersionReadmeResponse
smart constructor.
GetPackageVersionReadmeResponse' (Maybe Text) (Maybe PackageFormat) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) Int |
Instances
newGetPackageVersionReadmeResponse Source #
Create a value of GetPackageVersionReadmeResponse
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:readme:GetPackageVersionReadmeResponse'
, getPackageVersionReadmeResponse_readme
- The text of the returned readme file.
$sel:format:GetPackageVersionReadme'
, getPackageVersionReadmeResponse_format
- The format of the package with the requested readme file. Valid format
types are:
npm
pypi
maven
$sel:namespace:GetPackageVersionReadme'
, getPackageVersionReadmeResponse_namespace
- The namespace of the package. The package component that specifies its
namespace depends on its type. For example:
- The namespace of a Maven package is its
groupId
. - The namespace of an npm package is its
scope
. - A Python package does not contain a corresponding component, so Python packages do not have a namespace.
$sel:versionRevision:GetPackageVersionReadmeResponse'
, getPackageVersionReadmeResponse_versionRevision
- The current revision associated with the package version.
$sel:version:GetPackageVersionReadmeResponse'
, getPackageVersionReadmeResponse_version
- The version of the package with the requested readme file.
$sel:package:GetPackageVersionReadme'
, getPackageVersionReadmeResponse_package
- The name of the package that contains the returned readme file.
$sel:httpStatus:GetPackageVersionReadmeResponse'
, getPackageVersionReadmeResponse_httpStatus
- The response's http status code.
CreateDomain
data CreateDomain Source #
See: newCreateDomain
smart constructor.
Instances
Create a value of CreateDomain
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:encryptionKey:CreateDomain'
, createDomain_encryptionKey
- The encryption key for the domain. This is used to encrypt content
stored in a domain. An encryption key can be a key ID, a key Amazon
Resource Name (ARN), a key alias, or a key alias ARN. To specify an
encryptionKey
, your IAM role must have kms:DescribeKey
and
kms:CreateGrant
permissions on the encryption key that is used. For
more information, see
DescribeKey
in the AWS Key Management Service API Reference and
AWS KMS API Permissions Reference
in the AWS Key Management Service Developer Guide.
CodeArtifact supports only symmetric CMKs. Do not associate an asymmetric CMK with your domain. For more information, see Using symmetric and asymmetric keys in the AWS Key Management Service Developer Guide.
$sel:tags:CreateDomain'
, createDomain_tags
- One or more tag key-value pairs for the domain.
$sel:domain:CreateDomain'
, createDomain_domain
- The name of the domain to create. All domain names in an AWS Region that
are in the same AWS account must be unique. The domain name is used as
the prefix in DNS hostnames. Do not use sensitive information in a
domain name because it is publicly discoverable.
data CreateDomainResponse Source #
See: newCreateDomainResponse
smart constructor.
Instances
newCreateDomainResponse Source #
Create a value of CreateDomainResponse
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:domain:CreateDomain'
, createDomainResponse_domain
- Contains information about the created domain after processing the
request.
$sel:httpStatus:CreateDomainResponse'
, createDomainResponse_httpStatus
- The response's http status code.
GetRepositoryPermissionsPolicy
data GetRepositoryPermissionsPolicy Source #
See: newGetRepositoryPermissionsPolicy
smart constructor.
Instances
newGetRepositoryPermissionsPolicy Source #
Create a value of GetRepositoryPermissionsPolicy
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:GetRepositoryPermissionsPolicy'
, getRepositoryPermissionsPolicy_domainOwner
- The 12-digit account number of the AWS account that owns the domain. It
does not include dashes or spaces.
$sel:domain:GetRepositoryPermissionsPolicy'
, getRepositoryPermissionsPolicy_domain
- The name of the domain containing the repository whose associated
resource policy is to be retrieved.
$sel:repository:GetRepositoryPermissionsPolicy'
, getRepositoryPermissionsPolicy_repository
- The name of the repository whose associated resource policy is to be
retrieved.
data GetRepositoryPermissionsPolicyResponse Source #
See: newGetRepositoryPermissionsPolicyResponse
smart constructor.
Instances
newGetRepositoryPermissionsPolicyResponse Source #
Create a value of GetRepositoryPermissionsPolicyResponse
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:policy:GetRepositoryPermissionsPolicyResponse'
, getRepositoryPermissionsPolicyResponse_policy
- The returned resource policy.
$sel:httpStatus:GetRepositoryPermissionsPolicyResponse'
, getRepositoryPermissionsPolicyResponse_httpStatus
- The response's http status code.
AssociateExternalConnection
data AssociateExternalConnection Source #
See: newAssociateExternalConnection
smart constructor.
Instances
newAssociateExternalConnection Source #
:: Text | |
-> Text | |
-> Text | |
-> AssociateExternalConnection |
Create a value of AssociateExternalConnection
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:AssociateExternalConnection'
, associateExternalConnection_domainOwner
- The 12-digit account number of the AWS account that owns the domain. It
does not include dashes or spaces.
$sel:domain:AssociateExternalConnection'
, associateExternalConnection_domain
- The name of the domain that contains the repository.
$sel:repository:AssociateExternalConnection'
, associateExternalConnection_repository
- The name of the repository to which the external connection is added.
$sel:externalConnection:AssociateExternalConnection'
, associateExternalConnection_externalConnection
- The name of the external connection to add to the repository. The
following values are supported:
public:npmjs
- for the npm public repository.public:pypi
- for the Python Package Index.public:maven-central
- for Maven Central.public:maven-googleandroid
- for the Google Android repository.public:maven-gradleplugins
- for the Gradle plugins repository.public:maven-commonsware
- for the CommonsWare Android repository.
data AssociateExternalConnectionResponse Source #
See: newAssociateExternalConnectionResponse
smart constructor.
Instances
newAssociateExternalConnectionResponse Source #
Create a value of AssociateExternalConnectionResponse
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:AssociateExternalConnection'
, associateExternalConnectionResponse_repository
- Information about the connected repository after processing the request.
$sel:httpStatus:AssociateExternalConnectionResponse'
, associateExternalConnectionResponse_httpStatus
- The response's http status code.
DescribeRepository
data DescribeRepository Source #
See: newDescribeRepository
smart constructor.
Instances
newDescribeRepository Source #
:: Text | |
-> Text | |
-> DescribeRepository |
Create a value of DescribeRepository
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:DescribeRepository'
, describeRepository_domainOwner
- The 12-digit account number of the AWS account that owns the domain. It
does not include dashes or spaces.
$sel:domain:DescribeRepository'
, describeRepository_domain
- The name of the domain that contains the repository to describe.
$sel:repository:DescribeRepository'
, describeRepository_repository
- A string that specifies the name of the requested repository.
data DescribeRepositoryResponse Source #
See: newDescribeRepositoryResponse
smart constructor.
Instances
newDescribeRepositoryResponse Source #
Create a value of DescribeRepositoryResponse
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:DescribeRepository'
, describeRepositoryResponse_repository
- A RepositoryDescription
object that contains the requested repository
information.
$sel:httpStatus:DescribeRepositoryResponse'
, describeRepositoryResponse_httpStatus
- The response's http status code.
DeletePackageVersions
data DeletePackageVersions Source #
See: newDeletePackageVersions
smart constructor.
DeletePackageVersions' (Maybe PackageVersionStatus) (Maybe Text) (Maybe Text) Text Text PackageFormat Text [Text] |
Instances
newDeletePackageVersions Source #
:: Text | |
-> Text | |
-> PackageFormat | |
-> Text | |
-> DeletePackageVersions |
Create a value of DeletePackageVersions
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:expectedStatus:DeletePackageVersions'
, deletePackageVersions_expectedStatus
- The expected status of the package version to delete. Valid values are:
Published
Unfinished
Unlisted
Archived
Disposed
$sel:namespace:DeletePackageVersions'
, deletePackageVersions_namespace
- The namespace of the package. The package component that specifies its
namespace depends on its type. For example:
- The namespace of a Maven package is its
groupId
. - The namespace of an npm package is its
scope
. - A Python package does not contain a corresponding component, so Python packages do not have a namespace.
$sel:domainOwner:DeletePackageVersions'
, deletePackageVersions_domainOwner
- The 12-digit account number of the AWS account that owns the domain. It
does not include dashes or spaces.
$sel:domain:DeletePackageVersions'
, deletePackageVersions_domain
- The name of the domain that contains the package to delete.
$sel:repository:DeletePackageVersions'
, deletePackageVersions_repository
- The name of the repository that contains the package versions to delete.
$sel:format:DeletePackageVersions'
, deletePackageVersions_format
- The format of the package versions to delete. The valid values are:
npm
pypi
maven
$sel:package:DeletePackageVersions'
, deletePackageVersions_package
- The name of the package with the versions to delete.
$sel:versions:DeletePackageVersions'
, deletePackageVersions_versions
- An array of strings that specify the versions of the package to delete.
data DeletePackageVersionsResponse Source #
See: newDeletePackageVersionsResponse
smart constructor.
DeletePackageVersionsResponse' (Maybe (HashMap Text PackageVersionError)) (Maybe (HashMap Text SuccessfulPackageVersionInfo)) Int |
Instances
newDeletePackageVersionsResponse Source #
Create a value of DeletePackageVersionsResponse
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:failedVersions:DeletePackageVersionsResponse'
, deletePackageVersionsResponse_failedVersions
- A PackageVersionError
object that contains a map of errors codes for
the deleted package that failed. The possible error codes are:
ALREADY_EXISTS
MISMATCHED_REVISION
MISMATCHED_STATUS
NOT_ALLOWED
NOT_FOUND
SKIPPED
$sel:successfulVersions:DeletePackageVersionsResponse'
, deletePackageVersionsResponse_successfulVersions
- A list of the package versions that were successfully deleted.
$sel:httpStatus:DeletePackageVersionsResponse'
, deletePackageVersionsResponse_httpStatus
- The response's http status code.
DescribeDomain
data DescribeDomain Source #
See: newDescribeDomain
smart constructor.
Instances
Create a value of DescribeDomain
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:DescribeDomain'
, describeDomain_domainOwner
- The 12-digit account number of the AWS account that owns the domain. It
does not include dashes or spaces.
$sel:domain:DescribeDomain'
, describeDomain_domain
- A string that specifies the name of the requested domain.
data DescribeDomainResponse Source #
See: newDescribeDomainResponse
smart constructor.
Instances
newDescribeDomainResponse Source #
Create a value of DescribeDomainResponse
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:domain:DescribeDomain'
, describeDomainResponse_domain
- Undocumented member.
$sel:httpStatus:DescribeDomainResponse'
, describeDomainResponse_httpStatus
- The response's http status code.
DescribePackageVersion
data DescribePackageVersion Source #
See: newDescribePackageVersion
smart constructor.
Instances
newDescribePackageVersion Source #
:: Text | |
-> Text | |
-> PackageFormat | |
-> Text | |
-> Text | |
-> DescribePackageVersion |
Create a value of DescribePackageVersion
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:namespace:DescribePackageVersion'
, describePackageVersion_namespace
- The namespace of the package. The package component that specifies its
namespace depends on its type. For example:
- The namespace of a Maven package is its
groupId
. - The namespace of an npm package is its
scope
. - A Python package does not contain a corresponding component, so Python packages do not have a namespace.
$sel:domainOwner:DescribePackageVersion'
, describePackageVersion_domainOwner
- The 12-digit account number of the AWS account that owns the domain. It
does not include dashes or spaces.
$sel:domain:DescribePackageVersion'
, describePackageVersion_domain
- The name of the domain that contains the repository that contains the
package version.
$sel:repository:DescribePackageVersion'
, describePackageVersion_repository
- The name of the repository that contains the package version.
$sel:format:DescribePackageVersion'
, describePackageVersion_format
- A format that specifies the type of the requested package version. The
valid values are:
npm
pypi
maven
$sel:package:DescribePackageVersion'
, describePackageVersion_package
- The name of the requested package version.
$sel:packageVersion:DescribePackageVersion'
, describePackageVersion_packageVersion
- A string that contains the package version (for example, 3.5.2
).
data DescribePackageVersionResponse Source #
See: newDescribePackageVersionResponse
smart constructor.
Instances
newDescribePackageVersionResponse Source #
Create a value of DescribePackageVersionResponse
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:httpStatus:DescribePackageVersionResponse'
, describePackageVersionResponse_httpStatus
- The response's http status code.
$sel:packageVersion:DescribePackageVersion'
, describePackageVersionResponse_packageVersion
- A
PackageVersionDescription
object that contains information about the requested package version.
TagResource
data TagResource Source #
See: newTagResource
smart constructor.
Instances
Create a value of TagResource
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:resourceArn:TagResource'
, tagResource_resourceArn
- The Amazon Resource Name (ARN) of the resource that you want to add or
update tags for.
$sel:tags:TagResource'
, tagResource_tags
- The tags you want to modify or add to the resource.
data TagResourceResponse Source #
See: newTagResourceResponse
smart constructor.
Instances
newTagResourceResponse Source #
Create a value of TagResourceResponse
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:httpStatus:TagResourceResponse'
, tagResourceResponse_httpStatus
- The response's http status code.
UntagResource
data UntagResource Source #
See: newUntagResource
smart constructor.
Instances
Create a value of UntagResource
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:resourceArn:UntagResource'
, untagResource_resourceArn
- The Amazon Resource Name (ARN) of the resource that you want to remove
tags from.
$sel:tagKeys:UntagResource'
, untagResource_tagKeys
- The tag key for each tag that you want to remove from the resource.
data UntagResourceResponse Source #
See: newUntagResourceResponse
smart constructor.
Instances
newUntagResourceResponse Source #
Create a value of UntagResourceResponse
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:httpStatus:UntagResourceResponse'
, untagResourceResponse_httpStatus
- The response's http status code.
DeleteRepository
data DeleteRepository Source #
See: newDeleteRepository
smart constructor.
Instances
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.
data DeleteRepositoryResponse Source #
See: newDeleteRepositoryResponse
smart constructor.
Instances
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.
UpdateRepository
data UpdateRepository Source #
See: newUpdateRepository
smart constructor.
Instances
Create a value of UpdateRepository
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:upstreams:UpdateRepository'
, updateRepository_upstreams
- A list of upstream repositories to associate with the repository. The
order of the upstream repositories in the list determines their priority
order when AWS CodeArtifact looks for a requested package version. For
more information, see
Working with upstream repositories.
$sel:domainOwner:UpdateRepository'
, updateRepository_domainOwner
- The 12-digit account number of the AWS account that owns the domain. It
does not include dashes or spaces.
$sel:description:UpdateRepository'
, updateRepository_description
- An updated repository description.
$sel:domain:UpdateRepository'
, updateRepository_domain
- The name of the domain associated with the repository to update.
$sel:repository:UpdateRepository'
, updateRepository_repository
- The name of the repository to update.
data UpdateRepositoryResponse Source #
See: newUpdateRepositoryResponse
smart constructor.
Instances
newUpdateRepositoryResponse Source #
Create a value of UpdateRepositoryResponse
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:UpdateRepository'
, updateRepositoryResponse_repository
- The updated repository.
$sel:httpStatus:UpdateRepositoryResponse'
, updateRepositoryResponse_httpStatus
- The response's http status code.
CopyPackageVersions
data CopyPackageVersions Source #
See: newCopyPackageVersions
smart constructor.
CopyPackageVersions' (Maybe Bool) (Maybe (HashMap Text Text)) (Maybe Text) (Maybe Text) (Maybe [Text]) (Maybe Bool) Text Text Text PackageFormat Text |
Instances
newCopyPackageVersions Source #
:: Text | |
-> Text | |
-> Text | |
-> PackageFormat | |
-> Text | |
-> CopyPackageVersions |
Create a value of CopyPackageVersions
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:allowOverwrite:CopyPackageVersions'
, copyPackageVersions_allowOverwrite
- Set to true to overwrite a package version that already exists in the
destination repository. If set to false and the package version already
exists in the destination repository, the package version is returned in
the failedVersions
field of the response with an ALREADY_EXISTS
error code.
$sel:versionRevisions:CopyPackageVersions'
, copyPackageVersions_versionRevisions
- A list of key-value pairs. The keys are package versions and the values
are package version revisions. A CopyPackageVersion
operation succeeds
if the specified versions in the source repository match the specified
package version revision.
You must specify versions
or versionRevisions
. You cannot specify
both.
$sel:namespace:CopyPackageVersions'
, copyPackageVersions_namespace
- The namespace of the package. The package component that specifies its
namespace depends on its type. For example:
- The namespace of a Maven package is its
groupId
. - The namespace of an npm package is its
scope
. - A Python package does not contain a corresponding component, so Python packages do not have a namespace.
$sel:domainOwner:CopyPackageVersions'
, copyPackageVersions_domainOwner
- The 12-digit account number of the AWS account that owns the domain. It
does not include dashes or spaces.
$sel:versions:CopyPackageVersions'
, copyPackageVersions_versions
- The versions of the package to copy.
You must specify versions
or versionRevisions
. You cannot specify
both.
$sel:includeFromUpstream:CopyPackageVersions'
, copyPackageVersions_includeFromUpstream
- Set to true to copy packages from repositories that are upstream from
the source repository to the destination repository. The default setting
is false. For more information, see
Working with upstream repositories.
$sel:domain:CopyPackageVersions'
, copyPackageVersions_domain
- The name of the domain that contains the source and destination
repositories.
$sel:sourceRepository:CopyPackageVersions'
, copyPackageVersions_sourceRepository
- The name of the repository that contains the package versions to copy.
$sel:destinationRepository:CopyPackageVersions'
, copyPackageVersions_destinationRepository
- The name of the repository into which package versions are copied.
$sel:format:CopyPackageVersions'
, copyPackageVersions_format
- The format of the package that is copied. The valid package types are:
npm
: A Node Package Manager (npm) package.pypi
: A Python Package Index (PyPI) package.maven
: A Maven package that contains compiled code in a distributable format, such as a JAR file.
$sel:package:CopyPackageVersions'
, copyPackageVersions_package
- The name of the package that is copied.
data CopyPackageVersionsResponse Source #
See: newCopyPackageVersionsResponse
smart constructor.
CopyPackageVersionsResponse' (Maybe (HashMap Text PackageVersionError)) (Maybe (HashMap Text SuccessfulPackageVersionInfo)) Int |
Instances
newCopyPackageVersionsResponse Source #
Create a value of CopyPackageVersionsResponse
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:failedVersions:CopyPackageVersionsResponse'
, copyPackageVersionsResponse_failedVersions
- A map of package versions that failed to copy and their error codes. The
possible error codes are in the PackageVersionError
data type. They
are:
ALREADY_EXISTS
MISMATCHED_REVISION
MISMATCHED_STATUS
NOT_ALLOWED
NOT_FOUND
SKIPPED
$sel:successfulVersions:CopyPackageVersionsResponse'
, copyPackageVersionsResponse_successfulVersions
- A list of the package versions that were successfully copied to your
repository.
$sel:httpStatus:CopyPackageVersionsResponse'
, copyPackageVersionsResponse_httpStatus
- The response's http status code.
GetAuthorizationToken
data GetAuthorizationToken Source #
See: newGetAuthorizationToken
smart constructor.
Instances
newGetAuthorizationToken Source #
Create a value of GetAuthorizationToken
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:GetAuthorizationToken'
, getAuthorizationToken_domainOwner
- The 12-digit account number of the AWS account that owns the domain. It
does not include dashes or spaces.
$sel:durationSeconds:GetAuthorizationToken'
, getAuthorizationToken_durationSeconds
- The time, in seconds, that the generated authorization token is valid.
Valid values are 0
and any number between 900
(15 minutes) and
43200
(12 hours). A value of 0
will set the expiration of the
authorization token to the same expiration of the user's role's
temporary credentials.
$sel:domain:GetAuthorizationToken'
, getAuthorizationToken_domain
- The name of the domain that is in scope for the generated authorization
token.
data GetAuthorizationTokenResponse Source #
See: newGetAuthorizationTokenResponse
smart constructor.
Instances
newGetAuthorizationTokenResponse Source #
Create a value of GetAuthorizationTokenResponse
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:expiration:GetAuthorizationTokenResponse'
, getAuthorizationTokenResponse_expiration
- A timestamp that specifies the date and time the authorization token
expires.
$sel:authorizationToken:GetAuthorizationTokenResponse'
, getAuthorizationTokenResponse_authorizationToken
- The returned authentication token.
$sel:httpStatus:GetAuthorizationTokenResponse'
, getAuthorizationTokenResponse_httpStatus
- The response's http status code.
DisassociateExternalConnection
data DisassociateExternalConnection Source #
See: newDisassociateExternalConnection
smart constructor.
Instances
newDisassociateExternalConnection Source #
:: Text | |
-> Text | |
-> Text | |
-> DisassociateExternalConnection |
Create a value of DisassociateExternalConnection
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:DisassociateExternalConnection'
, disassociateExternalConnection_domainOwner
- The 12-digit account number of the AWS account that owns the domain. It
does not include dashes or spaces.
$sel:domain:DisassociateExternalConnection'
, disassociateExternalConnection_domain
- The name of the domain that contains the repository from which to remove
the external repository.
$sel:repository:DisassociateExternalConnection'
, disassociateExternalConnection_repository
- The name of the repository from which the external connection will be
removed.
$sel:externalConnection:DisassociateExternalConnection'
, disassociateExternalConnection_externalConnection
- The name of the external connection to be removed from the repository.
data DisassociateExternalConnectionResponse Source #
See: newDisassociateExternalConnectionResponse
smart constructor.
Instances
newDisassociateExternalConnectionResponse Source #
Create a value of DisassociateExternalConnectionResponse
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:DisassociateExternalConnection'
, disassociateExternalConnectionResponse_repository
- The repository associated with the removed external connection.
$sel:httpStatus:DisassociateExternalConnectionResponse'
, disassociateExternalConnectionResponse_httpStatus
- The response's http status code.
DeleteDomain
data DeleteDomain Source #
See: newDeleteDomain
smart constructor.
Instances
Create a value of DeleteDomain
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:DeleteDomain'
, deleteDomain_domainOwner
- The 12-digit account number of the AWS account that owns the domain. It
does not include dashes or spaces.
$sel:domain:DeleteDomain'
, deleteDomain_domain
- The name of the domain to delete.
data DeleteDomainResponse Source #
See: newDeleteDomainResponse
smart constructor.
Instances
newDeleteDomainResponse Source #
Create a value of DeleteDomainResponse
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:domain:DeleteDomain'
, deleteDomainResponse_domain
- Contains information about the deleted domain after processing the
request.
$sel:httpStatus:DeleteDomainResponse'
, deleteDomainResponse_httpStatus
- The response's http status code.
ListDomains (Paginated)
data ListDomains Source #
See: newListDomains
smart constructor.
Instances
newListDomains :: ListDomains Source #
Create a value of ListDomains
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:nextToken:ListDomains'
, listDomains_nextToken
- The token for the next set of results. Use the value returned in the
previous response in the next request to retrieve the next set of
results.
$sel:maxResults:ListDomains'
, listDomains_maxResults
- The maximum number of results to return per page.
data ListDomainsResponse Source #
See: newListDomainsResponse
smart constructor.
Instances
newListDomainsResponse Source #
Create a value of ListDomainsResponse
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:nextToken:ListDomains'
, listDomainsResponse_nextToken
- The token for the next set of results. Use the value returned in the
previous response in the next request to retrieve the next set of
results.
$sel:domains:ListDomainsResponse'
, listDomainsResponse_domains
- The returned list of
DomainSummary
objects.
$sel:httpStatus:ListDomainsResponse'
, listDomainsResponse_httpStatus
- The response's http status code.
ListPackageVersions (Paginated)
data ListPackageVersions Source #
See: newListPackageVersions
smart constructor.
ListPackageVersions' (Maybe PackageVersionStatus) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Natural) (Maybe PackageVersionSortType) Text Text PackageFormat Text |
Instances
newListPackageVersions Source #
:: Text | |
-> Text | |
-> PackageFormat | |
-> Text | |
-> ListPackageVersions |
Create a value of ListPackageVersions
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:status:ListPackageVersions'
, listPackageVersions_status
- A string that specifies the status of the package versions to include in
the returned list. It can be one of the following:
Published
Unfinished
Unlisted
Archived
Disposed
$sel:namespace:ListPackageVersions'
, listPackageVersions_namespace
- The namespace of the package. The package component that specifies its
namespace depends on its type. For example:
- The namespace of a Maven package is its
groupId
. - The namespace of an npm package is its
scope
. - A Python package does not contain a corresponding component, so Python packages do not have a namespace.
$sel:domainOwner:ListPackageVersions'
, listPackageVersions_domainOwner
- The 12-digit account number of the AWS account that owns the domain. It
does not include dashes or spaces.
$sel:nextToken:ListPackageVersions'
, listPackageVersions_nextToken
- The token for the next set of results. Use the value returned in the
previous response in the next request to retrieve the next set of
results.
$sel:maxResults:ListPackageVersions'
, listPackageVersions_maxResults
- The maximum number of results to return per page.
$sel:sortBy:ListPackageVersions'
, listPackageVersions_sortBy
- How to sort the returned list of package versions.
$sel:domain:ListPackageVersions'
, listPackageVersions_domain
- The name of the domain that contains the repository that contains the
returned package versions.
$sel:repository:ListPackageVersions'
, listPackageVersions_repository
- The name of the repository that contains the package.
$sel:format:ListPackageVersions'
, listPackageVersions_format
- The format of the returned packages. The valid package types are:
npm
: A Node Package Manager (npm) package.pypi
: A Python Package Index (PyPI) package.maven
: A Maven package that contains compiled code in a distributable format, such as a JAR file.
$sel:package:ListPackageVersions'
, listPackageVersions_package
- The name of the package for which you want to return a list of package
versions.
data ListPackageVersionsResponse Source #
See: newListPackageVersionsResponse
smart constructor.
ListPackageVersionsResponse' (Maybe PackageFormat) (Maybe Text) (Maybe [PackageVersionSummary]) (Maybe Text) (Maybe Text) (Maybe Text) Int |
Instances
newListPackageVersionsResponse Source #
Create a value of ListPackageVersionsResponse
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:format:ListPackageVersions'
, listPackageVersionsResponse_format
- A format of the package. Valid package format values are:
npm
pypi
maven
$sel:namespace:ListPackageVersions'
, listPackageVersionsResponse_namespace
- The namespace of the package. The package component that specifies its
namespace depends on its type. For example:
- The namespace of a Maven package is its
groupId
. - The namespace of an npm package is its
scope
. - A Python package does not contain a corresponding component, so Python packages do not have a namespace.
$sel:versions:ListPackageVersionsResponse'
, listPackageVersionsResponse_versions
- The returned list of
PackageVersionSummary
objects.
$sel:nextToken:ListPackageVersions'
, listPackageVersionsResponse_nextToken
- If there are additional results, this is the token for the next set of
results.
$sel:package:ListPackageVersions'
, listPackageVersionsResponse_package
- The name of the package.
$sel:defaultDisplayVersion:ListPackageVersionsResponse'
, listPackageVersionsResponse_defaultDisplayVersion
- The default package version to display. This depends on the package
format:
- For Maven and PyPI packages, it's the most recently published package version.
- For npm packages, it's the version referenced by the
latest
tag. If thelatest
tag is not set, it's the most recently published package version.
$sel:httpStatus:ListPackageVersionsResponse'
, listPackageVersionsResponse_httpStatus
- The response's http status code.
ListPackageVersionAssets (Paginated)
data ListPackageVersionAssets Source #
See: newListPackageVersionAssets
smart constructor.
ListPackageVersionAssets' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Natural) Text Text PackageFormat Text Text |
Instances
newListPackageVersionAssets Source #
:: Text | |
-> Text | |
-> PackageFormat | |
-> Text | |
-> Text | |
-> ListPackageVersionAssets |
Create a value of ListPackageVersionAssets
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:namespace:ListPackageVersionAssets'
, listPackageVersionAssets_namespace
- The namespace of the package. The package component that specifies its
namespace depends on its type. For example:
- The namespace of a Maven package is its
groupId
. - The namespace of an npm package is its
scope
. - A Python package does not contain a corresponding component, so Python packages do not have a namespace.
$sel:domainOwner:ListPackageVersionAssets'
, listPackageVersionAssets_domainOwner
- The 12-digit account number of the AWS account that owns the domain. It
does not include dashes or spaces.
$sel:nextToken:ListPackageVersionAssets'
, listPackageVersionAssets_nextToken
- The token for the next set of results. Use the value returned in the
previous response in the next request to retrieve the next set of
results.
$sel:maxResults:ListPackageVersionAssets'
, listPackageVersionAssets_maxResults
- The maximum number of results to return per page.
$sel:domain:ListPackageVersionAssets'
, listPackageVersionAssets_domain
- The name of the domain that contains the repository associated with the
package version assets.
$sel:repository:ListPackageVersionAssets'
, listPackageVersionAssets_repository
- The name of the repository that contains the package that contains the
returned package version assets.
$sel:format:ListPackageVersionAssets'
, listPackageVersionAssets_format
- The format of the package that contains the returned package version
assets. The valid package types are:
npm
: A Node Package Manager (npm) package.pypi
: A Python Package Index (PyPI) package.maven
: A Maven package that contains compiled code in a distributable format, such as a JAR file.
$sel:package:ListPackageVersionAssets'
, listPackageVersionAssets_package
- The name of the package that contains the returned package version
assets.
$sel:packageVersion:ListPackageVersionAssets'
, listPackageVersionAssets_packageVersion
- A string that contains the package version (for example, 3.5.2
).
data ListPackageVersionAssetsResponse Source #
See: newListPackageVersionAssetsResponse
smart constructor.
ListPackageVersionAssetsResponse' (Maybe PackageFormat) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe [AssetSummary]) Int |
Instances
newListPackageVersionAssetsResponse Source #
Create a value of ListPackageVersionAssetsResponse
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:format:ListPackageVersionAssets'
, listPackageVersionAssetsResponse_format
- The format of the package that contains the returned package version
assets.
$sel:namespace:ListPackageVersionAssets'
, listPackageVersionAssetsResponse_namespace
- The namespace of the package. The package component that specifies its
namespace depends on its type. For example:
- The namespace of a Maven package is its
groupId
. - The namespace of an npm package is its
scope
. - A Python package does not contain a corresponding component, so Python packages do not have a namespace.
$sel:versionRevision:ListPackageVersionAssetsResponse'
, listPackageVersionAssetsResponse_versionRevision
- The current revision associated with the package version.
$sel:nextToken:ListPackageVersionAssets'
, listPackageVersionAssetsResponse_nextToken
- If there are additional results, this is the token for the next set of
results.
$sel:version:ListPackageVersionAssetsResponse'
, listPackageVersionAssetsResponse_version
- The version of the package associated with the returned assets.
$sel:package:ListPackageVersionAssets'
, listPackageVersionAssetsResponse_package
- The name of the package that contains the returned package version
assets.
$sel:assets:ListPackageVersionAssetsResponse'
, listPackageVersionAssetsResponse_assets
- The returned list of
AssetSummary
objects.
$sel:httpStatus:ListPackageVersionAssetsResponse'
, listPackageVersionAssetsResponse_httpStatus
- The response's http status code.
Types
DomainStatus
newtype DomainStatus Source #
pattern DomainStatus_Active :: DomainStatus | |
pattern DomainStatus_Deleted :: DomainStatus |
Instances
ExternalConnectionStatus
newtype ExternalConnectionStatus Source #
Instances
HashAlgorithm
newtype HashAlgorithm Source #
pattern HashAlgorithm_MD5 :: HashAlgorithm | |
pattern HashAlgorithm_SHA_1 :: HashAlgorithm | |
pattern HashAlgorithm_SHA_256 :: HashAlgorithm | |
pattern HashAlgorithm_SHA_512 :: HashAlgorithm |
Instances
PackageFormat
newtype PackageFormat Source #
pattern PackageFormat_Maven :: PackageFormat | |
pattern PackageFormat_Npm :: PackageFormat | |
pattern PackageFormat_Nuget :: PackageFormat | |
pattern PackageFormat_Pypi :: PackageFormat |
Instances
PackageVersionErrorCode
newtype PackageVersionErrorCode Source #
Instances
PackageVersionSortType
newtype PackageVersionSortType Source #
Instances
PackageVersionStatus
newtype PackageVersionStatus Source #
pattern PackageVersionStatus_Archived :: PackageVersionStatus | |
pattern PackageVersionStatus_Deleted :: PackageVersionStatus | |
pattern PackageVersionStatus_Disposed :: PackageVersionStatus | |
pattern PackageVersionStatus_Published :: PackageVersionStatus | |
pattern PackageVersionStatus_Unfinished :: PackageVersionStatus | |
pattern PackageVersionStatus_Unlisted :: PackageVersionStatus |
Instances
AssetSummary
data AssetSummary Source #
Contains details about a package version asset.
See: newAssetSummary
smart constructor.
Instances
Create a value of AssetSummary
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:size:AssetSummary'
, assetSummary_size
- The size of the asset.
$sel:hashes:AssetSummary'
, assetSummary_hashes
- The hashes of the asset.
$sel:name:AssetSummary'
, assetSummary_name
- The name of the asset.
DomainDescription
data DomainDescription Source #
Information about a domain. A domain is a container for repositories. When you create a domain, it is empty until you add one or more repositories.
See: newDomainDescription
smart constructor.
DomainDescription' (Maybe Integer) (Maybe DomainStatus) (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe Int) (Maybe Text) (Maybe Text) |
Instances
newDomainDescription :: DomainDescription Source #
Create a value of DomainDescription
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:assetSizeBytes:DomainDescription'
, domainDescription_assetSizeBytes
- The total size of all assets in the domain.
$sel:status:DomainDescription'
, domainDescription_status
- The current status of a domain. The valid values are
Active
Deleted
$sel:arn:DomainDescription'
, domainDescription_arn
- The Amazon Resource Name (ARN) of the domain.
$sel:createdTime:DomainDescription'
, domainDescription_createdTime
- A timestamp that represents the date and time the domain was created.
$sel:s3BucketArn:DomainDescription'
, domainDescription_s3BucketArn
- The Amazon Resource Name (ARN) of the Amazon S3 bucket that is used to
store package assets in the domain.
$sel:owner:DomainDescription'
, domainDescription_owner
- The AWS account ID that owns the domain.
$sel:repositoryCount:DomainDescription'
, domainDescription_repositoryCount
- The number of repositories in the domain.
$sel:name:DomainDescription'
, domainDescription_name
- The name of the domain.
$sel:encryptionKey:DomainDescription'
, domainDescription_encryptionKey
- The ARN of an AWS Key Management Service (AWS KMS) key associated with a
domain.
DomainSummary
data DomainSummary Source #
Information about a domain, including its name, Amazon Resource Name
(ARN), and status. The
ListDomains
operation returns a list of DomainSummary
objects.
See: newDomainSummary
smart constructor.
DomainSummary' (Maybe DomainStatus) (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe Text) |
Instances
newDomainSummary :: DomainSummary Source #
Create a value of DomainSummary
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:status:DomainSummary'
, domainSummary_status
- A string that contains the status of the domain. The valid values are:
Active
Deleted
$sel:arn:DomainSummary'
, domainSummary_arn
- The ARN of the domain.
$sel:createdTime:DomainSummary'
, domainSummary_createdTime
- A timestamp that contains the date and time the domain was created.
$sel:owner:DomainSummary'
, domainSummary_owner
- The 12-digit account number of the AWS account that owns the domain. It
does not include dashes or spaces.
$sel:name:DomainSummary'
, domainSummary_name
- The name of the domain.
$sel:encryptionKey:DomainSummary'
, domainSummary_encryptionKey
- The key used to encrypt the domain.
LicenseInfo
data LicenseInfo Source #
Details of the license data.
See: newLicenseInfo
smart constructor.
LicenseInfo' (Maybe Text) (Maybe Text) |
Instances
newLicenseInfo :: LicenseInfo Source #
Create a value of LicenseInfo
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:url:LicenseInfo'
, licenseInfo_url
- The URL for license data.
$sel:name:LicenseInfo'
, licenseInfo_name
- Name of the license.
PackageDependency
data PackageDependency Source #
Details about a package dependency.
See: newPackageDependency
smart constructor.
Instances
newPackageDependency :: PackageDependency Source #
Create a value of PackageDependency
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:dependencyType:PackageDependency'
, packageDependency_dependencyType
- The type of a package dependency. The possible values depend on the
package type. Example types are compile
, runtime
, and test
for
Maven packages, and dev
, prod
, and optional
for npm packages.
$sel:namespace:PackageDependency'
, packageDependency_namespace
- The namespace of the package. The package component that specifies its
namespace depends on its type. For example:
- The namespace of a Maven package is its
groupId
. - The namespace of an npm package is its
scope
. - A Python package does not contain a corresponding component, so Python packages do not have a namespace.
$sel:package:PackageDependency'
, packageDependency_package
- The name of the package that this package depends on.
$sel:versionRequirement:PackageDependency'
, packageDependency_versionRequirement
- The required version, or version range, of the package that this package
depends on. The version format is specific to the package type. For
example, the following are possible valid required versions: 1.2.3
,
^2.3.4
, or 4.x
.
PackageSummary
data PackageSummary Source #
Details about a package, including its format, namespace, and name. The
ListPackages
operation returns a list of PackageSummary
objects.
See: newPackageSummary
smart constructor.
Instances
newPackageSummary :: PackageSummary Source #
Create a value of PackageSummary
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:format:PackageSummary'
, packageSummary_format
- The format of the package. Valid values are:
npm
pypi
maven
$sel:namespace:PackageSummary'
, packageSummary_namespace
- The namespace of the package. The package component that specifies its
namespace depends on its type. For example:
- The namespace of a Maven package is its
groupId
. - The namespace of an npm package is its
scope
. - A Python package does not contain a corresponding component, so Python packages do not have a namespace.
$sel:package:PackageSummary'
, packageSummary_package
- The name of the package.
PackageVersionDescription
data PackageVersionDescription Source #
Details about a package version.
See: newPackageVersionDescription
smart constructor.
PackageVersionDescription' (Maybe Text) (Maybe Text) (Maybe PackageVersionStatus) (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe PackageFormat) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe [LicenseInfo]) (Maybe Text) |
Instances
newPackageVersionDescription :: PackageVersionDescription Source #
Create a value of PackageVersionDescription
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:summary:PackageVersionDescription'
, packageVersionDescription_summary
- A summary of the package version. The summary is extracted from the
package. The information in and detail level of the summary depends on
the package version's format.
$sel:homePage:PackageVersionDescription'
, packageVersionDescription_homePage
- The homepage associated with the package.
$sel:status:PackageVersionDescription'
, packageVersionDescription_status
- A string that contains the status of the package version. It can be one
of the following:
Published
Unfinished
Unlisted
Archived
Disposed
$sel:sourceCodeRepository:PackageVersionDescription'
, packageVersionDescription_sourceCodeRepository
- The repository for the source code in the package version, or the source
code used to build it.
$sel:packageName:PackageVersionDescription'
, packageVersionDescription_packageName
- The name of the requested package.
$sel:publishedTime:PackageVersionDescription'
, packageVersionDescription_publishedTime
- A timestamp that contains the date and time the package version was
published.
$sel:format:PackageVersionDescription'
, packageVersionDescription_format
- The format of the package version. The valid package formats are:
npm
: A Node Package Manager (npm) package.pypi
: A Python Package Index (PyPI) package.maven
: A Maven package that contains compiled code in a distributable format, such as a JAR file.
$sel:namespace:PackageVersionDescription'
, packageVersionDescription_namespace
- The namespace of the package. The package component that specifies its
namespace depends on its type. For example:
- The namespace of a Maven package is its
groupId
. - The namespace of an npm package is its
scope
. - A Python package does not contain a corresponding component, so Python packages do not have a namespace.
$sel:version:PackageVersionDescription'
, packageVersionDescription_version
- The version of the package.
$sel:displayName:PackageVersionDescription'
, packageVersionDescription_displayName
- The name of the package that is displayed. The displayName
varies
depending on the package version's format. For example, if an npm
package is named ui
, is in the namespace vue
, and has the format
npm
, then the displayName
is @vue/ui
.
$sel:licenses:PackageVersionDescription'
, packageVersionDescription_licenses
- Information about licenses associated with the package version.
$sel:revision:PackageVersionDescription'
, packageVersionDescription_revision
- The revision of the package version.
PackageVersionError
data PackageVersionError Source #
An error associated with package.
See: newPackageVersionError
smart constructor.
Instances
newPackageVersionError :: PackageVersionError Source #
Create a value of PackageVersionError
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:errorCode:PackageVersionError'
, packageVersionError_errorCode
- The error code associated with the error. Valid error codes are:
ALREADY_EXISTS
MISMATCHED_REVISION
MISMATCHED_STATUS
NOT_ALLOWED
NOT_FOUND
SKIPPED
$sel:errorMessage:PackageVersionError'
, packageVersionError_errorMessage
- The error message associated with the error.
PackageVersionSummary
data PackageVersionSummary Source #
Details about a package version, including its status, version, and
revision. The
ListPackageVersions
operation returns a list of PackageVersionSummary
objects.
See: newPackageVersionSummary
smart constructor.
Instances
newPackageVersionSummary Source #
Create a value of PackageVersionSummary
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:revision:PackageVersionSummary'
, packageVersionSummary_revision
- The revision associated with a package version.
$sel:version:PackageVersionSummary'
, packageVersionSummary_version
- Information about a package version.
$sel:status:PackageVersionSummary'
, packageVersionSummary_status
- A string that contains the status of the package version. It can be one
of the following:
Published
Unfinished
Unlisted
Archived
Disposed
RepositoryDescription
data RepositoryDescription Source #
The details of a repository stored in AWS CodeArtifact. A CodeArtifact
repository contains a set of package versions, each of which maps to a
set of assets. Repositories are polyglot—a single repository can contain
packages of any supported type. Each repository exposes endpoints for
fetching and publishing packages using tools like the npm
CLI, the
Maven CLI (mvn
), and pip
. You can create up to 100 repositories per
AWS account.
See: newRepositoryDescription
smart constructor.
RepositoryDescription' (Maybe [UpstreamRepositoryInfo]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe [RepositoryExternalConnectionInfo]) (Maybe Text) |
Instances
newRepositoryDescription :: RepositoryDescription Source #
Create a value of RepositoryDescription
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:upstreams:RepositoryDescription'
, repositoryDescription_upstreams
- A list of upstream repositories to associate with the repository. The
order of the upstream repositories in the list determines their priority
order when AWS CodeArtifact looks for a requested package version. For
more information, see
Working with upstream repositories.
$sel:arn:RepositoryDescription'
, repositoryDescription_arn
- The Amazon Resource Name (ARN) of the repository.
$sel:domainOwner:RepositoryDescription'
, repositoryDescription_domainOwner
- The 12-digit account number of the AWS account that owns the domain that
contains the repository. It does not include dashes or spaces.
$sel:domainName:RepositoryDescription'
, repositoryDescription_domainName
- The name of the domain that contains the repository.
$sel:name:RepositoryDescription'
, repositoryDescription_name
- The name of the repository.
$sel:administratorAccount:RepositoryDescription'
, repositoryDescription_administratorAccount
- The 12-digit account number of the AWS account that manages the
repository.
$sel:externalConnections:RepositoryDescription'
, repositoryDescription_externalConnections
- An array of external connections associated with the repository.
$sel:description:RepositoryDescription'
, repositoryDescription_description
- A text description of the repository.
RepositoryExternalConnectionInfo
data RepositoryExternalConnectionInfo Source #
Contains information about the external connection of a repository.
See: newRepositoryExternalConnectionInfo
smart constructor.
RepositoryExternalConnectionInfo' (Maybe Text) (Maybe ExternalConnectionStatus) (Maybe PackageFormat) |
Instances
newRepositoryExternalConnectionInfo :: RepositoryExternalConnectionInfo Source #
Create a value of RepositoryExternalConnectionInfo
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:externalConnectionName:RepositoryExternalConnectionInfo'
, repositoryExternalConnectionInfo_externalConnectionName
- The name of the external connection associated with a repository.
$sel:status:RepositoryExternalConnectionInfo'
, repositoryExternalConnectionInfo_status
- The status of the external connection of a repository. There is one
valid value, Available
.
$sel:packageFormat:RepositoryExternalConnectionInfo'
, repositoryExternalConnectionInfo_packageFormat
- The package format associated with a repository's external connection.
The valid package formats are:
npm
: A Node Package Manager (npm) package.pypi
: A Python Package Index (PyPI) package.maven
: A Maven package that contains compiled code in a distributable format, such as a JAR file.
RepositorySummary
data RepositorySummary Source #
Details about a repository, including its Amazon Resource Name (ARN),
description, and domain information. The
ListRepositories
operation returns a list of RepositorySummary
objects.
See: newRepositorySummary
smart constructor.
Instances
newRepositorySummary :: RepositorySummary Source #
Create a value of RepositorySummary
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:arn:RepositorySummary'
, repositorySummary_arn
- The ARN of the repository.
$sel:domainOwner:RepositorySummary'
, repositorySummary_domainOwner
- The 12-digit account number of the AWS account that owns the domain. It
does not include dashes or spaces.
$sel:domainName:RepositorySummary'
, repositorySummary_domainName
- The name of the domain that contains the repository.
$sel:name:RepositorySummary'
, repositorySummary_name
- The name of the repository.
$sel:administratorAccount:RepositorySummary'
, repositorySummary_administratorAccount
- The AWS account ID that manages the repository.
$sel:description:RepositorySummary'
, repositorySummary_description
- The description of the repository.
ResourcePolicy
data ResourcePolicy Source #
An AWS CodeArtifact resource policy that contains a resource ARN, document details, and a revision.
See: newResourcePolicy
smart constructor.
Instances
newResourcePolicy :: ResourcePolicy Source #
Create a value of ResourcePolicy
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:resourceArn:ResourcePolicy'
, resourcePolicy_resourceArn
- The ARN of the resource associated with the resource policy
$sel:document:ResourcePolicy'
, resourcePolicy_document
- The resource policy formatted in JSON.
$sel:revision:ResourcePolicy'
, resourcePolicy_revision
- The current revision of the resource policy.
SuccessfulPackageVersionInfo
data SuccessfulPackageVersionInfo Source #
Contains the revision and status of a package version.
See: newSuccessfulPackageVersionInfo
smart constructor.
Instances
newSuccessfulPackageVersionInfo :: SuccessfulPackageVersionInfo Source #
Create a value of SuccessfulPackageVersionInfo
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:status:SuccessfulPackageVersionInfo'
, successfulPackageVersionInfo_status
- The status of a package version. Valid statuses are:
Published
Unfinished
Unlisted
Archived
Disposed
$sel:revision:SuccessfulPackageVersionInfo'
, successfulPackageVersionInfo_revision
- The revision of a package version.
Tag
A tag is a key-value pair that can be used to manage, search for, or filter resources in AWS CodeArtifact.
See: newTag
smart constructor.
Instances
Eq Tag Source # | |
Read Tag Source # | |
Show Tag Source # | |
Generic Tag Source # | |
NFData Tag Source # | |
Defined in Amazonka.CodeArtifact.Types.Tag | |
Hashable Tag Source # | |
Defined in Amazonka.CodeArtifact.Types.Tag | |
ToJSON Tag Source # | |
Defined in Amazonka.CodeArtifact.Types.Tag | |
FromJSON Tag Source # | |
type Rep Tag Source # | |
Defined in Amazonka.CodeArtifact.Types.Tag type Rep Tag = D1 ('MetaData "Tag" "Amazonka.CodeArtifact.Types.Tag" "libZSservicesZSamazonka-codeartifactZSamazonka-codeartifact" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
Create a value of Tag
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:key:Tag'
, tag_key
- The tag key.
$sel:value:Tag'
, tag_value
- The tag value.
UpstreamRepository
data UpstreamRepository Source #
Information about an upstream repository. A list of UpstreamRepository
objects is an input parameter to
CreateRepository
and
UpdateRepository.
See: newUpstreamRepository
smart constructor.
Instances
newUpstreamRepository Source #
Create a value of UpstreamRepository
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:UpstreamRepository'
, upstreamRepository_repositoryName
- The name of an upstream repository.
UpstreamRepositoryInfo
data UpstreamRepositoryInfo Source #
Information about an upstream repository.
See: newUpstreamRepositoryInfo
smart constructor.
Instances
newUpstreamRepositoryInfo :: UpstreamRepositoryInfo Source #
Create a value of UpstreamRepositoryInfo
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:UpstreamRepositoryInfo'
, upstreamRepositoryInfo_repositoryName
- The name of an upstream repository.