amazonka-codeartifact-2.0: Amazon CodeArtifact SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CodeArtifact.Lens

Description

 
Synopsis

Operations

AssociateExternalConnection

associateExternalConnection_domainOwner :: Lens' AssociateExternalConnection (Maybe Text) Source #

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

associateExternalConnection_domain :: Lens' AssociateExternalConnection Text Source #

The name of the domain that contains the repository.

associateExternalConnection_repository :: Lens' AssociateExternalConnection Text Source #

The name of the repository to which the external connection is added.

associateExternalConnection_externalConnection :: Lens' AssociateExternalConnection Text Source #

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.

associateExternalConnectionResponse_repository :: Lens' AssociateExternalConnectionResponse (Maybe RepositoryDescription) Source #

Information about the connected repository after processing the request.

CopyPackageVersions

copyPackageVersions_allowOverwrite :: Lens' CopyPackageVersions (Maybe Bool) Source #

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_domainOwner :: Lens' CopyPackageVersions (Maybe Text) Source #

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

copyPackageVersions_includeFromUpstream :: Lens' CopyPackageVersions (Maybe Bool) Source #

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_namespace :: Lens' CopyPackageVersions (Maybe Text) Source #

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.

copyPackageVersions_versionRevisions :: Lens' CopyPackageVersions (Maybe (HashMap Text Text)) Source #

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.

copyPackageVersions_versions :: Lens' CopyPackageVersions (Maybe [Text]) Source #

The versions of the package to be copied.

You must specify versions or versionRevisions. You cannot specify both.

copyPackageVersions_domain :: Lens' CopyPackageVersions Text Source #

The name of the domain that contains the source and destination repositories.

copyPackageVersions_sourceRepository :: Lens' CopyPackageVersions Text Source #

The name of the repository that contains the package versions to be copied.

copyPackageVersions_destinationRepository :: Lens' CopyPackageVersions Text Source #

The name of the repository into which package versions are copied.

copyPackageVersions_format :: Lens' CopyPackageVersions PackageFormat Source #

The format of the package versions to be copied.

copyPackageVersions_package :: Lens' CopyPackageVersions Text Source #

The name of the package that contains the versions to be copied.

copyPackageVersionsResponse_failedVersions :: Lens' CopyPackageVersionsResponse (Maybe (HashMap Text PackageVersionError)) Source #

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

copyPackageVersionsResponse_successfulVersions :: Lens' CopyPackageVersionsResponse (Maybe (HashMap Text SuccessfulPackageVersionInfo)) Source #

A list of the package versions that were successfully copied to your repository.

CreateDomain

createDomain_encryptionKey :: Lens' CreateDomain (Maybe Text) Source #

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.

createDomain_tags :: Lens' CreateDomain (Maybe [Tag]) Source #

One or more tag key-value pairs for the domain.

createDomain_domain :: Lens' CreateDomain Text Source #

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.

createDomainResponse_domain :: Lens' CreateDomainResponse (Maybe DomainDescription) Source #

Contains information about the created domain after processing the request.

CreateRepository

createRepository_description :: Lens' CreateRepository (Maybe Text) Source #

A description of the created repository.

createRepository_domainOwner :: Lens' CreateRepository (Maybe Text) Source #

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

createRepository_tags :: Lens' CreateRepository (Maybe [Tag]) Source #

One or more tag key-value pairs for the repository.

createRepository_upstreams :: Lens' CreateRepository (Maybe [UpstreamRepository]) Source #

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.

createRepository_domain :: Lens' CreateRepository Text Source #

The name of the domain that contains the created repository.

createRepository_repository :: Lens' CreateRepository Text Source #

The name of the repository to create.

createRepositoryResponse_repository :: Lens' CreateRepositoryResponse (Maybe RepositoryDescription) Source #

Information about the created repository after processing the request.

DeleteDomain

deleteDomain_domainOwner :: Lens' DeleteDomain (Maybe Text) Source #

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

deleteDomain_domain :: Lens' DeleteDomain Text Source #

The name of the domain to delete.

deleteDomainResponse_domain :: Lens' DeleteDomainResponse (Maybe DomainDescription) Source #

Contains information about the deleted domain after processing the request.

DeleteDomainPermissionsPolicy

deleteDomainPermissionsPolicy_domainOwner :: Lens' DeleteDomainPermissionsPolicy (Maybe Text) Source #

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

deleteDomainPermissionsPolicy_policyRevision :: Lens' DeleteDomainPermissionsPolicy (Maybe Text) Source #

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.

deleteDomainPermissionsPolicy_domain :: Lens' DeleteDomainPermissionsPolicy Text Source #

The name of the domain associated with the resource policy to be deleted.

deleteDomainPermissionsPolicyResponse_policy :: Lens' DeleteDomainPermissionsPolicyResponse (Maybe ResourcePolicy) Source #

Information about the deleted resource policy after processing the request.

DeletePackageVersions

deletePackageVersions_domainOwner :: Lens' DeletePackageVersions (Maybe Text) Source #

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

