Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
- Service Configuration
- Errors
- Waiters
- Operations
- AssociateExternalConnection
- CopyPackageVersions
- CreateDomain
- CreateRepository
- DeleteDomain
- DeleteDomainPermissionsPolicy
- DeletePackageVersions
- DeleteRepository
- DeleteRepositoryPermissionsPolicy
- DescribeDomain
- DescribePackage
- DescribePackageVersion
- DescribeRepository
- DisassociateExternalConnection
- DisposePackageVersions
- GetAuthorizationToken
- GetDomainPermissionsPolicy
- GetPackageVersionAsset
- GetPackageVersionReadme
- GetRepositoryEndpoint
- GetRepositoryPermissionsPolicy
- ListDomains (Paginated)
- ListPackageVersionAssets (Paginated)
- ListPackageVersionDependencies
- ListPackageVersions (Paginated)
- ListPackages (Paginated)
- ListRepositories (Paginated)
- ListRepositoriesInDomain (Paginated)
- ListTagsForResource
- PutDomainPermissionsPolicy
- PutPackageOriginConfiguration
- PutRepositoryPermissionsPolicy
- TagResource
- UntagResource
- UpdatePackageVersionsStatus
- UpdateRepository
- Types
- AllowPublish
- AllowUpstream
- DomainStatus
- ExternalConnectionStatus
- HashAlgorithm
- PackageFormat
- PackageVersionErrorCode
- PackageVersionOriginType
- PackageVersionSortType
- PackageVersionStatus
- AssetSummary
- DomainDescription
- DomainEntryPoint
- DomainSummary
- LicenseInfo
- PackageDependency
- PackageDescription
- PackageOriginConfiguration
- PackageOriginRestrictions
- PackageSummary
- PackageVersionDescription
- PackageVersionError
- PackageVersionOrigin
- 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.
CodeArtifact is a fully managed artifact repository compatible with language-native package managers and build tools such as npm, Apache Maven, pip, and dotnet. 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.
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
), Python CLIs (pip
andtwine
), and NuGet CLIs (nuget
anddotnet
). 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 Key Management Service (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, Maven, and NuGet 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.DescribePackage
: Returns a PackageDescription object that contains details about a package.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:maven
npm
nuget
pypi
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 Amazon Web Services account that called this method.ListRepositoriesInDomain
: Returns a list of the repositories in a domain.PutDomainPermissionsPolicy
: Attaches a resource policy to a domain.PutPackageOriginConfiguration
: Sets the package origin configuration for a package, which determine how new versions of the package can be added to a specific repository.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
- _AccessDeniedException :: AsError a => Fold a ServiceError
- _ConflictException :: AsError a => Fold a ServiceError
- _InternalServerException :: AsError a => Fold a ServiceError
- _ResourceNotFoundException :: AsError a => Fold a ServiceError
- _ServiceQuotaExceededException :: AsError a => Fold a ServiceError
- _ThrottlingException :: AsError a => Fold a ServiceError
- _ValidationException :: AsError a => Fold a ServiceError
- data AssociateExternalConnection = AssociateExternalConnection' (Maybe Text) Text Text Text
- newAssociateExternalConnection :: Text -> Text -> Text -> AssociateExternalConnection
- data AssociateExternalConnectionResponse = AssociateExternalConnectionResponse' (Maybe RepositoryDescription) Int
- newAssociateExternalConnectionResponse :: Int -> AssociateExternalConnectionResponse
- data CopyPackageVersions = CopyPackageVersions' (Maybe Bool) (Maybe Text) (Maybe Bool) (Maybe Text) (Maybe (HashMap Text Text)) (Maybe [Text]) 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 CreateDomain = CreateDomain' (Maybe Text) (Maybe [Tag]) Text
- newCreateDomain :: Text -> CreateDomain
- data CreateDomainResponse = CreateDomainResponse' (Maybe DomainDescription) Int
- newCreateDomainResponse :: Int -> CreateDomainResponse
- data CreateRepository = CreateRepository' (Maybe Text) (Maybe Text) (Maybe [Tag]) (Maybe [UpstreamRepository]) Text Text
- newCreateRepository :: Text -> Text -> CreateRepository
- data CreateRepositoryResponse = CreateRepositoryResponse' (Maybe RepositoryDescription) Int
- newCreateRepositoryResponse :: Int -> CreateRepositoryResponse
- data DeleteDomain = DeleteDomain' (Maybe Text) Text
- newDeleteDomain :: Text -> DeleteDomain
- data DeleteDomainResponse = DeleteDomainResponse' (Maybe DomainDescription) Int
- newDeleteDomainResponse :: Int -> DeleteDomainResponse
- data DeleteDomainPermissionsPolicy = DeleteDomainPermissionsPolicy' (Maybe Text) (Maybe Text) Text
- newDeleteDomainPermissionsPolicy :: Text -> DeleteDomainPermissionsPolicy
- data DeleteDomainPermissionsPolicyResponse = DeleteDomainPermissionsPolicyResponse' (Maybe ResourcePolicy) Int
- newDeleteDomainPermissionsPolicyResponse :: Int -> DeleteDomainPermissionsPolicyResponse
- data DeletePackageVersions = DeletePackageVersions' (Maybe Text) (Maybe PackageVersionStatus) (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 DeleteRepository = DeleteRepository' (Maybe Text) Text Text
- newDeleteRepository :: Text -> Text -> DeleteRepository
- data DeleteRepositoryResponse = DeleteRepositoryResponse' (Maybe RepositoryDescription) Int
- newDeleteRepositoryResponse :: Int -> DeleteRepositoryResponse
- data DeleteRepositoryPermissionsPolicy = DeleteRepositoryPermissionsPolicy' (Maybe Text) (Maybe Text) Text Text
- newDeleteRepositoryPermissionsPolicy :: Text -> Text -> DeleteRepositoryPermissionsPolicy
- data DeleteRepositoryPermissionsPolicyResponse = DeleteRepositoryPermissionsPolicyResponse' (Maybe ResourcePolicy) Int
- newDeleteRepositoryPermissionsPolicyResponse :: Int -> DeleteRepositoryPermissionsPolicyResponse
- data DescribeDomain = DescribeDomain' (Maybe Text) Text
- newDescribeDomain :: Text -> DescribeDomain
- data DescribeDomainResponse = DescribeDomainResponse' (Maybe DomainDescription) Int
- newDescribeDomainResponse :: Int -> DescribeDomainResponse
- data DescribePackage = DescribePackage' (Maybe Text) (Maybe Text) Text Text PackageFormat Text
- newDescribePackage :: Text -> Text -> PackageFormat -> Text -> DescribePackage
- data DescribePackageResponse = DescribePackageResponse' Int PackageDescription
- newDescribePackageResponse :: Int -> PackageDescription -> DescribePackageResponse
- 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 DescribeRepository = DescribeRepository' (Maybe Text) Text Text
- newDescribeRepository :: Text -> Text -> DescribeRepository
- data DescribeRepositoryResponse = DescribeRepositoryResponse' (Maybe RepositoryDescription) Int
- newDescribeRepositoryResponse :: Int -> DescribeRepositoryResponse
- data DisassociateExternalConnection = DisassociateExternalConnection' (Maybe Text) Text Text Text
- newDisassociateExternalConnection :: Text -> Text -> Text -> DisassociateExternalConnection
- data DisassociateExternalConnectionResponse = DisassociateExternalConnectionResponse' (Maybe RepositoryDescription) Int
- newDisassociateExternalConnectionResponse :: Int -> DisassociateExternalConnectionResponse
- data DisposePackageVersions = DisposePackageVersions' (Maybe Text) (Maybe PackageVersionStatus) (Maybe Text) (Maybe (HashMap Text 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 GetAuthorizationToken = GetAuthorizationToken' (Maybe Text) (Maybe Natural) Text
- newGetAuthorizationToken :: Text -> GetAuthorizationToken
- data GetAuthorizationTokenResponse = GetAuthorizationTokenResponse' (Maybe Text) (Maybe POSIX) Int
- newGetAuthorizationTokenResponse :: Int -> GetAuthorizationTokenResponse
- data GetDomainPermissionsPolicy = GetDomainPermissionsPolicy' (Maybe Text) Text
- newGetDomainPermissionsPolicy :: Text -> GetDomainPermissionsPolicy
- data GetDomainPermissionsPolicyResponse = GetDomainPermissionsPolicyResponse' (Maybe ResourcePolicy) Int
- newGetDomainPermissionsPolicyResponse :: Int -> GetDomainPermissionsPolicyResponse
- 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 GetPackageVersionReadme = GetPackageVersionReadme' (Maybe Text) (Maybe Text) Text Text PackageFormat Text Text
- newGetPackageVersionReadme :: Text -> Text -> PackageFormat -> Text -> Text -> GetPackageVersionReadme
- data GetPackageVersionReadmeResponse = GetPackageVersionReadmeResponse' (Maybe PackageFormat) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) Int
- newGetPackageVersionReadmeResponse :: Int -> GetPackageVersionReadmeResponse
- data GetRepositoryEndpoint = GetRepositoryEndpoint' (Maybe Text) Text Text PackageFormat
- newGetRepositoryEndpoint :: Text -> Text -> PackageFormat -> GetRepositoryEndpoint
- data GetRepositoryEndpointResponse = GetRepositoryEndpointResponse' (Maybe Text) Int
- newGetRepositoryEndpointResponse :: Int -> GetRepositoryEndpointResponse
- data GetRepositoryPermissionsPolicy = GetRepositoryPermissionsPolicy' (Maybe Text) Text Text
- newGetRepositoryPermissionsPolicy :: Text -> Text -> GetRepositoryPermissionsPolicy
- data GetRepositoryPermissionsPolicyResponse = GetRepositoryPermissionsPolicyResponse' (Maybe ResourcePolicy) Int
- newGetRepositoryPermissionsPolicyResponse :: Int -> GetRepositoryPermissionsPolicyResponse
- data ListDomains = ListDomains' (Maybe Natural) (Maybe Text)
- newListDomains :: ListDomains
- data ListDomainsResponse = ListDomainsResponse' (Maybe [DomainSummary]) (Maybe Text) Int
- newListDomainsResponse :: Int -> ListDomainsResponse
- data ListPackageVersionAssets = ListPackageVersionAssets' (Maybe Text) (Maybe Natural) (Maybe Text) (Maybe Text) Text Text PackageFormat Text Text
- newListPackageVersionAssets :: Text -> Text -> PackageFormat -> Text -> Text -> ListPackageVersionAssets
- data ListPackageVersionAssetsResponse = ListPackageVersionAssetsResponse' (Maybe [AssetSummary]) (Maybe PackageFormat) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) Int
- newListPackageVersionAssetsResponse :: Int -> ListPackageVersionAssetsResponse
- 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 [PackageDependency]) (Maybe PackageFormat) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) Int
- newListPackageVersionDependenciesResponse :: Int -> ListPackageVersionDependenciesResponse
- data ListPackageVersions = ListPackageVersions' (Maybe Text) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe PackageVersionOriginType) (Maybe PackageVersionSortType) (Maybe PackageVersionStatus) Text Text PackageFormat Text
- newListPackageVersions :: Text -> Text -> PackageFormat -> Text -> ListPackageVersions
- data ListPackageVersionsResponse = ListPackageVersionsResponse' (Maybe Text) (Maybe PackageFormat) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe [PackageVersionSummary]) Int
- newListPackageVersionsResponse :: Int -> ListPackageVersionsResponse
- data ListPackages = ListPackages' (Maybe Text) (Maybe PackageFormat) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe AllowPublish) (Maybe AllowUpstream) Text Text
- newListPackages :: Text -> Text -> ListPackages
- data ListPackagesResponse = ListPackagesResponse' (Maybe Text) (Maybe [PackageSummary]) Int
- newListPackagesResponse :: Int -> ListPackagesResponse
- data ListRepositories = ListRepositories' (Maybe Natural) (Maybe Text) (Maybe Text)
- newListRepositories :: ListRepositories
- data ListRepositoriesResponse = ListRepositoriesResponse' (Maybe Text) (Maybe [RepositorySummary]) Int
- newListRepositoriesResponse :: Int -> ListRepositoriesResponse
- data ListRepositoriesInDomain = ListRepositoriesInDomain' (Maybe Text) (Maybe Text) (Maybe Natural) (Maybe Text) (Maybe Text) Text
- newListRepositoriesInDomain :: Text -> ListRepositoriesInDomain
- data ListRepositoriesInDomainResponse = ListRepositoriesInDomainResponse' (Maybe Text) (Maybe [RepositorySummary]) Int
- newListRepositoriesInDomainResponse :: Int -> ListRepositoriesInDomainResponse
- data ListTagsForResource = ListTagsForResource' Text
- newListTagsForResource :: Text -> ListTagsForResource
- data ListTagsForResourceResponse = ListTagsForResourceResponse' (Maybe [Tag]) Int
- newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
- data PutDomainPermissionsPolicy = PutDomainPermissionsPolicy' (Maybe Text) (Maybe Text) Text Text
- newPutDomainPermissionsPolicy :: Text -> Text -> PutDomainPermissionsPolicy
- data PutDomainPermissionsPolicyResponse = PutDomainPermissionsPolicyResponse' (Maybe ResourcePolicy) Int
- newPutDomainPermissionsPolicyResponse :: Int -> PutDomainPermissionsPolicyResponse
- data PutPackageOriginConfiguration = PutPackageOriginConfiguration' (Maybe Text) (Maybe Text) Text Text PackageFormat Text PackageOriginRestrictions
- newPutPackageOriginConfiguration :: Text -> Text -> PackageFormat -> Text -> PackageOriginRestrictions -> PutPackageOriginConfiguration
- data PutPackageOriginConfigurationResponse = PutPackageOriginConfigurationResponse' (Maybe PackageOriginConfiguration) Int
- newPutPackageOriginConfigurationResponse :: Int -> PutPackageOriginConfigurationResponse
- 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 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 UpdatePackageVersionsStatus = UpdatePackageVersionsStatus' (Maybe Text) (Maybe PackageVersionStatus) (Maybe Text) (Maybe (HashMap Text 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 UpdateRepository = UpdateRepository' (Maybe Text) (Maybe Text) (Maybe [UpstreamRepository]) Text Text
- newUpdateRepository :: Text -> Text -> UpdateRepository
- data UpdateRepositoryResponse = UpdateRepositoryResponse' (Maybe RepositoryDescription) Int
- newUpdateRepositoryResponse :: Int -> UpdateRepositoryResponse
- newtype AllowPublish where
- AllowPublish' { }
- pattern AllowPublish_ALLOW :: AllowPublish
- pattern AllowPublish_BLOCK :: AllowPublish
- newtype AllowUpstream where
- AllowUpstream' { }
- pattern AllowUpstream_ALLOW :: AllowUpstream
- pattern AllowUpstream_BLOCK :: AllowUpstream
- 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 PackageVersionOriginType where
- 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 (HashMap HashAlgorithm Text)) (Maybe Integer) Text
- newAssetSummary :: Text -> AssetSummary
- data DomainDescription = DomainDescription' (Maybe Text) (Maybe Integer) (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Int) (Maybe Text) (Maybe DomainStatus)
- newDomainDescription :: DomainDescription
- data DomainEntryPoint = DomainEntryPoint' (Maybe Text) (Maybe Text)
- newDomainEntryPoint :: DomainEntryPoint
- data DomainSummary = DomainSummary' (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe DomainStatus)
- 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 PackageDescription = PackageDescription' (Maybe PackageFormat) (Maybe Text) (Maybe Text) (Maybe PackageOriginConfiguration)
- newPackageDescription :: PackageDescription
- data PackageOriginConfiguration = PackageOriginConfiguration' (Maybe PackageOriginRestrictions)
- newPackageOriginConfiguration :: PackageOriginConfiguration
- data PackageOriginRestrictions = PackageOriginRestrictions' AllowPublish AllowUpstream
- newPackageOriginRestrictions :: AllowPublish -> AllowUpstream -> PackageOriginRestrictions
- data PackageSummary = PackageSummary' (Maybe PackageFormat) (Maybe Text) (Maybe PackageOriginConfiguration) (Maybe Text)
- newPackageSummary :: PackageSummary
- data PackageVersionDescription = PackageVersionDescription' (Maybe Text) (Maybe PackageFormat) (Maybe Text) (Maybe [LicenseInfo]) (Maybe Text) (Maybe PackageVersionOrigin) (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe PackageVersionStatus) (Maybe Text) (Maybe Text)
- newPackageVersionDescription :: PackageVersionDescription
- data PackageVersionError = PackageVersionError' (Maybe PackageVersionErrorCode) (Maybe Text)
- newPackageVersionError :: PackageVersionError
- data PackageVersionOrigin = PackageVersionOrigin' (Maybe DomainEntryPoint) (Maybe PackageVersionOriginType)
- newPackageVersionOrigin :: PackageVersionOrigin
- data PackageVersionSummary = PackageVersionSummary' (Maybe PackageVersionOrigin) (Maybe Text) Text PackageVersionStatus
- newPackageVersionSummary :: Text -> PackageVersionStatus -> PackageVersionSummary
- data RepositoryDescription = RepositoryDescription' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe [RepositoryExternalConnectionInfo]) (Maybe Text) (Maybe [UpstreamRepositoryInfo])
- newRepositoryDescription :: RepositoryDescription
- data RepositoryExternalConnectionInfo = RepositoryExternalConnectionInfo' (Maybe Text) (Maybe PackageFormat) (Maybe ExternalConnectionStatus)
- 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 Text) (Maybe PackageVersionStatus)
- 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
.
AccessDeniedException
_AccessDeniedException :: AsError a => Fold a ServiceError Source #
The operation did not succeed because of an unauthorized access attempt.
ConflictException
_ConflictException :: AsError a => Fold a ServiceError Source #
The operation did not succeed because prerequisites are not met.
InternalServerException
_InternalServerException :: AsError a => Fold a ServiceError Source #
The operation did not succeed because of an error that occurred inside CodeArtifact.
ResourceNotFoundException
_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #
The operation did not succeed because the resource requested is not found in the service.
ServiceQuotaExceededException
_ServiceQuotaExceededException :: AsError a => Fold a ServiceError Source #
The operation did not succeed because it would have exceeded a service limit for your account.
ThrottlingException
_ThrottlingException :: AsError a => Fold a ServiceError Source #
The operation did not succeed because too many requests are sent to the service.
ValidationException
_ValidationException :: AsError a => Fold a ServiceError Source #
The operation did not succeed because a parameter in the request was sent with an invalid value.
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.
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:
AssociateExternalConnection
, associateExternalConnection_domainOwner
- The 12-digit account number of the Amazon Web Services account that owns
the domain. It does not include dashes or spaces.
$sel:domain:AssociateExternalConnection'
, associateExternalConnection_domain
- The name of the domain that contains the 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:
AssociateExternalConnection
, associateExternalConnectionResponse_repository
- Information about the connected repository after processing the request.
$sel:httpStatus:AssociateExternalConnectionResponse'
, associateExternalConnectionResponse_httpStatus
- The response's http status code.
CopyPackageVersions
data CopyPackageVersions Source #
See: newCopyPackageVersions
smart constructor.
CopyPackageVersions' (Maybe Bool) (Maybe Text) (Maybe Bool) (Maybe Text) (Maybe (HashMap Text Text)) (Maybe [Text]) 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.
CopyPackageVersions
, copyPackageVersions_domainOwner
- The 12-digit account number of the Amazon Web Services account that owns
the domain. It does not include dashes or spaces.
$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.
CopyPackageVersions
, copyPackageVersions_namespace
- The namespace of the package versions to be copied. The package version
component that specifies its namespace depends on its type. For example:
- The namespace of a Maven package version is its
groupId
. The namespace is required when copying Maven package versions. - The namespace of an npm package version is its
scope
. - Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
$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:versions:CopyPackageVersions'
, copyPackageVersions_versions
- The versions of the package to be copied.
You must specify versions
or versionRevisions
. You cannot specify
both.
$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 be
copied.
$sel:destinationRepository:CopyPackageVersions'
, copyPackageVersions_destinationRepository
- The name of the repository into which package versions are copied.
CopyPackageVersions
, copyPackageVersions_format
- The format of the package versions to be copied.
CopyPackageVersions
, copyPackageVersions_package
- The name of the package that contains the versions to be 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.
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:
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 Key Management Service API Reference and
Key Management Service API Permissions Reference
in the 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 Key Management Service Developer Guide.
$sel:tags:CreateDomain'
, createDomain_tags
- One or more tag key-value pairs for the domain.
CreateDomain
, createDomain_domain
- The name of the domain to create. All domain names in an Amazon Web
Services Region that are in the same Amazon Web Services 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:
CreateDomain
, createDomainResponse_domain
- Contains information about the created domain after processing the
request.
$sel:httpStatus:CreateDomainResponse'
, createDomainResponse_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:
CreateRepository
, createRepository_description
- A description of the created repository.
CreateRepository
, createRepository_domainOwner
- The 12-digit account number of the Amazon Web Services account that owns
the domain. It does not include dashes or spaces.
$sel:tags:CreateRepository'
, createRepository_tags
- One or more tag key-value pairs for the repository.
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 CodeArtifact looks for a requested package version. For more
information, see
Working with upstream repositories.
$sel:domain:CreateRepository'
, createRepository_domain
- The name of the domain that contains the created 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:
CreateRepository
, createRepositoryResponse_repository
- Information about the created repository after processing the request.
$sel:httpStatus:CreateRepositoryResponse'
, createRepositoryResponse_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:
DeleteDomain
, deleteDomain_domainOwner
- The 12-digit account number of the Amazon Web Services account that owns
the domain. It does not include dashes or spaces.
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:
DeleteDomain
, deleteDomainResponse_domain
- Contains information about the deleted domain after processing the
request.
$sel:httpStatus:DeleteDomainResponse'
, deleteDomainResponse_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:
DeleteDomainPermissionsPolicy
, deleteDomainPermissionsPolicy_domainOwner
- The 12-digit account number of the Amazon Web Services account that owns
the domain. It does not include dashes or spaces.
$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: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.
DeletePackageVersions
data DeletePackageVersions Source #
See: newDeletePackageVersions
smart constructor.
DeletePackageVersions' (Maybe Text) (Maybe PackageVersionStatus) (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:
DeletePackageVersions
, deletePackageVersions_domainOwner
- The 12-digit account number of the Amazon Web Services account that owns
the domain. It does not include dashes or spaces.
$sel:expectedStatus:DeletePackageVersions'
, deletePackageVersions_expectedStatus
- The expected status of the package version to delete.
DeletePackageVersions
, deletePackageVersions_namespace
- The namespace of the package versions to be deleted. The package version
component that specifies its namespace depends on its type. For example:
- The namespace of a Maven package version is its
groupId
. The namespace is required when deleting Maven package versions. - The namespace of an npm package version is its
scope
. - Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
$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.
DeletePackageVersions
, deletePackageVersions_format
- The format of the package versions to delete.
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. The
status of every successful version will be Deleted
.
$sel:httpStatus:DeletePackageVersionsResponse'
, deletePackageVersionsResponse_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:
DeleteRepository
, deleteRepository_domainOwner
- The 12-digit account number of the Amazon Web Services account that owns
the domain. It does not include dashes or spaces.
$sel:domain:DeleteRepository'
, deleteRepository_domain
- The name of the domain that contains the repository to delete.
DeleteRepository
, deleteRepository_repository
- The name of the repository to delete.
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:
DeleteRepository
, deleteRepositoryResponse_repository
- Information about the deleted repository after processing the request.
$sel:httpStatus:DeleteRepositoryResponse'
, deleteRepositoryResponse_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:
DeleteRepositoryPermissionsPolicy
, deleteRepositoryPermissionsPolicy_domainOwner
- The 12-digit account number of the Amazon Web Services account that owns
the domain. It does not include dashes or spaces.
$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: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.
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:
DescribeDomain
, describeDomain_domainOwner
- The 12-digit account number of the Amazon Web Services account that owns
the domain. It does not include dashes or spaces.
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:
DescribeDomain
, describeDomainResponse_domain
- Undocumented member.
$sel:httpStatus:DescribeDomainResponse'
, describeDomainResponse_httpStatus
- The response's http status code.
DescribePackage
data DescribePackage Source #
See: newDescribePackage
smart constructor.
Instances
:: Text | |
-> Text | |
-> PackageFormat | |
-> Text | |
-> DescribePackage |
Create a value of DescribePackage
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:
DescribePackage
, describePackage_domainOwner
- The 12-digit account number of the Amazon Web Services account that owns
the domain. It does not include dashes or spaces.
DescribePackage
, describePackage_namespace
- The namespace of the requested 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 is required when requesting Maven packages. - The namespace of an npm package is its
scope
. - Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
$sel:domain:DescribePackage'
, describePackage_domain
- The name of the domain that contains the repository that contains the
package.
$sel:repository:DescribePackage'
, describePackage_repository
- The name of the repository that contains the requested package.
DescribePackage
, describePackage_format
- A format that specifies the type of the requested package.
DescribePackage
, describePackage_package
- The name of the requested package.
data DescribePackageResponse Source #
See: newDescribePackageResponse
smart constructor.
Instances
newDescribePackageResponse Source #
Create a value of DescribePackageResponse
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:DescribePackageResponse'
, describePackageResponse_httpStatus
- The response's http status code.
DescribePackage
, describePackageResponse_package
- A
PackageDescription
object that contains information about the requested package.
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:
DescribePackageVersion
, describePackageVersion_domainOwner
- The 12-digit account number of the Amazon Web Services account that owns
the domain. It does not include dashes or spaces.
DescribePackageVersion
, describePackageVersion_namespace
- The namespace of the requested package version. The package version
component that specifies its namespace depends on its type. For example:
- The namespace of a Maven package version is its
groupId
. - The namespace of an npm package version is its
scope
. - Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
$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.
DescribePackageVersion
, describePackageVersion_format
- A format that specifies the type of the requested package version.
DescribePackageVersion
, describePackageVersion_package
- The name of the requested package version.
DescribePackageVersion
, describePackageVersion_packageVersion
- A string that contains the package version (for example, 3.5.2
).
data DescribePackageVersionResponse Source #
See: newDescribePackageVersionResponse
smart constructor.
Instances
Generic DescribePackageVersionResponse Source # | |
Read DescribePackageVersionResponse Source # | |
Show DescribePackageVersionResponse Source # | |
Defined in Amazonka.CodeArtifact.DescribePackageVersion | |
NFData DescribePackageVersionResponse Source # | |
Defined in Amazonka.CodeArtifact.DescribePackageVersion rnf :: DescribePackageVersionResponse -> () # | |
Eq DescribePackageVersionResponse Source # | |
type Rep DescribePackageVersionResponse Source # | |
Defined in Amazonka.CodeArtifact.DescribePackageVersion type Rep DescribePackageVersionResponse = D1 ('MetaData "DescribePackageVersionResponse" "Amazonka.CodeArtifact.DescribePackageVersion" "amazonka-codeartifact-2.0-CskMABZQLQJDgej73fXQxp" 'False) (C1 ('MetaCons "DescribePackageVersionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "packageVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PackageVersionDescription))) |
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.
DescribePackageVersion
, describePackageVersionResponse_packageVersion
- A
PackageVersionDescription
object that contains information about the requested package version.
DescribeRepository
data DescribeRepository Source #
See: newDescribeRepository
smart constructor.
Instances
newDescribeRepository Source #
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:
DescribeRepository
, describeRepository_domainOwner
- The 12-digit account number of the Amazon Web Services account that owns
the domain. It does not include dashes or spaces.
$sel:domain:DescribeRepository'
, describeRepository_domain
- The name of the domain that contains the repository to describe.
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:
DescribeRepository
, describeRepositoryResponse_repository
- A RepositoryDescription
object that contains the requested repository
information.
$sel:httpStatus:DescribeRepositoryResponse'
, describeRepositoryResponse_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:
DisassociateExternalConnection
, disassociateExternalConnection_domainOwner
- The 12-digit account number of the Amazon Web Services account that owns
the domain. It does not include dashes or spaces.
$sel:domain:DisassociateExternalConnection'
, disassociateExternalConnection_domain
- The name of the domain that contains the repository from which to remove
the external 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:
DisassociateExternalConnection
, disassociateExternalConnectionResponse_repository
- The repository associated with the removed external connection.
$sel:httpStatus:DisassociateExternalConnectionResponse'
, disassociateExternalConnectionResponse_httpStatus
- The response's http status code.
DisposePackageVersions
data DisposePackageVersions Source #
See: newDisposePackageVersions
smart constructor.
DisposePackageVersions' (Maybe Text) (Maybe PackageVersionStatus) (Maybe Text) (Maybe (HashMap Text 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:
DisposePackageVersions
, disposePackageVersions_domainOwner
- The 12-digit account number of the Amazon Web Services account that owns
the domain. It does not include dashes or spaces.
$sel:expectedStatus:DisposePackageVersions'
, disposePackageVersions_expectedStatus
- The expected status of the package version to dispose.
DisposePackageVersions
, disposePackageVersions_namespace
- The namespace of the package versions to be disposed. The package
version component that specifies its namespace depends on its type. For
example:
- The namespace of a Maven package version is its
groupId
. - The namespace of an npm package version is its
scope
. - Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
$sel:versionRevisions:DisposePackageVersions'
, disposePackageVersions_versionRevisions
- The revisions of the package versions you want to dispose.
$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.
DisposePackageVersions
, disposePackageVersions_format
- A format that specifies the type of package versions you want to
dispose.
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.
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:
GetAuthorizationToken
, getAuthorizationToken_domainOwner
- The 12-digit account number of the Amazon Web Services 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:authorizationToken:GetAuthorizationTokenResponse'
, getAuthorizationTokenResponse_authorizationToken
- The returned authentication token.
$sel:expiration:GetAuthorizationTokenResponse'
, getAuthorizationTokenResponse_expiration
- A timestamp that specifies the date and time the authorization token
expires.
$sel:httpStatus:GetAuthorizationTokenResponse'
, getAuthorizationTokenResponse_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:
GetDomainPermissionsPolicy
, getDomainPermissionsPolicy_domainOwner
- The 12-digit account number of the Amazon Web Services account that owns
the domain. It does not include dashes or spaces.
$sel:domain:GetDomainPermissionsPolicy'
, getDomainPermissionsPolicy_domain
- The name of the domain to which the resource policy is attached.
data GetDomainPermissionsPolicyResponse Source #
See: newGetDomainPermissionsPolicyResponse
smart constructor.
Instances
Generic GetDomainPermissionsPolicyResponse Source # | |
Read GetDomainPermissionsPolicyResponse Source # | |
Show GetDomainPermissionsPolicyResponse Source # | |
NFData GetDomainPermissionsPolicyResponse Source # | |
Defined in Amazonka.CodeArtifact.GetDomainPermissionsPolicy rnf :: GetDomainPermissionsPolicyResponse -> () # | |
Eq GetDomainPermissionsPolicyResponse Source # | |
type Rep GetDomainPermissionsPolicyResponse Source # | |
Defined in Amazonka.CodeArtifact.GetDomainPermissionsPolicy type Rep GetDomainPermissionsPolicyResponse = D1 ('MetaData "GetDomainPermissionsPolicyResponse" "Amazonka.CodeArtifact.GetDomainPermissionsPolicy" "amazonka-codeartifact-2.0-CskMABZQLQJDgej73fXQxp" '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.
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:
GetPackageVersionAsset
, getPackageVersionAsset_domainOwner
- The 12-digit account number of the Amazon Web Services account that owns
the domain. It does not include dashes or spaces.
GetPackageVersionAsset
, getPackageVersionAsset_namespace
- The namespace of the package version with the requested asset file. The
package version component that specifies its namespace depends on its
type. For example:
- The namespace of a Maven package version is its
groupId
. - The namespace of an npm package version is its
scope
. - Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
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.
GetPackageVersionAsset
, getPackageVersionAsset_format
- A format that specifies the type of the package version with the
requested asset file.
GetPackageVersionAsset
, getPackageVersionAsset_package
- The name of the package that contains the requested asset.
GetPackageVersionAsset
, getPackageVersionAsset_packageVersion
- A string that contains the package version (for example, 3.5.2
).
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:assetName:GetPackageVersionAssetResponse'
, getPackageVersionAssetResponse_assetName
- The name of the asset that is downloaded.
GetPackageVersionAsset
, getPackageVersionAssetResponse_packageVersion
- A string that contains the package version (for example, 3.5.2
).
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.
GetPackageVersionAsset
, getPackageVersionAssetResponse_asset
- The binary file, or asset, that is downloaded.
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:
GetPackageVersionReadme
, getPackageVersionReadme_domainOwner
- The 12-digit account number of the Amazon Web Services account that owns
the domain. It does not include dashes or spaces.
GetPackageVersionReadme
, getPackageVersionReadme_namespace
- The namespace of the package version with the requested readme file. The
package version component that specifies its namespace depends on its
type. For example:
- The namespace of a Maven package version is its
groupId
. - The namespace of an npm package version is its
scope
. - Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
$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.
GetPackageVersionReadme
, getPackageVersionReadme_format
- A format that specifies the type of the package version with the
requested readme file.
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 PackageFormat) (Maybe Text) (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:
GetPackageVersionReadme
, getPackageVersionReadmeResponse_format
- The format of the package with the requested readme file.
GetPackageVersionReadme
, getPackageVersionReadmeResponse_namespace
- The namespace of the package version with the requested readme file. The
package version component that specifies its namespace depends on its
type. For example:
- The namespace of a Maven package version is its
groupId
. - The namespace of an npm package version is its
scope
. - Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
GetPackageVersionReadme
, getPackageVersionReadmeResponse_package
- The name of the package that contains the returned readme file.
$sel:readme:GetPackageVersionReadmeResponse'
, getPackageVersionReadmeResponse_readme
- The text of the returned readme file.
GetPackageVersionReadmeResponse
, getPackageVersionReadmeResponse_version
- The version of the package with the requested readme file.
$sel:versionRevision:GetPackageVersionReadmeResponse'
, getPackageVersionReadmeResponse_versionRevision
- The current revision associated with the package version.
$sel:httpStatus:GetPackageVersionReadmeResponse'
, getPackageVersionReadmeResponse_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:
GetRepositoryEndpoint
, getRepositoryEndpoint_domainOwner
- The 12-digit account number of the Amazon Web Services 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.
GetRepositoryEndpoint
, getRepositoryEndpoint_format
- Returns which endpoint of a repository to return. A repository has one
endpoint for each package format.
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.
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:
GetRepositoryPermissionsPolicy
, getRepositoryPermissionsPolicy_domainOwner
- The 12-digit account number of the Amazon Web Services account that owns
the domain. It does not include dashes or spaces.
$sel:domain: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.
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:maxResults:ListDomains'
, listDomains_maxResults
- The maximum number of results to return per page.
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.
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:domains:ListDomainsResponse'
, listDomainsResponse_domains
- The returned list of
DomainSummary
objects.
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:httpStatus:ListDomainsResponse'
, listDomainsResponse_httpStatus
- The response's http status code.
ListPackageVersionAssets (Paginated)
data ListPackageVersionAssets Source #
See: newListPackageVersionAssets
smart constructor.
ListPackageVersionAssets' (Maybe Text) (Maybe Natural) (Maybe Text) (Maybe Text) 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:
ListPackageVersionAssets
, listPackageVersionAssets_domainOwner
- The 12-digit account number of the Amazon Web Services account that owns
the domain. It does not include dashes or spaces.
$sel:maxResults:ListPackageVersionAssets'
, listPackageVersionAssets_maxResults
- The maximum number of results to return per page.
ListPackageVersionAssets
, listPackageVersionAssets_namespace
- The namespace of the package version that contains the requested package
version assets. The package version component that specifies its
namespace depends on its type. For example:
- The namespace of a Maven package version is its
groupId
. - The namespace of an npm package version is its
scope
. - Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
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: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
requested package version assets.
ListPackageVersionAssets
, listPackageVersionAssets_format
- The format of the package that contains the requested package version
assets.
ListPackageVersionAssets
, listPackageVersionAssets_package
- The name of the package that contains the requested 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 [AssetSummary]) (Maybe PackageFormat) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) 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:assets:ListPackageVersionAssetsResponse'
, listPackageVersionAssetsResponse_assets
- The returned list of
AssetSummary
objects.
ListPackageVersionAssets
, listPackageVersionAssetsResponse_format
- The format of the package that contains the requested package version
assets.
ListPackageVersionAssets
, listPackageVersionAssetsResponse_namespace
- The namespace of the package version that contains the requested package
version assets. The package version component that specifies its
namespace depends on its type. For example:
- The namespace of a Maven package version is its
groupId
. - The namespace of an npm package version is its
scope
. - Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
ListPackageVersionAssets
, listPackageVersionAssetsResponse_nextToken
- If there are additional results, this is the token for the next set of
results.
ListPackageVersionAssets
, listPackageVersionAssetsResponse_package
- The name of the package that contains the requested package version
assets.
ListPackageVersionAssetsResponse
, listPackageVersionAssetsResponse_version
- The version of the package associated with the requested assets.
$sel:versionRevision:ListPackageVersionAssetsResponse'
, listPackageVersionAssetsResponse_versionRevision
- The current revision associated with the package version.
$sel:httpStatus:ListPackageVersionAssetsResponse'
, listPackageVersionAssetsResponse_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:
ListPackageVersionDependencies
, listPackageVersionDependencies_domainOwner
- The 12-digit account number of the Amazon Web Services account that owns
the domain. It does not include dashes or spaces.
ListPackageVersionDependencies
, listPackageVersionDependencies_namespace
- The namespace of the package version with the requested dependencies.
The package version component that specifies its namespace depends on
its type. For example:
- The namespace of a Maven package version is its
groupId
. - The namespace of an npm package version is its
scope
. - Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
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.
ListPackageVersionDependencies
, listPackageVersionDependencies_format
- The format of the package with the requested dependencies.
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 [PackageDependency]) (Maybe PackageFormat) (Maybe Text) (Maybe Text) (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:dependencies:ListPackageVersionDependenciesResponse'
, listPackageVersionDependenciesResponse_dependencies
- The returned list of
PackageDependency
objects.
ListPackageVersionDependencies
, listPackageVersionDependenciesResponse_format
- A format that specifies the type of the package that contains the
returned dependencies.
ListPackageVersionDependencies
, listPackageVersionDependenciesResponse_namespace
- The namespace of the package version that contains the returned
dependencies. The package version component that specifies its namespace
depends on its type. For example:
- The namespace of a Maven package version is its
groupId
. - The namespace of an npm package version is its
scope
. - Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
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.
ListPackageVersionDependencies
, listPackageVersionDependenciesResponse_package
- The name of the package that contains the returned package versions
dependencies.
ListPackageVersionDependenciesResponse
, listPackageVersionDependenciesResponse_version
- The version of the package that is specified in the request.
$sel:versionRevision:ListPackageVersionDependenciesResponse'
, listPackageVersionDependenciesResponse_versionRevision
- The current revision associated with the package version.
$sel:httpStatus:ListPackageVersionDependenciesResponse'
, listPackageVersionDependenciesResponse_httpStatus
- The response's http status code.
ListPackageVersions (Paginated)
data ListPackageVersions Source #
See: newListPackageVersions
smart constructor.
ListPackageVersions' (Maybe Text) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe PackageVersionOriginType) (Maybe PackageVersionSortType) (Maybe PackageVersionStatus) 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:
ListPackageVersions
, listPackageVersions_domainOwner
- The 12-digit account number of the Amazon Web Services account that owns
the domain. It does not include dashes or spaces.
$sel:maxResults:ListPackageVersions'
, listPackageVersions_maxResults
- The maximum number of results to return per page.
ListPackageVersions
, listPackageVersions_namespace
- The namespace of the package that contains the requested package
versions. 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
. - Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
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.
ListPackageVersions
, listPackageVersions_originType
- The originType
used to filter package versions. Only package versions
with the provided originType
will be returned.
$sel:sortBy:ListPackageVersions'
, listPackageVersions_sortBy
- How to sort the requested list of package versions.
ListPackageVersions
, listPackageVersions_status
- A string that filters the requested package versions by status.
$sel:domain:ListPackageVersions'
, listPackageVersions_domain
- The name of the domain that contains the repository that contains the
requested package versions.
$sel:repository:ListPackageVersions'
, listPackageVersions_repository
- The name of the repository that contains the requested package versions.
ListPackageVersions
, listPackageVersions_format
- The format of the returned package versions.
ListPackageVersions
, listPackageVersions_package
- The name of the package for which you want to request package versions.
data ListPackageVersionsResponse Source #
See: newListPackageVersionsResponse
smart constructor.
ListPackageVersionsResponse' (Maybe Text) (Maybe PackageFormat) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe [PackageVersionSummary]) 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: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.
ListPackageVersions
, listPackageVersionsResponse_format
- A format of the package.
ListPackageVersions
, listPackageVersionsResponse_namespace
- The namespace of the package that contains the requested package
versions. 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
. - Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
ListPackageVersions
, listPackageVersionsResponse_nextToken
- If there are additional results, this is the token for the next set of
results.
ListPackageVersions
, listPackageVersionsResponse_package
- The name of the package.
$sel:versions:ListPackageVersionsResponse'
, listPackageVersionsResponse_versions
- The returned list of
PackageVersionSummary
objects.
$sel:httpStatus:ListPackageVersionsResponse'
, listPackageVersionsResponse_httpStatus
- The response's http status code.
ListPackages (Paginated)
data ListPackages Source #
See: newListPackages
smart constructor.
ListPackages' (Maybe Text) (Maybe PackageFormat) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe AllowPublish) (Maybe AllowUpstream) 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:
ListPackages
, listPackages_domainOwner
- The 12-digit account number of the Amazon Web Services account that owns
the domain. It does not include dashes or spaces.
ListPackages
, listPackages_format
- The format used to filter requested packages. Only packages from the
provided format will be returned.
$sel:maxResults:ListPackages'
, listPackages_maxResults
- The maximum number of results to return per page.
ListPackages
, listPackages_namespace
- The namespace used to filter requested packages. Only packages with the
provided namespace will be returned. 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
. - Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
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 requested packages. Only packages with names
that start with packagePrefix
are returned.
ListPackages
, listPackages_publish
- The value of the Publish
package origin control restriction used to
filter requested packages. Only packages with the provided restriction
are returned. For more information, see
PackageOriginRestrictions.
ListPackages
, listPackages_upstream
- The value of the Upstream
package origin control restriction used to
filter requested packages. Only packages with the provided restriction
are returned. For more information, see
PackageOriginRestrictions.
$sel:domain:ListPackages'
, listPackages_domain
- The name of the domain that contains the repository that contains the
requested packages.
$sel:repository:ListPackages'
, listPackages_repository
- The name of the repository that contains the requested packages.
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:
ListPackages
, listPackagesResponse_nextToken
- If there are additional results, this is the token for the next set of
results.
$sel:packages:ListPackagesResponse'
, listPackagesResponse_packages
- The list of returned
PackageSummary
objects.
$sel:httpStatus:ListPackagesResponse'
, listPackagesResponse_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:maxResults:ListRepositories'
, listRepositories_maxResults
- The maximum number of results to return per page.
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:repositoryPrefix:ListRepositories'
, listRepositories_repositoryPrefix
- A prefix used to filter returned repositories. Only repositories with
names that start with repositoryPrefix
are returned.
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:
ListRepositories
, listRepositoriesResponse_nextToken
- If there are additional results, this is the token for the next set of
results.
$sel:repositories:ListRepositoriesResponse'
, listRepositoriesResponse_repositories
- The returned list of
RepositorySummary
objects.
$sel:httpStatus:ListRepositoriesResponse'
, listRepositoriesResponse_httpStatus
- The response's http status code.
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:
ListRepositoriesInDomain
, listRepositoriesInDomain_administratorAccount
- Filter the list of repositories to only include those that are managed
by the Amazon Web Services account ID.
ListRepositoriesInDomain
, listRepositoriesInDomain_domainOwner
- The 12-digit account number of the Amazon Web Services account that owns
the domain. It does not include dashes or spaces.
$sel:maxResults:ListRepositoriesInDomain'
, listRepositoriesInDomain_maxResults
- The maximum number of results to return per page.
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:repositoryPrefix:ListRepositoriesInDomain'
, listRepositoriesInDomain_repositoryPrefix
- A prefix used to filter returned repositories. Only repositories with
names that start with repositoryPrefix
are returned.
$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:
ListRepositoriesInDomain
, listRepositoriesInDomainResponse_nextToken
- If there are additional results, this is the token for the next set of
results.
$sel:repositories:ListRepositoriesInDomainResponse'
, listRepositoriesInDomainResponse_repositories
- The returned list of repositories.
$sel:httpStatus:ListRepositoriesInDomainResponse'
, listRepositoriesInDomainResponse_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:
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.
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:
PutDomainPermissionsPolicy
, putDomainPermissionsPolicy_domainOwner
- The 12-digit account number of the Amazon Web Services account that owns
the domain. It does not include dashes or spaces.
$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: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
Generic PutDomainPermissionsPolicyResponse Source # | |
Read PutDomainPermissionsPolicyResponse Source # | |
Show PutDomainPermissionsPolicyResponse Source # | |
NFData PutDomainPermissionsPolicyResponse Source # | |
Defined in Amazonka.CodeArtifact.PutDomainPermissionsPolicy rnf :: PutDomainPermissionsPolicyResponse -> () # | |
Eq PutDomainPermissionsPolicyResponse Source # | |
type Rep PutDomainPermissionsPolicyResponse Source # | |
Defined in Amazonka.CodeArtifact.PutDomainPermissionsPolicy type Rep PutDomainPermissionsPolicyResponse = D1 ('MetaData "PutDomainPermissionsPolicyResponse" "Amazonka.CodeArtifact.PutDomainPermissionsPolicy" "amazonka-codeartifact-2.0-CskMABZQLQJDgej73fXQxp" '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.
PutPackageOriginConfiguration
data PutPackageOriginConfiguration Source #
See: newPutPackageOriginConfiguration
smart constructor.
PutPackageOriginConfiguration' (Maybe Text) (Maybe Text) Text Text PackageFormat Text PackageOriginRestrictions |
Instances
newPutPackageOriginConfiguration Source #
Create a value of PutPackageOriginConfiguration
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:
PutPackageOriginConfiguration
, putPackageOriginConfiguration_domainOwner
- The 12-digit account number of the Amazon Web Services account that owns
the domain. It does not include dashes or spaces.
PutPackageOriginConfiguration
, putPackageOriginConfiguration_namespace
- The namespace of the package to be updated. 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
. - Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
$sel:domain:PutPackageOriginConfiguration'
, putPackageOriginConfiguration_domain
- The name of the domain that contains the repository that contains the
package.
$sel:repository:PutPackageOriginConfiguration'
, putPackageOriginConfiguration_repository
- The name of the repository that contains the package.
PutPackageOriginConfiguration
, putPackageOriginConfiguration_format
- A format that specifies the type of the package to be updated.
PutPackageOriginConfiguration
, putPackageOriginConfiguration_package
- The name of the package to be updated.
PutPackageOriginConfiguration
, putPackageOriginConfiguration_restrictions
- A
PackageOriginRestrictions
object that contains information about the upstream
and publish
package origin restrictions. The upstream
restriction determines if
new package versions can be ingested or retained from external
connections or upstream repositories. The publish
restriction
determines if new package versions can be published directly to the
repository.
You must include both the desired upstream
and publish
restrictions.
data PutPackageOriginConfigurationResponse Source #
See: newPutPackageOriginConfigurationResponse
smart constructor.
Instances
newPutPackageOriginConfigurationResponse Source #
Create a value of PutPackageOriginConfigurationResponse
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:
PutPackageOriginConfigurationResponse
, putPackageOriginConfigurationResponse_originConfiguration
- A
PackageOriginConfiguration
object that describes the origin configuration set for the package. It
contains a
PackageOriginRestrictions
object that describes how new versions of the package can be introduced
to the repository.
$sel:httpStatus:PutPackageOriginConfigurationResponse'
, putPackageOriginConfigurationResponse_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:
PutRepositoryPermissionsPolicy
, putRepositoryPermissionsPolicy_domainOwner
- The 12-digit account number of the Amazon Web Services account that owns
the domain. It does not include dashes or spaces.
$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: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.
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:
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:
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.
UpdatePackageVersionsStatus
data UpdatePackageVersionsStatus Source #
See: newUpdatePackageVersionsStatus
smart constructor.
UpdatePackageVersionsStatus' (Maybe Text) (Maybe PackageVersionStatus) (Maybe Text) (Maybe (HashMap Text 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:
UpdatePackageVersionsStatus
, updatePackageVersionsStatus_domainOwner
- The 12-digit account number of the Amazon Web Services account that owns
the domain. It does not include dashes or spaces.
$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
.
UpdatePackageVersionsStatus
, updatePackageVersionsStatus_namespace
- The namespace of the package version to be updated. The package version
component that specifies its namespace depends on its type. For example:
- The namespace of a Maven package version is its
groupId
. - The namespace of an npm package version is its
scope
. - Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
$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: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.
UpdatePackageVersionsStatus
, updatePackageVersionsStatus_format
- A format that specifies the type of the package with the statuses to
update.
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.
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:
UpdateRepository
, updateRepository_description
- An updated repository description.
UpdateRepository
, updateRepository_domainOwner
- The 12-digit account number of the Amazon Web Services account that owns
the domain. It does not include dashes or spaces.
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 CodeArtifact looks for a requested package version. For more
information, see
Working with upstream repositories.
$sel:domain:UpdateRepository'
, updateRepository_domain
- The name of the domain associated with the repository to update.
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:
UpdateRepository
, updateRepositoryResponse_repository
- The updated repository.
$sel:httpStatus:UpdateRepositoryResponse'
, updateRepositoryResponse_httpStatus
- The response's http status code.
Types
AllowPublish
newtype AllowPublish Source #
pattern AllowPublish_ALLOW :: AllowPublish | |
pattern AllowPublish_BLOCK :: AllowPublish |
Instances
AllowUpstream
newtype AllowUpstream Source #
pattern AllowUpstream_ALLOW :: AllowUpstream | |
pattern AllowUpstream_BLOCK :: AllowUpstream |
Instances
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
PackageVersionOriginType
newtype PackageVersionOriginType 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:hashes:AssetSummary'
, assetSummary_hashes
- The hashes of the asset.
$sel:size:AssetSummary'
, assetSummary_size
- The size 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 Text) (Maybe Integer) (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Int) (Maybe Text) (Maybe DomainStatus) |
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:arn:DomainDescription'
, domainDescription_arn
- The Amazon Resource Name (ARN) of the domain.
$sel:assetSizeBytes:DomainDescription'
, domainDescription_assetSizeBytes
- The total size of all assets in the domain.
$sel:createdTime:DomainDescription'
, domainDescription_createdTime
- A timestamp that represents the date and time the domain was created.
$sel:encryptionKey:DomainDescription'
, domainDescription_encryptionKey
- The ARN of an Key Management Service (KMS) key associated with a domain.
$sel:name:DomainDescription'
, domainDescription_name
- The name of the domain.
$sel:owner:DomainDescription'
, domainDescription_owner
- The Amazon Web Services account ID that owns the domain.
$sel:repositoryCount:DomainDescription'
, domainDescription_repositoryCount
- The number of repositories in the domain.
$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:status:DomainDescription'
, domainDescription_status
- The current status of a domain.
DomainEntryPoint
data DomainEntryPoint Source #
Information about how a package originally entered the CodeArtifact domain. For packages published directly to CodeArtifact, the entry point is the repository it was published to. For packages ingested from an external repository, the entry point is the external connection that it was ingested from. An external connection is a CodeArtifact repository that is connected to an external repository such as the npm registry or NuGet gallery.
See: newDomainEntryPoint
smart constructor.
Instances
newDomainEntryPoint :: DomainEntryPoint Source #
Create a value of DomainEntryPoint
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:DomainEntryPoint'
, domainEntryPoint_externalConnectionName
- The name of the external connection that a package was ingested from.
$sel:repositoryName:DomainEntryPoint'
, domainEntryPoint_repositoryName
- The name of the repository that a package was originally published to.
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 Text) (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe DomainStatus) |
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: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:encryptionKey:DomainSummary'
, domainSummary_encryptionKey
- The key used to encrypt the domain.
$sel:name:DomainSummary'
, domainSummary_name
- The name of the domain.
$sel:owner:DomainSummary'
, domainSummary_owner
- The 12-digit account number of the Amazon Web Services account that owns
the domain. It does not include dashes or spaces.
$sel:status:DomainSummary'
, domainSummary_status
- A string that contains the status of 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:name:LicenseInfo'
, licenseInfo_name
- Name of the license.
$sel:url:LicenseInfo'
, licenseInfo_url
- The URL for license data.
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 that this package depends on. 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
. - Python and NuGet packages do not contain a corresponding component, packages of those formats 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
.
PackageDescription
data PackageDescription Source #
Details about a package.
See: newPackageDescription
smart constructor.
PackageDescription' (Maybe PackageFormat) (Maybe Text) (Maybe Text) (Maybe PackageOriginConfiguration) |
Instances
newPackageDescription :: PackageDescription Source #
Create a value of PackageDescription
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:PackageDescription'
, packageDescription_format
- A format that specifies the type of the package.
$sel:name:PackageDescription'
, packageDescription_name
- The name of the package.
$sel:namespace:PackageDescription'
, packageDescription_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
. - Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
$sel:originConfiguration:PackageDescription'
, packageDescription_originConfiguration
- The package origin configuration for the package.
PackageOriginConfiguration
data PackageOriginConfiguration Source #
Details about the package origin configuration of a package.
See: newPackageOriginConfiguration
smart constructor.
Instances
newPackageOriginConfiguration :: PackageOriginConfiguration Source #
Create a value of PackageOriginConfiguration
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:restrictions:PackageOriginConfiguration'
, packageOriginConfiguration_restrictions
- A PackageOriginRestrictions
object that contains information about the
upstream and publish package origin configuration for the package.
PackageOriginRestrictions
data PackageOriginRestrictions Source #
Details about the origin restrictions set on the package. The package origin restrictions determine how new versions of a package can be added to a specific repository.
See: newPackageOriginRestrictions
smart constructor.
Instances
newPackageOriginRestrictions Source #
Create a value of PackageOriginRestrictions
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:publish:PackageOriginRestrictions'
, packageOriginRestrictions_publish
- The package origin configuration that determines if new versions of the
package can be published directly to the repository.
$sel:upstream:PackageOriginRestrictions'
, packageOriginRestrictions_upstream
- The package origin configuration that determines if new versions of the
package can be added to the repository from an external connection or
upstream source.
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.
$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
. - Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
$sel:originConfiguration:PackageSummary'
, packageSummary_originConfiguration
- A
PackageOriginConfiguration
object that contains a
PackageOriginRestrictions
object that contains information about the upstream and publish package
origin restrictions.
$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 PackageFormat) (Maybe Text) (Maybe [LicenseInfo]) (Maybe Text) (Maybe PackageVersionOrigin) (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe PackageVersionStatus) (Maybe Text) (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: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:format:PackageVersionDescription'
, packageVersionDescription_format
- The format of the package version.
$sel:homePage:PackageVersionDescription'
, packageVersionDescription_homePage
- The homepage associated with the package.
$sel:licenses:PackageVersionDescription'
, packageVersionDescription_licenses
- Information about licenses associated with the package version.
$sel:namespace:PackageVersionDescription'
, packageVersionDescription_namespace
- The namespace of the package version. The package version component that
specifies its namespace depends on its type. For example:
- The namespace of a Maven package version is its
groupId
. - The namespace of an npm package version is its
scope
. - Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
$sel:origin:PackageVersionDescription'
, packageVersionDescription_origin
- A
PackageVersionOrigin
object that contains information about how the package version was added
to the repository.
$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:revision:PackageVersionDescription'
, packageVersionDescription_revision
- The revision of the package version.
$sel:sourceCodeRepository:PackageVersionDescription'
, packageVersionDescription_sourceCodeRepository
- The repository for the source code in the package version, or the source
code used to build it.
$sel:status:PackageVersionDescription'
, packageVersionDescription_status
- A string that contains the status of the package version.
$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:version:PackageVersionDescription'
, packageVersionDescription_version
- The version of the package.
PackageVersionError
data PackageVersionError Source #
l 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.
PackageVersionOrigin
data PackageVersionOrigin Source #
Information about how a package version was added to a repository.
See: newPackageVersionOrigin
smart constructor.
Instances
newPackageVersionOrigin :: PackageVersionOrigin Source #
Create a value of PackageVersionOrigin
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:domainEntryPoint:PackageVersionOrigin'
, packageVersionOrigin_domainEntryPoint
- A
DomainEntryPoint
object that contains information about from which repository or external
connection the package version was added to the domain.
$sel:originType:PackageVersionOrigin'
, packageVersionOrigin_originType
- Describes how the package version was originally added to the domain. An
INTERNAL
origin type means the package version was published directly
to a repository in the domain. An EXTERNAL
origin type means the
package version was ingested from an external connection.
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:origin:PackageVersionSummary'
, packageVersionSummary_origin
- A
PackageVersionOrigin
object that contains information about how the package version was added
to the repository.
$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:
RepositoryDescription
data RepositoryDescription Source #
The details of a repository stored in 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
Amazon Web Services account.
See: newRepositoryDescription
smart constructor.
RepositoryDescription' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe [RepositoryExternalConnectionInfo]) (Maybe Text) (Maybe [UpstreamRepositoryInfo]) |
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:administratorAccount:RepositoryDescription'
, repositoryDescription_administratorAccount
- The 12-digit account number of the Amazon Web Services account that
manages the repository.
$sel:arn:RepositoryDescription'
, repositoryDescription_arn
- The Amazon Resource Name (ARN) of the repository.
$sel:description:RepositoryDescription'
, repositoryDescription_description
- A text description of the repository.
$sel:domainName:RepositoryDescription'
, repositoryDescription_domainName
- The name of the domain that contains the repository.
$sel:domainOwner:RepositoryDescription'
, repositoryDescription_domainOwner
- The 12-digit account number of the Amazon Web Services account that owns
the domain that contains the repository. It does not include dashes or
spaces.
$sel:externalConnections:RepositoryDescription'
, repositoryDescription_externalConnections
- An array of external connections associated with the repository.
$sel:name:RepositoryDescription'
, repositoryDescription_name
- The name of the repository.
$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 CodeArtifact looks for a requested package version. For more
information, see
Working with upstream repositories.
RepositoryExternalConnectionInfo
data RepositoryExternalConnectionInfo Source #
Contains information about the external connection of a repository.
See: newRepositoryExternalConnectionInfo
smart constructor.
RepositoryExternalConnectionInfo' (Maybe Text) (Maybe PackageFormat) (Maybe ExternalConnectionStatus) |
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: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.nuget
: A NuGet package.
$sel:status:RepositoryExternalConnectionInfo'
, repositoryExternalConnectionInfo_status
- The status of the external connection of a repository. There is one
valid value, Available
.
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:administratorAccount:RepositorySummary'
, repositorySummary_administratorAccount
- The Amazon Web Services account ID that manages the repository.
$sel:arn:RepositorySummary'
, repositorySummary_arn
- The ARN of the repository.
$sel:description:RepositorySummary'
, repositorySummary_description
- The description of the repository.
$sel:domainName:RepositorySummary'
, repositorySummary_domainName
- The name of the domain that contains the repository.
$sel:domainOwner:RepositorySummary'
, repositorySummary_domainOwner
- The 12-digit account number of the Amazon Web Services account that owns
the domain. It does not include dashes or spaces.
$sel:name:RepositorySummary'
, repositorySummary_name
- The name of the repository.
ResourcePolicy
data ResourcePolicy Source #
An 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:document:ResourcePolicy'
, resourcePolicy_document
- The resource policy formatted in JSON.
$sel:resourceArn:ResourcePolicy'
, resourcePolicy_resourceArn
- The ARN of the resource associated with the resource policy
$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:revision:SuccessfulPackageVersionInfo'
, successfulPackageVersionInfo_revision
- The revision of a package version.
$sel:status:SuccessfulPackageVersionInfo'
, successfulPackageVersionInfo_status
- The status of a package version.
Tag
A tag is a key-value pair that can be used to manage, search for, or filter resources in CodeArtifact.
See: newTag
smart constructor.
Instances
FromJSON Tag Source # | |
ToJSON Tag Source # | |
Defined in Amazonka.CodeArtifact.Types.Tag | |
Generic Tag Source # | |
Read Tag Source # | |
Show Tag Source # | |
NFData Tag Source # | |
Defined in Amazonka.CodeArtifact.Types.Tag | |
Eq Tag Source # | |
Hashable Tag Source # | |
Defined in Amazonka.CodeArtifact.Types.Tag | |
type Rep Tag Source # | |
Defined in Amazonka.CodeArtifact.Types.Tag type Rep Tag = D1 ('MetaData "Tag" "Amazonka.CodeArtifact.Types.Tag" "amazonka-codeartifact-2.0-CskMABZQLQJDgej73fXQxp" '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.