Documentation
¶
Index ¶
- type AccessDeniedException
- type AllowPublish
- type AllowUpstream
- type AssetSummary
- type AssociatedPackage
- type ConflictException
- type DomainDescription
- type DomainEntryPoint
- type DomainStatus
- type DomainSummary
- type EndpointType
- type ExternalConnectionStatus
- type HashAlgorithm
- type InternalServerException
- type LicenseInfo
- type PackageDependency
- type PackageDescription
- type PackageFormat
- type PackageGroupAllowedRepository
- type PackageGroupAllowedRepositoryUpdateType
- type PackageGroupAssociationType
- type PackageGroupDescription
- type PackageGroupOriginConfiguration
- type PackageGroupOriginRestriction
- type PackageGroupOriginRestrictionMode
- type PackageGroupOriginRestrictionType
- type PackageGroupReference
- type PackageGroupSummary
- type PackageOriginConfiguration
- type PackageOriginRestrictions
- type PackageSummary
- type PackageVersionDescription
- type PackageVersionError
- type PackageVersionErrorCode
- type PackageVersionOrigin
- type PackageVersionOriginType
- type PackageVersionSortType
- type PackageVersionStatus
- type PackageVersionSummary
- type RepositoryDescription
- type RepositoryExternalConnectionInfo
- type RepositorySummary
- type ResourceNotFoundException
- type ResourcePolicy
- type ResourceType
- type ServiceQuotaExceededException
- type SuccessfulPackageVersionInfo
- type Tag
- type ThrottlingException
- type UpstreamRepository
- type UpstreamRepositoryInfo
- type ValidationException
- type ValidationExceptionReason
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessDeniedException ¶
type AccessDeniedException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The operation did not succeed because of an unauthorized access attempt.
func (*AccessDeniedException) Error ¶
func (e *AccessDeniedException) Error() string
func (*AccessDeniedException) ErrorCode ¶
func (e *AccessDeniedException) ErrorCode() string
func (*AccessDeniedException) ErrorFault ¶
func (e *AccessDeniedException) ErrorFault() smithy.ErrorFault
func (*AccessDeniedException) ErrorMessage ¶
func (e *AccessDeniedException) ErrorMessage() string
type AllowPublish ¶ added in v1.13.0
type AllowPublish string
const ( AllowPublishAllow AllowPublish = "ALLOW" AllowPublishBlock AllowPublish = "BLOCK" )
Enum values for AllowPublish
func (AllowPublish) Values ¶ added in v1.13.0
func (AllowPublish) Values() []AllowPublish
Values returns all known values for AllowPublish. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type AllowUpstream ¶ added in v1.13.0
type AllowUpstream string
const ( AllowUpstreamAllow AllowUpstream = "ALLOW" AllowUpstreamBlock AllowUpstream = "BLOCK" )
Enum values for AllowUpstream
func (AllowUpstream) Values ¶ added in v1.13.0
func (AllowUpstream) Values() []AllowUpstream
Values returns all known values for AllowUpstream. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type AssetSummary ¶
type AssetSummary struct { // The name of the asset. // // This member is required. Name *string // The hashes of the asset. Hashes map[string]string // The size of the asset. Size *int64 // contains filtered or unexported fields }
Contains details about a package version asset.
type AssociatedPackage ¶ added in v1.26.0
type AssociatedPackage struct { // Describes the strength of the association between the package and package // group. A strong match can be thought of as an exact match, and a weak match can // be thought of as a variation match, for example, the package name matches a // variation of the package group pattern. For more information about package group // pattern matching, including strong and weak matches, see [Package group definition syntax and matching behavior]in the CodeArtifact // User Guide. // // [Package group definition syntax and matching behavior]: https://docs.aws.amazon.com/codeartifact/latest/ug/package-group-definition-syntax-matching-behavior.html AssociationType PackageGroupAssociationType // A format that specifies the type of the associated package. Format PackageFormat // The namespace of the associated package. The package 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 or Swift package version is its scope . // // - The namespace of a generic package is its namespace . // // - Python, NuGet, Ruby, and Cargo package versions do not contain a // corresponding component, package versions of those formats do not have a // namespace. Namespace *string // The name of the associated package. Package *string // contains filtered or unexported fields }
A package associated with a package group.
type ConflictException ¶
type ConflictException struct { Message *string ErrorCodeOverride *string ResourceId *string ResourceType ResourceType // contains filtered or unexported fields }
The operation did not succeed because prerequisites are not met.
func (*ConflictException) Error ¶
func (e *ConflictException) Error() string
func (*ConflictException) ErrorCode ¶
func (e *ConflictException) ErrorCode() string
func (*ConflictException) ErrorFault ¶
func (e *ConflictException) ErrorFault() smithy.ErrorFault
func (*ConflictException) ErrorMessage ¶
func (e *ConflictException) ErrorMessage() string
type DomainDescription ¶
type DomainDescription struct { // The Amazon Resource Name (ARN) of the domain. Arn *string // The total size of all assets in the domain. AssetSizeBytes int64 // A timestamp that represents the date and time the domain was created. CreatedTime *time.Time // The ARN of an Key Management Service (KMS) key associated with a domain. EncryptionKey *string // The name of the domain. Name *string // The Amazon Web Services account ID that owns the domain. Owner *string // The number of repositories in the domain. RepositoryCount int32 // The Amazon Resource Name (ARN) of the Amazon S3 bucket that is used to store // package assets in the domain. S3BucketArn *string // The current status of a domain. Status DomainStatus // contains filtered or unexported fields }
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.
type DomainEntryPoint ¶ added in v1.13.0
type DomainEntryPoint struct { // The name of the external connection that a package was ingested from. ExternalConnectionName *string // The name of the repository that a package was originally published to. RepositoryName *string // contains filtered or unexported fields }
Information about how a package originally entered the CodeArtifact domain. For packages published directly to CodeArtifact, the entry point is the repository it was published to. For packages ingested from an external repository, the entry point is the external connection that it was ingested from. An external connection is a CodeArtifact repository that is connected to an external repository such as the npm registry or NuGet gallery.
If a package version exists in a repository and is updated, for example if a package of the same version is added with additional assets, the package version's DomainEntryPoint will not change from the original package version's value.
type DomainStatus ¶
type DomainStatus string
const ( DomainStatusActive DomainStatus = "Active" DomainStatusDeleted DomainStatus = "Deleted" )
Enum values for DomainStatus
func (DomainStatus) Values ¶ added in v0.29.0
func (DomainStatus) Values() []DomainStatus
Values returns all known values for DomainStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type DomainSummary ¶
type DomainSummary struct { // The ARN of the domain. Arn *string // A timestamp that contains the date and time the domain was created. CreatedTime *time.Time // The key used to encrypt the domain. EncryptionKey *string // The name of the domain. Name *string // The 12-digit account number of the Amazon Web Services account that owns the // domain. It does not include dashes or spaces. Owner *string // A string that contains the status of the domain. Status DomainStatus // contains filtered or unexported fields }
Information about a domain, including its name, Amazon Resource Name (ARN),
and status. The ListDomainsoperation returns a list of DomainSummary objects.
type EndpointType ¶ added in v1.32.0
type EndpointType string
const ( EndpointTypeDualstack EndpointType = "dualstack" EndpointTypeIpv4 EndpointType = "ipv4" )
Enum values for EndpointType
func (EndpointType) Values ¶ added in v1.32.0
func (EndpointType) Values() []EndpointType
Values returns all known values for EndpointType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ExternalConnectionStatus ¶
type ExternalConnectionStatus string
const (
ExternalConnectionStatusAvailable ExternalConnectionStatus = "Available"
)
Enum values for ExternalConnectionStatus
func (ExternalConnectionStatus) Values ¶ added in v0.29.0
func (ExternalConnectionStatus) Values() []ExternalConnectionStatus
Values returns all known values for ExternalConnectionStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type HashAlgorithm ¶
type HashAlgorithm string
const ( HashAlgorithmMd5 HashAlgorithm = "MD5" HashAlgorithmSha1 HashAlgorithm = "SHA-1" HashAlgorithmSha256 HashAlgorithm = "SHA-256" HashAlgorithmSha512 HashAlgorithm = "SHA-512" )
Enum values for HashAlgorithm
func (HashAlgorithm) Values ¶ added in v0.29.0
func (HashAlgorithm) Values() []HashAlgorithm
Values returns all known values for HashAlgorithm. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type InternalServerException ¶
type InternalServerException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The operation did not succeed because of an error that occurred inside
CodeArtifact.
func (*InternalServerException) Error ¶
func (e *InternalServerException) Error() string
func (*InternalServerException) ErrorCode ¶
func (e *InternalServerException) ErrorCode() string
func (*InternalServerException) ErrorFault ¶
func (e *InternalServerException) ErrorFault() smithy.ErrorFault
func (*InternalServerException) ErrorMessage ¶
func (e *InternalServerException) ErrorMessage() string
type LicenseInfo ¶
type LicenseInfo struct { // Name of the license. Name *string // The URL for license data. Url *string // contains filtered or unexported fields }
Details of the license data.
type PackageDependency ¶
type PackageDependency struct { // The type of a package dependency. The possible values depend on the package // type. // // - npm: regular , dev , peer , optional // // - maven: optional , parent , compile , runtime , test , system , provided . // // Note that parent is not a regular Maven dependency type; instead this is // extracted from the element if one is defined in the package version's POM // file. // // - nuget: The dependencyType field is never set for NuGet packages. // // - pypi: Requires-Dist DependencyType *string // 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 version is its groupId . // // - The namespace of an npm or Swift package version is its scope . // // - The namespace of a generic package is its namespace . // // - Python, NuGet, Ruby, and Cargo package versions do not contain a // corresponding component, package versions of those formats do not have a // namespace. Namespace *string // The name of the package that this package depends on. Package *string // 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 . VersionRequirement *string // contains filtered or unexported fields }
Details about a package dependency.
type PackageDescription ¶ added in v1.13.0
type PackageDescription struct { // A format that specifies the type of the package. Format PackageFormat // The name of the package. Name *string // The namespace of the package. The package 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 or Swift package version is its scope . // // - The namespace of a generic package is its namespace . // // - Python, NuGet, Ruby, and Cargo package versions do not contain a // corresponding component, package versions of those formats do not have a // namespace. Namespace *string // The package origin configuration for the package. OriginConfiguration *PackageOriginConfiguration // contains filtered or unexported fields }
Details about a package.
type PackageFormat ¶
type PackageFormat string
const ( PackageFormatNpm PackageFormat = "npm" PackageFormatPypi PackageFormat = "pypi" PackageFormatMaven PackageFormat = "maven" PackageFormatNuget PackageFormat = "nuget" PackageFormatGeneric PackageFormat = "generic" PackageFormatRuby PackageFormat = "ruby" PackageFormatSwift PackageFormat = "swift" PackageFormatCargo PackageFormat = "cargo" )
Enum values for PackageFormat
func (PackageFormat) Values ¶ added in v0.29.0
func (PackageFormat) Values() []PackageFormat
Values returns all known values for PackageFormat. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type PackageGroupAllowedRepository ¶ added in v1.26.0
type PackageGroupAllowedRepository struct { // The origin configuration restriction type of the allowed repository. OriginRestrictionType PackageGroupOriginRestrictionType // The name of the allowed repository. RepositoryName *string // contains filtered or unexported fields }
Details about an allowed repository for a package group, including its name
and origin configuration.
type PackageGroupAllowedRepositoryUpdateType ¶ added in v1.26.0
type PackageGroupAllowedRepositoryUpdateType string
const ( PackageGroupAllowedRepositoryUpdateTypeAdded PackageGroupAllowedRepositoryUpdateType = "ADDED" PackageGroupAllowedRepositoryUpdateTypeRemoved PackageGroupAllowedRepositoryUpdateType = "REMOVED" )
Enum values for PackageGroupAllowedRepositoryUpdateType
func (PackageGroupAllowedRepositoryUpdateType) Values ¶ added in v1.26.0
Values returns all known values for PackageGroupAllowedRepositoryUpdateType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type PackageGroupAssociationType ¶ added in v1.26.0
type PackageGroupAssociationType string
const ( PackageGroupAssociationTypeStrong PackageGroupAssociationType = "STRONG" PackageGroupAssociationTypeWeak PackageGroupAssociationType = "WEAK" )
Enum values for PackageGroupAssociationType
func (PackageGroupAssociationType) Values ¶ added in v1.26.0
func (PackageGroupAssociationType) Values() []PackageGroupAssociationType
Values returns all known values for PackageGroupAssociationType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type PackageGroupDescription ¶ added in v1.26.0
type PackageGroupDescription struct { // The ARN of the package group. Arn *string // The contact information of the package group. ContactInfo *string // A timestamp that represents the date and time the package group was created. CreatedTime *time.Time // The description of the package group. Description *string // The name of the domain that contains the package group. DomainName *string // The 12-digit account number of the Amazon Web Services account that owns the // domain. It does not include dashes or spaces. DomainOwner *string // The package group origin configuration that determines how package versions can // enter repositories. OriginConfiguration *PackageGroupOriginConfiguration // The direct parent package group of the package group. Parent *PackageGroupReference // The pattern of the package group. The pattern determines which packages are // associated with the package group. Pattern *string // contains filtered or unexported fields }
The description of the package group.
type PackageGroupOriginConfiguration ¶ added in v1.26.0
type PackageGroupOriginConfiguration struct { // The origin configuration settings that determine how package versions can enter // repositories. Restrictions map[string]PackageGroupOriginRestriction // contains filtered or unexported fields }
The package group origin configuration that determines how package versions can enter repositories.
type PackageGroupOriginRestriction ¶ added in v1.26.0
type PackageGroupOriginRestriction struct { // The effective package group origin restriction setting. If the value of mode is // ALLOW , ALLOW_SPECIFIC_REPOSITORIES , or BLOCK , then the value of effectiveMode // is the same. Otherwise, when the value of mode is INHERIT , then the value of // effectiveMode is the value of mode of the first parent group which does not // have a value of INHERIT . EffectiveMode PackageGroupOriginRestrictionMode // The parent package group that the package group origin restrictions are // inherited from. InheritedFrom *PackageGroupReference // The package group origin restriction setting. If the value of mode is ALLOW , // ALLOW_SPECIFIC_REPOSITORIES , or BLOCK , then the value of effectiveMode is the // same. Otherwise, when the value is INHERIT , then the value of effectiveMode is // the value of mode of the first parent group which does not have a value of // INHERIT . Mode PackageGroupOriginRestrictionMode // The number of repositories in the allowed repository list. RepositoriesCount *int64 // contains filtered or unexported fields }
Contains information about the configured restrictions of the origin controls of a package group.
type PackageGroupOriginRestrictionMode ¶ added in v1.26.0
type PackageGroupOriginRestrictionMode string
const ( PackageGroupOriginRestrictionModeAllow PackageGroupOriginRestrictionMode = "ALLOW" PackageGroupOriginRestrictionModeAllowSpecificRepositories PackageGroupOriginRestrictionMode = "ALLOW_SPECIFIC_REPOSITORIES" PackageGroupOriginRestrictionModeBlock PackageGroupOriginRestrictionMode = "BLOCK" PackageGroupOriginRestrictionModeInherit PackageGroupOriginRestrictionMode = "INHERIT" )
Enum values for PackageGroupOriginRestrictionMode
func (PackageGroupOriginRestrictionMode) Values ¶ added in v1.26.0
func (PackageGroupOriginRestrictionMode) Values() []PackageGroupOriginRestrictionMode
Values returns all known values for PackageGroupOriginRestrictionMode. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type PackageGroupOriginRestrictionType ¶ added in v1.26.0
type PackageGroupOriginRestrictionType string
const ( PackageGroupOriginRestrictionTypeExternalUpstream PackageGroupOriginRestrictionType = "EXTERNAL_UPSTREAM" PackageGroupOriginRestrictionTypeInternalUpstream PackageGroupOriginRestrictionType = "INTERNAL_UPSTREAM" PackageGroupOriginRestrictionTypePublish PackageGroupOriginRestrictionType = "PUBLISH" )
Enum values for PackageGroupOriginRestrictionType
func (PackageGroupOriginRestrictionType) Values ¶ added in v1.26.0
func (PackageGroupOriginRestrictionType) Values() []PackageGroupOriginRestrictionType
Values returns all known values for PackageGroupOriginRestrictionType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type PackageGroupReference ¶ added in v1.26.0
type PackageGroupReference struct { // The ARN of the package group. Arn *string // The pattern of the package group. The pattern determines which packages are // associated with the package group, and is also the identifier of the package // group. Pattern *string // contains filtered or unexported fields }
Information about the identifiers of a package group.
type PackageGroupSummary ¶ added in v1.26.0
type PackageGroupSummary struct { // The ARN of the package group. Arn *string // The contact information of the package group. ContactInfo *string // A timestamp that represents the date and time the repository was created. CreatedTime *time.Time // The description of the package group. Description *string // The domain that contains the package group. DomainName *string // The 12-digit account number of the Amazon Web Services account that owns the // domain. It does not include dashes or spaces. DomainOwner *string // Details about the package origin configuration of a package group. OriginConfiguration *PackageGroupOriginConfiguration // The direct parent package group of the package group. Parent *PackageGroupReference // The pattern of the package group. The pattern determines which packages are // associated with the package group. Pattern *string // contains filtered or unexported fields }
Details about a package group.
type PackageOriginConfiguration ¶ added in v1.13.0
type PackageOriginConfiguration struct { // A PackageOriginRestrictions object that contains information about the upstream // and publish package origin configuration for the package. Restrictions *PackageOriginRestrictions // contains filtered or unexported fields }
Details about the package origin configuration of a package.
type PackageOriginRestrictions ¶ added in v1.13.0
type PackageOriginRestrictions struct { // The package origin configuration that determines if new versions of the package // can be published directly to the repository. // // This member is required. Publish AllowPublish // 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. // // This member is required. Upstream AllowUpstream // contains filtered or unexported fields }
Details about the origin restrictions set on the package. The package origin restrictions determine how new versions of a package can be added to a specific repository.
type PackageSummary ¶
type PackageSummary struct { // The format of the package. Format PackageFormat // The namespace of the package. The package 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 or Swift package version is its scope . // // - The namespace of a generic package is its namespace . // // - Python, NuGet, Ruby, and Cargo package versions do not contain a // corresponding component, package versions of those formats do not have a // namespace. Namespace *string // A [PackageOriginConfiguration] object that contains a [PackageOriginRestrictions] object that contains information about the upstream // and publish package origin restrictions. // // [PackageOriginRestrictions]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginRestrictions.html // [PackageOriginConfiguration]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginConfiguration.html OriginConfiguration *PackageOriginConfiguration // The name of the package. Package *string // contains filtered or unexported fields }
Details about a package, including its format, namespace, and name.
type PackageVersionDescription ¶
type PackageVersionDescription struct { // 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 . DisplayName *string // The format of the package version. Format PackageFormat // The homepage associated with the package. HomePage *string // Information about licenses associated with the package version. Licenses []LicenseInfo // The namespace of the package version. The package 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 or Swift package version is its scope . // // - The namespace of a generic package is its namespace . // // - Python, NuGet, Ruby, and Cargo package versions do not contain a // corresponding component, package versions of those formats do not have a // namespace. Namespace *string // A [PackageVersionOrigin] object that contains information about how the package version was added to // the repository. // // [PackageVersionOrigin]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionOrigin.html Origin *PackageVersionOrigin // The name of the requested package. PackageName *string // A timestamp that contains the date and time the package version was published. PublishedTime *time.Time // The revision of the package version. Revision *string // The repository for the source code in the package version, or the source code // used to build it. SourceCodeRepository *string // A string that contains the status of the package version. Status PackageVersionStatus // 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. Summary *string // The version of the package. Version *string // contains filtered or unexported fields }
Details about a package version.
type PackageVersionError ¶
type PackageVersionError struct { // The error code associated with the error. Valid error codes are: // // - ALREADY_EXISTS // // - MISMATCHED_REVISION // // - MISMATCHED_STATUS // // - NOT_ALLOWED // // - NOT_FOUND // // - SKIPPED ErrorCode PackageVersionErrorCode // The error message associated with the error. ErrorMessage *string // contains filtered or unexported fields }
l An error associated with package.
type PackageVersionErrorCode ¶
type PackageVersionErrorCode string
const ( PackageVersionErrorCodeAlreadyExists PackageVersionErrorCode = "ALREADY_EXISTS" PackageVersionErrorCodeMismatchedRevision PackageVersionErrorCode = "MISMATCHED_REVISION" PackageVersionErrorCodeMismatchedStatus PackageVersionErrorCode = "MISMATCHED_STATUS" PackageVersionErrorCodeNotAllowed PackageVersionErrorCode = "NOT_ALLOWED" PackageVersionErrorCodeNotFound PackageVersionErrorCode = "NOT_FOUND" PackageVersionErrorCodeSkipped PackageVersionErrorCode = "SKIPPED" )
Enum values for PackageVersionErrorCode
func (PackageVersionErrorCode) Values ¶ added in v0.29.0
func (PackageVersionErrorCode) Values() []PackageVersionErrorCode
Values returns all known values for PackageVersionErrorCode. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type PackageVersionOrigin ¶ added in v1.13.0
type PackageVersionOrigin struct { // A [DomainEntryPoint] object that contains information about from which repository or external // connection the package version was added to the domain. // // [DomainEntryPoint]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_DomainEntryPoint.html DomainEntryPoint *DomainEntryPoint // 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. OriginType PackageVersionOriginType // contains filtered or unexported fields }
Information about how a package version was added to a repository.
type PackageVersionOriginType ¶ added in v1.13.0
type PackageVersionOriginType string
const ( PackageVersionOriginTypeInternal PackageVersionOriginType = "INTERNAL" PackageVersionOriginTypeExternal PackageVersionOriginType = "EXTERNAL" PackageVersionOriginTypeUnknown PackageVersionOriginType = "UNKNOWN" )
Enum values for PackageVersionOriginType
func (PackageVersionOriginType) Values ¶ added in v1.13.0
func (PackageVersionOriginType) Values() []PackageVersionOriginType
Values returns all known values for PackageVersionOriginType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type PackageVersionSortType ¶
type PackageVersionSortType string
const (
PackageVersionSortTypePublishedTime PackageVersionSortType = "PUBLISHED_TIME"
)
Enum values for PackageVersionSortType
func (PackageVersionSortType) Values ¶ added in v0.29.0
func (PackageVersionSortType) Values() []PackageVersionSortType
Values returns all known values for PackageVersionSortType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type PackageVersionStatus ¶
type PackageVersionStatus string
const ( PackageVersionStatusPublished PackageVersionStatus = "Published" PackageVersionStatusUnfinished PackageVersionStatus = "Unfinished" PackageVersionStatusUnlisted PackageVersionStatus = "Unlisted" PackageVersionStatusArchived PackageVersionStatus = "Archived" PackageVersionStatusDisposed PackageVersionStatus = "Disposed" PackageVersionStatusDeleted PackageVersionStatus = "Deleted" )
Enum values for PackageVersionStatus
func (PackageVersionStatus) Values ¶ added in v0.29.0
func (PackageVersionStatus) Values() []PackageVersionStatus
Values returns all known values for PackageVersionStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type PackageVersionSummary ¶
type PackageVersionSummary struct { // A string that contains the status of the package version. It can be one of the // following: // // This member is required. Status PackageVersionStatus // Information about a package version. // // This member is required. Version *string // A [PackageVersionOrigin] object that contains information about how the package version was added to // the repository. // // [PackageVersionOrigin]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionOrigin.html Origin *PackageVersionOrigin // The revision associated with a package version. Revision *string // contains filtered or unexported fields }
Details about a package version, including its status, version, and revision.
The ListPackageVersionsoperation returns a list of PackageVersionSummary objects.
type RepositoryDescription ¶
type RepositoryDescription struct { // The 12-digit account number of the Amazon Web Services account that manages // the repository. AdministratorAccount *string // The Amazon Resource Name (ARN) of the repository. Arn *string // A timestamp that represents the date and time the repository was created. CreatedTime *time.Time // A text description of the repository. Description *string // The name of the domain that contains the repository. DomainName *string // 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. DomainOwner *string // An array of external connections associated with the repository. ExternalConnections []RepositoryExternalConnectionInfo // The name of the repository. Name *string // 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]. // // [Working with upstream repositories]: https://docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html Upstreams []UpstreamRepositoryInfo // contains filtered or unexported fields }
The details of a repository stored in CodeArtifact. A CodeArtifact repository
contains a set of package versions, each of which maps to a set of assets. Repositories are polyglot—a single repository can contain packages of any supported type. Each repository exposes endpoints for fetching and publishing packages using tools like the npm CLI, the Maven CLI ( mvn ), and pip . You can create up to 100 repositories per Amazon Web Services account.
type RepositoryExternalConnectionInfo ¶
type RepositoryExternalConnectionInfo struct { // The name of the external connection associated with a repository. ExternalConnectionName *string // 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. // // - generic : A generic package. // // - ruby : A Ruby package. // // - swift : A Swift package. // // - cargo : A Cargo package. PackageFormat PackageFormat // The status of the external connection of a repository. There is one valid // value, Available . Status ExternalConnectionStatus // contains filtered or unexported fields }
Contains information about the external connection of a repository.
type RepositorySummary ¶
type RepositorySummary struct { // The Amazon Web Services account ID that manages the repository. AdministratorAccount *string // The ARN of the repository. Arn *string // A timestamp that represents the date and time the repository was created. CreatedTime *time.Time // The description of the repository. Description *string // The name of the domain that contains the repository. DomainName *string // The 12-digit account number of the Amazon Web Services account that owns the // domain. It does not include dashes or spaces. DomainOwner *string // The name of the repository. Name *string // contains filtered or unexported fields }
Details about a repository, including its Amazon Resource Name (ARN),
description, and domain information. The ListRepositoriesoperation returns a list of RepositorySummary objects.
type ResourceNotFoundException ¶
type ResourceNotFoundException struct { Message *string ErrorCodeOverride *string ResourceId *string ResourceType ResourceType // contains filtered or unexported fields }
The operation did not succeed because the resource requested is not found in
the service.
func (*ResourceNotFoundException) Error ¶
func (e *ResourceNotFoundException) Error() string
func (*ResourceNotFoundException) ErrorCode ¶
func (e *ResourceNotFoundException) ErrorCode() string
func (*ResourceNotFoundException) ErrorFault ¶
func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
func (*ResourceNotFoundException) ErrorMessage ¶
func (e *ResourceNotFoundException) ErrorMessage() string
type ResourcePolicy ¶
type ResourcePolicy struct { // The resource policy formatted in JSON. Document *string // The ARN of the resource associated with the resource policy ResourceArn *string // The current revision of the resource policy. Revision *string // contains filtered or unexported fields }
An CodeArtifact resource policy that contains a resource ARN, document
details, and a revision.
type ResourceType ¶
type ResourceType string
const ( ResourceTypeDomain ResourceType = "domain" ResourceTypeRepository ResourceType = "repository" ResourceTypePackage ResourceType = "package" ResourceTypePackageVersion ResourceType = "package-version" ResourceTypeAsset ResourceType = "asset" )
Enum values for ResourceType
func (ResourceType) Values ¶ added in v0.29.0
func (ResourceType) Values() []ResourceType
Values returns all known values for ResourceType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ServiceQuotaExceededException ¶
type ServiceQuotaExceededException struct { Message *string ErrorCodeOverride *string ResourceId *string ResourceType ResourceType // contains filtered or unexported fields }
The operation did not succeed because it would have exceeded a service limit
for your account.
func (*ServiceQuotaExceededException) Error ¶
func (e *ServiceQuotaExceededException) Error() string
func (*ServiceQuotaExceededException) ErrorCode ¶
func (e *ServiceQuotaExceededException) ErrorCode() string
func (*ServiceQuotaExceededException) ErrorFault ¶
func (e *ServiceQuotaExceededException) ErrorFault() smithy.ErrorFault
func (*ServiceQuotaExceededException) ErrorMessage ¶
func (e *ServiceQuotaExceededException) ErrorMessage() string
type SuccessfulPackageVersionInfo ¶
type SuccessfulPackageVersionInfo struct { // The revision of a package version. Revision *string // The status of a package version. Status PackageVersionStatus // contains filtered or unexported fields }
Contains the revision and status of a package version.
type Tag ¶ added in v0.29.0
type Tag struct { // The tag key. // // This member is required. Key *string // The tag value. // // This member is required. Value *string // contains filtered or unexported fields }
A tag is a key-value pair that can be used to manage, search for, or filter resources in CodeArtifact.
type ThrottlingException ¶
type ThrottlingException struct { Message *string ErrorCodeOverride *string RetryAfterSeconds *int32 // contains filtered or unexported fields }
The operation did not succeed because too many requests are sent to the
service.
func (*ThrottlingException) Error ¶
func (e *ThrottlingException) Error() string
func (*ThrottlingException) ErrorCode ¶
func (e *ThrottlingException) ErrorCode() string
func (*ThrottlingException) ErrorFault ¶
func (e *ThrottlingException) ErrorFault() smithy.ErrorFault
func (*ThrottlingException) ErrorMessage ¶
func (e *ThrottlingException) ErrorMessage() string
type UpstreamRepository ¶
type UpstreamRepository struct { // The name of an upstream repository. // // This member is required. RepositoryName *string // contains filtered or unexported fields }
Information about an upstream repository. A list of UpstreamRepository objects
is an input parameter to CreateRepositoryand UpdateRepository.
type UpstreamRepositoryInfo ¶
type UpstreamRepositoryInfo struct { // The name of an upstream repository. RepositoryName *string // contains filtered or unexported fields }
Information about an upstream repository.
type ValidationException ¶
type ValidationException struct { Message *string ErrorCodeOverride *string Reason ValidationExceptionReason // contains filtered or unexported fields }
The operation did not succeed because a parameter in the request was sent with
an invalid value.
func (*ValidationException) Error ¶
func (e *ValidationException) Error() string
func (*ValidationException) ErrorCode ¶
func (e *ValidationException) ErrorCode() string
func (*ValidationException) ErrorFault ¶
func (e *ValidationException) ErrorFault() smithy.ErrorFault
func (*ValidationException) ErrorMessage ¶
func (e *ValidationException) ErrorMessage() string
type ValidationExceptionReason ¶
type ValidationExceptionReason string
const ( ValidationExceptionReasonCannotParse ValidationExceptionReason = "CANNOT_PARSE" ValidationExceptionReasonEncryptionKeyError ValidationExceptionReason = "ENCRYPTION_KEY_ERROR" ValidationExceptionReasonFieldValidationFailed ValidationExceptionReason = "FIELD_VALIDATION_FAILED" ValidationExceptionReasonUnknownOperation ValidationExceptionReason = "UNKNOWN_OPERATION" ValidationExceptionReasonOther ValidationExceptionReason = "OTHER" )
Enum values for ValidationExceptionReason
func (ValidationExceptionReason) Values ¶ added in v0.29.0
func (ValidationExceptionReason) Values() []ValidationExceptionReason
Values returns all known values for ValidationExceptionReason. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.