deletePackageVersions_expectedStatus :: Lens' DeletePackageVersions (Maybe PackageVersionStatus) Source #

The expected status of the package version to delete.

deletePackageVersions_namespace :: Lens' DeletePackageVersions (Maybe Text) Source #

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.

deletePackageVersions_domain :: Lens' DeletePackageVersions Text Source #

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

deletePackageVersions_repository :: Lens' DeletePackageVersions Text Source #

The name of the repository that contains the package versions to delete.

deletePackageVersions_format :: Lens' DeletePackageVersions PackageFormat Source #

The format of the package versions to delete.

deletePackageVersions_package :: Lens' DeletePackageVersions Text Source #

The name of the package with the versions to delete.

deletePackageVersions_versions :: Lens' DeletePackageVersions [Text] Source #

An array of strings that specify the versions of the package to delete.

deletePackageVersionsResponse_failedVersions :: Lens' DeletePackageVersionsResponse (Maybe (HashMap Text PackageVersionError)) Source #

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

deletePackageVersionsResponse_successfulVersions :: Lens' DeletePackageVersionsResponse (Maybe (HashMap Text SuccessfulPackageVersionInfo)) Source #

A list of the package versions that were successfully deleted. The status of every successful version will be Deleted.

DeleteRepository

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

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

deleteRepository_domain :: Lens' DeleteRepository Text Source #

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

deleteRepository_repository :: Lens' DeleteRepository Text Source #

The name of the repository to delete.

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

Information about the deleted repository after processing the request.

DeleteRepositoryPermissionsPolicy

deleteRepositoryPermissionsPolicy_domainOwner :: Lens' DeleteRepositoryPermissionsPolicy (Maybe Text) Source #

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

deleteRepositoryPermissionsPolicy_policyRevision :: Lens' DeleteRepositoryPermissionsPolicy (Maybe Text) Source #

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.

deleteRepositoryPermissionsPolicy_domain :: Lens' DeleteRepositoryPermissionsPolicy Text Source #

The name of the domain that contains the repository associated with the resource policy to be deleted.

deleteRepositoryPermissionsPolicy_repository :: Lens' DeleteRepositoryPermissionsPolicy Text Source #

The name of the repository that is associated with the resource policy to be deleted

DescribeDomain

describeDomain_domainOwner :: Lens' DescribeDomain (Maybe Text) Source #

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

describeDomain_domain :: Lens' DescribeDomain Text Source #

A string that specifies the name of the requested domain.

DescribePackage

describePackage_domainOwner :: Lens' DescribePackage (Maybe Text) Source #

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

describePackage_namespace :: Lens' DescribePackage (Maybe Text) Source #

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.

describePackage_domain :: Lens' DescribePackage Text Source #

The name of the domain that contains the repository that contains the package.

describePackage_repository :: Lens' DescribePackage Text Source #

The name of the repository that contains the requested package.

describePackage_format :: Lens' DescribePackage PackageFormat Source #

A format that specifies the type of the requested package.

describePackage_package :: Lens' DescribePackage Text Source #

The name of the requested package.

describePackageResponse_package :: Lens' DescribePackageResponse PackageDescription Source #

A PackageDescription object that contains information about the requested package.

DescribePackageVersion

describePackageVersion_domainOwner :: Lens' DescribePackageVersion (Maybe Text) Source #

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

describePackageVersion_namespace :: Lens' DescribePackageVersion (Maybe Text) Source #

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.

describePackageVersion_domain :: Lens' DescribePackageVersion Text Source #

The name of the domain that contains the repository that contains the package version.

describePackageVersion_repository :: Lens' DescribePackageVersion Text Source #

The name of the repository that contains the package version.

describePackageVersion_format :: Lens' DescribePackageVersion PackageFormat Source #

A format that specifies the type of the requested package version.

describePackageVersion_package :: Lens' DescribePackageVersion Text Source #

The name of the requested package version.

describePackageVersion_packageVersion :: Lens' DescribePackageVersion Text Source #

A string that contains the package version (for example, 3.5.2).

DescribeRepository

describeRepository_domainOwner :: Lens' DescribeRepository (Maybe Text) Source #

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

describeRepository_domain :: Lens' DescribeRepository Text Source #

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

describeRepository_repository :: Lens' DescribeRepository Text Source #

A string that specifies the name of the requested repository.

describeRepositoryResponse_repository :: Lens' DescribeRepositoryResponse (Maybe RepositoryDescription) Source #

A RepositoryDescription object that contains the requested repository information.

DisassociateExternalConnection

disassociateExternalConnection_domainOwner :: Lens' DisassociateExternalConnection (Maybe Text) Source #

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

disassociateExternalConnection_domain :: Lens' DisassociateExternalConnection Text Source #

The name of the domain that contains the repository from which to remove the external repository.

disassociateExternalConnection_repository :: Lens' DisassociateExternalConnection Text Source #

The name of the repository from which the external connection will be removed.

disassociateExternalConnection_externalConnection :: Lens' DisassociateExternalConnection Text Source #

The name of the external connection to be removed from the repository.

DisposePackageVersions

