Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
- Service Configuration
- Errors
- DomainStatus
- ExternalConnectionStatus
- HashAlgorithm
- PackageFormat
- PackageVersionErrorCode
- PackageVersionSortType
- PackageVersionStatus
- AssetSummary
- DomainDescription
- DomainSummary
- LicenseInfo
- PackageDependency
- PackageSummary
- PackageVersionDescription
- PackageVersionError
- PackageVersionSummary
- RepositoryDescription
- RepositoryExternalConnectionInfo
- RepositorySummary
- ResourcePolicy
- SuccessfulPackageVersionInfo
- Tag
- UpstreamRepository
- UpstreamRepositoryInfo
Synopsis
- defaultService :: Service
- _ValidationException :: AsError a => Getting (First ServiceError) a ServiceError
- _AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- _ConflictException :: AsError a => Getting (First ServiceError) a ServiceError
- _ServiceQuotaExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- newtype DomainStatus where
- DomainStatus' { }
- pattern DomainStatus_Active :: DomainStatus
- pattern DomainStatus_Deleted :: DomainStatus
- newtype ExternalConnectionStatus where
- newtype HashAlgorithm where
- HashAlgorithm' { }
- pattern HashAlgorithm_MD5 :: HashAlgorithm
- pattern HashAlgorithm_SHA_1 :: HashAlgorithm
- pattern HashAlgorithm_SHA_256 :: HashAlgorithm
- pattern HashAlgorithm_SHA_512 :: HashAlgorithm
- newtype PackageFormat where
- PackageFormat' { }
- pattern PackageFormat_Maven :: PackageFormat
- pattern PackageFormat_Npm :: PackageFormat
- pattern PackageFormat_Nuget :: PackageFormat
- pattern PackageFormat_Pypi :: PackageFormat
- newtype PackageVersionErrorCode where
- PackageVersionErrorCode' { }
- pattern PackageVersionErrorCode_ALREADY_EXISTS :: PackageVersionErrorCode
- pattern PackageVersionErrorCode_MISMATCHED_REVISION :: PackageVersionErrorCode
- pattern PackageVersionErrorCode_MISMATCHED_STATUS :: PackageVersionErrorCode
- pattern PackageVersionErrorCode_NOT_ALLOWED :: PackageVersionErrorCode
- pattern PackageVersionErrorCode_NOT_FOUND :: PackageVersionErrorCode
- pattern PackageVersionErrorCode_SKIPPED :: PackageVersionErrorCode
- newtype PackageVersionSortType where
- newtype PackageVersionStatus where
- PackageVersionStatus' { }
- pattern PackageVersionStatus_Archived :: PackageVersionStatus
- pattern PackageVersionStatus_Deleted :: PackageVersionStatus
- pattern PackageVersionStatus_Disposed :: PackageVersionStatus
- pattern PackageVersionStatus_Published :: PackageVersionStatus
- pattern PackageVersionStatus_Unfinished :: PackageVersionStatus
- pattern PackageVersionStatus_Unlisted :: PackageVersionStatus
- data AssetSummary = AssetSummary' {}
- newAssetSummary :: Text -> AssetSummary
- assetSummary_size :: Lens' AssetSummary (Maybe Integer)
- assetSummary_hashes :: Lens' AssetSummary (Maybe (HashMap HashAlgorithm Text))
- assetSummary_name :: Lens' AssetSummary Text
- data DomainDescription = DomainDescription' {
- assetSizeBytes :: Maybe Integer
- status :: Maybe DomainStatus
- arn :: Maybe Text
- createdTime :: Maybe POSIX
- s3BucketArn :: Maybe Text
- owner :: Maybe Text
- repositoryCount :: Maybe Int
- name :: Maybe Text
- encryptionKey :: Maybe Text
- newDomainDescription :: DomainDescription
- domainDescription_assetSizeBytes :: Lens' DomainDescription (Maybe Integer)
- domainDescription_status :: Lens' DomainDescription (Maybe DomainStatus)
- domainDescription_arn :: Lens' DomainDescription (Maybe Text)
- domainDescription_createdTime :: Lens' DomainDescription (Maybe UTCTime)
- domainDescription_s3BucketArn :: Lens' DomainDescription (Maybe Text)
- domainDescription_owner :: Lens' DomainDescription (Maybe Text)
- domainDescription_repositoryCount :: Lens' DomainDescription (Maybe Int)
- domainDescription_name :: Lens' DomainDescription (Maybe Text)
- domainDescription_encryptionKey :: Lens' DomainDescription (Maybe Text)
- data DomainSummary = DomainSummary' {}
- newDomainSummary :: DomainSummary
- domainSummary_status :: Lens' DomainSummary (Maybe DomainStatus)
- domainSummary_arn :: Lens' DomainSummary (Maybe Text)
- domainSummary_createdTime :: Lens' DomainSummary (Maybe UTCTime)
- domainSummary_owner :: Lens' DomainSummary (Maybe Text)
- domainSummary_name :: Lens' DomainSummary (Maybe Text)
- domainSummary_encryptionKey :: Lens' DomainSummary (Maybe Text)
- data LicenseInfo = LicenseInfo' {}
- newLicenseInfo :: LicenseInfo
- licenseInfo_url :: Lens' LicenseInfo (Maybe Text)
- licenseInfo_name :: Lens' LicenseInfo (Maybe Text)
- data PackageDependency = PackageDependency' {}
- newPackageDependency :: PackageDependency
- packageDependency_dependencyType :: Lens' PackageDependency (Maybe Text)
- packageDependency_namespace :: Lens' PackageDependency (Maybe Text)
- packageDependency_package :: Lens' PackageDependency (Maybe Text)
- packageDependency_versionRequirement :: Lens' PackageDependency (Maybe Text)
- data PackageSummary = PackageSummary' {}
- newPackageSummary :: PackageSummary
- packageSummary_format :: Lens' PackageSummary (Maybe PackageFormat)
- packageSummary_namespace :: Lens' PackageSummary (Maybe Text)
- packageSummary_package :: Lens' PackageSummary (Maybe Text)
- data PackageVersionDescription = PackageVersionDescription' {
- summary :: Maybe Text
- homePage :: Maybe Text
- status :: Maybe PackageVersionStatus
- sourceCodeRepository :: Maybe Text
- packageName :: Maybe Text
- publishedTime :: Maybe POSIX
- format :: Maybe PackageFormat
- namespace :: Maybe Text
- version :: Maybe Text
- displayName :: Maybe Text
- licenses :: Maybe [LicenseInfo]
- revision :: Maybe Text
- newPackageVersionDescription :: PackageVersionDescription
- packageVersionDescription_summary :: Lens' PackageVersionDescription (Maybe Text)
- packageVersionDescription_homePage :: Lens' PackageVersionDescription (Maybe Text)
- packageVersionDescription_status :: Lens' PackageVersionDescription (Maybe PackageVersionStatus)
- packageVersionDescription_sourceCodeRepository :: Lens' PackageVersionDescription (Maybe Text)
- packageVersionDescription_packageName :: Lens' PackageVersionDescription (Maybe Text)
- packageVersionDescription_publishedTime :: Lens' PackageVersionDescription (Maybe UTCTime)
- packageVersionDescription_format :: Lens' PackageVersionDescription (Maybe PackageFormat)
- packageVersionDescription_namespace :: Lens' PackageVersionDescription (Maybe Text)
- packageVersionDescription_version :: Lens' PackageVersionDescription (Maybe Text)
- packageVersionDescription_displayName :: Lens' PackageVersionDescription (Maybe Text)
- packageVersionDescription_licenses :: Lens' PackageVersionDescription (Maybe [LicenseInfo])
- packageVersionDescription_revision :: Lens' PackageVersionDescription (Maybe Text)
- data PackageVersionError = PackageVersionError' {}
- newPackageVersionError :: PackageVersionError
- packageVersionError_errorCode :: Lens' PackageVersionError (Maybe PackageVersionErrorCode)
- packageVersionError_errorMessage :: Lens' PackageVersionError (Maybe Text)
- data PackageVersionSummary = PackageVersionSummary' {}
- newPackageVersionSummary :: Text -> PackageVersionStatus -> PackageVersionSummary
- packageVersionSummary_revision :: Lens' PackageVersionSummary (Maybe Text)
- packageVersionSummary_version :: Lens' PackageVersionSummary Text
- packageVersionSummary_status :: Lens' PackageVersionSummary PackageVersionStatus
- data RepositoryDescription = RepositoryDescription' {}
- newRepositoryDescription :: RepositoryDescription
- repositoryDescription_upstreams :: Lens' RepositoryDescription (Maybe [UpstreamRepositoryInfo])
- repositoryDescription_arn :: Lens' RepositoryDescription (Maybe Text)
- repositoryDescription_domainOwner :: Lens' RepositoryDescription (Maybe Text)
- repositoryDescription_domainName :: Lens' RepositoryDescription (Maybe Text)
- repositoryDescription_name :: Lens' RepositoryDescription (Maybe Text)
- repositoryDescription_administratorAccount :: Lens' RepositoryDescription (Maybe Text)
- repositoryDescription_externalConnections :: Lens' RepositoryDescription (Maybe [RepositoryExternalConnectionInfo])
- repositoryDescription_description :: Lens' RepositoryDescription (Maybe Text)
- data RepositoryExternalConnectionInfo = RepositoryExternalConnectionInfo' {}
- newRepositoryExternalConnectionInfo :: RepositoryExternalConnectionInfo
- repositoryExternalConnectionInfo_externalConnectionName :: Lens' RepositoryExternalConnectionInfo (Maybe Text)
- repositoryExternalConnectionInfo_status :: Lens' RepositoryExternalConnectionInfo (Maybe ExternalConnectionStatus)
- repositoryExternalConnectionInfo_packageFormat :: Lens' RepositoryExternalConnectionInfo (Maybe PackageFormat)
- data RepositorySummary = RepositorySummary' {
- arn :: Maybe Text
- domainOwner :: Maybe Text
- domainName :: Maybe Text
- name :: Maybe Text
- administratorAccount :: Maybe Text
- description :: Maybe Text
- newRepositorySummary :: RepositorySummary
- repositorySummary_arn :: Lens' RepositorySummary (Maybe Text)
- repositorySummary_domainOwner :: Lens' RepositorySummary (Maybe Text)
- repositorySummary_domainName :: Lens' RepositorySummary (Maybe Text)
- repositorySummary_name :: Lens' RepositorySummary (Maybe Text)
- repositorySummary_administratorAccount :: Lens' RepositorySummary (Maybe Text)
- repositorySummary_description :: Lens' RepositorySummary (Maybe Text)
- data ResourcePolicy = ResourcePolicy' {}
- newResourcePolicy :: ResourcePolicy
- resourcePolicy_resourceArn :: Lens' ResourcePolicy (Maybe Text)
- resourcePolicy_document :: Lens' ResourcePolicy (Maybe Text)
- resourcePolicy_revision :: Lens' ResourcePolicy (Maybe Text)
- data SuccessfulPackageVersionInfo = SuccessfulPackageVersionInfo' {}
- newSuccessfulPackageVersionInfo :: SuccessfulPackageVersionInfo
- successfulPackageVersionInfo_status :: Lens' SuccessfulPackageVersionInfo (Maybe PackageVersionStatus)
- successfulPackageVersionInfo_revision :: Lens' SuccessfulPackageVersionInfo (Maybe Text)
- data Tag = Tag' {}
- newTag :: Text -> Text -> Tag
- tag_key :: Lens' Tag Text
- tag_value :: Lens' Tag Text
- data UpstreamRepository = UpstreamRepository' {}
- newUpstreamRepository :: Text -> UpstreamRepository
- upstreamRepository_repositoryName :: Lens' UpstreamRepository Text
- data UpstreamRepositoryInfo = UpstreamRepositoryInfo' {}
- newUpstreamRepositoryInfo :: UpstreamRepositoryInfo
- upstreamRepositoryInfo_repositoryName :: Lens' UpstreamRepositoryInfo (Maybe Text)
Service Configuration
defaultService :: Service Source #
API version 2018-09-22
of the Amazon CodeArtifact SDK configuration.
Errors
_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation did not succeed because a parameter in the request was sent with an invalid value.
_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation did not succeed because of an unauthorized access attempt.
_ConflictException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation did not succeed because prerequisites are not met.
_ServiceQuotaExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation did not succeed because it would have exceeded a service limit for your account.
_ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation did not succeed because too many requests are sent to the service.
_InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation did not succeed because of an error that occurred inside AWS CodeArtifact.
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation did not succeed because the resource requested is not found in the service.
DomainStatus
newtype DomainStatus Source #
pattern DomainStatus_Active :: DomainStatus | |
pattern DomainStatus_Deleted :: DomainStatus |
Instances
ExternalConnectionStatus
newtype ExternalConnectionStatus Source #
Instances
HashAlgorithm
newtype HashAlgorithm Source #
pattern HashAlgorithm_MD5 :: HashAlgorithm | |
pattern HashAlgorithm_SHA_1 :: HashAlgorithm | |
pattern HashAlgorithm_SHA_256 :: HashAlgorithm | |
pattern HashAlgorithm_SHA_512 :: HashAlgorithm |
Instances
PackageFormat
newtype PackageFormat Source #
pattern PackageFormat_Maven :: PackageFormat | |
pattern PackageFormat_Npm :: PackageFormat | |
pattern PackageFormat_Nuget :: PackageFormat | |
pattern PackageFormat_Pypi :: PackageFormat |
Instances
PackageVersionErrorCode
newtype PackageVersionErrorCode Source #
Instances
PackageVersionSortType
newtype PackageVersionSortType Source #
Instances
PackageVersionStatus
newtype PackageVersionStatus Source #
pattern PackageVersionStatus_Archived :: PackageVersionStatus | |
pattern PackageVersionStatus_Deleted :: PackageVersionStatus | |
pattern PackageVersionStatus_Disposed :: PackageVersionStatus | |
pattern PackageVersionStatus_Published :: PackageVersionStatus | |
pattern PackageVersionStatus_Unfinished :: PackageVersionStatus | |
pattern PackageVersionStatus_Unlisted :: PackageVersionStatus |
Instances
AssetSummary
data AssetSummary Source #
Contains details about a package version asset.
See: newAssetSummary
smart constructor.
Instances
Create a value of AssetSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:size:AssetSummary'
, assetSummary_size
- The size of the asset.
$sel:hashes:AssetSummary'
, assetSummary_hashes
- The hashes of the asset.
$sel:name:AssetSummary'
, assetSummary_name
- The name of the asset.
assetSummary_size :: Lens' AssetSummary (Maybe Integer) Source #
The size of the asset.
assetSummary_hashes :: Lens' AssetSummary (Maybe (HashMap HashAlgorithm Text)) Source #
The hashes of the asset.
assetSummary_name :: Lens' AssetSummary Text Source #
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' | |
|
Instances
newDomainDescription :: DomainDescription Source #
Create a value of DomainDescription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:assetSizeBytes:DomainDescription'
, domainDescription_assetSizeBytes
- The total size of all assets in the domain.
$sel:status:DomainDescription'
, domainDescription_status
- The current status of a domain. The valid values are
Active
Deleted
$sel:arn:DomainDescription'
, domainDescription_arn
- The Amazon Resource Name (ARN) of the domain.
$sel:createdTime:DomainDescription'
, domainDescription_createdTime
- A timestamp that represents the date and time the domain was created.
$sel:s3BucketArn:DomainDescription'
, domainDescription_s3BucketArn
- The Amazon Resource Name (ARN) of the Amazon S3 bucket that is used to
store package assets in the domain.
$sel:owner:DomainDescription'
, domainDescription_owner
- The AWS account ID that owns the domain.
$sel:repositoryCount:DomainDescription'
, domainDescription_repositoryCount
- The number of repositories in the domain.
$sel:name:DomainDescription'
, domainDescription_name
- The name of the domain.
$sel:encryptionKey:DomainDescription'
, domainDescription_encryptionKey
- The ARN of an AWS Key Management Service (AWS KMS) key associated with a
domain.
domainDescription_assetSizeBytes :: Lens' DomainDescription (Maybe Integer) Source #
The total size of all assets in the domain.
domainDescription_status :: Lens' DomainDescription (Maybe DomainStatus) Source #
The current status of a domain. The valid values are
Active
Deleted
domainDescription_arn :: Lens' DomainDescription (Maybe Text) Source #
The Amazon Resource Name (ARN) of the domain.
domainDescription_createdTime :: Lens' DomainDescription (Maybe UTCTime) Source #
A timestamp that represents the date and time the domain was created.
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.
domainDescription_owner :: Lens' DomainDescription (Maybe Text) Source #
The AWS account ID that owns the domain.
domainDescription_repositoryCount :: Lens' DomainDescription (Maybe Int) Source #
The number of repositories in the domain.
domainDescription_name :: Lens' DomainDescription (Maybe Text) Source #
The name of the domain.
domainDescription_encryptionKey :: Lens' DomainDescription (Maybe Text) Source #
The ARN of an AWS Key Management Service (AWS KMS) key associated with a domain.
DomainSummary
data DomainSummary Source #
Information about a domain, including its name, Amazon Resource Name
(ARN), and status. The
ListDomains
operation returns a list of DomainSummary
objects.
See: newDomainSummary
smart constructor.
DomainSummary' | |
|
Instances
newDomainSummary :: DomainSummary Source #
Create a value of DomainSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:DomainSummary'
, domainSummary_status
- A string that contains the status of the domain. The valid values are:
Active
Deleted
$sel:arn:DomainSummary'
, domainSummary_arn
- The ARN of the domain.
$sel:createdTime:DomainSummary'
, domainSummary_createdTime
- A timestamp that contains the date and time the domain was created.
$sel:owner:DomainSummary'
, domainSummary_owner
- The 12-digit account number of the AWS account that owns the domain. It
does not include dashes or spaces.
$sel:name:DomainSummary'
, domainSummary_name
- The name of the domain.
$sel:encryptionKey:DomainSummary'
, domainSummary_encryptionKey
- The key used to encrypt the domain.
domainSummary_status :: Lens' DomainSummary (Maybe DomainStatus) Source #
A string that contains the status of the domain. The valid values are:
Active
Deleted
domainSummary_arn :: Lens' DomainSummary (Maybe Text) Source #
The ARN of the domain.
domainSummary_createdTime :: Lens' DomainSummary (Maybe UTCTime) Source #
A timestamp that contains the date and time the domain was created.
domainSummary_owner :: Lens' DomainSummary (Maybe Text) Source #
The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
domainSummary_name :: Lens' DomainSummary (Maybe Text) Source #
The name of the domain.
domainSummary_encryptionKey :: Lens' DomainSummary (Maybe Text) Source #
The key used to encrypt the domain.
LicenseInfo
data LicenseInfo Source #
Details of the license data.
See: newLicenseInfo
smart constructor.
Instances
newLicenseInfo :: LicenseInfo Source #
Create a value of LicenseInfo
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:url:LicenseInfo'
, licenseInfo_url
- The URL for license data.
$sel:name:LicenseInfo'
, licenseInfo_name
- Name of the license.
licenseInfo_url :: Lens' LicenseInfo (Maybe Text) Source #
The URL for license data.
licenseInfo_name :: Lens' LicenseInfo (Maybe Text) Source #
Name of the license.
PackageDependency
data PackageDependency Source #
Details about a package dependency.
See: newPackageDependency
smart constructor.
PackageDependency' | |
|
Instances
newPackageDependency :: PackageDependency Source #
Create a value of PackageDependency
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dependencyType:PackageDependency'
, packageDependency_dependencyType
- The type of a package dependency. The possible values depend on the
package type. Example types are compile
, runtime
, and test
for
Maven packages, and dev
, prod
, and optional
for npm packages.
$sel:namespace:PackageDependency'
, packageDependency_namespace
- The namespace of the package. The package component that specifies its
namespace depends on its type. For example:
- The namespace of a Maven package is its
groupId
. - The namespace of an npm package is its
scope
. - A Python package does not contain a corresponding component, so Python packages do not have a namespace.
$sel:package:PackageDependency'
, packageDependency_package
- The name of the package that this package depends on.
$sel:versionRequirement:PackageDependency'
, packageDependency_versionRequirement
- The required version, or version range, of the package that this package
depends on. The version format is specific to the package type. For
example, the following are possible valid required versions: 1.2.3
,
^2.3.4
, or 4.x
.
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. The package component that specifies its namespace depends on its type. For example:
- The namespace of a Maven package is its
groupId
. - The namespace of an npm package is its
scope
. - A Python package does not contain a corresponding component, so Python packages do not have a namespace.
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
.
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.
PackageSummary' | |
|
Instances
newPackageSummary :: PackageSummary Source #
Create a value of PackageSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:format:PackageSummary'
, packageSummary_format
- The format of the package. Valid values are:
npm
pypi
maven
$sel:namespace:PackageSummary'
, packageSummary_namespace
- The namespace of the package. The package component that specifies its
namespace depends on its type. For example:
- The namespace of a Maven package is its
groupId
. - The namespace of an npm package is its
scope
. - A Python package does not contain a corresponding component, so Python packages do not have a namespace.
$sel:package:PackageSummary'
, packageSummary_package
- The name of the package.
packageSummary_format :: Lens' PackageSummary (Maybe PackageFormat) Source #
The format of the package. Valid values are:
npm
pypi
maven
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
. - A Python package does not contain a corresponding component, so Python packages do not have a namespace.
packageSummary_package :: Lens' PackageSummary (Maybe Text) Source #
The name of the package.
PackageVersionDescription
data PackageVersionDescription Source #
Details about a package version.
See: newPackageVersionDescription
smart constructor.
PackageVersionDescription' | |
|
Instances
newPackageVersionDescription :: PackageVersionDescription Source #
Create a value of PackageVersionDescription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:summary:PackageVersionDescription'
, packageVersionDescription_summary
- A summary of the package version. The summary is extracted from the
package. The information in and detail level of the summary depends on
the package version's format.
$sel:homePage:PackageVersionDescription'
, packageVersionDescription_homePage
- The homepage associated with the package.
$sel:status:PackageVersionDescription'
, packageVersionDescription_status
- A string that contains the status of the package version. It can be one
of the following:
Published
Unfinished
Unlisted
Archived
Disposed
$sel:sourceCodeRepository:PackageVersionDescription'
, packageVersionDescription_sourceCodeRepository
- The repository for the source code in the package version, or the source
code used to build it.
$sel:packageName:PackageVersionDescription'
, packageVersionDescription_packageName
- The name of the requested package.
$sel:publishedTime:PackageVersionDescription'
, packageVersionDescription_publishedTime
- A timestamp that contains the date and time the package version was
published.
$sel:format:PackageVersionDescription'
, packageVersionDescription_format
- The format of the package version. The valid package formats are:
npm
: A Node Package Manager (npm) package.pypi
: A Python Package Index (PyPI) package.maven
: A Maven package that contains compiled code in a distributable format, such as a JAR file.
$sel:namespace:PackageVersionDescription'
, packageVersionDescription_namespace
- The namespace of the package. The package component that specifies its
namespace depends on its type. For example:
- The namespace of a Maven package is its
groupId
. - The namespace of an npm package is its
scope
. - A Python package does not contain a corresponding component, so Python packages do not have a namespace.
$sel:version:PackageVersionDescription'
, packageVersionDescription_version
- The version of the package.
$sel:displayName:PackageVersionDescription'
, packageVersionDescription_displayName
- The name of the package that is displayed. The displayName
varies
depending on the package version's format. For example, if an npm
package is named ui
, is in the namespace vue
, and has the format
npm
, then the displayName
is @vue/ui
.
$sel:licenses:PackageVersionDescription'
, packageVersionDescription_licenses
- Information about licenses associated with the package version.
$sel:revision:PackageVersionDescription'
, packageVersionDescription_revision
- The revision of the package version.
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.
packageVersionDescription_homePage :: Lens' PackageVersionDescription (Maybe Text) Source #
The homepage associated with the package.
packageVersionDescription_status :: Lens' PackageVersionDescription (Maybe PackageVersionStatus) Source #
A string that contains the status of the package version. It can be one of the following:
Published
Unfinished
Unlisted
Archived
Disposed
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_packageName :: Lens' PackageVersionDescription (Maybe Text) Source #
The name of the requested package.
packageVersionDescription_publishedTime :: Lens' PackageVersionDescription (Maybe UTCTime) Source #
A timestamp that contains the date and time the package version was published.
packageVersionDescription_format :: Lens' PackageVersionDescription (Maybe PackageFormat) Source #
The format of the package version. The valid package formats are:
npm
: A Node Package Manager (npm) package.pypi
: A Python Package Index (PyPI) package.maven
: A Maven package that contains compiled code in a distributable format, such as a JAR file.
packageVersionDescription_namespace :: Lens' PackageVersionDescription (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
. - A Python package does not contain a corresponding component, so Python packages do not have a namespace.
packageVersionDescription_version :: Lens' PackageVersionDescription (Maybe Text) Source #
The version of the package.
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_revision :: Lens' PackageVersionDescription (Maybe Text) Source #
The revision of the package version.
PackageVersionError
data PackageVersionError Source #
An error associated with package.
See: newPackageVersionError
smart constructor.
PackageVersionError' | |
|
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.
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.
PackageVersionSummary
data PackageVersionSummary Source #
Details about a package version, including its status, version, and
revision. The
ListPackageVersions
operation returns a list of PackageVersionSummary
objects.
See: newPackageVersionSummary
smart constructor.
Instances
newPackageVersionSummary Source #
Create a value of PackageVersionSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:revision:PackageVersionSummary'
, packageVersionSummary_revision
- The revision associated with a package version.
$sel:version:PackageVersionSummary'
, packageVersionSummary_version
- Information about a package version.
$sel:status:PackageVersionSummary'
, packageVersionSummary_status
- A string that contains the status of the package version. It can be one
of the following:
Published
Unfinished
Unlisted
Archived
Disposed
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:
Published
Unfinished
Unlisted
Archived
Disposed
RepositoryDescription
data RepositoryDescription Source #
The details of a repository stored in AWS CodeArtifact. A CodeArtifact
repository contains a set of package versions, each of which maps to a
set of assets. Repositories are polyglot—a single repository can contain
packages of any supported type. Each repository exposes endpoints for
fetching and publishing packages using tools like the npm
CLI, the
Maven CLI (mvn
), and pip
. You can create up to 100 repositories per
AWS account.
See: newRepositoryDescription
smart constructor.
RepositoryDescription' | |
|
Instances
newRepositoryDescription :: RepositoryDescription Source #
Create a value of RepositoryDescription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:upstreams:RepositoryDescription'
, repositoryDescription_upstreams
- A list of upstream repositories to associate with the repository. The
order of the upstream repositories in the list determines their priority
order when AWS CodeArtifact looks for a requested package version. For
more information, see
Working with upstream repositories.
$sel:arn:RepositoryDescription'
, repositoryDescription_arn
- The Amazon Resource Name (ARN) of the repository.
$sel:domainOwner:RepositoryDescription'
, repositoryDescription_domainOwner
- The 12-digit account number of the AWS account that owns the domain that
contains the repository. It does not include dashes or spaces.
$sel:domainName:RepositoryDescription'
, repositoryDescription_domainName
- The name of the domain that contains the repository.
$sel:name:RepositoryDescription'
, repositoryDescription_name
- The name of the repository.
$sel:administratorAccount:RepositoryDescription'
, repositoryDescription_administratorAccount
- The 12-digit account number of the AWS account that manages the
repository.
$sel:externalConnections:RepositoryDescription'
, repositoryDescription_externalConnections
- An array of external connections associated with the repository.
$sel:description:RepositoryDescription'
, repositoryDescription_description
- A text description of the repository.
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 AWS CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories.
repositoryDescription_arn :: Lens' RepositoryDescription (Maybe Text) Source #
The Amazon Resource Name (ARN) of the repository.
repositoryDescription_domainOwner :: Lens' RepositoryDescription (Maybe Text) Source #
The 12-digit account number of the AWS account that owns the domain that contains the repository. It does not include dashes or spaces.
repositoryDescription_domainName :: Lens' RepositoryDescription (Maybe Text) Source #
The name of the domain that contains the repository.
repositoryDescription_name :: Lens' RepositoryDescription (Maybe Text) Source #
The name of the repository.
repositoryDescription_administratorAccount :: Lens' RepositoryDescription (Maybe Text) Source #
The 12-digit account number of the AWS account that manages the repository.
repositoryDescription_externalConnections :: Lens' RepositoryDescription (Maybe [RepositoryExternalConnectionInfo]) Source #
An array of external connections associated with the repository.
repositoryDescription_description :: Lens' RepositoryDescription (Maybe Text) Source #
A text description of the repository.
RepositoryExternalConnectionInfo
data RepositoryExternalConnectionInfo Source #
Contains information about the external connection of a repository.
See: newRepositoryExternalConnectionInfo
smart constructor.
RepositoryExternalConnectionInfo' | |
|
Instances
newRepositoryExternalConnectionInfo :: RepositoryExternalConnectionInfo Source #
Create a value of RepositoryExternalConnectionInfo
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:externalConnectionName:RepositoryExternalConnectionInfo'
, repositoryExternalConnectionInfo_externalConnectionName
- The name of the external connection associated with a repository.
$sel:status:RepositoryExternalConnectionInfo'
, repositoryExternalConnectionInfo_status
- The status of the external connection of a repository. There is one
valid value, Available
.
$sel:packageFormat:RepositoryExternalConnectionInfo'
, repositoryExternalConnectionInfo_packageFormat
- The package format associated with a repository's external connection.
The valid package formats are:
npm
: A Node Package Manager (npm) package.pypi
: A Python Package Index (PyPI) package.maven
: A Maven package that contains compiled code in a distributable format, such as a JAR file.
repositoryExternalConnectionInfo_externalConnectionName :: Lens' RepositoryExternalConnectionInfo (Maybe Text) Source #
The name of the external connection associated with a repository.
repositoryExternalConnectionInfo_status :: Lens' RepositoryExternalConnectionInfo (Maybe ExternalConnectionStatus) Source #
The status of the external connection of a repository. There is one
valid value, Available
.
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.
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.
RepositorySummary' | |
|
Instances
newRepositorySummary :: RepositorySummary Source #
Create a value of RepositorySummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:RepositorySummary'
, repositorySummary_arn
- The ARN of the repository.
$sel:domainOwner:RepositorySummary'
, repositorySummary_domainOwner
- The 12-digit account number of the AWS account that owns the domain. It
does not include dashes or spaces.
$sel:domainName:RepositorySummary'
, repositorySummary_domainName
- The name of the domain that contains the repository.
$sel:name:RepositorySummary'
, repositorySummary_name
- The name of the repository.
$sel:administratorAccount:RepositorySummary'
, repositorySummary_administratorAccount
- The AWS account ID that manages the repository.
$sel:description:RepositorySummary'
, repositorySummary_description
- The description of the repository.
repositorySummary_arn :: Lens' RepositorySummary (Maybe Text) Source #
The ARN of the repository.
repositorySummary_domainOwner :: Lens' RepositorySummary (Maybe Text) Source #
The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
repositorySummary_domainName :: Lens' RepositorySummary (Maybe Text) Source #
The name of the domain that contains the repository.
repositorySummary_name :: Lens' RepositorySummary (Maybe Text) Source #
The name of the repository.
repositorySummary_administratorAccount :: Lens' RepositorySummary (Maybe Text) Source #
The AWS account ID that manages the repository.
repositorySummary_description :: Lens' RepositorySummary (Maybe Text) Source #
The description of the repository.
ResourcePolicy
data ResourcePolicy Source #
An AWS CodeArtifact resource policy that contains a resource ARN, document details, and a revision.
See: newResourcePolicy
smart constructor.
Instances
newResourcePolicy :: ResourcePolicy Source #
Create a value of ResourcePolicy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resourceArn:ResourcePolicy'
, resourcePolicy_resourceArn
- The ARN of the resource associated with the resource policy
$sel:document:ResourcePolicy'
, resourcePolicy_document
- The resource policy formatted in JSON.
$sel:revision:ResourcePolicy'
, resourcePolicy_revision
- The current revision of the resource policy.
resourcePolicy_resourceArn :: Lens' ResourcePolicy (Maybe Text) Source #
The ARN of the resource associated with the resource policy
resourcePolicy_document :: Lens' ResourcePolicy (Maybe Text) Source #
The resource policy formatted in JSON.
resourcePolicy_revision :: Lens' ResourcePolicy (Maybe Text) Source #
The current revision of the resource policy.
SuccessfulPackageVersionInfo
data SuccessfulPackageVersionInfo Source #
Contains the revision and status of a package version.
See: newSuccessfulPackageVersionInfo
smart constructor.
Instances
newSuccessfulPackageVersionInfo :: SuccessfulPackageVersionInfo Source #
Create a value of SuccessfulPackageVersionInfo
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:SuccessfulPackageVersionInfo'
, successfulPackageVersionInfo_status
- The status of a package version. Valid statuses are:
Published
Unfinished
Unlisted
Archived
Disposed
$sel:revision:SuccessfulPackageVersionInfo'
, successfulPackageVersionInfo_revision
- The revision of a package version.
successfulPackageVersionInfo_status :: Lens' SuccessfulPackageVersionInfo (Maybe PackageVersionStatus) Source #
The status of a package version. Valid statuses are:
Published
Unfinished
Unlisted
Archived
Disposed
successfulPackageVersionInfo_revision :: Lens' SuccessfulPackageVersionInfo (Maybe Text) Source #
The revision of a package version.
Tag
A tag is a key-value pair that can be used to manage, search for, or filter resources in AWS CodeArtifact.
See: newTag
smart constructor.
Instances
Eq Tag Source # | |
Read Tag Source # | |
Show Tag Source # | |
Generic Tag Source # | |
NFData Tag Source # | |
Defined in Amazonka.CodeArtifact.Types.Tag | |
Hashable Tag Source # | |
Defined in Amazonka.CodeArtifact.Types.Tag | |
ToJSON Tag Source # | |
Defined in Amazonka.CodeArtifact.Types.Tag | |
FromJSON Tag Source # | |
type Rep Tag Source # | |
Defined in Amazonka.CodeArtifact.Types.Tag type Rep Tag = D1 ('MetaData "Tag" "Amazonka.CodeArtifact.Types.Tag" "libZSservicesZSamazonka-codeartifactZSamazonka-codeartifact" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
Create a value of Tag
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:key:Tag'
, tag_key
- The tag key.
$sel:value:Tag'
, tag_value
- The tag value.
UpstreamRepository
data UpstreamRepository Source #
Information about an upstream repository. A list of UpstreamRepository
objects is an input parameter to
CreateRepository
and
UpdateRepository.
See: newUpstreamRepository
smart constructor.
UpstreamRepository' | |
|
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.
upstreamRepository_repositoryName :: Lens' UpstreamRepository Text Source #
The name of an upstream repository.
UpstreamRepositoryInfo
data UpstreamRepositoryInfo Source #
Information about an upstream repository.
See: newUpstreamRepositoryInfo
smart constructor.
UpstreamRepositoryInfo' | |
|
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.
upstreamRepositoryInfo_repositoryName :: Lens' UpstreamRepositoryInfo (Maybe Text) Source #
The name of an upstream repository.