disposePackageVersions_domainOwner :: Lens' DisposePackageVersions (Maybe Text) Source #

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

disposePackageVersions_expectedStatus :: Lens' DisposePackageVersions (Maybe PackageVersionStatus) Source #

The expected status of the package version to dispose.

disposePackageVersions_namespace :: Lens' DisposePackageVersions (Maybe Text) Source #

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.

disposePackageVersions_versionRevisions :: Lens' DisposePackageVersions (Maybe (HashMap Text Text)) Source #

The revisions of the package versions you want to dispose.

disposePackageVersions_domain :: Lens' DisposePackageVersions Text Source #

The name of the domain that contains the repository you want to dispose.

disposePackageVersions_repository :: Lens' DisposePackageVersions Text Source #

The name of the repository that contains the package versions you want to dispose.

disposePackageVersions_format :: Lens' DisposePackageVersions PackageFormat Source #

A format that specifies the type of package versions you want to dispose.

disposePackageVersions_package :: Lens' DisposePackageVersions Text Source #

The name of the package with the versions you want to dispose.

disposePackageVersions_versions :: Lens' DisposePackageVersions [Text] Source #

The versions of the package you want to dispose.

disposePackageVersionsResponse_failedVersions :: Lens' DisposePackageVersionsResponse (Maybe (HashMap Text PackageVersionError)) Source #

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

GetAuthorizationToken

getAuthorizationToken_domainOwner :: Lens' GetAuthorizationToken (Maybe Text) Source #

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

getAuthorizationToken_durationSeconds :: Lens' GetAuthorizationToken (Maybe Natural) Source #

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.

getAuthorizationToken_domain :: Lens' GetAuthorizationToken Text Source #

The name of the domain that is in scope for the generated authorization token.

getAuthorizationTokenResponse_expiration :: Lens' GetAuthorizationTokenResponse (Maybe UTCTime) Source #

A timestamp that specifies the date and time the authorization token expires.

GetDomainPermissionsPolicy

getDomainPermissionsPolicy_domainOwner :: Lens' GetDomainPermissionsPolicy (Maybe Text) Source #

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

getDomainPermissionsPolicy_domain :: Lens' GetDomainPermissionsPolicy Text Source #

The name of the domain to which the resource policy is attached.

GetPackageVersionAsset

getPackageVersionAsset_domainOwner :: Lens' GetPackageVersionAsset (Maybe Text) Source #

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

getPackageVersionAsset_namespace :: Lens' GetPackageVersionAsset (Maybe Text) Source #

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_packageVersionRevision :: Lens' GetPackageVersionAsset (Maybe Text) Source #

The name of the package version revision that contains the requested asset.

getPackageVersionAsset_domain :: Lens' GetPackageVersionAsset Text Source #

The name of the domain that contains the repository that contains the package version with the requested asset.

getPackageVersionAsset_repository :: Lens' GetPackageVersionAsset Text Source #

The repository that contains the package version with the requested asset.

getPackageVersionAsset_format :: Lens' GetPackageVersionAsset PackageFormat Source #

A format that specifies the type of the package version with the requested asset file.

getPackageVersionAsset_package :: Lens' GetPackageVersionAsset Text Source #

The name of the package that contains the requested asset.

getPackageVersionAsset_packageVersion :: Lens' GetPackageVersionAsset Text Source #

A string that contains the package version (for example, 3.5.2).

getPackageVersionAssetResponse_packageVersion :: Lens' GetPackageVersionAssetResponse (Maybe Text) Source #

A string that contains the package version (for example, 3.5.2).

getPackageVersionAssetResponse_packageVersionRevision :: Lens' GetPackageVersionAssetResponse (Maybe Text) Source #

The name of the package version revision that contains the downloaded asset.

GetPackageVersionReadme

getPackageVersionReadme_domainOwner :: Lens' GetPackageVersionReadme (Maybe Text) Source #

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

getPackageVersionReadme_namespace :: Lens' GetPackageVersionReadme (Maybe Text) Source #

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_domain :: Lens' GetPackageVersionReadme Text Source #

The name of the domain that contains the repository that contains the package version with the requested readme file.

getPackageVersionReadme_repository :: Lens' GetPackageVersionReadme Text Source #

The repository that contains the package with the requested readme file.

getPackageVersionReadme_format :: Lens' GetPackageVersionReadme PackageFormat Source #

A format that specifies the type of the package version with the requested readme file.

getPackageVersionReadme_package :: Lens' GetPackageVersionReadme Text Source #

The name of the package version that contains the requested readme file.

getPackageVersionReadme_packageVersion :: Lens' GetPackageVersionReadme Text Source #

A string that contains the package version (for example, 3.5.2).

getPackageVersionReadmeResponse_format :: Lens' GetPackageVersionReadmeResponse (Maybe PackageFormat) Source #

The format of the package with the requested readme file.

getPackageVersionReadmeResponse_namespace :: Lens' GetPackageVersionReadmeResponse (Maybe Text) Source #

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.

getPackageVersionReadmeResponse_package :: Lens' GetPackageVersionReadmeResponse (Maybe Text) Source #

The name of the package that contains the returned readme file.

getPackageVersionReadmeResponse_version :: Lens' GetPackageVersionReadmeResponse (Maybe Text) Source #

The version of the package with the requested readme file.

getPackageVersionReadmeResponse_versionRevision :: Lens' GetPackageVersionReadmeResponse (Maybe Text) Source #

The current revision associated with the package version.

GetRepositoryEndpoint

getRepositoryEndpoint_domainOwner :: Lens' GetRepositoryEndpoint (Maybe Text) Source #

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.

getRepositoryEndpoint_domain :: Lens' GetRepositoryEndpoint Text Source #

The name of the domain that contains the repository.

getRepositoryEndpoint_format :: Lens' GetRepositoryEndpoint PackageFormat Source #

Returns which endpoint of a repository to return. A repository has one endpoint for each package format.

getRepositoryEndpointResponse_repositoryEndpoint :: Lens' GetRepositoryEndpointResponse (Maybe Text) Source #

A string that specifies the URL of the returned endpoint.

GetRepositoryPermissionsPolicy

getRepositoryPermissionsPolicy_domainOwner :: Lens' GetRepositoryPermissionsPolicy (Maybe Text) Source #

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

getRepositoryPermissionsPolicy_domain :: Lens' GetRepositoryPermissionsPolicy Text Source #

The name of the domain containing the repository whose associated resource policy is to be retrieved.

getRepositoryPermissionsPolicy_repository :: Lens' GetRepositoryPermissionsPolicy Text Source #

The name of the repository whose associated resource policy is to be retrieved.

ListDomains

listDomains_maxResults :: Lens' ListDomains (Maybe Natural) Source #

The maximum number of results to return per page.

listDomains_nextToken :: Lens' ListDomains (Maybe Text) Source #

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.

listDomainsResponse_nextToken :: Lens' ListDomainsResponse (Maybe Text) Source #

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.

ListPackageVersionAssets

listPackageVersionAssets_domainOwner :: Lens' ListPackageVersionAssets (Maybe Text) Source #

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

listPackageVersionAssets_maxResults :: Lens' ListPackageVersionAssets (Maybe Natural) Source #

The maximum number of results to return per page.

listPackageVersionAssets_namespace :: Lens' ListPackageVersionAssets (Maybe Text) Source #

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_nextToken :: Lens' ListPackageVersionAssets (Maybe Text) Source #

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.

listPackageVersionAssets_domain :: Lens' ListPackageVersionAssets Text Source #

The name of the domain that contains the repository associated with the package version assets.

listPackageVersionAssets_repository :: Lens' ListPackageVersionAssets Text Source #

The name of the repository that contains the package that contains the requested package version assets.

listPackageVersionAssets_format :: Lens' ListPackageVersionAssets PackageFormat Source #

The format of the package that contains the requested package version assets.

listPackageVersionAssets_package :: Lens' ListPackageVersionAssets Text Source #

The name of the package that contains the requested package version assets.

listPackageVersionAssets_packageVersion :: Lens' ListPackageVersionAssets Text Source #

A string that contains the package version (for example, 3.5.2).

listPackageVersionAssetsResponse_format :: Lens' ListPackageVersionAssetsResponse (Maybe PackageFormat) Source #

The format of the package that contains the requested package version assets.

listPackageVersionAssetsResponse_namespace :: Lens' ListPackageVersionAssetsResponse (Maybe Text) Source #

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.

listPackageVersionAssetsResponse_nextToken :: Lens' ListPackageVersionAssetsResponse (Maybe Text) Source #

If there are additional results, this is the token for the next set of results.

listPackageVersionAssetsResponse_package :: Lens' ListPackageVersionAssetsResponse (Maybe Text) Source #

The name of the package that contains the requested package version assets.

listPackageVersionAssetsResponse_version :: Lens' ListPackageVersionAssetsResponse (Maybe Text) Source #

The version of the package associated with the requested assets.

listPackageVersionAssetsResponse_versionRevision :: Lens' ListPackageVersionAssetsResponse (Maybe Text) Source #

The current revision associated with the package version.

ListPackageVersionDependencies

listPackageVersionDependencies_domainOwner :: Lens' ListPackageVersionDependencies (Maybe Text) Source #

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

listPackageVersionDependencies_namespace :: Lens' ListPackageVersionDependencies (Maybe Text) Source #

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_nextToken :: Lens' ListPackageVersionDependencies (Maybe Text) Source #

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_domain :: Lens' ListPackageVersionDependencies Text Source #

The name of the domain that contains the repository that contains the requested package version dependencies.

listPackageVersionDependencies_repository :: Lens' ListPackageVersionDependencies Text Source #

The name of the repository that contains the requested package version.

listPackageVersionDependencies_format :: Lens' ListPackageVersionDependencies PackageFormat Source #

The format of the package with the requested dependencies.

listPackageVersionDependencies_packageVersion :: Lens' ListPackageVersionDependencies Text Source #

A string that contains the package version (for example, 3.5.2).

listPackageVersionDependenciesResponse_format :: Lens' ListPackageVersionDependenciesResponse (Maybe PackageFormat) Source #

A format that specifies the type of the package that contains the returned dependencies.

listPackageVersionDependenciesResponse_namespace :: Lens' ListPackageVersionDependenciesResponse (Maybe Text) Source #

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.

listPackageVersionDependenciesResponse_nextToken :: Lens' ListPackageVersionDependenciesResponse (Maybe Text) Source #

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.

listPackageVersionDependenciesResponse_package :: Lens' ListPackageVersionDependenciesResponse (Maybe Text) Source #

The name of the package that contains the returned package versions dependencies.

listPackageVersionDependenciesResponse_version :: Lens' ListPackageVersionDependenciesResponse (Maybe Text) Source #

The version of the package that is specified in the request.

ListPackageVersions

listPackageVersions_domainOwner :: Lens' ListPackageVersions (Maybe Text) Source #

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

listPackageVersions_maxResults :: Lens' ListPackageVersions (Maybe Natural) Source #

The maximum number of results to return per page.

listPackageVersions_namespace :: Lens' ListPackageVersions (Maybe Text) Source #

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_nextToken :: Lens' ListPackageVersions (Maybe Text) Source #

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_originType :: Lens' ListPackageVersions (Maybe PackageVersionOriginType) Source #

The originType used to filter package versions. Only package versions with the provided originType will be returned.

listPackageVersions_sortBy :: Lens' ListPackageVersions (Maybe PackageVersionSortType) Source #

How to sort the requested list of package versions.

listPackageVersions_status :: Lens' ListPackageVersions (Maybe PackageVersionStatus) Source #

A string that filters the requested package versions by status.

listPackageVersions_domain :: Lens' ListPackageVersions Text Source #

The name of the domain that contains the repository that contains the requested package versions.

listPackageVersions_repository :: Lens' ListPackageVersions Text Source #

The name of the repository that contains the requested package versions.

listPackageVersions_format :: Lens' ListPackageVersions PackageFormat Source #

The format of the returned package versions.

listPackageVersions_package :: Lens' ListPackageVersions Text Source #

The name of the package for which you want to request package versions.

listPackageVersionsResponse_defaultDisplayVersion :: Lens' ListPackageVersionsResponse (Maybe Text) Source #

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 the latest tag is not set, it's the most recently published package version.

listPackageVersionsResponse_namespace :: Lens' ListPackageVersionsResponse (Maybe Text) Source #

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.

listPackageVersionsResponse_nextToken :: Lens' ListPackageVersionsResponse (Maybe Text) Source #

If there are additional results, this is the token for the next set of results.

ListPackages

listPackages_domainOwner :: Lens' ListPackages (Maybe Text) Source #

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

listPackages_format :: Lens' ListPackages (Maybe PackageFormat) Source #

The format used to filter requested packages. Only packages from the provided format will be returned.

listPackages_maxResults :: Lens' ListPackages (Maybe Natural) Source #

The maximum number of results to return per page.

listPackages_namespace :: Lens' ListPackages (Maybe Text) Source #

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_nextToken :: Lens' ListPackages (Maybe Text) Source #

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.

listPackages_packagePrefix :: Lens' ListPackages (Maybe Text) Source #

A prefix used to filter requested packages. Only packages with names that start with packagePrefix are returned.

listPackages_publish :: Lens' ListPackages (Maybe AllowPublish) Source #

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_upstream :: Lens' ListPackages (Maybe AllowUpstream) Source #

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.

listPackages_domain :: Lens' ListPackages Text Source #

The name of the domain that contains the repository that contains the requested packages.

listPackages_repository :: Lens' ListPackages Text Source #

The name of the repository that contains the requested packages.

listPackagesResponse_nextToken :: Lens' ListPackagesResponse (Maybe Text) Source #

If there are additional results, this is the token for the next set of results.

ListRepositories

listRepositories_maxResults :: Lens' ListRepositories (Maybe Natural) Source #

The maximum number of results to return per page.

listRepositories_nextToken :: Lens' ListRepositories (Maybe Text) Source #

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.

listRepositories_repositoryPrefix :: Lens' ListRepositories (Maybe Text) Source #

A prefix used to filter returned repositories. Only repositories with names that start with repositoryPrefix are returned.

listRepositoriesResponse_nextToken :: Lens' ListRepositoriesResponse (Maybe Text) Source #

If there are additional results, this is the token for the next set of results.

ListRepositoriesInDomain

listRepositoriesInDomain_administratorAccount :: Lens' ListRepositoriesInDomain (Maybe Text) Source #

Filter the list of repositories to only include those that are managed by the Amazon Web Services account ID.

listRepositoriesInDomain_domainOwner :: Lens' ListRepositoriesInDomain (Maybe Text) Source #

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

listRepositoriesInDomain_maxResults :: Lens' ListRepositoriesInDomain (Maybe Natural) Source #

The maximum number of results to return per page.

listRepositoriesInDomain_nextToken :: Lens' ListRepositoriesInDomain (Maybe Text) Source #

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.

listRepositoriesInDomain_repositoryPrefix :: Lens' ListRepositoriesInDomain (Maybe Text) Source #

A prefix used to filter returned repositories. Only repositories with names that start with repositoryPrefix are returned.

listRepositoriesInDomain_domain :: Lens' ListRepositoriesInDomain Text Source #

The name of the domain that contains the returned list of repositories.

listRepositoriesInDomainResponse_nextToken :: Lens' ListRepositoriesInDomainResponse (Maybe Text) Source #

If there are additional results, this is the token for the next set of results.

ListTagsForResource

listTagsForResource_resourceArn :: Lens' ListTagsForResource Text Source #

The Amazon Resource Name (ARN) of the resource to get tags for.

listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [Tag]) Source #

A list of tag key and value pairs associated with the specified resource.

PutDomainPermissionsPolicy

putDomainPermissionsPolicy_domainOwner :: Lens' PutDomainPermissionsPolicy (Maybe Text) Source #

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

putDomainPermissionsPolicy_policyRevision :: Lens' PutDomainPermissionsPolicy (Maybe Text) Source #

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.

putDomainPermissionsPolicy_domain :: Lens' PutDomainPermissionsPolicy Text Source #

The name of the domain on which to set the resource policy.

putDomainPermissionsPolicy_policyDocument :: Lens' PutDomainPermissionsPolicy Text Source #

A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided domain.

putDomainPermissionsPolicyResponse_policy :: Lens' PutDomainPermissionsPolicyResponse (Maybe ResourcePolicy) Source #

The resource policy that was set after processing the request.

PutPackageOriginConfiguration

putPackageOriginConfiguration_domainOwner :: Lens' PutPackageOriginConfiguration (Maybe Text) Source #

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

putPackageOriginConfiguration_namespace :: Lens' PutPackageOriginConfiguration (Maybe Text) Source #

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.

putPackageOriginConfiguration_domain :: Lens' PutPackageOriginConfiguration Text Source #

The name of the domain that contains the repository that contains the package.

putPackageOriginConfiguration_repository :: Lens' PutPackageOriginConfiguration Text Source #

The name of the repository that contains the package.

putPackageOriginConfiguration_format :: Lens' PutPackageOriginConfiguration PackageFormat Source #

A format that specifies the type of the package to be updated.

putPackageOriginConfiguration_restrictions :: Lens' PutPackageOriginConfiguration PackageOriginRestrictions Source #

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.

putPackageOriginConfigurationResponse_originConfiguration :: Lens' PutPackageOriginConfigurationResponse (Maybe PackageOriginConfiguration) Source #

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.

PutRepositoryPermissionsPolicy

putRepositoryPermissionsPolicy_domainOwner :: Lens' PutRepositoryPermissionsPolicy (Maybe Text) Source #

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

putRepositoryPermissionsPolicy_policyRevision :: Lens' PutRepositoryPermissionsPolicy (Maybe Text) Source #

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.

putRepositoryPermissionsPolicy_domain :: Lens' PutRepositoryPermissionsPolicy Text Source #

The name of the domain containing the repository to set the resource policy on.

putRepositoryPermissionsPolicy_repository :: Lens' PutRepositoryPermissionsPolicy Text Source #

The name of the repository to set the resource policy on.

putRepositoryPermissionsPolicy_policyDocument :: Lens' PutRepositoryPermissionsPolicy Text Source #

A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided repository.

TagResource

tagResource_resourceArn :: Lens' TagResource Text Source #

The Amazon Resource Name (ARN) of the resource that you want to add or update tags for.

tagResource_tags :: Lens' TagResource [Tag] Source #

The tags you want to modify or add to the resource.

UntagResource

untagResource_resourceArn :: Lens' UntagResource Text Source #

The Amazon Resource Name (ARN) of the resource that you want to remove tags from.

untagResource_tagKeys :: Lens' UntagResource [Text] Source #

The tag key for each tag that you want to remove from the resource.

UpdatePackageVersionsStatus

updatePackageVersionsStatus_domainOwner :: Lens' UpdatePackageVersionsStatus (Maybe Text) Source #

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

updatePackageVersionsStatus_expectedStatus :: Lens' UpdatePackageVersionsStatus (Maybe PackageVersionStatus) Source #

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_namespace :: Lens' UpdatePackageVersionsStatus (Maybe Text) Source #

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.

updatePackageVersionsStatus_versionRevisions :: Lens' UpdatePackageVersionsStatus (Maybe (HashMap Text Text)) Source #

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.

updatePackageVersionsStatus_domain :: Lens' UpdatePackageVersionsStatus Text Source #

The name of the domain that contains the repository that contains the package versions with a status to be updated.

updatePackageVersionsStatus_repository :: Lens' UpdatePackageVersionsStatus Text Source #

The repository that contains the package versions with the status you want to update.

updatePackageVersionsStatus_format :: Lens' UpdatePackageVersionsStatus PackageFormat Source #

A format that specifies the type of the package with the statuses to update.

updatePackageVersionsStatus_package :: Lens' UpdatePackageVersionsStatus Text Source #

The name of the package with the version statuses to update.

updatePackageVersionsStatus_versions :: Lens' UpdatePackageVersionsStatus [Text] Source #

An array of strings that specify the versions of the package with the statuses to update.

updatePackageVersionsStatus_targetStatus :: Lens' UpdatePackageVersionsStatus PackageVersionStatus Source #

The status you want to change the package version status to.

updatePackageVersionsStatusResponse_failedVersions :: Lens' UpdatePackageVersionsStatusResponse (Maybe (HashMap Text PackageVersionError)) Source #

A list of SuccessfulPackageVersionInfo objects, one for each package version with a status that successfully updated.

updatePackageVersionsStatusResponse_successfulVersions :: Lens' UpdatePackageVersionsStatusResponse (Maybe (HashMap Text SuccessfulPackageVersionInfo)) Source #

A list of PackageVersionError objects, one for each package version with a status that failed to update.

UpdateRepository

updateRepository_description :: Lens' UpdateRepository (Maybe Text) Source #

An updated repository description.

updateRepository_domainOwner :: Lens' UpdateRepository (Maybe Text) Source #

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

updateRepository_upstreams :: Lens' UpdateRepository (Maybe [UpstreamRepository]) Source #

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.

updateRepository_domain :: Lens' UpdateRepository Text Source #

The name of the domain associated with the repository to update.

updateRepository_repository :: Lens' UpdateRepository Text Source #

The name of the repository to update.

Types

AssetSummary

assetSummary_name :: Lens' AssetSummary Text Source #

The name of the asset.

DomainDescription

domainDescription_arn :: Lens' DomainDescription (Maybe Text) Source #

The Amazon Resource Name (ARN) of the domain.

domainDescription_assetSizeBytes :: Lens' DomainDescription (Maybe Integer) Source #

The total size of all assets in the domain.

domainDescription_createdTime :: Lens' DomainDescription (Maybe UTCTime) Source #

A timestamp that represents the date and time the domain was created.

domainDescription_encryptionKey :: Lens' DomainDescription (Maybe Text) Source #

The ARN of an Key Management Service (KMS) key associated with a domain.

domainDescription_owner :: Lens' DomainDescription (Maybe Text) Source #

The Amazon Web Services account ID that owns the domain.

domainDescription_repositoryCount :: Lens' DomainDescription (Maybe Int) Source #

The number of repositories in the domain.

domainDescription_s3BucketArn :: Lens' DomainDescription (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Amazon S3 bucket that is used to store package assets in the domain.

DomainEntryPoint

domainEntryPoint_externalConnectionName :: Lens' DomainEntryPoint (Maybe Text) Source #

The name of the external connection that a package was ingested from.

domainEntryPoint_repositoryName :: Lens' DomainEntryPoint (Maybe Text) Source #

The name of the repository that a package was originally published to.

DomainSummary

domainSummary_createdTime :: Lens' DomainSummary (Maybe UTCTime) Source #

A timestamp that contains the date and time the domain was created.

domainSummary_encryptionKey :: Lens' DomainSummary (Maybe Text) Source #

The key used to encrypt the domain.

domainSummary_owner :: Lens' DomainSummary (Maybe Text) Source #

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

domainSummary_status :: Lens' DomainSummary (Maybe DomainStatus) Source #

A string that contains the status of the domain.

LicenseInfo

licenseInfo_url :: Lens' LicenseInfo (Maybe Text) Source #

The URL for license data.

PackageDependency

packageDependency_dependencyType :: Lens' PackageDependency (Maybe Text) Source #

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.

packageDependency_namespace :: Lens' PackageDependency (Maybe Text) Source #

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.

packageDependency_package :: Lens' PackageDependency (Maybe Text) Source #

The name of the package that this package depends on.

packageDependency_versionRequirement :: Lens' PackageDependency (Maybe Text) Source #

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

packageDescription_format :: Lens' PackageDescription (Maybe PackageFormat) Source #

A format that specifies the type of the package.

packageDescription_namespace :: Lens' PackageDescription (Maybe Text) Source #

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.

PackageOriginConfiguration

packageOriginConfiguration_restrictions :: Lens' PackageOriginConfiguration (Maybe PackageOriginRestrictions) Source #

A PackageOriginRestrictions object that contains information about the upstream and publish package origin configuration for the package.

PackageOriginRestrictions

packageOriginRestrictions_publish :: Lens' PackageOriginRestrictions AllowPublish Source #

The package origin configuration that determines if new versions of the package can be published directly to the repository.

packageOriginRestrictions_upstream :: Lens' PackageOriginRestrictions AllowUpstream Source #

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

packageSummary_namespace :: Lens' PackageSummary (Maybe Text) Source #

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.

packageSummary_originConfiguration :: Lens' PackageSummary (Maybe PackageOriginConfiguration) Source #

A PackageOriginConfiguration object that contains a PackageOriginRestrictions object that contains information about the upstream and publish package origin restrictions.

PackageVersionDescription

packageVersionDescription_displayName :: Lens' PackageVersionDescription (Maybe Text) Source #

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.

packageVersionDescription_licenses :: Lens' PackageVersionDescription (Maybe [LicenseInfo]) Source #

Information about licenses associated with the package version.

packageVersionDescription_namespace :: Lens' PackageVersionDescription (Maybe Text) Source #

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.

packageVersionDescription_origin :: Lens' PackageVersionDescription (Maybe PackageVersionOrigin) Source #

A PackageVersionOrigin object that contains information about how the package version was added to the repository.

packageVersionDescription_publishedTime :: Lens' PackageVersionDescription (Maybe UTCTime) Source #

A timestamp that contains the date and time the package version was published.

packageVersionDescription_sourceCodeRepository :: Lens' PackageVersionDescription (Maybe Text) Source #

The repository for the source code in the package version, or the source code used to build it.

packageVersionDescription_status :: Lens' PackageVersionDescription (Maybe PackageVersionStatus) Source #

A string that contains the status of the package version.

packageVersionDescription_summary :: Lens' PackageVersionDescription (Maybe Text) Source #

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.

PackageVersionError

packageVersionError_errorCode :: Lens' PackageVersionError (Maybe PackageVersionErrorCode) Source #

The error code associated with the error. Valid error codes are:

  • ALREADY_EXISTS
  • MISMATCHED_REVISION
  • MISMATCHED_STATUS
  • NOT_ALLOWED
  • NOT_FOUND
  • SKIPPED

packageVersionError_errorMessage :: Lens' PackageVersionError (Maybe Text) Source #

The error message associated with the error.

PackageVersionOrigin

packageVersionOrigin_domainEntryPoint :: Lens' PackageVersionOrigin (Maybe DomainEntryPoint) Source #

A DomainEntryPoint object that contains information about from which repository or external connection the package version was added to the domain.

packageVersionOrigin_originType :: Lens' PackageVersionOrigin (Maybe PackageVersionOriginType) Source #

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

packageVersionSummary_origin :: Lens' PackageVersionSummary (Maybe PackageVersionOrigin) Source #

A PackageVersionOrigin object that contains information about how the package version was added to the repository.

packageVersionSummary_revision :: Lens' PackageVersionSummary (Maybe Text) Source #

The revision associated with a package version.

packageVersionSummary_version :: Lens' PackageVersionSummary Text Source #

Information about a package version.

packageVersionSummary_status :: Lens' PackageVersionSummary PackageVersionStatus Source #

A string that contains the status of the package version. It can be one of the following:

RepositoryDescription

repositoryDescription_administratorAccount :: Lens' RepositoryDescription (Maybe Text) Source #

The 12-digit account number of the Amazon Web Services account that manages the repository.

repositoryDescription_arn :: Lens' RepositoryDescription (Maybe Text) Source #

The Amazon Resource Name (ARN) of the repository.

repositoryDescription_domainName :: Lens' RepositoryDescription (Maybe Text) Source #

The name of the domain that contains the repository.

repositoryDescription_domainOwner :: Lens' RepositoryDescription (Maybe Text) Source #

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.

repositoryDescription_externalConnections :: Lens' RepositoryDescription (Maybe [RepositoryExternalConnectionInfo]) Source #

An array of external connections associated with the repository.

repositoryDescription_upstreams :: Lens' RepositoryDescription (Maybe [UpstreamRepositoryInfo]) Source #

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

repositoryExternalConnectionInfo_externalConnectionName :: Lens' RepositoryExternalConnectionInfo (Maybe Text) Source #

The name of the external connection associated with a repository.

repositoryExternalConnectionInfo_packageFormat :: Lens' RepositoryExternalConnectionInfo (Maybe PackageFormat) Source #

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.

repositoryExternalConnectionInfo_status :: Lens' RepositoryExternalConnectionInfo (Maybe ExternalConnectionStatus) Source #

The status of the external connection of a repository. There is one valid value, Available.

RepositorySummary

repositorySummary_administratorAccount :: Lens' RepositorySummary (Maybe Text) Source #

The Amazon Web Services account ID that manages the repository.

repositorySummary_description :: Lens' RepositorySummary (Maybe Text) Source #

The description of the repository.

repositorySummary_domainName :: Lens' RepositorySummary (Maybe Text) Source #

The name of the domain that contains the repository.

repositorySummary_domainOwner :: Lens' RepositorySummary (Maybe Text) Source #

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

ResourcePolicy

resourcePolicy_document :: Lens' ResourcePolicy (Maybe Text) Source #

The resource policy formatted in JSON.

resourcePolicy_resourceArn :: Lens' ResourcePolicy (Maybe Text) Source #

The ARN of the resource associated with the resource policy

resourcePolicy_revision :: Lens' ResourcePolicy (Maybe Text) Source #

The current revision of the resource policy.

SuccessfulPackageVersionInfo

Tag

tag_key :: Lens' Tag Text Source #

The tag key.

tag_value :: Lens' Tag Text Source #

The tag value.

UpstreamRepository

UpstreamRepositoryInfo