codeartifact

package
v1.55.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2024 License: Apache-2.0 Imports: 11 Imported by: 32

Documentation

Overview

Package codeartifact provides the client and types for making API requests to CodeArtifact.

CodeArtifact is a fully managed artifact repository compatible with language-native package managers and build tools such as npm, Apache Maven, pip, and dotnet. You can use CodeArtifact to share packages with development teams and pull packages. Packages can be pulled from both public and CodeArtifact repositories. You can also create an upstream relationship between a CodeArtifact repository and another repository, which effectively merges their contents from the point of view of a package manager client.

CodeArtifact concepts

  • Repository: A CodeArtifact repository contains a set of package versions (https://docs.aws.amazon.com/codeartifact/latest/ug/welcome.html#welcome-concepts-package-version), each of which maps to a set of assets, or files. Repositories are polyglot, so a single repository can contain packages of any supported type. Each repository exposes endpoints for fetching and publishing packages using tools such as the npm CLI or the Maven CLI ( mvn ). For a list of supported package managers, see the CodeArtifact User Guide (https://docs.aws.amazon.com/codeartifact/latest/ug/welcome.html).

  • Domain: Repositories are aggregated into a higher-level entity known as a domain. All package assets and metadata are stored in the domain, but are consumed through repositories. A given package asset, such as a Maven JAR file, is stored once per domain, no matter how many repositories it's present in. All of the assets and metadata in a domain are encrypted with the same customer master key (CMK) stored in Key Management Service (KMS). Each repository is a member of a single domain and can't be moved to a different domain. The domain allows organizational policy to be applied across multiple repositories, such as which accounts can access repositories in the domain, and which public repositories can be used as sources of packages. Although an organization can have multiple domains, we recommend a single production domain that contains all published artifacts so that teams can find and share packages across their organization.

  • Package: A package is a bundle of software and the metadata required to resolve dependencies and install the software. CodeArtifact supports npm, PyPI, Maven, NuGet, Swift, Ruby, Cargo, and generic package formats. For more information about the supported package formats and how to use CodeArtifact with them, see the CodeArtifact User Guide (https://docs.aws.amazon.com/codeartifact/latest/ug/welcome.html). In CodeArtifact, a package consists of: A name (for example, webpack is the name of a popular npm package) An optional namespace (for example, @types in @types/node) A set of versions (for example, 1.0.0, 1.0.1, 1.0.2, etc.) Package-level metadata (for example, npm tags)

  • Package group: A group of packages that match a specified definition. Package groups can be used to apply configuration to multiple packages that match a defined pattern using package format, package namespace, and package name. You can use package groups to more conveniently configure package origin controls for multiple packages. Package origin controls are used to block or allow ingestion or publishing of new package versions, which protects users from malicious actions known as dependency substitution attacks.

  • Package version: A version of a package, such as @types/node 12.6.9. The version number format and semantics vary for different package formats. For example, npm package versions must conform to the Semantic Versioning specification (https://semver.org/). In CodeArtifact, a package version consists of the version identifier, metadata at the package version level, and a set of assets.

  • Upstream repository: One repository is upstream of another when the package versions in it can be accessed from the repository endpoint of the downstream repository, effectively merging the contents of the two repositories from the point of view of a client. CodeArtifact allows creating an upstream relationship between two repositories.

  • Asset: An individual file stored in CodeArtifact associated with a package version, such as an npm .tgz file or Maven POM and JAR files.

CodeArtifact supported API operations

  • AssociateExternalConnection: Adds an existing external connection to a repository.

  • CopyPackageVersions: Copies package versions from one repository to another repository in the same domain.

  • CreateDomain: Creates a domain.

  • CreatePackageGroup: Creates a package group.

  • CreateRepository: Creates a CodeArtifact repository in a domain.

  • DeleteDomain: Deletes a domain. You cannot delete a domain that contains repositories.

  • DeleteDomainPermissionsPolicy: Deletes the resource policy that is set on a domain.

  • DeletePackage: Deletes a package and all associated package versions.

  • DeletePackageGroup: Deletes a package group. Does not delete packages or package versions that are associated with a package group.

  • DeletePackageVersions: Deletes versions of a package. After a package has been deleted, it can be republished, but its assets and metadata cannot be restored because they have been permanently removed from storage.

  • DeleteRepository: Deletes a repository.

  • DeleteRepositoryPermissionsPolicy: Deletes the resource policy that is set on a repository.

  • DescribeDomain: Returns a DomainDescription object that contains information about the requested domain.

  • DescribePackage: Returns a PackageDescription (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageDescription.html) object that contains details about a package.

  • DescribePackageGroup: Returns a PackageGroup (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageGroup.html) object that contains details about a package group.

  • DescribePackageVersion: Returns a PackageVersionDescription (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionDescription.html) object that contains details about a package version.

  • DescribeRepository: Returns a RepositoryDescription object that contains detailed information about the requested repository.

  • DisposePackageVersions: Disposes versions of a package. A package version with the status Disposed cannot be restored because they have been permanently removed from storage.

  • DisassociateExternalConnection: Removes an existing external connection from a repository.

  • GetAssociatedPackageGroup: Returns the most closely associated package group to the specified package.

  • GetAuthorizationToken: Generates a temporary authorization token for accessing repositories in the domain. The token expires the authorization period has passed. The default authorization period is 12 hours and can be customized to any length with a maximum of 12 hours.

  • GetDomainPermissionsPolicy: Returns the policy of a resource that is attached to the specified domain.

  • GetPackageVersionAsset: Returns the contents of an asset that is in a package version.

  • GetPackageVersionReadme: Gets the readme file or descriptive text for a package version.

  • GetRepositoryEndpoint: Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each package format: cargo generic maven npm nuget pypi ruby swift

  • GetRepositoryPermissionsPolicy: Returns the resource policy that is set on a repository.

  • ListAllowedRepositoriesForGroup: Lists the allowed repositories for a package group that has origin configuration set to ALLOW_SPECIFIC_REPOSITORIES.

  • ListAssociatedPackages: Returns a list of packages associated with the requested package group.

  • ListDomains: Returns a list of DomainSummary objects. Each returned DomainSummary object contains information about a domain.

  • ListPackages: Lists the packages in a repository.

  • ListPackageGroups: Returns a list of package groups in the requested domain.

  • ListPackageVersionAssets: Lists the assets for a given package version.

  • ListPackageVersionDependencies: Returns a list of the direct dependencies for a package version.

  • ListPackageVersions: Returns a list of package versions for a specified package in a repository.

  • ListRepositories: Returns a list of repositories owned by the Amazon Web Services account that called this method.

  • ListRepositoriesInDomain: Returns a list of the repositories in a domain.

  • ListSubPackageGroups: Returns a list of direct children of the specified package group.

  • PublishPackageVersion: Creates a new package version containing one or more assets.

  • PutDomainPermissionsPolicy: Attaches a resource policy to a domain.

  • PutPackageOriginConfiguration: Sets the package origin configuration for a package, which determine how new versions of the package can be added to a specific repository.

  • PutRepositoryPermissionsPolicy: Sets the resource policy on a repository that specifies permissions to access it.

  • UpdatePackageGroup: Updates a package group. This API cannot be used to update a package group's origin configuration or pattern.

  • UpdatePackageGroupOriginConfiguration: Updates the package origin configuration for a package group.

  • UpdatePackageVersionsStatus: Updates the status of one or more versions of a package.

  • UpdateRepository: Updates the properties of a repository.

See https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22 for more information on this service.

See codeartifact package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/codeartifact/

Using the Client

To contact CodeArtifact with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the CodeArtifact client CodeArtifact for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/codeartifact/#New

Index

Constants

View Source
const (
	// AllowPublishAllow is a AllowPublish enum value
	AllowPublishAllow = "ALLOW"

	// AllowPublishBlock is a AllowPublish enum value
	AllowPublishBlock = "BLOCK"
)
View Source
const (
	// AllowUpstreamAllow is a AllowUpstream enum value
	AllowUpstreamAllow = "ALLOW"

	// AllowUpstreamBlock is a AllowUpstream enum value
	AllowUpstreamBlock = "BLOCK"
)
View Source
const (
	// DomainStatusActive is a DomainStatus enum value
	DomainStatusActive = "Active"

	// DomainStatusDeleted is a DomainStatus enum value
	DomainStatusDeleted = "Deleted"
)
View Source
const (
	// HashAlgorithmMd5 is a HashAlgorithm enum value
	HashAlgorithmMd5 = "MD5"

	// HashAlgorithmSha1 is a HashAlgorithm enum value
	HashAlgorithmSha1 = "SHA-1"

	// HashAlgorithmSha256 is a HashAlgorithm enum value
	HashAlgorithmSha256 = "SHA-256"

	// HashAlgorithmSha512 is a HashAlgorithm enum value
	HashAlgorithmSha512 = "SHA-512"
)
View Source
const (
	// PackageFormatNpm is a PackageFormat enum value
	PackageFormatNpm = "npm"

	// PackageFormatPypi is a PackageFormat enum value
	PackageFormatPypi = "pypi"

	// PackageFormatMaven is a PackageFormat enum value
	PackageFormatMaven = "maven"

	// PackageFormatNuget is a PackageFormat enum value
	PackageFormatNuget = "nuget"

	// PackageFormatGeneric is a PackageFormat enum value
	PackageFormatGeneric = "generic"

	// PackageFormatRuby is a PackageFormat enum value
	PackageFormatRuby = "ruby"

	// PackageFormatSwift is a PackageFormat enum value
	PackageFormatSwift = "swift"

	// PackageFormatCargo is a PackageFormat enum value
	PackageFormatCargo = "cargo"
)
View Source
const (
	// PackageGroupAllowedRepositoryUpdateTypeAdded is a PackageGroupAllowedRepositoryUpdateType enum value
	PackageGroupAllowedRepositoryUpdateTypeAdded = "ADDED"

	// PackageGroupAllowedRepositoryUpdateTypeRemoved is a PackageGroupAllowedRepositoryUpdateType enum value
	PackageGroupAllowedRepositoryUpdateTypeRemoved = "REMOVED"
)
View Source
const (
	// PackageGroupAssociationTypeStrong is a PackageGroupAssociationType enum value
	PackageGroupAssociationTypeStrong = "STRONG"

	// PackageGroupAssociationTypeWeak is a PackageGroupAssociationType enum value
	PackageGroupAssociationTypeWeak = "WEAK"
)
View Source
const (
	// PackageGroupOriginRestrictionModeAllow is a PackageGroupOriginRestrictionMode enum value
	PackageGroupOriginRestrictionModeAllow = "ALLOW"

	// PackageGroupOriginRestrictionModeAllowSpecificRepositories is a PackageGroupOriginRestrictionMode enum value
	PackageGroupOriginRestrictionModeAllowSpecificRepositories = "ALLOW_SPECIFIC_REPOSITORIES"

	// PackageGroupOriginRestrictionModeBlock is a PackageGroupOriginRestrictionMode enum value
	PackageGroupOriginRestrictionModeBlock = "BLOCK"

	// PackageGroupOriginRestrictionModeInherit is a PackageGroupOriginRestrictionMode enum value
	PackageGroupOriginRestrictionModeInherit = "INHERIT"
)
View Source
const (
	// PackageGroupOriginRestrictionTypeExternalUpstream is a PackageGroupOriginRestrictionType enum value
	PackageGroupOriginRestrictionTypeExternalUpstream = "EXTERNAL_UPSTREAM"

	// PackageGroupOriginRestrictionTypeInternalUpstream is a PackageGroupOriginRestrictionType enum value
	PackageGroupOriginRestrictionTypeInternalUpstream = "INTERNAL_UPSTREAM"

	// PackageGroupOriginRestrictionTypePublish is a PackageGroupOriginRestrictionType enum value
	PackageGroupOriginRestrictionTypePublish = "PUBLISH"
)
View Source
const (
	// PackageVersionErrorCodeAlreadyExists is a PackageVersionErrorCode enum value
	PackageVersionErrorCodeAlreadyExists = "ALREADY_EXISTS"

	// PackageVersionErrorCodeMismatchedRevision is a PackageVersionErrorCode enum value
	PackageVersionErrorCodeMismatchedRevision = "MISMATCHED_REVISION"

	// PackageVersionErrorCodeMismatchedStatus is a PackageVersionErrorCode enum value
	PackageVersionErrorCodeMismatchedStatus = "MISMATCHED_STATUS"

	// PackageVersionErrorCodeNotAllowed is a PackageVersionErrorCode enum value
	PackageVersionErrorCodeNotAllowed = "NOT_ALLOWED"

	// PackageVersionErrorCodeNotFound is a PackageVersionErrorCode enum value
	PackageVersionErrorCodeNotFound = "NOT_FOUND"

	// PackageVersionErrorCodeSkipped is a PackageVersionErrorCode enum value
	PackageVersionErrorCodeSkipped = "SKIPPED"
)
View Source
const (
	// PackageVersionOriginTypeInternal is a PackageVersionOriginType enum value
	PackageVersionOriginTypeInternal = "INTERNAL"

	// PackageVersionOriginTypeExternal is a PackageVersionOriginType enum value
	PackageVersionOriginTypeExternal = "EXTERNAL"

	// PackageVersionOriginTypeUnknown is a PackageVersionOriginType enum value
	PackageVersionOriginTypeUnknown = "UNKNOWN"
)
View Source
const (
	// PackageVersionStatusPublished is a PackageVersionStatus enum value
	PackageVersionStatusPublished = "Published"

	// PackageVersionStatusUnfinished is a PackageVersionStatus enum value
	PackageVersionStatusUnfinished = "Unfinished"

	// PackageVersionStatusUnlisted is a PackageVersionStatus enum value
	PackageVersionStatusUnlisted = "Unlisted"

	// PackageVersionStatusArchived is a PackageVersionStatus enum value
	PackageVersionStatusArchived = "Archived"

	// PackageVersionStatusDisposed is a PackageVersionStatus enum value
	PackageVersionStatusDisposed = "Disposed"

	// PackageVersionStatusDeleted is a PackageVersionStatus enum value
	PackageVersionStatusDeleted = "Deleted"
)
View Source
const (
	// ResourceTypeDomain is a ResourceType enum value
	ResourceTypeDomain = "domain"

	// ResourceTypeRepository is a ResourceType enum value
	ResourceTypeRepository = "repository"

	// ResourceTypePackage is a ResourceType enum value
	ResourceTypePackage = "package"

	// ResourceTypePackageVersion is a ResourceType enum value
	ResourceTypePackageVersion = "package-version"

	// ResourceTypeAsset is a ResourceType enum value
	ResourceTypeAsset = "asset"
)
View Source
const (
	// ValidationExceptionReasonCannotParse is a ValidationExceptionReason enum value
	ValidationExceptionReasonCannotParse = "CANNOT_PARSE"

	// ValidationExceptionReasonEncryptionKeyError is a ValidationExceptionReason enum value
	ValidationExceptionReasonEncryptionKeyError = "ENCRYPTION_KEY_ERROR"

	// ValidationExceptionReasonFieldValidationFailed is a ValidationExceptionReason enum value
	ValidationExceptionReasonFieldValidationFailed = "FIELD_VALIDATION_FAILED"

	// ValidationExceptionReasonUnknownOperation is a ValidationExceptionReason enum value
	ValidationExceptionReasonUnknownOperation = "UNKNOWN_OPERATION"

	// ValidationExceptionReasonOther is a ValidationExceptionReason enum value
	ValidationExceptionReasonOther = "OTHER"
)
View Source
const (

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// The operation did not succeed because of an unauthorized access attempt.
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// The operation did not succeed because prerequisites are not met.
	ErrCodeConflictException = "ConflictException"

	// ErrCodeInternalServerException for service response error code
	// "InternalServerException".
	//
	// The operation did not succeed because of an error that occurred inside CodeArtifact.
	ErrCodeInternalServerException = "InternalServerException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// The operation did not succeed because the resource requested is not found
	// in the service.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeServiceQuotaExceededException for service response error code
	// "ServiceQuotaExceededException".
	//
	// The operation did not succeed because it would have exceeded a service limit
	// for your account.
	ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"

	// ErrCodeThrottlingException for service response error code
	// "ThrottlingException".
	//
	// The operation did not succeed because too many requests are sent to the service.
	ErrCodeThrottlingException = "ThrottlingException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// The operation did not succeed because a parameter in the request was sent
	// with an invalid value.
	ErrCodeValidationException = "ValidationException"
)
View Source
const (
	ServiceName = "codeartifact" // Name of service.
	EndpointsID = ServiceName    // ID to lookup a service endpoint with.
	ServiceID   = "codeartifact" // ServiceID is a unique identifier of a specific service.
)

Service information constants

View Source
const (
	// ExternalConnectionStatusAvailable is a ExternalConnectionStatus enum value
	ExternalConnectionStatusAvailable = "Available"
)
View Source
const (
	// PackageVersionSortTypePublishedTime is a PackageVersionSortType enum value
	PackageVersionSortTypePublishedTime = "PUBLISHED_TIME"
)

Variables

This section is empty.

Functions

func AllowPublish_Values added in v1.44.55

func AllowPublish_Values() []string

AllowPublish_Values returns all elements of the AllowPublish enum

func AllowUpstream_Values added in v1.44.55

func AllowUpstream_Values() []string

AllowUpstream_Values returns all elements of the AllowUpstream enum

func DomainStatus_Values added in v1.34.3

func DomainStatus_Values() []string

DomainStatus_Values returns all elements of the DomainStatus enum

func ExternalConnectionStatus_Values added in v1.34.3

func ExternalConnectionStatus_Values() []string

ExternalConnectionStatus_Values returns all elements of the ExternalConnectionStatus enum

func HashAlgorithm_Values added in v1.34.3

func HashAlgorithm_Values() []string

HashAlgorithm_Values returns all elements of the HashAlgorithm enum

func PackageFormat_Values added in v1.34.3

func PackageFormat_Values() []string

PackageFormat_Values returns all elements of the PackageFormat enum

func PackageGroupAllowedRepositoryUpdateType_Values added in v1.51.5

func PackageGroupAllowedRepositoryUpdateType_Values() []string

PackageGroupAllowedRepositoryUpdateType_Values returns all elements of the PackageGroupAllowedRepositoryUpdateType enum

func PackageGroupAssociationType_Values added in v1.51.5

func PackageGroupAssociationType_Values() []string

PackageGroupAssociationType_Values returns all elements of the PackageGroupAssociationType enum

func PackageGroupOriginRestrictionMode_Values added in v1.51.5

func PackageGroupOriginRestrictionMode_Values() []string

PackageGroupOriginRestrictionMode_Values returns all elements of the PackageGroupOriginRestrictionMode enum

func PackageGroupOriginRestrictionType_Values added in v1.51.5

func PackageGroupOriginRestrictionType_Values() []string

PackageGroupOriginRestrictionType_Values returns all elements of the PackageGroupOriginRestrictionType enum

func PackageVersionErrorCode_Values added in v1.34.3

func PackageVersionErrorCode_Values() []string

PackageVersionErrorCode_Values returns all elements of the PackageVersionErrorCode enum

func PackageVersionOriginType_Values added in v1.44.55

func PackageVersionOriginType_Values() []string

PackageVersionOriginType_Values returns all elements of the PackageVersionOriginType enum

func PackageVersionSortType_Values added in v1.34.3

func PackageVersionSortType_Values() []string

PackageVersionSortType_Values returns all elements of the PackageVersionSortType enum

func PackageVersionStatus_Values added in v1.34.3

func PackageVersionStatus_Values() []string

PackageVersionStatus_Values returns all elements of the PackageVersionStatus enum

func ResourceType_Values added in v1.34.3

func ResourceType_Values() []string

ResourceType_Values returns all elements of the ResourceType enum

func ValidationExceptionReason_Values added in v1.34.3

func ValidationExceptionReason_Values() []string

ValidationExceptionReason_Values returns all elements of the ValidationExceptionReason enum

Types

type AccessDeniedException

type AccessDeniedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The operation did not succeed because of an unauthorized access attempt.

func (*AccessDeniedException) Code

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString

func (s AccessDeniedException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccessDeniedException) Message

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode

func (s *AccessDeniedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AccessDeniedException) String

func (s AccessDeniedException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AssetSummary

type AssetSummary struct {

	// The hashes of the asset.
	Hashes map[string]*string `locationName:"hashes" type:"map"`

	// The name of the asset.
	//
	// Name is a required field
	Name *string `locationName:"name" min:"1" type:"string" required:"true"`

	// The size of the asset.
	Size *int64 `locationName:"size" type:"long"`
	// contains filtered or unexported fields
}

Contains details about a package version asset.

func (AssetSummary) GoString

func (s AssetSummary) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssetSummary) SetHashes

func (s *AssetSummary) SetHashes(v map[string]*string) *AssetSummary

SetHashes sets the Hashes field's value.

func (*AssetSummary) SetName

func (s *AssetSummary) SetName(v string) *AssetSummary

SetName sets the Name field's value.

func (*AssetSummary) SetSize

func (s *AssetSummary) SetSize(v int64) *AssetSummary

SetSize sets the Size field's value.

func (AssetSummary) String

func (s AssetSummary) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AssociateExternalConnectionInput

type AssociateExternalConnectionInput struct {

	// The name of the domain that contains the repository.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// The name of the external connection to add to the repository. The following
	// values are supported:
	//
	//    * public:npmjs - for the npm public repository.
	//
	//    * public:nuget-org - for the NuGet Gallery.
	//
	//    * 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.
	//
	//    * public:maven-clojars - for the Clojars repository.
	//
	//    * public:ruby-gems-org - for RubyGems.org.
	//
	//    * public:crates-io - for Crates.io.
	//
	// ExternalConnection is a required field
	ExternalConnection *string `location:"querystring" locationName:"external-connection" min:"2" type:"string" required:"true"`

	// The name of the repository to which the external connection is added.
	//
	// Repository is a required field
	Repository *string `location:"querystring" locationName:"repository" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (AssociateExternalConnectionInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociateExternalConnectionInput) SetDomain

SetDomain sets the Domain field's value.

func (*AssociateExternalConnectionInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*AssociateExternalConnectionInput) SetExternalConnection

SetExternalConnection sets the ExternalConnection field's value.

func (*AssociateExternalConnectionInput) SetRepository

SetRepository sets the Repository field's value.

func (AssociateExternalConnectionInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociateExternalConnectionInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type AssociateExternalConnectionOutput

type AssociateExternalConnectionOutput struct {

	// Information about the connected repository after processing the request.
	Repository *RepositoryDescription `locationName:"repository" type:"structure"`
	// contains filtered or unexported fields
}

func (AssociateExternalConnectionOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociateExternalConnectionOutput) SetRepository

SetRepository sets the Repository field's value.

func (AssociateExternalConnectionOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AssociatedPackage added in v1.51.5

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 (https://docs.aws.amazon.com/codeartifact/latest/ug/package-group-definition-syntax-matching-behavior.html)
	// in the CodeArtifact User Guide.
	AssociationType *string `locationName:"associationType" type:"string" enum:"PackageGroupAssociationType"`

	// A format that specifies the type of the associated package.
	Format *string `locationName:"format" type:"string" enum:"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 `locationName:"namespace" min:"1" type:"string"`

	// The name of the associated package.
	Package *string `locationName:"package" min:"1" type:"string"`
	// contains filtered or unexported fields
}

A package associated with a package group.

func (AssociatedPackage) GoString added in v1.51.5

func (s AssociatedPackage) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociatedPackage) SetAssociationType added in v1.51.5

func (s *AssociatedPackage) SetAssociationType(v string) *AssociatedPackage

SetAssociationType sets the AssociationType field's value.

func (*AssociatedPackage) SetFormat added in v1.51.5

func (s *AssociatedPackage) SetFormat(v string) *AssociatedPackage

SetFormat sets the Format field's value.

func (*AssociatedPackage) SetNamespace added in v1.51.5

func (s *AssociatedPackage) SetNamespace(v string) *AssociatedPackage

SetNamespace sets the Namespace field's value.

func (*AssociatedPackage) SetPackage added in v1.51.5

func (s *AssociatedPackage) SetPackage(v string) *AssociatedPackage

SetPackage sets the Package field's value.

func (AssociatedPackage) String added in v1.51.5

func (s AssociatedPackage) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CodeArtifact

type CodeArtifact struct {
	*client.Client
}

CodeArtifact provides the API operation methods for making requests to CodeArtifact. See this package's package overview docs for details on the service.

CodeArtifact methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *CodeArtifact

New creates a new instance of the CodeArtifact client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a CodeArtifact client from just a session.
svc := codeartifact.New(mySession)

// Create a CodeArtifact client with additional configuration
svc := codeartifact.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*CodeArtifact) AssociateExternalConnection

func (c *CodeArtifact) AssociateExternalConnection(input *AssociateExternalConnectionInput) (*AssociateExternalConnectionOutput, error)

AssociateExternalConnection API operation for CodeArtifact.

Adds an existing external connection to a repository. One external connection is allowed per repository.

A repository can have one or more upstream repositories, or an external connection.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation AssociateExternalConnection for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • ConflictException The operation did not succeed because prerequisites are not met.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

  • ServiceQuotaExceededException The operation did not succeed because it would have exceeded a service limit for your account.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/AssociateExternalConnection

func (*CodeArtifact) AssociateExternalConnectionRequest

func (c *CodeArtifact) AssociateExternalConnectionRequest(input *AssociateExternalConnectionInput) (req *request.Request, output *AssociateExternalConnectionOutput)

AssociateExternalConnectionRequest generates a "aws/request.Request" representing the client's request for the AssociateExternalConnection operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AssociateExternalConnection for more information on using the AssociateExternalConnection API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AssociateExternalConnectionRequest method.
req, resp := client.AssociateExternalConnectionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/AssociateExternalConnection

func (*CodeArtifact) AssociateExternalConnectionWithContext

func (c *CodeArtifact) AssociateExternalConnectionWithContext(ctx aws.Context, input *AssociateExternalConnectionInput, opts ...request.Option) (*AssociateExternalConnectionOutput, error)

AssociateExternalConnectionWithContext is the same as AssociateExternalConnection with the addition of the ability to pass a context and additional request options.

See AssociateExternalConnection for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) CopyPackageVersions

func (c *CodeArtifact) CopyPackageVersions(input *CopyPackageVersionsInput) (*CopyPackageVersionsOutput, error)

CopyPackageVersions API operation for CodeArtifact.

Copies package versions from one repository to another repository in the same domain.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation CopyPackageVersions for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • ConflictException The operation did not succeed because prerequisites are not met.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

  • ServiceQuotaExceededException The operation did not succeed because it would have exceeded a service limit for your account.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/CopyPackageVersions

func (*CodeArtifact) CopyPackageVersionsRequest

func (c *CodeArtifact) CopyPackageVersionsRequest(input *CopyPackageVersionsInput) (req *request.Request, output *CopyPackageVersionsOutput)

CopyPackageVersionsRequest generates a "aws/request.Request" representing the client's request for the CopyPackageVersions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CopyPackageVersions for more information on using the CopyPackageVersions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CopyPackageVersionsRequest method.
req, resp := client.CopyPackageVersionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/CopyPackageVersions

func (*CodeArtifact) CopyPackageVersionsWithContext

func (c *CodeArtifact) CopyPackageVersionsWithContext(ctx aws.Context, input *CopyPackageVersionsInput, opts ...request.Option) (*CopyPackageVersionsOutput, error)

CopyPackageVersionsWithContext is the same as CopyPackageVersions with the addition of the ability to pass a context and additional request options.

See CopyPackageVersions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) CreateDomain

func (c *CodeArtifact) CreateDomain(input *CreateDomainInput) (*CreateDomainOutput, error)

CreateDomain API operation for CodeArtifact.

Creates a domain. CodeArtifact domains make it easier to manage multiple repositories across an organization. You can use a domain to apply permissions across many repositories owned by different Amazon Web Services accounts. An asset is stored only once in a domain, even if it's in multiple repositories.

Although you can have multiple domains, we recommend a single production domain that contains all published artifacts so that your development teams can find and share packages. You can use a second pre-production domain to test changes to the production domain configuration.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation CreateDomain for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • ConflictException The operation did not succeed because prerequisites are not met.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

  • ServiceQuotaExceededException The operation did not succeed because it would have exceeded a service limit for your account.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/CreateDomain

func (*CodeArtifact) CreateDomainRequest

func (c *CodeArtifact) CreateDomainRequest(input *CreateDomainInput) (req *request.Request, output *CreateDomainOutput)

CreateDomainRequest generates a "aws/request.Request" representing the client's request for the CreateDomain operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateDomain for more information on using the CreateDomain API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateDomainRequest method.
req, resp := client.CreateDomainRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/CreateDomain

func (*CodeArtifact) CreateDomainWithContext

func (c *CodeArtifact) CreateDomainWithContext(ctx aws.Context, input *CreateDomainInput, opts ...request.Option) (*CreateDomainOutput, error)

CreateDomainWithContext is the same as CreateDomain with the addition of the ability to pass a context and additional request options.

See CreateDomain for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) CreatePackageGroup added in v1.51.5

func (c *CodeArtifact) CreatePackageGroup(input *CreatePackageGroupInput) (*CreatePackageGroupOutput, error)

CreatePackageGroup API operation for CodeArtifact.

Creates a package group. For more information about creating package groups, including example CLI commands, see Create a package group (https://docs.aws.amazon.com/codeartifact/latest/ug/create-package-group.html) in the CodeArtifact User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation CreatePackageGroup for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • ConflictException The operation did not succeed because prerequisites are not met.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ServiceQuotaExceededException The operation did not succeed because it would have exceeded a service limit for your account.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/CreatePackageGroup

func (*CodeArtifact) CreatePackageGroupRequest added in v1.51.5

func (c *CodeArtifact) CreatePackageGroupRequest(input *CreatePackageGroupInput) (req *request.Request, output *CreatePackageGroupOutput)

CreatePackageGroupRequest generates a "aws/request.Request" representing the client's request for the CreatePackageGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreatePackageGroup for more information on using the CreatePackageGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreatePackageGroupRequest method.
req, resp := client.CreatePackageGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/CreatePackageGroup

func (*CodeArtifact) CreatePackageGroupWithContext added in v1.51.5

func (c *CodeArtifact) CreatePackageGroupWithContext(ctx aws.Context, input *CreatePackageGroupInput, opts ...request.Option) (*CreatePackageGroupOutput, error)

CreatePackageGroupWithContext is the same as CreatePackageGroup with the addition of the ability to pass a context and additional request options.

See CreatePackageGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) CreateRepository

func (c *CodeArtifact) CreateRepository(input *CreateRepositoryInput) (*CreateRepositoryOutput, error)

CreateRepository API operation for CodeArtifact.

Creates a repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation CreateRepository for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • ConflictException The operation did not succeed because prerequisites are not met.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

  • ServiceQuotaExceededException The operation did not succeed because it would have exceeded a service limit for your account.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/CreateRepository

func (*CodeArtifact) CreateRepositoryRequest

func (c *CodeArtifact) CreateRepositoryRequest(input *CreateRepositoryInput) (req *request.Request, output *CreateRepositoryOutput)

CreateRepositoryRequest generates a "aws/request.Request" representing the client's request for the CreateRepository operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateRepository for more information on using the CreateRepository API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateRepositoryRequest method.
req, resp := client.CreateRepositoryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/CreateRepository

func (*CodeArtifact) CreateRepositoryWithContext

func (c *CodeArtifact) CreateRepositoryWithContext(ctx aws.Context, input *CreateRepositoryInput, opts ...request.Option) (*CreateRepositoryOutput, error)

CreateRepositoryWithContext is the same as CreateRepository with the addition of the ability to pass a context and additional request options.

See CreateRepository for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) DeleteDomain

func (c *CodeArtifact) DeleteDomain(input *DeleteDomainInput) (*DeleteDomainOutput, error)

DeleteDomain API operation for CodeArtifact.

Deletes a domain. You cannot delete a domain that contains repositories. If you want to delete a domain with repositories, first delete its repositories.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation DeleteDomain for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • ConflictException The operation did not succeed because prerequisites are not met.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DeleteDomain

func (*CodeArtifact) DeleteDomainPermissionsPolicy

DeleteDomainPermissionsPolicy API operation for CodeArtifact.

Deletes the resource policy set on a domain.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation DeleteDomainPermissionsPolicy for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • ConflictException The operation did not succeed because prerequisites are not met.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DeleteDomainPermissionsPolicy

func (*CodeArtifact) DeleteDomainPermissionsPolicyRequest

func (c *CodeArtifact) DeleteDomainPermissionsPolicyRequest(input *DeleteDomainPermissionsPolicyInput) (req *request.Request, output *DeleteDomainPermissionsPolicyOutput)

DeleteDomainPermissionsPolicyRequest generates a "aws/request.Request" representing the client's request for the DeleteDomainPermissionsPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteDomainPermissionsPolicy for more information on using the DeleteDomainPermissionsPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteDomainPermissionsPolicyRequest method.
req, resp := client.DeleteDomainPermissionsPolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DeleteDomainPermissionsPolicy

func (*CodeArtifact) DeleteDomainPermissionsPolicyWithContext

func (c *CodeArtifact) DeleteDomainPermissionsPolicyWithContext(ctx aws.Context, input *DeleteDomainPermissionsPolicyInput, opts ...request.Option) (*DeleteDomainPermissionsPolicyOutput, error)

DeleteDomainPermissionsPolicyWithContext is the same as DeleteDomainPermissionsPolicy with the addition of the ability to pass a context and additional request options.

See DeleteDomainPermissionsPolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) DeleteDomainRequest

func (c *CodeArtifact) DeleteDomainRequest(input *DeleteDomainInput) (req *request.Request, output *DeleteDomainOutput)

DeleteDomainRequest generates a "aws/request.Request" representing the client's request for the DeleteDomain operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteDomain for more information on using the DeleteDomain API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteDomainRequest method.
req, resp := client.DeleteDomainRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DeleteDomain

func (*CodeArtifact) DeleteDomainWithContext

func (c *CodeArtifact) DeleteDomainWithContext(ctx aws.Context, input *DeleteDomainInput, opts ...request.Option) (*DeleteDomainOutput, error)

DeleteDomainWithContext is the same as DeleteDomain with the addition of the ability to pass a context and additional request options.

See DeleteDomain for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) DeletePackage added in v1.44.191

func (c *CodeArtifact) DeletePackage(input *DeletePackageInput) (*DeletePackageOutput, error)

DeletePackage API operation for CodeArtifact.

Deletes a package and all associated package versions. A deleted package cannot be restored. To delete one or more package versions, use the DeletePackageVersions (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_DeletePackageVersions.html) API.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation DeletePackage for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • ConflictException The operation did not succeed because prerequisites are not met.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DeletePackage

func (*CodeArtifact) DeletePackageGroup added in v1.51.5

func (c *CodeArtifact) DeletePackageGroup(input *DeletePackageGroupInput) (*DeletePackageGroupOutput, error)

DeletePackageGroup API operation for CodeArtifact.

Deletes a package group. Deleting a package group does not delete packages or package versions associated with the package group. When a package group is deleted, the direct child package groups will become children of the package group's direct parent package group. Therefore, if any of the child groups are inheriting any settings from the parent, those settings could change.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation DeletePackageGroup for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • ConflictException The operation did not succeed because prerequisites are not met.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ServiceQuotaExceededException The operation did not succeed because it would have exceeded a service limit for your account.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DeletePackageGroup

func (*CodeArtifact) DeletePackageGroupRequest added in v1.51.5

func (c *CodeArtifact) DeletePackageGroupRequest(input *DeletePackageGroupInput) (req *request.Request, output *DeletePackageGroupOutput)

DeletePackageGroupRequest generates a "aws/request.Request" representing the client's request for the DeletePackageGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeletePackageGroup for more information on using the DeletePackageGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeletePackageGroupRequest method.
req, resp := client.DeletePackageGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DeletePackageGroup

func (*CodeArtifact) DeletePackageGroupWithContext added in v1.51.5

func (c *CodeArtifact) DeletePackageGroupWithContext(ctx aws.Context, input *DeletePackageGroupInput, opts ...request.Option) (*DeletePackageGroupOutput, error)

DeletePackageGroupWithContext is the same as DeletePackageGroup with the addition of the ability to pass a context and additional request options.

See DeletePackageGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) DeletePackageRequest added in v1.44.191

func (c *CodeArtifact) DeletePackageRequest(input *DeletePackageInput) (req *request.Request, output *DeletePackageOutput)

DeletePackageRequest generates a "aws/request.Request" representing the client's request for the DeletePackage operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeletePackage for more information on using the DeletePackage API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeletePackageRequest method.
req, resp := client.DeletePackageRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DeletePackage

func (*CodeArtifact) DeletePackageVersions

func (c *CodeArtifact) DeletePackageVersions(input *DeletePackageVersionsInput) (*DeletePackageVersionsOutput, error)

DeletePackageVersions API operation for CodeArtifact.

Deletes one or more versions of a package. A deleted package version cannot be restored in your repository. If you want to remove a package version from your repository and be able to restore it later, set its status to Archived. Archived packages cannot be downloaded from a repository and don't show up with list package APIs (for example, ListPackageVersions (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListPackageVersions.html)), but you can restore them using UpdatePackageVersionsStatus (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_UpdatePackageVersionsStatus.html).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation DeletePackageVersions for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • ConflictException The operation did not succeed because prerequisites are not met.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DeletePackageVersions

func (*CodeArtifact) DeletePackageVersionsRequest

func (c *CodeArtifact) DeletePackageVersionsRequest(input *DeletePackageVersionsInput) (req *request.Request, output *DeletePackageVersionsOutput)

DeletePackageVersionsRequest generates a "aws/request.Request" representing the client's request for the DeletePackageVersions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeletePackageVersions for more information on using the DeletePackageVersions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeletePackageVersionsRequest method.
req, resp := client.DeletePackageVersionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DeletePackageVersions

func (*CodeArtifact) DeletePackageVersionsWithContext

func (c *CodeArtifact) DeletePackageVersionsWithContext(ctx aws.Context, input *DeletePackageVersionsInput, opts ...request.Option) (*DeletePackageVersionsOutput, error)

DeletePackageVersionsWithContext is the same as DeletePackageVersions with the addition of the ability to pass a context and additional request options.

See DeletePackageVersions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) DeletePackageWithContext added in v1.44.191

func (c *CodeArtifact) DeletePackageWithContext(ctx aws.Context, input *DeletePackageInput, opts ...request.Option) (*DeletePackageOutput, error)

DeletePackageWithContext is the same as DeletePackage with the addition of the ability to pass a context and additional request options.

See DeletePackage for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) DeleteRepository

func (c *CodeArtifact) DeleteRepository(input *DeleteRepositoryInput) (*DeleteRepositoryOutput, error)

DeleteRepository API operation for CodeArtifact.

Deletes a repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation DeleteRepository for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • ConflictException The operation did not succeed because prerequisites are not met.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DeleteRepository

func (*CodeArtifact) DeleteRepositoryPermissionsPolicy

DeleteRepositoryPermissionsPolicy API operation for CodeArtifact.

Deletes the resource policy that is set on a repository. After a resource policy is deleted, the permissions allowed and denied by the deleted policy are removed. The effect of deleting a resource policy might not be immediate.

Use DeleteRepositoryPermissionsPolicy with caution. After a policy is deleted, Amazon Web Services users, roles, and accounts lose permissions to perform the repository actions granted by the deleted policy.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation DeleteRepositoryPermissionsPolicy for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • ConflictException The operation did not succeed because prerequisites are not met.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DeleteRepositoryPermissionsPolicy

func (*CodeArtifact) DeleteRepositoryPermissionsPolicyRequest

func (c *CodeArtifact) DeleteRepositoryPermissionsPolicyRequest(input *DeleteRepositoryPermissionsPolicyInput) (req *request.Request, output *DeleteRepositoryPermissionsPolicyOutput)

DeleteRepositoryPermissionsPolicyRequest generates a "aws/request.Request" representing the client's request for the DeleteRepositoryPermissionsPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteRepositoryPermissionsPolicy for more information on using the DeleteRepositoryPermissionsPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteRepositoryPermissionsPolicyRequest method.
req, resp := client.DeleteRepositoryPermissionsPolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DeleteRepositoryPermissionsPolicy

func (*CodeArtifact) DeleteRepositoryPermissionsPolicyWithContext

func (c *CodeArtifact) DeleteRepositoryPermissionsPolicyWithContext(ctx aws.Context, input *DeleteRepositoryPermissionsPolicyInput, opts ...request.Option) (*DeleteRepositoryPermissionsPolicyOutput, error)

DeleteRepositoryPermissionsPolicyWithContext is the same as DeleteRepositoryPermissionsPolicy with the addition of the ability to pass a context and additional request options.

See DeleteRepositoryPermissionsPolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) DeleteRepositoryRequest

func (c *CodeArtifact) DeleteRepositoryRequest(input *DeleteRepositoryInput) (req *request.Request, output *DeleteRepositoryOutput)

DeleteRepositoryRequest generates a "aws/request.Request" representing the client's request for the DeleteRepository operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteRepository for more information on using the DeleteRepository API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteRepositoryRequest method.
req, resp := client.DeleteRepositoryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DeleteRepository

func (*CodeArtifact) DeleteRepositoryWithContext

func (c *CodeArtifact) DeleteRepositoryWithContext(ctx aws.Context, input *DeleteRepositoryInput, opts ...request.Option) (*DeleteRepositoryOutput, error)

DeleteRepositoryWithContext is the same as DeleteRepository with the addition of the ability to pass a context and additional request options.

See DeleteRepository for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) DescribeDomain

func (c *CodeArtifact) DescribeDomain(input *DescribeDomainInput) (*DescribeDomainOutput, error)

DescribeDomain API operation for CodeArtifact.

Returns a DomainDescription (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_DomainDescription.html) object that contains information about the requested domain.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation DescribeDomain for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DescribeDomain

func (*CodeArtifact) DescribeDomainRequest

func (c *CodeArtifact) DescribeDomainRequest(input *DescribeDomainInput) (req *request.Request, output *DescribeDomainOutput)

DescribeDomainRequest generates a "aws/request.Request" representing the client's request for the DescribeDomain operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeDomain for more information on using the DescribeDomain API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeDomainRequest method.
req, resp := client.DescribeDomainRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DescribeDomain

func (*CodeArtifact) DescribeDomainWithContext

func (c *CodeArtifact) DescribeDomainWithContext(ctx aws.Context, input *DescribeDomainInput, opts ...request.Option) (*DescribeDomainOutput, error)

DescribeDomainWithContext is the same as DescribeDomain with the addition of the ability to pass a context and additional request options.

See DescribeDomain for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) DescribePackage added in v1.44.55

func (c *CodeArtifact) DescribePackage(input *DescribePackageInput) (*DescribePackageOutput, error)

DescribePackage API operation for CodeArtifact.

Returns a PackageDescription (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageDescription.html) object that contains information about the requested package.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation DescribePackage for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DescribePackage

func (*CodeArtifact) DescribePackageGroup added in v1.51.5

func (c *CodeArtifact) DescribePackageGroup(input *DescribePackageGroupInput) (*DescribePackageGroupOutput, error)

DescribePackageGroup API operation for CodeArtifact.

Returns a PackageGroupDescription (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageGroupDescription.html) object that contains information about the requested package group.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation DescribePackageGroup for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DescribePackageGroup

func (*CodeArtifact) DescribePackageGroupRequest added in v1.51.5

func (c *CodeArtifact) DescribePackageGroupRequest(input *DescribePackageGroupInput) (req *request.Request, output *DescribePackageGroupOutput)

DescribePackageGroupRequest generates a "aws/request.Request" representing the client's request for the DescribePackageGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribePackageGroup for more information on using the DescribePackageGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribePackageGroupRequest method.
req, resp := client.DescribePackageGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DescribePackageGroup

func (*CodeArtifact) DescribePackageGroupWithContext added in v1.51.5

func (c *CodeArtifact) DescribePackageGroupWithContext(ctx aws.Context, input *DescribePackageGroupInput, opts ...request.Option) (*DescribePackageGroupOutput, error)

DescribePackageGroupWithContext is the same as DescribePackageGroup with the addition of the ability to pass a context and additional request options.

See DescribePackageGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) DescribePackageRequest added in v1.44.55

func (c *CodeArtifact) DescribePackageRequest(input *DescribePackageInput) (req *request.Request, output *DescribePackageOutput)

DescribePackageRequest generates a "aws/request.Request" representing the client's request for the DescribePackage operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribePackage for more information on using the DescribePackage API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribePackageRequest method.
req, resp := client.DescribePackageRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DescribePackage

func (*CodeArtifact) DescribePackageVersion

func (c *CodeArtifact) DescribePackageVersion(input *DescribePackageVersionInput) (*DescribePackageVersionOutput, error)

DescribePackageVersion API operation for CodeArtifact.

Returns a PackageVersionDescription (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionDescription.html) object that contains information about the requested package version.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation DescribePackageVersion for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • ConflictException The operation did not succeed because prerequisites are not met.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DescribePackageVersion

func (*CodeArtifact) DescribePackageVersionRequest

func (c *CodeArtifact) DescribePackageVersionRequest(input *DescribePackageVersionInput) (req *request.Request, output *DescribePackageVersionOutput)

DescribePackageVersionRequest generates a "aws/request.Request" representing the client's request for the DescribePackageVersion operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribePackageVersion for more information on using the DescribePackageVersion API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribePackageVersionRequest method.
req, resp := client.DescribePackageVersionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DescribePackageVersion

func (*CodeArtifact) DescribePackageVersionWithContext

func (c *CodeArtifact) DescribePackageVersionWithContext(ctx aws.Context, input *DescribePackageVersionInput, opts ...request.Option) (*DescribePackageVersionOutput, error)

DescribePackageVersionWithContext is the same as DescribePackageVersion with the addition of the ability to pass a context and additional request options.

See DescribePackageVersion for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) DescribePackageWithContext added in v1.44.55

func (c *CodeArtifact) DescribePackageWithContext(ctx aws.Context, input *DescribePackageInput, opts ...request.Option) (*DescribePackageOutput, error)

DescribePackageWithContext is the same as DescribePackage with the addition of the ability to pass a context and additional request options.

See DescribePackage for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) DescribeRepository

func (c *CodeArtifact) DescribeRepository(input *DescribeRepositoryInput) (*DescribeRepositoryOutput, error)

DescribeRepository API operation for CodeArtifact.

Returns a RepositoryDescription object that contains detailed information about the requested repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation DescribeRepository for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DescribeRepository

func (*CodeArtifact) DescribeRepositoryRequest

func (c *CodeArtifact) DescribeRepositoryRequest(input *DescribeRepositoryInput) (req *request.Request, output *DescribeRepositoryOutput)

DescribeRepositoryRequest generates a "aws/request.Request" representing the client's request for the DescribeRepository operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeRepository for more information on using the DescribeRepository API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeRepositoryRequest method.
req, resp := client.DescribeRepositoryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DescribeRepository

func (*CodeArtifact) DescribeRepositoryWithContext

func (c *CodeArtifact) DescribeRepositoryWithContext(ctx aws.Context, input *DescribeRepositoryInput, opts ...request.Option) (*DescribeRepositoryOutput, error)

DescribeRepositoryWithContext is the same as DescribeRepository with the addition of the ability to pass a context and additional request options.

See DescribeRepository for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) DisassociateExternalConnection

DisassociateExternalConnection API operation for CodeArtifact.

Removes an existing external connection from a repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation DisassociateExternalConnection for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • ConflictException The operation did not succeed because prerequisites are not met.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

  • ServiceQuotaExceededException The operation did not succeed because it would have exceeded a service limit for your account.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DisassociateExternalConnection

func (*CodeArtifact) DisassociateExternalConnectionRequest

func (c *CodeArtifact) DisassociateExternalConnectionRequest(input *DisassociateExternalConnectionInput) (req *request.Request, output *DisassociateExternalConnectionOutput)

DisassociateExternalConnectionRequest generates a "aws/request.Request" representing the client's request for the DisassociateExternalConnection operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisassociateExternalConnection for more information on using the DisassociateExternalConnection API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisassociateExternalConnectionRequest method.
req, resp := client.DisassociateExternalConnectionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DisassociateExternalConnection

func (*CodeArtifact) DisassociateExternalConnectionWithContext

func (c *CodeArtifact) DisassociateExternalConnectionWithContext(ctx aws.Context, input *DisassociateExternalConnectionInput, opts ...request.Option) (*DisassociateExternalConnectionOutput, error)

DisassociateExternalConnectionWithContext is the same as DisassociateExternalConnection with the addition of the ability to pass a context and additional request options.

See DisassociateExternalConnection for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) DisposePackageVersions

func (c *CodeArtifact) DisposePackageVersions(input *DisposePackageVersionsInput) (*DisposePackageVersionsOutput, error)

DisposePackageVersions API operation for CodeArtifact.

Deletes the assets in package versions and sets the package versions' status to Disposed. A disposed package version cannot be restored in your repository because its assets are deleted.

To view all disposed package versions in a repository, use ListPackageVersions (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListPackageVersions.html) and set the status (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListPackageVersions.html#API_ListPackageVersions_RequestSyntax) parameter to Disposed.

To view information about a disposed package version, use DescribePackageVersion (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_DescribePackageVersion.html).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation DisposePackageVersions for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • ConflictException The operation did not succeed because prerequisites are not met.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DisposePackageVersions

func (*CodeArtifact) DisposePackageVersionsRequest

func (c *CodeArtifact) DisposePackageVersionsRequest(input *DisposePackageVersionsInput) (req *request.Request, output *DisposePackageVersionsOutput)

DisposePackageVersionsRequest generates a "aws/request.Request" representing the client's request for the DisposePackageVersions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisposePackageVersions for more information on using the DisposePackageVersions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisposePackageVersionsRequest method.
req, resp := client.DisposePackageVersionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DisposePackageVersions

func (*CodeArtifact) DisposePackageVersionsWithContext

func (c *CodeArtifact) DisposePackageVersionsWithContext(ctx aws.Context, input *DisposePackageVersionsInput, opts ...request.Option) (*DisposePackageVersionsOutput, error)

DisposePackageVersionsWithContext is the same as DisposePackageVersions with the addition of the ability to pass a context and additional request options.

See DisposePackageVersions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) GetAssociatedPackageGroup added in v1.51.5

func (c *CodeArtifact) GetAssociatedPackageGroup(input *GetAssociatedPackageGroupInput) (*GetAssociatedPackageGroupOutput, error)

GetAssociatedPackageGroup API operation for CodeArtifact.

Returns the most closely associated package group to the specified package. This API does not require that the package exist in any repository in the domain. As such, GetAssociatedPackageGroup can be used to see which package group's origin configuration applies to a package before that package is in a repository. This can be helpful to check if public packages are blocked without ingesting them.

For information package group association and matching, see Package group definition syntax and matching behavior (https://docs.aws.amazon.com/codeartifact/latest/ug/package-group-definition-syntax-matching-behavior.html) in the CodeArtifact User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation GetAssociatedPackageGroup for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/GetAssociatedPackageGroup

func (*CodeArtifact) GetAssociatedPackageGroupRequest added in v1.51.5

func (c *CodeArtifact) GetAssociatedPackageGroupRequest(input *GetAssociatedPackageGroupInput) (req *request.Request, output *GetAssociatedPackageGroupOutput)

GetAssociatedPackageGroupRequest generates a "aws/request.Request" representing the client's request for the GetAssociatedPackageGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetAssociatedPackageGroup for more information on using the GetAssociatedPackageGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetAssociatedPackageGroupRequest method.
req, resp := client.GetAssociatedPackageGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/GetAssociatedPackageGroup

func (*CodeArtifact) GetAssociatedPackageGroupWithContext added in v1.51.5

func (c *CodeArtifact) GetAssociatedPackageGroupWithContext(ctx aws.Context, input *GetAssociatedPackageGroupInput, opts ...request.Option) (*GetAssociatedPackageGroupOutput, error)

GetAssociatedPackageGroupWithContext is the same as GetAssociatedPackageGroup with the addition of the ability to pass a context and additional request options.

See GetAssociatedPackageGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) GetAuthorizationToken

func (c *CodeArtifact) GetAuthorizationToken(input *GetAuthorizationTokenInput) (*GetAuthorizationTokenOutput, error)

GetAuthorizationToken API operation for CodeArtifact.

Generates a temporary authorization token for accessing repositories in the domain. This API requires the codeartifact:GetAuthorizationToken and sts:GetServiceBearerToken permissions. For more information about authorization tokens, see CodeArtifact authentication and tokens (https://docs.aws.amazon.com/codeartifact/latest/ug/tokens-authentication.html).

CodeArtifact authorization tokens are valid for a period of 12 hours when created with the login command. You can call login periodically to refresh the token. When you create an authorization token with the GetAuthorizationToken API, you can set a custom authorization period, up to a maximum of 12 hours, with the durationSeconds parameter.

The authorization period begins after login or GetAuthorizationToken is called. If login or GetAuthorizationToken is called while assuming a role, the token lifetime is independent of the maximum session duration of the role. For example, if you call sts assume-role and specify a session duration of 15 minutes, then generate a CodeArtifact authorization token, the token will be valid for the full authorization period even though this is longer than the 15-minute session duration.

See Using IAM Roles (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html) for more information on controlling session duration.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation GetAuthorizationToken for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/GetAuthorizationToken

func (*CodeArtifact) GetAuthorizationTokenRequest

func (c *CodeArtifact) GetAuthorizationTokenRequest(input *GetAuthorizationTokenInput) (req *request.Request, output *GetAuthorizationTokenOutput)

GetAuthorizationTokenRequest generates a "aws/request.Request" representing the client's request for the GetAuthorizationToken operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetAuthorizationToken for more information on using the GetAuthorizationToken API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetAuthorizationTokenRequest method.
req, resp := client.GetAuthorizationTokenRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/GetAuthorizationToken

func (*CodeArtifact) GetAuthorizationTokenWithContext

func (c *CodeArtifact) GetAuthorizationTokenWithContext(ctx aws.Context, input *GetAuthorizationTokenInput, opts ...request.Option) (*GetAuthorizationTokenOutput, error)

GetAuthorizationTokenWithContext is the same as GetAuthorizationToken with the addition of the ability to pass a context and additional request options.

See GetAuthorizationToken for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) GetDomainPermissionsPolicy

func (c *CodeArtifact) GetDomainPermissionsPolicy(input *GetDomainPermissionsPolicyInput) (*GetDomainPermissionsPolicyOutput, error)

GetDomainPermissionsPolicy API operation for CodeArtifact.

Returns the resource policy attached to the specified domain.

The policy is a resource-based policy, not an identity-based policy. For more information, see Identity-based policies and resource-based policies (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_identity-vs-resource.html) in the IAM User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation GetDomainPermissionsPolicy for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/GetDomainPermissionsPolicy

func (*CodeArtifact) GetDomainPermissionsPolicyRequest

func (c *CodeArtifact) GetDomainPermissionsPolicyRequest(input *GetDomainPermissionsPolicyInput) (req *request.Request, output *GetDomainPermissionsPolicyOutput)

GetDomainPermissionsPolicyRequest generates a "aws/request.Request" representing the client's request for the GetDomainPermissionsPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetDomainPermissionsPolicy for more information on using the GetDomainPermissionsPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetDomainPermissionsPolicyRequest method.
req, resp := client.GetDomainPermissionsPolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/GetDomainPermissionsPolicy

func (*CodeArtifact) GetDomainPermissionsPolicyWithContext

func (c *CodeArtifact) GetDomainPermissionsPolicyWithContext(ctx aws.Context, input *GetDomainPermissionsPolicyInput, opts ...request.Option) (*GetDomainPermissionsPolicyOutput, error)

GetDomainPermissionsPolicyWithContext is the same as GetDomainPermissionsPolicy with the addition of the ability to pass a context and additional request options.

See GetDomainPermissionsPolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) GetPackageVersionAsset

func (c *CodeArtifact) GetPackageVersionAsset(input *GetPackageVersionAssetInput) (*GetPackageVersionAssetOutput, error)

GetPackageVersionAsset API operation for CodeArtifact.

Returns an asset (or file) that is in a package. For example, for a Maven package version, use GetPackageVersionAsset to download a JAR file, a POM file, or any other assets in the package version.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation GetPackageVersionAsset for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

  • ConflictException The operation did not succeed because prerequisites are not met.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/GetPackageVersionAsset

func (*CodeArtifact) GetPackageVersionAssetRequest

func (c *CodeArtifact) GetPackageVersionAssetRequest(input *GetPackageVersionAssetInput) (req *request.Request, output *GetPackageVersionAssetOutput)

GetPackageVersionAssetRequest generates a "aws/request.Request" representing the client's request for the GetPackageVersionAsset operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetPackageVersionAsset for more information on using the GetPackageVersionAsset API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetPackageVersionAssetRequest method.
req, resp := client.GetPackageVersionAssetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/GetPackageVersionAsset

func (*CodeArtifact) GetPackageVersionAssetWithContext

func (c *CodeArtifact) GetPackageVersionAssetWithContext(ctx aws.Context, input *GetPackageVersionAssetInput, opts ...request.Option) (*GetPackageVersionAssetOutput, error)

GetPackageVersionAssetWithContext is the same as GetPackageVersionAsset with the addition of the ability to pass a context and additional request options.

See GetPackageVersionAsset for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) GetPackageVersionReadme

func (c *CodeArtifact) GetPackageVersionReadme(input *GetPackageVersionReadmeInput) (*GetPackageVersionReadmeOutput, error)

GetPackageVersionReadme API operation for CodeArtifact.

Gets the readme file or descriptive text for a package version.

The returned text might contain formatting. For example, it might contain formatting for Markdown or reStructuredText.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation GetPackageVersionReadme for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/GetPackageVersionReadme

func (*CodeArtifact) GetPackageVersionReadmeRequest

func (c *CodeArtifact) GetPackageVersionReadmeRequest(input *GetPackageVersionReadmeInput) (req *request.Request, output *GetPackageVersionReadmeOutput)

GetPackageVersionReadmeRequest generates a "aws/request.Request" representing the client's request for the GetPackageVersionReadme operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetPackageVersionReadme for more information on using the GetPackageVersionReadme API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetPackageVersionReadmeRequest method.
req, resp := client.GetPackageVersionReadmeRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/GetPackageVersionReadme

func (*CodeArtifact) GetPackageVersionReadmeWithContext

func (c *CodeArtifact) GetPackageVersionReadmeWithContext(ctx aws.Context, input *GetPackageVersionReadmeInput, opts ...request.Option) (*GetPackageVersionReadmeOutput, error)

GetPackageVersionReadmeWithContext is the same as GetPackageVersionReadme with the addition of the ability to pass a context and additional request options.

See GetPackageVersionReadme for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) GetRepositoryEndpoint

func (c *CodeArtifact) GetRepositoryEndpoint(input *GetRepositoryEndpointInput) (*GetRepositoryEndpointOutput, error)

GetRepositoryEndpoint API operation for CodeArtifact.

Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each package format:

  • cargo

  • generic

  • maven

  • npm

  • nuget

  • pypi

  • ruby

  • swift

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation GetRepositoryEndpoint for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/GetRepositoryEndpoint

func (*CodeArtifact) GetRepositoryEndpointRequest

func (c *CodeArtifact) GetRepositoryEndpointRequest(input *GetRepositoryEndpointInput) (req *request.Request, output *GetRepositoryEndpointOutput)

GetRepositoryEndpointRequest generates a "aws/request.Request" representing the client's request for the GetRepositoryEndpoint operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetRepositoryEndpoint for more information on using the GetRepositoryEndpoint API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetRepositoryEndpointRequest method.
req, resp := client.GetRepositoryEndpointRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/GetRepositoryEndpoint

func (*CodeArtifact) GetRepositoryEndpointWithContext

func (c *CodeArtifact) GetRepositoryEndpointWithContext(ctx aws.Context, input *GetRepositoryEndpointInput, opts ...request.Option) (*GetRepositoryEndpointOutput, error)

GetRepositoryEndpointWithContext is the same as GetRepositoryEndpoint with the addition of the ability to pass a context and additional request options.

See GetRepositoryEndpoint for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) GetRepositoryPermissionsPolicy

GetRepositoryPermissionsPolicy API operation for CodeArtifact.

Returns the resource policy that is set on a repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation GetRepositoryPermissionsPolicy for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/GetRepositoryPermissionsPolicy

func (*CodeArtifact) GetRepositoryPermissionsPolicyRequest

func (c *CodeArtifact) GetRepositoryPermissionsPolicyRequest(input *GetRepositoryPermissionsPolicyInput) (req *request.Request, output *GetRepositoryPermissionsPolicyOutput)

GetRepositoryPermissionsPolicyRequest generates a "aws/request.Request" representing the client's request for the GetRepositoryPermissionsPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetRepositoryPermissionsPolicy for more information on using the GetRepositoryPermissionsPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetRepositoryPermissionsPolicyRequest method.
req, resp := client.GetRepositoryPermissionsPolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/GetRepositoryPermissionsPolicy

func (*CodeArtifact) GetRepositoryPermissionsPolicyWithContext

func (c *CodeArtifact) GetRepositoryPermissionsPolicyWithContext(ctx aws.Context, input *GetRepositoryPermissionsPolicyInput, opts ...request.Option) (*GetRepositoryPermissionsPolicyOutput, error)

GetRepositoryPermissionsPolicyWithContext is the same as GetRepositoryPermissionsPolicy with the addition of the ability to pass a context and additional request options.

See GetRepositoryPermissionsPolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) ListAllowedRepositoriesForGroup added in v1.51.5

ListAllowedRepositoriesForGroup API operation for CodeArtifact.

Lists the repositories in the added repositories list of the specified restriction type for a package group. For more information about restriction types and added repository lists, see Package group origin controls (https://docs.aws.amazon.com/codeartifact/latest/ug/package-group-origin-controls.html) in the CodeArtifact User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation ListAllowedRepositoriesForGroup for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ServiceQuotaExceededException The operation did not succeed because it would have exceeded a service limit for your account.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListAllowedRepositoriesForGroup

func (*CodeArtifact) ListAllowedRepositoriesForGroupPages added in v1.51.5

func (c *CodeArtifact) ListAllowedRepositoriesForGroupPages(input *ListAllowedRepositoriesForGroupInput, fn func(*ListAllowedRepositoriesForGroupOutput, bool) bool) error

ListAllowedRepositoriesForGroupPages iterates over the pages of a ListAllowedRepositoriesForGroup operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListAllowedRepositoriesForGroup method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListAllowedRepositoriesForGroup operation.
pageNum := 0
err := client.ListAllowedRepositoriesForGroupPages(params,
    func(page *codeartifact.ListAllowedRepositoriesForGroupOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeArtifact) ListAllowedRepositoriesForGroupPagesWithContext added in v1.51.5

func (c *CodeArtifact) ListAllowedRepositoriesForGroupPagesWithContext(ctx aws.Context, input *ListAllowedRepositoriesForGroupInput, fn func(*ListAllowedRepositoriesForGroupOutput, bool) bool, opts ...request.Option) error

ListAllowedRepositoriesForGroupPagesWithContext same as ListAllowedRepositoriesForGroupPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) ListAllowedRepositoriesForGroupRequest added in v1.51.5

func (c *CodeArtifact) ListAllowedRepositoriesForGroupRequest(input *ListAllowedRepositoriesForGroupInput) (req *request.Request, output *ListAllowedRepositoriesForGroupOutput)

ListAllowedRepositoriesForGroupRequest generates a "aws/request.Request" representing the client's request for the ListAllowedRepositoriesForGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListAllowedRepositoriesForGroup for more information on using the ListAllowedRepositoriesForGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListAllowedRepositoriesForGroupRequest method.
req, resp := client.ListAllowedRepositoriesForGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListAllowedRepositoriesForGroup

func (*CodeArtifact) ListAllowedRepositoriesForGroupWithContext added in v1.51.5

func (c *CodeArtifact) ListAllowedRepositoriesForGroupWithContext(ctx aws.Context, input *ListAllowedRepositoriesForGroupInput, opts ...request.Option) (*ListAllowedRepositoriesForGroupOutput, error)

ListAllowedRepositoriesForGroupWithContext is the same as ListAllowedRepositoriesForGroup with the addition of the ability to pass a context and additional request options.

See ListAllowedRepositoriesForGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) ListAssociatedPackages added in v1.51.5

func (c *CodeArtifact) ListAssociatedPackages(input *ListAssociatedPackagesInput) (*ListAssociatedPackagesOutput, error)

ListAssociatedPackages API operation for CodeArtifact.

Returns a list of packages associated with the requested package group. For information package group association and matching, see Package group definition syntax and matching behavior (https://docs.aws.amazon.com/codeartifact/latest/ug/package-group-definition-syntax-matching-behavior.html) in the CodeArtifact User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation ListAssociatedPackages for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListAssociatedPackages

func (*CodeArtifact) ListAssociatedPackagesPages added in v1.51.5

func (c *CodeArtifact) ListAssociatedPackagesPages(input *ListAssociatedPackagesInput, fn func(*ListAssociatedPackagesOutput, bool) bool) error

ListAssociatedPackagesPages iterates over the pages of a ListAssociatedPackages operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListAssociatedPackages method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListAssociatedPackages operation.
pageNum := 0
err := client.ListAssociatedPackagesPages(params,
    func(page *codeartifact.ListAssociatedPackagesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeArtifact) ListAssociatedPackagesPagesWithContext added in v1.51.5

func (c *CodeArtifact) ListAssociatedPackagesPagesWithContext(ctx aws.Context, input *ListAssociatedPackagesInput, fn func(*ListAssociatedPackagesOutput, bool) bool, opts ...request.Option) error

ListAssociatedPackagesPagesWithContext same as ListAssociatedPackagesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) ListAssociatedPackagesRequest added in v1.51.5

func (c *CodeArtifact) ListAssociatedPackagesRequest(input *ListAssociatedPackagesInput) (req *request.Request, output *ListAssociatedPackagesOutput)

ListAssociatedPackagesRequest generates a "aws/request.Request" representing the client's request for the ListAssociatedPackages operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListAssociatedPackages for more information on using the ListAssociatedPackages API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListAssociatedPackagesRequest method.
req, resp := client.ListAssociatedPackagesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListAssociatedPackages

func (*CodeArtifact) ListAssociatedPackagesWithContext added in v1.51.5

func (c *CodeArtifact) ListAssociatedPackagesWithContext(ctx aws.Context, input *ListAssociatedPackagesInput, opts ...request.Option) (*ListAssociatedPackagesOutput, error)

ListAssociatedPackagesWithContext is the same as ListAssociatedPackages with the addition of the ability to pass a context and additional request options.

See ListAssociatedPackages for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) ListDomains

func (c *CodeArtifact) ListDomains(input *ListDomainsInput) (*ListDomainsOutput, error)

ListDomains API operation for CodeArtifact.

Returns a list of DomainSummary (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionDescription.html) objects for all domains owned by the Amazon Web Services account that makes this call. Each returned DomainSummary object contains information about a domain.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation ListDomains for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListDomains

func (*CodeArtifact) ListDomainsPages

func (c *CodeArtifact) ListDomainsPages(input *ListDomainsInput, fn func(*ListDomainsOutput, bool) bool) error

ListDomainsPages iterates over the pages of a ListDomains operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListDomains method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListDomains operation.
pageNum := 0
err := client.ListDomainsPages(params,
    func(page *codeartifact.ListDomainsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeArtifact) ListDomainsPagesWithContext

func (c *CodeArtifact) ListDomainsPagesWithContext(ctx aws.Context, input *ListDomainsInput, fn func(*ListDomainsOutput, bool) bool, opts ...request.Option) error

ListDomainsPagesWithContext same as ListDomainsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) ListDomainsRequest

func (c *CodeArtifact) ListDomainsRequest(input *ListDomainsInput) (req *request.Request, output *ListDomainsOutput)

ListDomainsRequest generates a "aws/request.Request" representing the client's request for the ListDomains operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListDomains for more information on using the ListDomains API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListDomainsRequest method.
req, resp := client.ListDomainsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListDomains

func (*CodeArtifact) ListDomainsWithContext

func (c *CodeArtifact) ListDomainsWithContext(ctx aws.Context, input *ListDomainsInput, opts ...request.Option) (*ListDomainsOutput, error)

ListDomainsWithContext is the same as ListDomains with the addition of the ability to pass a context and additional request options.

See ListDomains for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) ListPackageGroups added in v1.51.5

func (c *CodeArtifact) ListPackageGroups(input *ListPackageGroupsInput) (*ListPackageGroupsOutput, error)

ListPackageGroups API operation for CodeArtifact.

Returns a list of package groups in the requested domain.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation ListPackageGroups for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListPackageGroups

func (*CodeArtifact) ListPackageGroupsPages added in v1.51.5

func (c *CodeArtifact) ListPackageGroupsPages(input *ListPackageGroupsInput, fn func(*ListPackageGroupsOutput, bool) bool) error

ListPackageGroupsPages iterates over the pages of a ListPackageGroups operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListPackageGroups method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListPackageGroups operation.
pageNum := 0
err := client.ListPackageGroupsPages(params,
    func(page *codeartifact.ListPackageGroupsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeArtifact) ListPackageGroupsPagesWithContext added in v1.51.5

func (c *CodeArtifact) ListPackageGroupsPagesWithContext(ctx aws.Context, input *ListPackageGroupsInput, fn func(*ListPackageGroupsOutput, bool) bool, opts ...request.Option) error

ListPackageGroupsPagesWithContext same as ListPackageGroupsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) ListPackageGroupsRequest added in v1.51.5

func (c *CodeArtifact) ListPackageGroupsRequest(input *ListPackageGroupsInput) (req *request.Request, output *ListPackageGroupsOutput)

ListPackageGroupsRequest generates a "aws/request.Request" representing the client's request for the ListPackageGroups operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListPackageGroups for more information on using the ListPackageGroups API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListPackageGroupsRequest method.
req, resp := client.ListPackageGroupsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListPackageGroups

func (*CodeArtifact) ListPackageGroupsWithContext added in v1.51.5

func (c *CodeArtifact) ListPackageGroupsWithContext(ctx aws.Context, input *ListPackageGroupsInput, opts ...request.Option) (*ListPackageGroupsOutput, error)

ListPackageGroupsWithContext is the same as ListPackageGroups with the addition of the ability to pass a context and additional request options.

See ListPackageGroups for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) ListPackageVersionAssets

func (c *CodeArtifact) ListPackageVersionAssets(input *ListPackageVersionAssetsInput) (*ListPackageVersionAssetsOutput, error)

ListPackageVersionAssets API operation for CodeArtifact.

Returns a list of AssetSummary (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_AssetSummary.html) objects for assets in a package version.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation ListPackageVersionAssets for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListPackageVersionAssets

func (*CodeArtifact) ListPackageVersionAssetsPages

func (c *CodeArtifact) ListPackageVersionAssetsPages(input *ListPackageVersionAssetsInput, fn func(*ListPackageVersionAssetsOutput, bool) bool) error

ListPackageVersionAssetsPages iterates over the pages of a ListPackageVersionAssets operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListPackageVersionAssets method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListPackageVersionAssets operation.
pageNum := 0
err := client.ListPackageVersionAssetsPages(params,
    func(page *codeartifact.ListPackageVersionAssetsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeArtifact) ListPackageVersionAssetsPagesWithContext

func (c *CodeArtifact) ListPackageVersionAssetsPagesWithContext(ctx aws.Context, input *ListPackageVersionAssetsInput, fn func(*ListPackageVersionAssetsOutput, bool) bool, opts ...request.Option) error

ListPackageVersionAssetsPagesWithContext same as ListPackageVersionAssetsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) ListPackageVersionAssetsRequest

func (c *CodeArtifact) ListPackageVersionAssetsRequest(input *ListPackageVersionAssetsInput) (req *request.Request, output *ListPackageVersionAssetsOutput)

ListPackageVersionAssetsRequest generates a "aws/request.Request" representing the client's request for the ListPackageVersionAssets operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListPackageVersionAssets for more information on using the ListPackageVersionAssets API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListPackageVersionAssetsRequest method.
req, resp := client.ListPackageVersionAssetsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListPackageVersionAssets

func (*CodeArtifact) ListPackageVersionAssetsWithContext

func (c *CodeArtifact) ListPackageVersionAssetsWithContext(ctx aws.Context, input *ListPackageVersionAssetsInput, opts ...request.Option) (*ListPackageVersionAssetsOutput, error)

ListPackageVersionAssetsWithContext is the same as ListPackageVersionAssets with the addition of the ability to pass a context and additional request options.

See ListPackageVersionAssets for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) ListPackageVersionDependencies

ListPackageVersionDependencies API operation for CodeArtifact.

Returns the direct dependencies for a package version. The dependencies are returned as PackageDependency (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageDependency.html) objects. CodeArtifact extracts the dependencies for a package version from the metadata file for the package format (for example, the package.json file for npm packages and the pom.xml file for Maven). Any package version dependencies that are not listed in the configuration file are not returned.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation ListPackageVersionDependencies for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListPackageVersionDependencies

func (*CodeArtifact) ListPackageVersionDependenciesRequest

func (c *CodeArtifact) ListPackageVersionDependenciesRequest(input *ListPackageVersionDependenciesInput) (req *request.Request, output *ListPackageVersionDependenciesOutput)

ListPackageVersionDependenciesRequest generates a "aws/request.Request" representing the client's request for the ListPackageVersionDependencies operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListPackageVersionDependencies for more information on using the ListPackageVersionDependencies API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListPackageVersionDependenciesRequest method.
req, resp := client.ListPackageVersionDependenciesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListPackageVersionDependencies

func (*CodeArtifact) ListPackageVersionDependenciesWithContext

func (c *CodeArtifact) ListPackageVersionDependenciesWithContext(ctx aws.Context, input *ListPackageVersionDependenciesInput, opts ...request.Option) (*ListPackageVersionDependenciesOutput, error)

ListPackageVersionDependenciesWithContext is the same as ListPackageVersionDependencies with the addition of the ability to pass a context and additional request options.

See ListPackageVersionDependencies for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) ListPackageVersions

func (c *CodeArtifact) ListPackageVersions(input *ListPackageVersionsInput) (*ListPackageVersionsOutput, error)

ListPackageVersions API operation for CodeArtifact.

Returns a list of PackageVersionSummary (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionSummary.html) objects for package versions in a repository that match the request parameters. Package versions of all statuses will be returned by default when calling list-package-versions with no --status parameter.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation ListPackageVersions for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListPackageVersions

func (*CodeArtifact) ListPackageVersionsPages

func (c *CodeArtifact) ListPackageVersionsPages(input *ListPackageVersionsInput, fn func(*ListPackageVersionsOutput, bool) bool) error

ListPackageVersionsPages iterates over the pages of a ListPackageVersions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListPackageVersions method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListPackageVersions operation.
pageNum := 0
err := client.ListPackageVersionsPages(params,
    func(page *codeartifact.ListPackageVersionsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeArtifact) ListPackageVersionsPagesWithContext

func (c *CodeArtifact) ListPackageVersionsPagesWithContext(ctx aws.Context, input *ListPackageVersionsInput, fn func(*ListPackageVersionsOutput, bool) bool, opts ...request.Option) error

ListPackageVersionsPagesWithContext same as ListPackageVersionsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) ListPackageVersionsRequest

func (c *CodeArtifact) ListPackageVersionsRequest(input *ListPackageVersionsInput) (req *request.Request, output *ListPackageVersionsOutput)

ListPackageVersionsRequest generates a "aws/request.Request" representing the client's request for the ListPackageVersions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListPackageVersions for more information on using the ListPackageVersions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListPackageVersionsRequest method.
req, resp := client.ListPackageVersionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListPackageVersions

func (*CodeArtifact) ListPackageVersionsWithContext

func (c *CodeArtifact) ListPackageVersionsWithContext(ctx aws.Context, input *ListPackageVersionsInput, opts ...request.Option) (*ListPackageVersionsOutput, error)

ListPackageVersionsWithContext is the same as ListPackageVersions with the addition of the ability to pass a context and additional request options.

See ListPackageVersions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) ListPackages

func (c *CodeArtifact) ListPackages(input *ListPackagesInput) (*ListPackagesOutput, error)

ListPackages API operation for CodeArtifact.

Returns a list of PackageSummary (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageSummary.html) objects for packages in a repository that match the request parameters.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation ListPackages for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListPackages

func (*CodeArtifact) ListPackagesPages

func (c *CodeArtifact) ListPackagesPages(input *ListPackagesInput, fn func(*ListPackagesOutput, bool) bool) error

ListPackagesPages iterates over the pages of a ListPackages operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListPackages method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListPackages operation.
pageNum := 0
err := client.ListPackagesPages(params,
    func(page *codeartifact.ListPackagesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeArtifact) ListPackagesPagesWithContext

func (c *CodeArtifact) ListPackagesPagesWithContext(ctx aws.Context, input *ListPackagesInput, fn func(*ListPackagesOutput, bool) bool, opts ...request.Option) error

ListPackagesPagesWithContext same as ListPackagesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) ListPackagesRequest

func (c *CodeArtifact) ListPackagesRequest(input *ListPackagesInput) (req *request.Request, output *ListPackagesOutput)

ListPackagesRequest generates a "aws/request.Request" representing the client's request for the ListPackages operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListPackages for more information on using the ListPackages API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListPackagesRequest method.
req, resp := client.ListPackagesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListPackages

func (*CodeArtifact) ListPackagesWithContext

func (c *CodeArtifact) ListPackagesWithContext(ctx aws.Context, input *ListPackagesInput, opts ...request.Option) (*ListPackagesOutput, error)

ListPackagesWithContext is the same as ListPackages with the addition of the ability to pass a context and additional request options.

See ListPackages for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) ListRepositories

func (c *CodeArtifact) ListRepositories(input *ListRepositoriesInput) (*ListRepositoriesOutput, error)

ListRepositories API operation for CodeArtifact.

Returns a list of RepositorySummary (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_RepositorySummary.html) objects. Each RepositorySummary contains information about a repository in the specified Amazon Web Services account and that matches the input parameters.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation ListRepositories for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListRepositories

func (*CodeArtifact) ListRepositoriesInDomain

func (c *CodeArtifact) ListRepositoriesInDomain(input *ListRepositoriesInDomainInput) (*ListRepositoriesInDomainOutput, error)

ListRepositoriesInDomain API operation for CodeArtifact.

Returns a list of RepositorySummary (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_RepositorySummary.html) objects. Each RepositorySummary contains information about a repository in the specified domain and that matches the input parameters.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation ListRepositoriesInDomain for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListRepositoriesInDomain

func (*CodeArtifact) ListRepositoriesInDomainPages

func (c *CodeArtifact) ListRepositoriesInDomainPages(input *ListRepositoriesInDomainInput, fn func(*ListRepositoriesInDomainOutput, bool) bool) error

ListRepositoriesInDomainPages iterates over the pages of a ListRepositoriesInDomain operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListRepositoriesInDomain method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListRepositoriesInDomain operation.
pageNum := 0
err := client.ListRepositoriesInDomainPages(params,
    func(page *codeartifact.ListRepositoriesInDomainOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeArtifact) ListRepositoriesInDomainPagesWithContext

func (c *CodeArtifact) ListRepositoriesInDomainPagesWithContext(ctx aws.Context, input *ListRepositoriesInDomainInput, fn func(*ListRepositoriesInDomainOutput, bool) bool, opts ...request.Option) error

ListRepositoriesInDomainPagesWithContext same as ListRepositoriesInDomainPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) ListRepositoriesInDomainRequest

func (c *CodeArtifact) ListRepositoriesInDomainRequest(input *ListRepositoriesInDomainInput) (req *request.Request, output *ListRepositoriesInDomainOutput)

ListRepositoriesInDomainRequest generates a "aws/request.Request" representing the client's request for the ListRepositoriesInDomain operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListRepositoriesInDomain for more information on using the ListRepositoriesInDomain API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListRepositoriesInDomainRequest method.
req, resp := client.ListRepositoriesInDomainRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListRepositoriesInDomain

func (*CodeArtifact) ListRepositoriesInDomainWithContext

func (c *CodeArtifact) ListRepositoriesInDomainWithContext(ctx aws.Context, input *ListRepositoriesInDomainInput, opts ...request.Option) (*ListRepositoriesInDomainOutput, error)

ListRepositoriesInDomainWithContext is the same as ListRepositoriesInDomain with the addition of the ability to pass a context and additional request options.

See ListRepositoriesInDomain for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) ListRepositoriesPages

func (c *CodeArtifact) ListRepositoriesPages(input *ListRepositoriesInput, fn func(*ListRepositoriesOutput, bool) bool) error

ListRepositoriesPages iterates over the pages of a ListRepositories operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListRepositories method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListRepositories operation.
pageNum := 0
err := client.ListRepositoriesPages(params,
    func(page *codeartifact.ListRepositoriesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeArtifact) ListRepositoriesPagesWithContext

func (c *CodeArtifact) ListRepositoriesPagesWithContext(ctx aws.Context, input *ListRepositoriesInput, fn func(*ListRepositoriesOutput, bool) bool, opts ...request.Option) error

ListRepositoriesPagesWithContext same as ListRepositoriesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) ListRepositoriesRequest

func (c *CodeArtifact) ListRepositoriesRequest(input *ListRepositoriesInput) (req *request.Request, output *ListRepositoriesOutput)

ListRepositoriesRequest generates a "aws/request.Request" representing the client's request for the ListRepositories operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListRepositories for more information on using the ListRepositories API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListRepositoriesRequest method.
req, resp := client.ListRepositoriesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListRepositories

func (*CodeArtifact) ListRepositoriesWithContext

func (c *CodeArtifact) ListRepositoriesWithContext(ctx aws.Context, input *ListRepositoriesInput, opts ...request.Option) (*ListRepositoriesOutput, error)

ListRepositoriesWithContext is the same as ListRepositories with the addition of the ability to pass a context and additional request options.

See ListRepositories for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) ListSubPackageGroups added in v1.51.5

func (c *CodeArtifact) ListSubPackageGroups(input *ListSubPackageGroupsInput) (*ListSubPackageGroupsOutput, error)

ListSubPackageGroups API operation for CodeArtifact.

Returns a list of direct children of the specified package group.

For information package group hierarchy, see Package group definition syntax and matching behavior (https://docs.aws.amazon.com/codeartifact/latest/ug/package-group-definition-syntax-matching-behavior.html) in the CodeArtifact User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation ListSubPackageGroups for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListSubPackageGroups

func (*CodeArtifact) ListSubPackageGroupsPages added in v1.51.5

func (c *CodeArtifact) ListSubPackageGroupsPages(input *ListSubPackageGroupsInput, fn func(*ListSubPackageGroupsOutput, bool) bool) error

ListSubPackageGroupsPages iterates over the pages of a ListSubPackageGroups operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListSubPackageGroups method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListSubPackageGroups operation.
pageNum := 0
err := client.ListSubPackageGroupsPages(params,
    func(page *codeartifact.ListSubPackageGroupsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeArtifact) ListSubPackageGroupsPagesWithContext added in v1.51.5

func (c *CodeArtifact) ListSubPackageGroupsPagesWithContext(ctx aws.Context, input *ListSubPackageGroupsInput, fn func(*ListSubPackageGroupsOutput, bool) bool, opts ...request.Option) error

ListSubPackageGroupsPagesWithContext same as ListSubPackageGroupsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) ListSubPackageGroupsRequest added in v1.51.5

func (c *CodeArtifact) ListSubPackageGroupsRequest(input *ListSubPackageGroupsInput) (req *request.Request, output *ListSubPackageGroupsOutput)

ListSubPackageGroupsRequest generates a "aws/request.Request" representing the client's request for the ListSubPackageGroups operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListSubPackageGroups for more information on using the ListSubPackageGroups API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListSubPackageGroupsRequest method.
req, resp := client.ListSubPackageGroupsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListSubPackageGroups

func (*CodeArtifact) ListSubPackageGroupsWithContext added in v1.51.5

func (c *CodeArtifact) ListSubPackageGroupsWithContext(ctx aws.Context, input *ListSubPackageGroupsInput, opts ...request.Option) (*ListSubPackageGroupsOutput, error)

ListSubPackageGroupsWithContext is the same as ListSubPackageGroups with the addition of the ability to pass a context and additional request options.

See ListSubPackageGroups for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) ListTagsForResource added in v1.35.18

func (c *CodeArtifact) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for CodeArtifact.

Gets information about Amazon Web Services tags for a specified Amazon Resource Name (ARN) in CodeArtifact.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation ListTagsForResource for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListTagsForResource

func (*CodeArtifact) ListTagsForResourceRequest added in v1.35.18

func (c *CodeArtifact) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTagsForResourceRequest method.
req, resp := client.ListTagsForResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListTagsForResource

func (*CodeArtifact) ListTagsForResourceWithContext added in v1.35.18

func (c *CodeArtifact) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.

See ListTagsForResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) PublishPackageVersion added in v1.44.218

func (c *CodeArtifact) PublishPackageVersion(input *PublishPackageVersionInput) (*PublishPackageVersionOutput, error)

PublishPackageVersion API operation for CodeArtifact.

Creates a new package version containing one or more assets (or files).

The unfinished flag can be used to keep the package version in the Unfinished state until all of its assets have been uploaded (see Package version status (https://docs.aws.amazon.com/codeartifact/latest/ug/packages-overview.html#package-version-status.html#package-version-status) in the CodeArtifact user guide). To set the package version’s status to Published, omit the unfinished flag when uploading the final asset, or set the status using UpdatePackageVersionStatus (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_UpdatePackageVersionsStatus.html). Once a package version’s status is set to Published, it cannot change back to Unfinished.

Only generic packages can be published using this API. For more information, see Using generic packages (https://docs.aws.amazon.com/codeartifact/latest/ug/using-generic.html) in the CodeArtifact User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation PublishPackageVersion for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • ConflictException The operation did not succeed because prerequisites are not met.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

  • ServiceQuotaExceededException The operation did not succeed because it would have exceeded a service limit for your account.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PublishPackageVersion

func (*CodeArtifact) PublishPackageVersionRequest added in v1.44.218

func (c *CodeArtifact) PublishPackageVersionRequest(input *PublishPackageVersionInput) (req *request.Request, output *PublishPackageVersionOutput)

PublishPackageVersionRequest generates a "aws/request.Request" representing the client's request for the PublishPackageVersion operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PublishPackageVersion for more information on using the PublishPackageVersion API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PublishPackageVersionRequest method.
req, resp := client.PublishPackageVersionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PublishPackageVersion

func (*CodeArtifact) PublishPackageVersionWithContext added in v1.44.218

func (c *CodeArtifact) PublishPackageVersionWithContext(ctx aws.Context, input *PublishPackageVersionInput, opts ...request.Option) (*PublishPackageVersionOutput, error)

PublishPackageVersionWithContext is the same as PublishPackageVersion with the addition of the ability to pass a context and additional request options.

See PublishPackageVersion for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) PutDomainPermissionsPolicy

func (c *CodeArtifact) PutDomainPermissionsPolicy(input *PutDomainPermissionsPolicyInput) (*PutDomainPermissionsPolicyOutput, error)

PutDomainPermissionsPolicy API operation for CodeArtifact.

Sets a resource policy on a domain that specifies permissions to access it.

When you call PutDomainPermissionsPolicy, the resource policy on the domain is ignored when evaluting permissions. This ensures that the owner of a domain cannot lock themselves out of the domain, which would prevent them from being able to update the resource policy.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation PutDomainPermissionsPolicy for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • ConflictException The operation did not succeed because prerequisites are not met.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

  • ServiceQuotaExceededException The operation did not succeed because it would have exceeded a service limit for your account.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PutDomainPermissionsPolicy

func (*CodeArtifact) PutDomainPermissionsPolicyRequest

func (c *CodeArtifact) PutDomainPermissionsPolicyRequest(input *PutDomainPermissionsPolicyInput) (req *request.Request, output *PutDomainPermissionsPolicyOutput)

PutDomainPermissionsPolicyRequest generates a "aws/request.Request" representing the client's request for the PutDomainPermissionsPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutDomainPermissionsPolicy for more information on using the PutDomainPermissionsPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutDomainPermissionsPolicyRequest method.
req, resp := client.PutDomainPermissionsPolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PutDomainPermissionsPolicy

func (*CodeArtifact) PutDomainPermissionsPolicyWithContext

func (c *CodeArtifact) PutDomainPermissionsPolicyWithContext(ctx aws.Context, input *PutDomainPermissionsPolicyInput, opts ...request.Option) (*PutDomainPermissionsPolicyOutput, error)

PutDomainPermissionsPolicyWithContext is the same as PutDomainPermissionsPolicy with the addition of the ability to pass a context and additional request options.

See PutDomainPermissionsPolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) PutPackageOriginConfiguration added in v1.44.55

PutPackageOriginConfiguration API operation for CodeArtifact.

Sets the package origin configuration for a package.

The package origin configuration determines how new versions of a package can be added to a repository. You can allow or block direct publishing of new package versions, or ingestion and retaining of new package versions from an external connection or upstream source. For more information about package origin controls and configuration, see Editing package origin controls (https://docs.aws.amazon.com/codeartifact/latest/ug/package-origin-controls.html) in the CodeArtifact User Guide.

PutPackageOriginConfiguration can be called on a package that doesn't yet exist in the repository. When called on a package that does not exist, a package is created in the repository with no versions and the requested restrictions are set on the package. This can be used to preemptively block ingesting or retaining any versions from external connections or upstream repositories, or to block publishing any versions of the package into the repository before connecting any package managers or publishers to the repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation PutPackageOriginConfiguration for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PutPackageOriginConfiguration

func (*CodeArtifact) PutPackageOriginConfigurationRequest added in v1.44.55

func (c *CodeArtifact) PutPackageOriginConfigurationRequest(input *PutPackageOriginConfigurationInput) (req *request.Request, output *PutPackageOriginConfigurationOutput)

PutPackageOriginConfigurationRequest generates a "aws/request.Request" representing the client's request for the PutPackageOriginConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutPackageOriginConfiguration for more information on using the PutPackageOriginConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutPackageOriginConfigurationRequest method.
req, resp := client.PutPackageOriginConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PutPackageOriginConfiguration

func (*CodeArtifact) PutPackageOriginConfigurationWithContext added in v1.44.55

func (c *CodeArtifact) PutPackageOriginConfigurationWithContext(ctx aws.Context, input *PutPackageOriginConfigurationInput, opts ...request.Option) (*PutPackageOriginConfigurationOutput, error)

PutPackageOriginConfigurationWithContext is the same as PutPackageOriginConfiguration with the addition of the ability to pass a context and additional request options.

See PutPackageOriginConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) PutRepositoryPermissionsPolicy

PutRepositoryPermissionsPolicy API operation for CodeArtifact.

Sets the resource policy on a repository that specifies permissions to access it.

When you call PutRepositoryPermissionsPolicy, the resource policy on the repository is ignored when evaluting permissions. This ensures that the owner of a repository cannot lock themselves out of the repository, which would prevent them from being able to update the resource policy.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation PutRepositoryPermissionsPolicy for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • ConflictException The operation did not succeed because prerequisites are not met.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

  • ServiceQuotaExceededException The operation did not succeed because it would have exceeded a service limit for your account.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PutRepositoryPermissionsPolicy

func (*CodeArtifact) PutRepositoryPermissionsPolicyRequest

func (c *CodeArtifact) PutRepositoryPermissionsPolicyRequest(input *PutRepositoryPermissionsPolicyInput) (req *request.Request, output *PutRepositoryPermissionsPolicyOutput)

PutRepositoryPermissionsPolicyRequest generates a "aws/request.Request" representing the client's request for the PutRepositoryPermissionsPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutRepositoryPermissionsPolicy for more information on using the PutRepositoryPermissionsPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutRepositoryPermissionsPolicyRequest method.
req, resp := client.PutRepositoryPermissionsPolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PutRepositoryPermissionsPolicy

func (*CodeArtifact) PutRepositoryPermissionsPolicyWithContext

func (c *CodeArtifact) PutRepositoryPermissionsPolicyWithContext(ctx aws.Context, input *PutRepositoryPermissionsPolicyInput, opts ...request.Option) (*PutRepositoryPermissionsPolicyOutput, error)

PutRepositoryPermissionsPolicyWithContext is the same as PutRepositoryPermissionsPolicy with the addition of the ability to pass a context and additional request options.

See PutRepositoryPermissionsPolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) TagResource added in v1.35.18

func (c *CodeArtifact) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for CodeArtifact.

Adds or updates tags for a resource in CodeArtifact.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation TagResource for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

  • ServiceQuotaExceededException The operation did not succeed because it would have exceeded a service limit for your account.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/TagResource

func (*CodeArtifact) TagResourceRequest added in v1.35.18

func (c *CodeArtifact) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TagResource for more information on using the TagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TagResourceRequest method.
req, resp := client.TagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/TagResource

func (*CodeArtifact) TagResourceWithContext added in v1.35.18

func (c *CodeArtifact) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.

See TagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) UntagResource added in v1.35.18

func (c *CodeArtifact) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for CodeArtifact.

Removes tags from a resource in CodeArtifact.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation UntagResource for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/UntagResource

func (*CodeArtifact) UntagResourceRequest added in v1.35.18

func (c *CodeArtifact) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UntagResource for more information on using the UntagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UntagResourceRequest method.
req, resp := client.UntagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/UntagResource

func (*CodeArtifact) UntagResourceWithContext added in v1.35.18

func (c *CodeArtifact) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.

See UntagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) UpdatePackageGroup added in v1.51.5

func (c *CodeArtifact) UpdatePackageGroup(input *UpdatePackageGroupInput) (*UpdatePackageGroupOutput, error)

UpdatePackageGroup API operation for CodeArtifact.

Updates a package group. This API cannot be used to update a package group's origin configuration or pattern. To update a package group's origin configuration, use UpdatePackageGroupOriginConfiguration (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_UpdatePackageGroupOriginConfiguration.html).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation UpdatePackageGroup for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ServiceQuotaExceededException The operation did not succeed because it would have exceeded a service limit for your account.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/UpdatePackageGroup

func (*CodeArtifact) UpdatePackageGroupOriginConfiguration added in v1.51.5

UpdatePackageGroupOriginConfiguration API operation for CodeArtifact.

Updates the package origin configuration for a package group.

The package origin configuration determines how new versions of a package can be added to a repository. You can allow or block direct publishing of new package versions, or ingestion and retaining of new package versions from an external connection or upstream source. For more information about package group origin controls and configuration, see Package group origin controls (https://docs.aws.amazon.com/codeartifact/latest/ug/package-group-origin-controls.html) in the CodeArtifact User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation UpdatePackageGroupOriginConfiguration for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ServiceQuotaExceededException The operation did not succeed because it would have exceeded a service limit for your account.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/UpdatePackageGroupOriginConfiguration

func (*CodeArtifact) UpdatePackageGroupOriginConfigurationRequest added in v1.51.5

func (c *CodeArtifact) UpdatePackageGroupOriginConfigurationRequest(input *UpdatePackageGroupOriginConfigurationInput) (req *request.Request, output *UpdatePackageGroupOriginConfigurationOutput)

UpdatePackageGroupOriginConfigurationRequest generates a "aws/request.Request" representing the client's request for the UpdatePackageGroupOriginConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdatePackageGroupOriginConfiguration for more information on using the UpdatePackageGroupOriginConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdatePackageGroupOriginConfigurationRequest method.
req, resp := client.UpdatePackageGroupOriginConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/UpdatePackageGroupOriginConfiguration

func (*CodeArtifact) UpdatePackageGroupOriginConfigurationWithContext added in v1.51.5

func (c *CodeArtifact) UpdatePackageGroupOriginConfigurationWithContext(ctx aws.Context, input *UpdatePackageGroupOriginConfigurationInput, opts ...request.Option) (*UpdatePackageGroupOriginConfigurationOutput, error)

UpdatePackageGroupOriginConfigurationWithContext is the same as UpdatePackageGroupOriginConfiguration with the addition of the ability to pass a context and additional request options.

See UpdatePackageGroupOriginConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) UpdatePackageGroupRequest added in v1.51.5

func (c *CodeArtifact) UpdatePackageGroupRequest(input *UpdatePackageGroupInput) (req *request.Request, output *UpdatePackageGroupOutput)

UpdatePackageGroupRequest generates a "aws/request.Request" representing the client's request for the UpdatePackageGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdatePackageGroup for more information on using the UpdatePackageGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdatePackageGroupRequest method.
req, resp := client.UpdatePackageGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/UpdatePackageGroup

func (*CodeArtifact) UpdatePackageGroupWithContext added in v1.51.5

func (c *CodeArtifact) UpdatePackageGroupWithContext(ctx aws.Context, input *UpdatePackageGroupInput, opts ...request.Option) (*UpdatePackageGroupOutput, error)

UpdatePackageGroupWithContext is the same as UpdatePackageGroup with the addition of the ability to pass a context and additional request options.

See UpdatePackageGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) UpdatePackageVersionsStatus

func (c *CodeArtifact) UpdatePackageVersionsStatus(input *UpdatePackageVersionsStatusInput) (*UpdatePackageVersionsStatusOutput, error)

UpdatePackageVersionsStatus API operation for CodeArtifact.

Updates the status of one or more versions of a package. Using UpdatePackageVersionsStatus, you can update the status of package versions to Archived, Published, or Unlisted. To set the status of a package version to Disposed, use DisposePackageVersions (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_DisposePackageVersions.html).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation UpdatePackageVersionsStatus for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • ConflictException The operation did not succeed because prerequisites are not met.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/UpdatePackageVersionsStatus

func (*CodeArtifact) UpdatePackageVersionsStatusRequest

func (c *CodeArtifact) UpdatePackageVersionsStatusRequest(input *UpdatePackageVersionsStatusInput) (req *request.Request, output *UpdatePackageVersionsStatusOutput)

UpdatePackageVersionsStatusRequest generates a "aws/request.Request" representing the client's request for the UpdatePackageVersionsStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdatePackageVersionsStatus for more information on using the UpdatePackageVersionsStatus API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdatePackageVersionsStatusRequest method.
req, resp := client.UpdatePackageVersionsStatusRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/UpdatePackageVersionsStatus

func (*CodeArtifact) UpdatePackageVersionsStatusWithContext

func (c *CodeArtifact) UpdatePackageVersionsStatusWithContext(ctx aws.Context, input *UpdatePackageVersionsStatusInput, opts ...request.Option) (*UpdatePackageVersionsStatusOutput, error)

UpdatePackageVersionsStatusWithContext is the same as UpdatePackageVersionsStatus with the addition of the ability to pass a context and additional request options.

See UpdatePackageVersionsStatus for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeArtifact) UpdateRepository

func (c *CodeArtifact) UpdateRepository(input *UpdateRepositoryInput) (*UpdateRepositoryOutput, error)

UpdateRepository API operation for CodeArtifact.

Update the properties of a repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for CodeArtifact's API operation UpdateRepository for usage and error information.

Returned Error Types:

  • AccessDeniedException The operation did not succeed because of an unauthorized access attempt.

  • ConflictException The operation did not succeed because prerequisites are not met.

  • InternalServerException The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException The operation did not succeed because the resource requested is not found in the service.

  • ServiceQuotaExceededException The operation did not succeed because it would have exceeded a service limit for your account.

  • ThrottlingException The operation did not succeed because too many requests are sent to the service.

  • ValidationException The operation did not succeed because a parameter in the request was sent with an invalid value.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/UpdateRepository

func (*CodeArtifact) UpdateRepositoryRequest

func (c *CodeArtifact) UpdateRepositoryRequest(input *UpdateRepositoryInput) (req *request.Request, output *UpdateRepositoryOutput)

UpdateRepositoryRequest generates a "aws/request.Request" representing the client's request for the UpdateRepository operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateRepository for more information on using the UpdateRepository API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateRepositoryRequest method.
req, resp := client.UpdateRepositoryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/UpdateRepository

func (*CodeArtifact) UpdateRepositoryWithContext

func (c *CodeArtifact) UpdateRepositoryWithContext(ctx aws.Context, input *UpdateRepositoryInput, opts ...request.Option) (*UpdateRepositoryOutput, error)

UpdateRepositoryWithContext is the same as UpdateRepository with the addition of the ability to pass a context and additional request options.

See UpdateRepository for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type ConflictException

type ConflictException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`

	// The ID of the resource.
	ResourceId *string `locationName:"resourceId" type:"string"`

	// The type of Amazon Web Services resource.
	ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"`
	// contains filtered or unexported fields
}

The operation did not succeed because prerequisites are not met.

func (*ConflictException) Code

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error

func (s *ConflictException) Error() string

func (ConflictException) GoString

func (s ConflictException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ConflictException) Message

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode

func (s *ConflictException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ConflictException) String

func (s ConflictException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CopyPackageVersionsInput

type CopyPackageVersionsInput struct {

	// 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.
	AllowOverwrite *bool `locationName:"allowOverwrite" type:"boolean"`

	// The name of the repository into which package versions are copied.
	//
	// DestinationRepository is a required field
	DestinationRepository *string `location:"querystring" locationName:"destination-repository" min:"2" type:"string" required:"true"`

	// The name of the domain that contains the source and destination repositories.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// The format of the package versions to be copied.
	//
	// Format is a required field
	Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"`

	// 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 (https://docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html).
	IncludeFromUpstream *bool `locationName:"includeFromUpstream" type:"boolean"`

	// The namespace of the package versions to be copied. The package component
	// that specifies its namespace depends on its type. For example:
	//
	// The namespace is required when copying package versions of the following
	// formats:
	//
	//    * Maven
	//
	//    * Swift
	//
	//    * generic
	//
	//    * 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 `location:"querystring" locationName:"namespace" min:"1" type:"string"`

	// The name of the package that contains the versions to be copied.
	//
	// Package is a required field
	Package *string `location:"querystring" locationName:"package" min:"1" type:"string" required:"true"`

	// The name of the repository that contains the package versions to be copied.
	//
	// SourceRepository is a required field
	SourceRepository *string `location:"querystring" locationName:"source-repository" min:"2" type:"string" required:"true"`

	// 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.
	VersionRevisions map[string]*string `locationName:"versionRevisions" type:"map"`

	// The versions of the package to be copied.
	//
	// You must specify versions or versionRevisions. You cannot specify both.
	Versions []*string `locationName:"versions" type:"list"`
	// contains filtered or unexported fields
}

func (CopyPackageVersionsInput) GoString

func (s CopyPackageVersionsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CopyPackageVersionsInput) SetAllowOverwrite

func (s *CopyPackageVersionsInput) SetAllowOverwrite(v bool) *CopyPackageVersionsInput

SetAllowOverwrite sets the AllowOverwrite field's value.

func (*CopyPackageVersionsInput) SetDestinationRepository

func (s *CopyPackageVersionsInput) SetDestinationRepository(v string) *CopyPackageVersionsInput

SetDestinationRepository sets the DestinationRepository field's value.

func (*CopyPackageVersionsInput) SetDomain

SetDomain sets the Domain field's value.

func (*CopyPackageVersionsInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*CopyPackageVersionsInput) SetFormat

SetFormat sets the Format field's value.

func (*CopyPackageVersionsInput) SetIncludeFromUpstream

func (s *CopyPackageVersionsInput) SetIncludeFromUpstream(v bool) *CopyPackageVersionsInput

SetIncludeFromUpstream sets the IncludeFromUpstream field's value.

func (*CopyPackageVersionsInput) SetNamespace

SetNamespace sets the Namespace field's value.

func (*CopyPackageVersionsInput) SetPackage

SetPackage sets the Package field's value.

func (*CopyPackageVersionsInput) SetSourceRepository

func (s *CopyPackageVersionsInput) SetSourceRepository(v string) *CopyPackageVersionsInput

SetSourceRepository sets the SourceRepository field's value.

func (*CopyPackageVersionsInput) SetVersionRevisions

func (s *CopyPackageVersionsInput) SetVersionRevisions(v map[string]*string) *CopyPackageVersionsInput

SetVersionRevisions sets the VersionRevisions field's value.

func (*CopyPackageVersionsInput) SetVersions

SetVersions sets the Versions field's value.

func (CopyPackageVersionsInput) String

func (s CopyPackageVersionsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CopyPackageVersionsInput) Validate

func (s *CopyPackageVersionsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CopyPackageVersionsOutput

type CopyPackageVersionsOutput struct {

	// 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
	FailedVersions map[string]*PackageVersionError `locationName:"failedVersions" type:"map"`

	// A list of the package versions that were successfully copied to your repository.
	SuccessfulVersions map[string]*SuccessfulPackageVersionInfo `locationName:"successfulVersions" type:"map"`
	// contains filtered or unexported fields
}

func (CopyPackageVersionsOutput) GoString

func (s CopyPackageVersionsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CopyPackageVersionsOutput) SetFailedVersions

SetFailedVersions sets the FailedVersions field's value.

func (*CopyPackageVersionsOutput) SetSuccessfulVersions

SetSuccessfulVersions sets the SuccessfulVersions field's value.

func (CopyPackageVersionsOutput) String

func (s CopyPackageVersionsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateDomainInput

type CreateDomainInput struct {

	// 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.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// 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 (https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestSyntax)
	// in the Key Management Service API Reference and Key Management Service API
	// Permissions Reference (https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html)
	// 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 (https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html)
	// in the Key Management Service Developer Guide.
	EncryptionKey *string `locationName:"encryptionKey" min:"1" type:"string"`

	// One or more tag key-value pairs for the domain.
	Tags []*Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

func (CreateDomainInput) GoString

func (s CreateDomainInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateDomainInput) SetDomain

func (s *CreateDomainInput) SetDomain(v string) *CreateDomainInput

SetDomain sets the Domain field's value.

func (*CreateDomainInput) SetEncryptionKey

func (s *CreateDomainInput) SetEncryptionKey(v string) *CreateDomainInput

SetEncryptionKey sets the EncryptionKey field's value.

func (*CreateDomainInput) SetTags added in v1.35.18

func (s *CreateDomainInput) SetTags(v []*Tag) *CreateDomainInput

SetTags sets the Tags field's value.

func (CreateDomainInput) String

func (s CreateDomainInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateDomainInput) Validate

func (s *CreateDomainInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateDomainOutput

type CreateDomainOutput struct {

	// Contains information about the created domain after processing the request.
	Domain *DomainDescription `locationName:"domain" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateDomainOutput) GoString

func (s CreateDomainOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateDomainOutput) SetDomain

SetDomain sets the Domain field's value.

func (CreateDomainOutput) String

func (s CreateDomainOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreatePackageGroupInput added in v1.51.5

type CreatePackageGroupInput struct {

	// The contact information for the created package group.
	ContactInfo *string `locationName:"contactInfo" type:"string"`

	// A description of the package group.
	Description *string `locationName:"description" type:"string"`

	// The name of the domain in which you want to create a package group.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// The pattern of the package group to create. The pattern is also the identifier
	// of the package group.
	//
	// PackageGroup is a required field
	PackageGroup *string `locationName:"packageGroup" min:"2" type:"string" required:"true"`

	// One or more tag key-value pairs for the package group.
	Tags []*Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

func (CreatePackageGroupInput) GoString added in v1.51.5

func (s CreatePackageGroupInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreatePackageGroupInput) SetContactInfo added in v1.51.5

SetContactInfo sets the ContactInfo field's value.

func (*CreatePackageGroupInput) SetDescription added in v1.51.5

SetDescription sets the Description field's value.

func (*CreatePackageGroupInput) SetDomain added in v1.51.5

SetDomain sets the Domain field's value.

func (*CreatePackageGroupInput) SetDomainOwner added in v1.51.5

SetDomainOwner sets the DomainOwner field's value.

func (*CreatePackageGroupInput) SetPackageGroup added in v1.51.5

SetPackageGroup sets the PackageGroup field's value.

func (*CreatePackageGroupInput) SetTags added in v1.51.5

SetTags sets the Tags field's value.

func (CreatePackageGroupInput) String added in v1.51.5

func (s CreatePackageGroupInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreatePackageGroupInput) Validate added in v1.51.5

func (s *CreatePackageGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreatePackageGroupOutput added in v1.51.5

type CreatePackageGroupOutput struct {

	// Information about the created package group after processing the request.
	PackageGroup *PackageGroupDescription `locationName:"packageGroup" type:"structure"`
	// contains filtered or unexported fields
}

func (CreatePackageGroupOutput) GoString added in v1.51.5

func (s CreatePackageGroupOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreatePackageGroupOutput) SetPackageGroup added in v1.51.5

SetPackageGroup sets the PackageGroup field's value.

func (CreatePackageGroupOutput) String added in v1.51.5

func (s CreatePackageGroupOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateRepositoryInput

type CreateRepositoryInput struct {

	// A description of the created repository.
	Description *string `locationName:"description" type:"string"`

	// The name of the domain that contains the created repository.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// The name of the repository to create.
	//
	// Repository is a required field
	Repository *string `location:"querystring" locationName:"repository" min:"2" type:"string" required:"true"`

	// One or more tag key-value pairs for the repository.
	Tags []*Tag `locationName:"tags" type:"list"`

	// 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 (https://docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html).
	Upstreams []*UpstreamRepository `locationName:"upstreams" type:"list"`
	// contains filtered or unexported fields
}

func (CreateRepositoryInput) GoString

func (s CreateRepositoryInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateRepositoryInput) SetDescription

func (s *CreateRepositoryInput) SetDescription(v string) *CreateRepositoryInput

SetDescription sets the Description field's value.

func (*CreateRepositoryInput) SetDomain

SetDomain sets the Domain field's value.

func (*CreateRepositoryInput) SetDomainOwner

func (s *CreateRepositoryInput) SetDomainOwner(v string) *CreateRepositoryInput

SetDomainOwner sets the DomainOwner field's value.

func (*CreateRepositoryInput) SetRepository

func (s *CreateRepositoryInput) SetRepository(v string) *CreateRepositoryInput

SetRepository sets the Repository field's value.

func (*CreateRepositoryInput) SetTags added in v1.35.18

SetTags sets the Tags field's value.

func (*CreateRepositoryInput) SetUpstreams

SetUpstreams sets the Upstreams field's value.

func (CreateRepositoryInput) String

func (s CreateRepositoryInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateRepositoryInput) Validate

func (s *CreateRepositoryInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateRepositoryOutput

type CreateRepositoryOutput struct {

	// Information about the created repository after processing the request.
	Repository *RepositoryDescription `locationName:"repository" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateRepositoryOutput) GoString

func (s CreateRepositoryOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateRepositoryOutput) SetRepository

SetRepository sets the Repository field's value.

func (CreateRepositoryOutput) String

func (s CreateRepositoryOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteDomainInput

type DeleteDomainInput struct {

	// The name of the domain to delete.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`
	// contains filtered or unexported fields
}

func (DeleteDomainInput) GoString

func (s DeleteDomainInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteDomainInput) SetDomain

func (s *DeleteDomainInput) SetDomain(v string) *DeleteDomainInput

SetDomain sets the Domain field's value.

func (*DeleteDomainInput) SetDomainOwner

func (s *DeleteDomainInput) SetDomainOwner(v string) *DeleteDomainInput

SetDomainOwner sets the DomainOwner field's value.

func (DeleteDomainInput) String

func (s DeleteDomainInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteDomainInput) Validate

func (s *DeleteDomainInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteDomainOutput

type DeleteDomainOutput struct {

	// Contains information about the deleted domain after processing the request.
	Domain *DomainDescription `locationName:"domain" type:"structure"`
	// contains filtered or unexported fields
}

func (DeleteDomainOutput) GoString

func (s DeleteDomainOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteDomainOutput) SetDomain

SetDomain sets the Domain field's value.

func (DeleteDomainOutput) String

func (s DeleteDomainOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteDomainPermissionsPolicyInput

type DeleteDomainPermissionsPolicyInput struct {

	// The name of the domain associated with the resource policy to be deleted.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// 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.
	PolicyRevision *string `location:"querystring" locationName:"policy-revision" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DeleteDomainPermissionsPolicyInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteDomainPermissionsPolicyInput) SetDomain

SetDomain sets the Domain field's value.

func (*DeleteDomainPermissionsPolicyInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*DeleteDomainPermissionsPolicyInput) SetPolicyRevision

SetPolicyRevision sets the PolicyRevision field's value.

func (DeleteDomainPermissionsPolicyInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteDomainPermissionsPolicyInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DeleteDomainPermissionsPolicyOutput

type DeleteDomainPermissionsPolicyOutput struct {

	// Information about the deleted resource policy after processing the request.
	Policy *ResourcePolicy `locationName:"policy" type:"structure"`
	// contains filtered or unexported fields
}

func (DeleteDomainPermissionsPolicyOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteDomainPermissionsPolicyOutput) SetPolicy

SetPolicy sets the Policy field's value.

func (DeleteDomainPermissionsPolicyOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeletePackageGroupInput added in v1.51.5

type DeletePackageGroupInput struct {

	// The domain that contains the package group to be deleted.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// The pattern of the package group to be deleted.
	//
	// PackageGroup is a required field
	PackageGroup *string `location:"querystring" locationName:"package-group" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeletePackageGroupInput) GoString added in v1.51.5

func (s DeletePackageGroupInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeletePackageGroupInput) SetDomain added in v1.51.5

SetDomain sets the Domain field's value.

func (*DeletePackageGroupInput) SetDomainOwner added in v1.51.5

SetDomainOwner sets the DomainOwner field's value.

func (*DeletePackageGroupInput) SetPackageGroup added in v1.51.5

SetPackageGroup sets the PackageGroup field's value.

func (DeletePackageGroupInput) String added in v1.51.5

func (s DeletePackageGroupInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeletePackageGroupInput) Validate added in v1.51.5

func (s *DeletePackageGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeletePackageGroupOutput added in v1.51.5

type DeletePackageGroupOutput struct {

	// Information about the deleted package group after processing the request.
	PackageGroup *PackageGroupDescription `locationName:"packageGroup" type:"structure"`
	// contains filtered or unexported fields
}

func (DeletePackageGroupOutput) GoString added in v1.51.5

func (s DeletePackageGroupOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeletePackageGroupOutput) SetPackageGroup added in v1.51.5

SetPackageGroup sets the PackageGroup field's value.

func (DeletePackageGroupOutput) String added in v1.51.5

func (s DeletePackageGroupOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeletePackageInput added in v1.44.191

type DeletePackageInput struct {

	// The name of the domain that contains the package to delete.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// The format of the requested package to delete.
	//
	// Format is a required field
	Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"`

	// The namespace of the package to delete. The package component that specifies
	// its namespace depends on its type. For example:
	//
	// The namespace is required when deleting packages of the following formats:
	//
	//    * Maven
	//
	//    * Swift
	//
	//    * generic
	//
	//    * 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 `location:"querystring" locationName:"namespace" min:"1" type:"string"`

	// The name of the package to delete.
	//
	// Package is a required field
	Package *string `location:"querystring" locationName:"package" min:"1" type:"string" required:"true"`

	// The name of the repository that contains the package to delete.
	//
	// Repository is a required field
	Repository *string `location:"querystring" locationName:"repository" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeletePackageInput) GoString added in v1.44.191

func (s DeletePackageInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeletePackageInput) SetDomain added in v1.44.191

func (s *DeletePackageInput) SetDomain(v string) *DeletePackageInput

SetDomain sets the Domain field's value.

func (*DeletePackageInput) SetDomainOwner added in v1.44.191

func (s *DeletePackageInput) SetDomainOwner(v string) *DeletePackageInput

SetDomainOwner sets the DomainOwner field's value.

func (*DeletePackageInput) SetFormat added in v1.44.191

func (s *DeletePackageInput) SetFormat(v string) *DeletePackageInput

SetFormat sets the Format field's value.

func (*DeletePackageInput) SetNamespace added in v1.44.191

func (s *DeletePackageInput) SetNamespace(v string) *DeletePackageInput

SetNamespace sets the Namespace field's value.

func (*DeletePackageInput) SetPackage added in v1.44.191

func (s *DeletePackageInput) SetPackage(v string) *DeletePackageInput

SetPackage sets the Package field's value.

func (*DeletePackageInput) SetRepository added in v1.44.191

func (s *DeletePackageInput) SetRepository(v string) *DeletePackageInput

SetRepository sets the Repository field's value.

func (DeletePackageInput) String added in v1.44.191

func (s DeletePackageInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeletePackageInput) Validate added in v1.44.191

func (s *DeletePackageInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeletePackageOutput added in v1.44.191

type DeletePackageOutput struct {

	// Details about a package, including its format, namespace, and name.
	DeletedPackage *PackageSummary `locationName:"deletedPackage" type:"structure"`
	// contains filtered or unexported fields
}

func (DeletePackageOutput) GoString added in v1.44.191

func (s DeletePackageOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeletePackageOutput) SetDeletedPackage added in v1.44.191

func (s *DeletePackageOutput) SetDeletedPackage(v *PackageSummary) *DeletePackageOutput

SetDeletedPackage sets the DeletedPackage field's value.

func (DeletePackageOutput) String added in v1.44.191

func (s DeletePackageOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeletePackageVersionsInput

type DeletePackageVersionsInput struct {

	// The name of the domain that contains the package to delete.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// The expected status of the package version to delete.
	ExpectedStatus *string `locationName:"expectedStatus" type:"string" enum:"PackageVersionStatus"`

	// The format of the package versions to delete.
	//
	// Format is a required field
	Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"`

	// The namespace of the package versions to be deleted. The package component
	// that specifies its namespace depends on its type. For example:
	//
	// The namespace is required when deleting package versions of the following
	// formats:
	//
	//    * Maven
	//
	//    * Swift
	//
	//    * generic
	//
	//    * 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 `location:"querystring" locationName:"namespace" min:"1" type:"string"`

	// The name of the package with the versions to delete.
	//
	// Package is a required field
	Package *string `location:"querystring" locationName:"package" min:"1" type:"string" required:"true"`

	// The name of the repository that contains the package versions to delete.
	//
	// Repository is a required field
	Repository *string `location:"querystring" locationName:"repository" min:"2" type:"string" required:"true"`

	// An array of strings that specify the versions of the package to delete.
	//
	// Versions is a required field
	Versions []*string `locationName:"versions" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (DeletePackageVersionsInput) GoString

func (s DeletePackageVersionsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeletePackageVersionsInput) SetDomain

SetDomain sets the Domain field's value.

func (*DeletePackageVersionsInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*DeletePackageVersionsInput) SetExpectedStatus

SetExpectedStatus sets the ExpectedStatus field's value.

func (*DeletePackageVersionsInput) SetFormat

SetFormat sets the Format field's value.

func (*DeletePackageVersionsInput) SetNamespace

SetNamespace sets the Namespace field's value.

func (*DeletePackageVersionsInput) SetPackage

SetPackage sets the Package field's value.

func (*DeletePackageVersionsInput) SetRepository

SetRepository sets the Repository field's value.

func (*DeletePackageVersionsInput) SetVersions

SetVersions sets the Versions field's value.

func (DeletePackageVersionsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeletePackageVersionsInput) Validate

func (s *DeletePackageVersionsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeletePackageVersionsOutput

type DeletePackageVersionsOutput struct {

	// 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
	FailedVersions map[string]*PackageVersionError `locationName:"failedVersions" type:"map"`

	// A list of the package versions that were successfully deleted. The status
	// of every successful version will be Deleted.
	SuccessfulVersions map[string]*SuccessfulPackageVersionInfo `locationName:"successfulVersions" type:"map"`
	// contains filtered or unexported fields
}

func (DeletePackageVersionsOutput) GoString

func (s DeletePackageVersionsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeletePackageVersionsOutput) SetFailedVersions

SetFailedVersions sets the FailedVersions field's value.

func (*DeletePackageVersionsOutput) SetSuccessfulVersions

SetSuccessfulVersions sets the SuccessfulVersions field's value.

func (DeletePackageVersionsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteRepositoryInput

type DeleteRepositoryInput struct {

	// The name of the domain that contains the repository to delete.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// The name of the repository to delete.
	//
	// Repository is a required field
	Repository *string `location:"querystring" locationName:"repository" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteRepositoryInput) GoString

func (s DeleteRepositoryInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteRepositoryInput) SetDomain

SetDomain sets the Domain field's value.

func (*DeleteRepositoryInput) SetDomainOwner

func (s *DeleteRepositoryInput) SetDomainOwner(v string) *DeleteRepositoryInput

SetDomainOwner sets the DomainOwner field's value.

func (*DeleteRepositoryInput) SetRepository

func (s *DeleteRepositoryInput) SetRepository(v string) *DeleteRepositoryInput

SetRepository sets the Repository field's value.

func (DeleteRepositoryInput) String

func (s DeleteRepositoryInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteRepositoryInput) Validate

func (s *DeleteRepositoryInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteRepositoryOutput

type DeleteRepositoryOutput struct {

	// Information about the deleted repository after processing the request.
	Repository *RepositoryDescription `locationName:"repository" type:"structure"`
	// contains filtered or unexported fields
}

func (DeleteRepositoryOutput) GoString

func (s DeleteRepositoryOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteRepositoryOutput) SetRepository

SetRepository sets the Repository field's value.

func (DeleteRepositoryOutput) String

func (s DeleteRepositoryOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteRepositoryPermissionsPolicyInput

type DeleteRepositoryPermissionsPolicyInput struct {

	// The name of the domain that contains the repository associated with the resource
	// policy to be deleted.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// 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.
	PolicyRevision *string `location:"querystring" locationName:"policy-revision" min:"1" type:"string"`

	// The name of the repository that is associated with the resource policy to
	// be deleted
	//
	// Repository is a required field
	Repository *string `location:"querystring" locationName:"repository" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteRepositoryPermissionsPolicyInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteRepositoryPermissionsPolicyInput) SetDomain

SetDomain sets the Domain field's value.

func (*DeleteRepositoryPermissionsPolicyInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*DeleteRepositoryPermissionsPolicyInput) SetPolicyRevision

SetPolicyRevision sets the PolicyRevision field's value.

func (*DeleteRepositoryPermissionsPolicyInput) SetRepository

SetRepository sets the Repository field's value.

func (DeleteRepositoryPermissionsPolicyInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteRepositoryPermissionsPolicyInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DeleteRepositoryPermissionsPolicyOutput

type DeleteRepositoryPermissionsPolicyOutput struct {

	// Information about the deleted policy after processing the request.
	Policy *ResourcePolicy `locationName:"policy" type:"structure"`
	// contains filtered or unexported fields
}

func (DeleteRepositoryPermissionsPolicyOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteRepositoryPermissionsPolicyOutput) SetPolicy

SetPolicy sets the Policy field's value.

func (DeleteRepositoryPermissionsPolicyOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeDomainInput

type DescribeDomainInput struct {

	// A string that specifies the name of the requested domain.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeDomainInput) GoString

func (s DescribeDomainInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeDomainInput) SetDomain

SetDomain sets the Domain field's value.

func (*DescribeDomainInput) SetDomainOwner

func (s *DescribeDomainInput) SetDomainOwner(v string) *DescribeDomainInput

SetDomainOwner sets the DomainOwner field's value.

func (DescribeDomainInput) String

func (s DescribeDomainInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeDomainInput) Validate

func (s *DescribeDomainInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeDomainOutput

type DescribeDomainOutput struct {

	// 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.
	Domain *DomainDescription `locationName:"domain" type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeDomainOutput) GoString

func (s DescribeDomainOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeDomainOutput) SetDomain

SetDomain sets the Domain field's value.

func (DescribeDomainOutput) String

func (s DescribeDomainOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribePackageGroupInput added in v1.51.5

type DescribePackageGroupInput struct {

	// The name of the domain that contains the package group.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// The pattern of the requested package group.
	//
	// PackageGroup is a required field
	PackageGroup *string `location:"querystring" locationName:"package-group" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribePackageGroupInput) GoString added in v1.51.5

func (s DescribePackageGroupInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribePackageGroupInput) SetDomain added in v1.51.5

SetDomain sets the Domain field's value.

func (*DescribePackageGroupInput) SetDomainOwner added in v1.51.5

SetDomainOwner sets the DomainOwner field's value.

func (*DescribePackageGroupInput) SetPackageGroup added in v1.51.5

SetPackageGroup sets the PackageGroup field's value.

func (DescribePackageGroupInput) String added in v1.51.5

func (s DescribePackageGroupInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribePackageGroupInput) Validate added in v1.51.5

func (s *DescribePackageGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribePackageGroupOutput added in v1.51.5

type DescribePackageGroupOutput struct {

	// A PackageGroupDescription (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageGroupDescription.html)
	// object that contains information about the requested package group.
	PackageGroup *PackageGroupDescription `locationName:"packageGroup" type:"structure"`
	// contains filtered or unexported fields
}

func (DescribePackageGroupOutput) GoString added in v1.51.5

func (s DescribePackageGroupOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribePackageGroupOutput) SetPackageGroup added in v1.51.5

SetPackageGroup sets the PackageGroup field's value.

func (DescribePackageGroupOutput) String added in v1.51.5

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribePackageInput added in v1.44.55

type DescribePackageInput struct {

	// The name of the domain that contains the repository that contains the package.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// A format that specifies the type of the requested package.
	//
	// Format is a required field
	Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"`

	// The namespace of the requested package. The package component that specifies
	// its namespace depends on its type. For example:
	//
	// The namespace is required when requesting packages of the following formats:
	//
	//    * Maven
	//
	//    * Swift
	//
	//    * generic
	//
	//    * 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 `location:"querystring" locationName:"namespace" min:"1" type:"string"`

	// The name of the requested package.
	//
	// Package is a required field
	Package *string `location:"querystring" locationName:"package" min:"1" type:"string" required:"true"`

	// The name of the repository that contains the requested package.
	//
	// Repository is a required field
	Repository *string `location:"querystring" locationName:"repository" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribePackageInput) GoString added in v1.44.55

func (s DescribePackageInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribePackageInput) SetDomain added in v1.44.55

SetDomain sets the Domain field's value.

func (*DescribePackageInput) SetDomainOwner added in v1.44.55

func (s *DescribePackageInput) SetDomainOwner(v string) *DescribePackageInput

SetDomainOwner sets the DomainOwner field's value.

func (*DescribePackageInput) SetFormat added in v1.44.55

SetFormat sets the Format field's value.

func (*DescribePackageInput) SetNamespace added in v1.44.55

func (s *DescribePackageInput) SetNamespace(v string) *DescribePackageInput

SetNamespace sets the Namespace field's value.

func (*DescribePackageInput) SetPackage added in v1.44.55

SetPackage sets the Package field's value.

func (*DescribePackageInput) SetRepository added in v1.44.55

func (s *DescribePackageInput) SetRepository(v string) *DescribePackageInput

SetRepository sets the Repository field's value.

func (DescribePackageInput) String added in v1.44.55

func (s DescribePackageInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribePackageInput) Validate added in v1.44.55

func (s *DescribePackageInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribePackageOutput added in v1.44.55

type DescribePackageOutput struct {

	// A PackageDescription (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageDescription.html)
	// object that contains information about the requested package.
	//
	// Package is a required field
	Package *PackageDescription `locationName:"package" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DescribePackageOutput) GoString added in v1.44.55

func (s DescribePackageOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribePackageOutput) SetPackage added in v1.44.55

SetPackage sets the Package field's value.

func (DescribePackageOutput) String added in v1.44.55

func (s DescribePackageOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribePackageVersionInput

type DescribePackageVersionInput struct {

	// The name of the domain that contains the repository that contains the package
	// version.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// A format that specifies the type of the requested package version.
	//
	// Format is a required field
	Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"`

	// The namespace of the requested package version. The package component that
	// specifies its namespace depends on its type. For example:
	//
	// The namespace is required when requesting package versions of the following
	// formats:
	//
	//    * Maven
	//
	//    * Swift
	//
	//    * generic
	//
	//    * 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 `location:"querystring" locationName:"namespace" min:"1" type:"string"`

	// The name of the requested package version.
	//
	// Package is a required field
	Package *string `location:"querystring" locationName:"package" min:"1" type:"string" required:"true"`

	// A string that contains the package version (for example, 3.5.2).
	//
	// PackageVersion is a required field
	PackageVersion *string `location:"querystring" locationName:"version" min:"1" type:"string" required:"true"`

	// The name of the repository that contains the package version.
	//
	// Repository is a required field
	Repository *string `location:"querystring" locationName:"repository" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribePackageVersionInput) GoString

func (s DescribePackageVersionInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribePackageVersionInput) SetDomain

SetDomain sets the Domain field's value.

func (*DescribePackageVersionInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*DescribePackageVersionInput) SetFormat

SetFormat sets the Format field's value.

func (*DescribePackageVersionInput) SetNamespace

SetNamespace sets the Namespace field's value.

func (*DescribePackageVersionInput) SetPackage

SetPackage sets the Package field's value.

func (*DescribePackageVersionInput) SetPackageVersion

SetPackageVersion sets the PackageVersion field's value.

func (*DescribePackageVersionInput) SetRepository

SetRepository sets the Repository field's value.

func (DescribePackageVersionInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribePackageVersionInput) Validate

func (s *DescribePackageVersionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribePackageVersionOutput

type DescribePackageVersionOutput struct {

	// A PackageVersionDescription (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionDescription.html)
	// object that contains information about the requested package version.
	//
	// PackageVersion is a required field
	PackageVersion *PackageVersionDescription `locationName:"packageVersion" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DescribePackageVersionOutput) GoString

func (s DescribePackageVersionOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribePackageVersionOutput) SetPackageVersion

SetPackageVersion sets the PackageVersion field's value.

func (DescribePackageVersionOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeRepositoryInput

type DescribeRepositoryInput struct {

	// The name of the domain that contains the repository to describe.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// A string that specifies the name of the requested repository.
	//
	// Repository is a required field
	Repository *string `location:"querystring" locationName:"repository" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeRepositoryInput) GoString

func (s DescribeRepositoryInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeRepositoryInput) SetDomain

SetDomain sets the Domain field's value.

func (*DescribeRepositoryInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*DescribeRepositoryInput) SetRepository

SetRepository sets the Repository field's value.

func (DescribeRepositoryInput) String

func (s DescribeRepositoryInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeRepositoryInput) Validate

func (s *DescribeRepositoryInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeRepositoryOutput

type DescribeRepositoryOutput struct {

	// A RepositoryDescription object that contains the requested repository information.
	Repository *RepositoryDescription `locationName:"repository" type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeRepositoryOutput) GoString

func (s DescribeRepositoryOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeRepositoryOutput) SetRepository

SetRepository sets the Repository field's value.

func (DescribeRepositoryOutput) String

func (s DescribeRepositoryOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DisassociateExternalConnectionInput

type DisassociateExternalConnectionInput struct {

	// The name of the domain that contains the repository from which to remove
	// the external repository.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// The name of the external connection to be removed from the repository.
	//
	// ExternalConnection is a required field
	ExternalConnection *string `location:"querystring" locationName:"external-connection" min:"2" type:"string" required:"true"`

	// The name of the repository from which the external connection will be removed.
	//
	// Repository is a required field
	Repository *string `location:"querystring" locationName:"repository" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DisassociateExternalConnectionInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisassociateExternalConnectionInput) SetDomain

SetDomain sets the Domain field's value.

func (*DisassociateExternalConnectionInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*DisassociateExternalConnectionInput) SetExternalConnection

SetExternalConnection sets the ExternalConnection field's value.

func (*DisassociateExternalConnectionInput) SetRepository

SetRepository sets the Repository field's value.

func (DisassociateExternalConnectionInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisassociateExternalConnectionInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DisassociateExternalConnectionOutput

type DisassociateExternalConnectionOutput struct {

	// The repository associated with the removed external connection.
	Repository *RepositoryDescription `locationName:"repository" type:"structure"`
	// contains filtered or unexported fields
}

func (DisassociateExternalConnectionOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisassociateExternalConnectionOutput) SetRepository

SetRepository sets the Repository field's value.

func (DisassociateExternalConnectionOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DisposePackageVersionsInput

type DisposePackageVersionsInput struct {

	// The name of the domain that contains the repository you want to dispose.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// The expected status of the package version to dispose.
	ExpectedStatus *string `locationName:"expectedStatus" type:"string" enum:"PackageVersionStatus"`

	// A format that specifies the type of package versions you want to dispose.
	//
	// Format is a required field
	Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"`

	// The namespace of the package versions to be disposed. The package component
	// that specifies its namespace depends on its type. For example:
	//
	// The namespace is required when disposing package versions of the following
	// formats:
	//
	//    * Maven
	//
	//    * Swift
	//
	//    * generic
	//
	//    * 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 `location:"querystring" locationName:"namespace" min:"1" type:"string"`

	// The name of the package with the versions you want to dispose.
	//
	// Package is a required field
	Package *string `location:"querystring" locationName:"package" min:"1" type:"string" required:"true"`

	// The name of the repository that contains the package versions you want to
	// dispose.
	//
	// Repository is a required field
	Repository *string `location:"querystring" locationName:"repository" min:"2" type:"string" required:"true"`

	// The revisions of the package versions you want to dispose.
	VersionRevisions map[string]*string `locationName:"versionRevisions" type:"map"`

	// The versions of the package you want to dispose.
	//
	// Versions is a required field
	Versions []*string `locationName:"versions" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (DisposePackageVersionsInput) GoString

func (s DisposePackageVersionsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisposePackageVersionsInput) SetDomain

SetDomain sets the Domain field's value.

func (*DisposePackageVersionsInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*DisposePackageVersionsInput) SetExpectedStatus

SetExpectedStatus sets the ExpectedStatus field's value.

func (*DisposePackageVersionsInput) SetFormat

SetFormat sets the Format field's value.

func (*DisposePackageVersionsInput) SetNamespace

SetNamespace sets the Namespace field's value.

func (*DisposePackageVersionsInput) SetPackage

SetPackage sets the Package field's value.

func (*DisposePackageVersionsInput) SetRepository

SetRepository sets the Repository field's value.

func (*DisposePackageVersionsInput) SetVersionRevisions

func (s *DisposePackageVersionsInput) SetVersionRevisions(v map[string]*string) *DisposePackageVersionsInput

SetVersionRevisions sets the VersionRevisions field's value.

func (*DisposePackageVersionsInput) SetVersions

SetVersions sets the Versions field's value.

func (DisposePackageVersionsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisposePackageVersionsInput) Validate

func (s *DisposePackageVersionsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DisposePackageVersionsOutput

type DisposePackageVersionsOutput struct {

	// 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
	FailedVersions map[string]*PackageVersionError `locationName:"failedVersions" type:"map"`

	// A list of the package versions that were successfully disposed.
	SuccessfulVersions map[string]*SuccessfulPackageVersionInfo `locationName:"successfulVersions" type:"map"`
	// contains filtered or unexported fields
}

func (DisposePackageVersionsOutput) GoString

func (s DisposePackageVersionsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisposePackageVersionsOutput) SetFailedVersions

SetFailedVersions sets the FailedVersions field's value.

func (*DisposePackageVersionsOutput) SetSuccessfulVersions

SetSuccessfulVersions sets the SuccessfulVersions field's value.

func (DisposePackageVersionsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DomainDescription

type DomainDescription struct {

	// The Amazon Resource Name (ARN) of the domain.
	Arn *string `locationName:"arn" min:"1" type:"string"`

	// The total size of all assets in the domain.
	AssetSizeBytes *int64 `locationName:"assetSizeBytes" type:"long"`

	// A timestamp that represents the date and time the domain was created.
	CreatedTime *time.Time `locationName:"createdTime" type:"timestamp"`

	// The ARN of an Key Management Service (KMS) key associated with a domain.
	EncryptionKey *string `locationName:"encryptionKey" min:"1" type:"string"`

	// The name of the domain.
	Name *string `locationName:"name" min:"2" type:"string"`

	// The Amazon Web Services account ID that owns the domain.
	Owner *string `locationName:"owner" min:"12" type:"string"`

	// The number of repositories in the domain.
	RepositoryCount *int64 `locationName:"repositoryCount" type:"integer"`

	// The Amazon Resource Name (ARN) of the Amazon S3 bucket that is used to store
	// package assets in the domain.
	S3BucketArn *string `locationName:"s3BucketArn" min:"1" type:"string"`

	// The current status of a domain.
	Status *string `locationName:"status" type:"string" enum:"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.

func (DomainDescription) GoString

func (s DomainDescription) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DomainDescription) SetArn

SetArn sets the Arn field's value.

func (*DomainDescription) SetAssetSizeBytes

func (s *DomainDescription) SetAssetSizeBytes(v int64) *DomainDescription

SetAssetSizeBytes sets the AssetSizeBytes field's value.

func (*DomainDescription) SetCreatedTime

func (s *DomainDescription) SetCreatedTime(v time.Time) *DomainDescription

SetCreatedTime sets the CreatedTime field's value.

func (*DomainDescription) SetEncryptionKey

func (s *DomainDescription) SetEncryptionKey(v string) *DomainDescription

SetEncryptionKey sets the EncryptionKey field's value.

func (*DomainDescription) SetName

SetName sets the Name field's value.

func (*DomainDescription) SetOwner

func (s *DomainDescription) SetOwner(v string) *DomainDescription

SetOwner sets the Owner field's value.

func (*DomainDescription) SetRepositoryCount

func (s *DomainDescription) SetRepositoryCount(v int64) *DomainDescription

SetRepositoryCount sets the RepositoryCount field's value.

func (*DomainDescription) SetS3BucketArn added in v1.35.18

func (s *DomainDescription) SetS3BucketArn(v string) *DomainDescription

SetS3BucketArn sets the S3BucketArn field's value.

func (*DomainDescription) SetStatus

func (s *DomainDescription) SetStatus(v string) *DomainDescription

SetStatus sets the Status field's value.

func (DomainDescription) String

func (s DomainDescription) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DomainEntryPoint added in v1.44.55

type DomainEntryPoint struct {

	// The name of the external connection that a package was ingested from.
	ExternalConnectionName *string `locationName:"externalConnectionName" min:"2" type:"string"`

	// The name of the repository that a package was originally published to.
	RepositoryName *string `locationName:"repositoryName" min:"2" type:"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.

func (DomainEntryPoint) GoString added in v1.44.55

func (s DomainEntryPoint) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DomainEntryPoint) SetExternalConnectionName added in v1.44.55

func (s *DomainEntryPoint) SetExternalConnectionName(v string) *DomainEntryPoint

SetExternalConnectionName sets the ExternalConnectionName field's value.

func (*DomainEntryPoint) SetRepositoryName added in v1.44.55

func (s *DomainEntryPoint) SetRepositoryName(v string) *DomainEntryPoint

SetRepositoryName sets the RepositoryName field's value.

func (DomainEntryPoint) String added in v1.44.55

func (s DomainEntryPoint) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DomainSummary

type DomainSummary struct {

	// The ARN of the domain.
	Arn *string `locationName:"arn" min:"1" type:"string"`

	// A timestamp that contains the date and time the domain was created.
	CreatedTime *time.Time `locationName:"createdTime" type:"timestamp"`

	// The key used to encrypt the domain.
	EncryptionKey *string `locationName:"encryptionKey" min:"1" type:"string"`

	// The name of the domain.
	Name *string `locationName:"name" min:"2" type:"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 `locationName:"owner" min:"12" type:"string"`

	// A string that contains the status of the domain.
	Status *string `locationName:"status" type:"string" enum:"DomainStatus"`
	// contains filtered or unexported fields
}

Information about a domain, including its name, Amazon Resource Name (ARN), and status. The ListDomains (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListDomains.html) operation returns a list of DomainSummary objects.

func (DomainSummary) GoString

func (s DomainSummary) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DomainSummary) SetArn

func (s *DomainSummary) SetArn(v string) *DomainSummary

SetArn sets the Arn field's value.

func (*DomainSummary) SetCreatedTime

func (s *DomainSummary) SetCreatedTime(v time.Time) *DomainSummary

SetCreatedTime sets the CreatedTime field's value.

func (*DomainSummary) SetEncryptionKey

func (s *DomainSummary) SetEncryptionKey(v string) *DomainSummary

SetEncryptionKey sets the EncryptionKey field's value.

func (*DomainSummary) SetName

func (s *DomainSummary) SetName(v string) *DomainSummary

SetName sets the Name field's value.

func (*DomainSummary) SetOwner

func (s *DomainSummary) SetOwner(v string) *DomainSummary

SetOwner sets the Owner field's value.

func (*DomainSummary) SetStatus

func (s *DomainSummary) SetStatus(v string) *DomainSummary

SetStatus sets the Status field's value.

func (DomainSummary) String

func (s DomainSummary) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetAssociatedPackageGroupInput added in v1.51.5

type GetAssociatedPackageGroupInput struct {

	// The name of the domain that contains the package from which to get the associated
	// package group.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// The format of the package from which to get the associated package group.
	//
	// Format is a required field
	Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"`

	// The namespace of the package from which to get the associated package group.
	// The package component that specifies its namespace depends on its type. For
	// example:
	//
	// The namespace is required when getting associated package groups from packages
	// of the following formats:
	//
	//    * Maven
	//
	//    * Swift
	//
	//    * generic
	//
	//    * 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 `location:"querystring" locationName:"namespace" min:"1" type:"string"`

	// The package from which to get the associated package group.
	//
	// Package is a required field
	Package *string `location:"querystring" locationName:"package" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetAssociatedPackageGroupInput) GoString added in v1.51.5

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAssociatedPackageGroupInput) SetDomain added in v1.51.5

SetDomain sets the Domain field's value.

func (*GetAssociatedPackageGroupInput) SetDomainOwner added in v1.51.5

SetDomainOwner sets the DomainOwner field's value.

func (*GetAssociatedPackageGroupInput) SetFormat added in v1.51.5

SetFormat sets the Format field's value.

func (*GetAssociatedPackageGroupInput) SetNamespace added in v1.51.5

SetNamespace sets the Namespace field's value.

func (*GetAssociatedPackageGroupInput) SetPackage added in v1.51.5

SetPackage sets the Package field's value.

func (GetAssociatedPackageGroupInput) String added in v1.51.5

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAssociatedPackageGroupInput) Validate added in v1.51.5

func (s *GetAssociatedPackageGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetAssociatedPackageGroupOutput added in v1.51.5

type GetAssociatedPackageGroupOutput struct {

	// Describes the strength of the association between the package and package
	// group. A strong match is also known as an exact match, and a weak match is
	// known as a relative match.
	AssociationType *string `locationName:"associationType" type:"string" enum:"PackageGroupAssociationType"`

	// The package group that is associated with the requested package.
	PackageGroup *PackageGroupDescription `locationName:"packageGroup" type:"structure"`
	// contains filtered or unexported fields
}

func (GetAssociatedPackageGroupOutput) GoString added in v1.51.5

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAssociatedPackageGroupOutput) SetAssociationType added in v1.51.5

SetAssociationType sets the AssociationType field's value.

func (*GetAssociatedPackageGroupOutput) SetPackageGroup added in v1.51.5

SetPackageGroup sets the PackageGroup field's value.

func (GetAssociatedPackageGroupOutput) String added in v1.51.5

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetAuthorizationTokenInput

type GetAuthorizationTokenInput struct {

	// The name of the domain that is in scope for the generated authorization token.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// 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.
	DurationSeconds *int64 `location:"querystring" locationName:"duration" type:"long"`
	// contains filtered or unexported fields
}

func (GetAuthorizationTokenInput) GoString

func (s GetAuthorizationTokenInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAuthorizationTokenInput) SetDomain

SetDomain sets the Domain field's value.

func (*GetAuthorizationTokenInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*GetAuthorizationTokenInput) SetDurationSeconds

SetDurationSeconds sets the DurationSeconds field's value.

func (GetAuthorizationTokenInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAuthorizationTokenInput) Validate

func (s *GetAuthorizationTokenInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetAuthorizationTokenOutput

type GetAuthorizationTokenOutput struct {

	// The returned authentication token.
	AuthorizationToken *string `locationName:"authorizationToken" type:"string"`

	// A timestamp that specifies the date and time the authorization token expires.
	Expiration *time.Time `locationName:"expiration" type:"timestamp"`
	// contains filtered or unexported fields
}

func (GetAuthorizationTokenOutput) GoString

func (s GetAuthorizationTokenOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAuthorizationTokenOutput) SetAuthorizationToken

func (s *GetAuthorizationTokenOutput) SetAuthorizationToken(v string) *GetAuthorizationTokenOutput

SetAuthorizationToken sets the AuthorizationToken field's value.

func (*GetAuthorizationTokenOutput) SetExpiration

SetExpiration sets the Expiration field's value.

func (GetAuthorizationTokenOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetDomainPermissionsPolicyInput

type GetDomainPermissionsPolicyInput struct {

	// The name of the domain to which the resource policy is attached.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`
	// contains filtered or unexported fields
}

func (GetDomainPermissionsPolicyInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetDomainPermissionsPolicyInput) SetDomain

SetDomain sets the Domain field's value.

func (*GetDomainPermissionsPolicyInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (GetDomainPermissionsPolicyInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetDomainPermissionsPolicyInput) Validate

func (s *GetDomainPermissionsPolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetDomainPermissionsPolicyOutput

type GetDomainPermissionsPolicyOutput struct {

	// The returned resource policy.
	Policy *ResourcePolicy `locationName:"policy" type:"structure"`
	// contains filtered or unexported fields
}

func (GetDomainPermissionsPolicyOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetDomainPermissionsPolicyOutput) SetPolicy

SetPolicy sets the Policy field's value.

func (GetDomainPermissionsPolicyOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetPackageVersionAssetInput

type GetPackageVersionAssetInput struct {

	// The name of the requested asset.
	//
	// Asset is a required field
	Asset *string `location:"querystring" locationName:"asset" min:"1" type:"string" required:"true"`

	// The name of the domain that contains the repository that contains the package
	// version with the requested asset.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// A format that specifies the type of the package version with the requested
	// asset file.
	//
	// Format is a required field
	Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"`

	// The namespace of the package version with the requested asset file. The package
	// component that specifies its namespace depends on its type. For example:
	//
	// The namespace is required when requesting assets from package versions of
	// the following formats:
	//
	//    * Maven
	//
	//    * Swift
	//
	//    * generic
	//
	//    * 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 `location:"querystring" locationName:"namespace" min:"1" type:"string"`

	// The name of the package that contains the requested asset.
	//
	// Package is a required field
	Package *string `location:"querystring" locationName:"package" min:"1" type:"string" required:"true"`

	// A string that contains the package version (for example, 3.5.2).
	//
	// PackageVersion is a required field
	PackageVersion *string `location:"querystring" locationName:"version" min:"1" type:"string" required:"true"`

	// The name of the package version revision that contains the requested asset.
	PackageVersionRevision *string `location:"querystring" locationName:"revision" min:"1" type:"string"`

	// The repository that contains the package version with the requested asset.
	//
	// Repository is a required field
	Repository *string `location:"querystring" locationName:"repository" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetPackageVersionAssetInput) GoString

func (s GetPackageVersionAssetInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetPackageVersionAssetInput) SetAsset

SetAsset sets the Asset field's value.

func (*GetPackageVersionAssetInput) SetDomain

SetDomain sets the Domain field's value.

func (*GetPackageVersionAssetInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*GetPackageVersionAssetInput) SetFormat

SetFormat sets the Format field's value.

func (*GetPackageVersionAssetInput) SetNamespace

SetNamespace sets the Namespace field's value.

func (*GetPackageVersionAssetInput) SetPackage

SetPackage sets the Package field's value.

func (*GetPackageVersionAssetInput) SetPackageVersion

SetPackageVersion sets the PackageVersion field's value.

func (*GetPackageVersionAssetInput) SetPackageVersionRevision

func (s *GetPackageVersionAssetInput) SetPackageVersionRevision(v string) *GetPackageVersionAssetInput

SetPackageVersionRevision sets the PackageVersionRevision field's value.

func (*GetPackageVersionAssetInput) SetRepository

SetRepository sets the Repository field's value.

func (GetPackageVersionAssetInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetPackageVersionAssetInput) Validate

func (s *GetPackageVersionAssetInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetPackageVersionAssetOutput

type GetPackageVersionAssetOutput struct {

	// The binary file, or asset, that is downloaded.
	Asset io.ReadCloser `locationName:"asset" type:"blob"`

	// The name of the asset that is downloaded.
	AssetName *string `location:"header" locationName:"X-AssetName" min:"1" type:"string"`

	// A string that contains the package version (for example, 3.5.2).
	PackageVersion *string `location:"header" locationName:"X-PackageVersion" min:"1" type:"string"`

	// The name of the package version revision that contains the downloaded asset.
	PackageVersionRevision *string `location:"header" locationName:"X-PackageVersionRevision" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (GetPackageVersionAssetOutput) GoString

func (s GetPackageVersionAssetOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetPackageVersionAssetOutput) SetAsset

SetAsset sets the Asset field's value.

func (*GetPackageVersionAssetOutput) SetAssetName

SetAssetName sets the AssetName field's value.

func (*GetPackageVersionAssetOutput) SetPackageVersion

SetPackageVersion sets the PackageVersion field's value.

func (*GetPackageVersionAssetOutput) SetPackageVersionRevision

func (s *GetPackageVersionAssetOutput) SetPackageVersionRevision(v string) *GetPackageVersionAssetOutput

SetPackageVersionRevision sets the PackageVersionRevision field's value.

func (GetPackageVersionAssetOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetPackageVersionReadmeInput

type GetPackageVersionReadmeInput struct {

	// The name of the domain that contains the repository that contains the package
	// version with the requested readme file.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// A format that specifies the type of the package version with the requested
	// readme file.
	//
	// Format is a required field
	Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"`

	// The namespace of the package version with the requested readme file. The
	// package component that specifies its namespace depends on its type. For example:
	//
	// The namespace is required when requesting the readme from package versions
	// of the following formats:
	//
	//    * Maven
	//
	//    * Swift
	//
	//    * generic
	//
	//    * 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 `location:"querystring" locationName:"namespace" min:"1" type:"string"`

	// The name of the package version that contains the requested readme file.
	//
	// Package is a required field
	Package *string `location:"querystring" locationName:"package" min:"1" type:"string" required:"true"`

	// A string that contains the package version (for example, 3.5.2).
	//
	// PackageVersion is a required field
	PackageVersion *string `location:"querystring" locationName:"version" min:"1" type:"string" required:"true"`

	// The repository that contains the package with the requested readme file.
	//
	// Repository is a required field
	Repository *string `location:"querystring" locationName:"repository" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetPackageVersionReadmeInput) GoString

func (s GetPackageVersionReadmeInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetPackageVersionReadmeInput) SetDomain

SetDomain sets the Domain field's value.

func (*GetPackageVersionReadmeInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*GetPackageVersionReadmeInput) SetFormat

SetFormat sets the Format field's value.

func (*GetPackageVersionReadmeInput) SetNamespace

SetNamespace sets the Namespace field's value.

func (*GetPackageVersionReadmeInput) SetPackage

SetPackage sets the Package field's value.

func (*GetPackageVersionReadmeInput) SetPackageVersion

SetPackageVersion sets the PackageVersion field's value.

func (*GetPackageVersionReadmeInput) SetRepository

SetRepository sets the Repository field's value.

func (GetPackageVersionReadmeInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetPackageVersionReadmeInput) Validate

func (s *GetPackageVersionReadmeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetPackageVersionReadmeOutput

type GetPackageVersionReadmeOutput struct {

	// The format of the package with the requested readme file.
	Format *string `locationName:"format" type:"string" enum:"PackageFormat"`

	// The namespace of the package version with the requested readme file. 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 `locationName:"namespace" min:"1" type:"string"`

	// The name of the package that contains the returned readme file.
	Package *string `locationName:"package" min:"1" type:"string"`

	// The text of the returned readme file.
	Readme *string `locationName:"readme" type:"string"`

	// The version of the package with the requested readme file.
	Version *string `locationName:"version" min:"1" type:"string"`

	// The current revision associated with the package version.
	VersionRevision *string `locationName:"versionRevision" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (GetPackageVersionReadmeOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetPackageVersionReadmeOutput) SetFormat

SetFormat sets the Format field's value.

func (*GetPackageVersionReadmeOutput) SetNamespace

SetNamespace sets the Namespace field's value.

func (*GetPackageVersionReadmeOutput) SetPackage

SetPackage sets the Package field's value.

func (*GetPackageVersionReadmeOutput) SetReadme

SetReadme sets the Readme field's value.

func (*GetPackageVersionReadmeOutput) SetVersion

SetVersion sets the Version field's value.

func (*GetPackageVersionReadmeOutput) SetVersionRevision

SetVersionRevision sets the VersionRevision field's value.

func (GetPackageVersionReadmeOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetRepositoryEndpointInput

type GetRepositoryEndpointInput struct {

	// The name of the domain that contains the repository.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// 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 `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// Returns which endpoint of a repository to return. A repository has one endpoint
	// for each package format.
	//
	// Format is a required field
	Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"`

	// The name of the repository.
	//
	// Repository is a required field
	Repository *string `location:"querystring" locationName:"repository" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetRepositoryEndpointInput) GoString

func (s GetRepositoryEndpointInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetRepositoryEndpointInput) SetDomain

SetDomain sets the Domain field's value.

func (*GetRepositoryEndpointInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*GetRepositoryEndpointInput) SetFormat

SetFormat sets the Format field's value.

func (*GetRepositoryEndpointInput) SetRepository

SetRepository sets the Repository field's value.

func (GetRepositoryEndpointInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetRepositoryEndpointInput) Validate

func (s *GetRepositoryEndpointInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetRepositoryEndpointOutput

type GetRepositoryEndpointOutput struct {

	// A string that specifies the URL of the returned endpoint.
	RepositoryEndpoint *string `locationName:"repositoryEndpoint" type:"string"`
	// contains filtered or unexported fields
}

func (GetRepositoryEndpointOutput) GoString

func (s GetRepositoryEndpointOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetRepositoryEndpointOutput) SetRepositoryEndpoint

func (s *GetRepositoryEndpointOutput) SetRepositoryEndpoint(v string) *GetRepositoryEndpointOutput

SetRepositoryEndpoint sets the RepositoryEndpoint field's value.

func (GetRepositoryEndpointOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetRepositoryPermissionsPolicyInput

type GetRepositoryPermissionsPolicyInput struct {

	// The name of the domain containing the repository whose associated resource
	// policy is to be retrieved.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// The name of the repository whose associated resource policy is to be retrieved.
	//
	// Repository is a required field
	Repository *string `location:"querystring" locationName:"repository" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetRepositoryPermissionsPolicyInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetRepositoryPermissionsPolicyInput) SetDomain

SetDomain sets the Domain field's value.

func (*GetRepositoryPermissionsPolicyInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*GetRepositoryPermissionsPolicyInput) SetRepository

SetRepository sets the Repository field's value.

func (GetRepositoryPermissionsPolicyInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetRepositoryPermissionsPolicyInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type GetRepositoryPermissionsPolicyOutput

type GetRepositoryPermissionsPolicyOutput struct {

	// The returned resource policy.
	Policy *ResourcePolicy `locationName:"policy" type:"structure"`
	// contains filtered or unexported fields
}

func (GetRepositoryPermissionsPolicyOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetRepositoryPermissionsPolicyOutput) SetPolicy

SetPolicy sets the Policy field's value.

func (GetRepositoryPermissionsPolicyOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InternalServerException

type InternalServerException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The operation did not succeed because of an error that occurred inside CodeArtifact.

func (*InternalServerException) Code

func (s *InternalServerException) Code() string

Code returns the exception type name.

func (*InternalServerException) Error

func (s *InternalServerException) Error() string

func (InternalServerException) GoString

func (s InternalServerException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InternalServerException) Message

func (s *InternalServerException) Message() string

Message returns the exception's message.

func (*InternalServerException) OrigErr

func (s *InternalServerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerException) RequestID

func (s *InternalServerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerException) StatusCode

func (s *InternalServerException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InternalServerException) String

func (s InternalServerException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type LicenseInfo

type LicenseInfo struct {

	// Name of the license.
	Name *string `locationName:"name" type:"string"`

	// The URL for license data.
	Url *string `locationName:"url" type:"string"`
	// contains filtered or unexported fields
}

Details of the license data.

func (LicenseInfo) GoString

func (s LicenseInfo) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LicenseInfo) SetName

func (s *LicenseInfo) SetName(v string) *LicenseInfo

SetName sets the Name field's value.

func (*LicenseInfo) SetUrl

func (s *LicenseInfo) SetUrl(v string) *LicenseInfo

SetUrl sets the Url field's value.

func (LicenseInfo) String

func (s LicenseInfo) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListAllowedRepositoriesForGroupInput added in v1.51.5

type ListAllowedRepositoriesForGroupInput struct {

	// The name of the domain that contains the package group from which to list
	// allowed repositories.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// The maximum number of results to return per page.
	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`

	// 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.
	NextToken *string `location:"querystring" locationName:"next-token" min:"1" type:"string"`

	// The origin configuration restriction type of which to list allowed repositories.
	//
	// OriginRestrictionType is a required field
	OriginRestrictionType *string `` /* 130-byte string literal not displayed */

	// The pattern of the package group from which to list allowed repositories.
	//
	// PackageGroup is a required field
	PackageGroup *string `location:"querystring" locationName:"package-group" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListAllowedRepositoriesForGroupInput) GoString added in v1.51.5

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAllowedRepositoriesForGroupInput) SetDomain added in v1.51.5

SetDomain sets the Domain field's value.

func (*ListAllowedRepositoriesForGroupInput) SetDomainOwner added in v1.51.5

SetDomainOwner sets the DomainOwner field's value.

func (*ListAllowedRepositoriesForGroupInput) SetMaxResults added in v1.51.5

SetMaxResults sets the MaxResults field's value.

func (*ListAllowedRepositoriesForGroupInput) SetNextToken added in v1.51.5

SetNextToken sets the NextToken field's value.

func (*ListAllowedRepositoriesForGroupInput) SetOriginRestrictionType added in v1.51.5

SetOriginRestrictionType sets the OriginRestrictionType field's value.

func (*ListAllowedRepositoriesForGroupInput) SetPackageGroup added in v1.51.5

SetPackageGroup sets the PackageGroup field's value.

func (ListAllowedRepositoriesForGroupInput) String added in v1.51.5

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAllowedRepositoriesForGroupInput) Validate added in v1.51.5

Validate inspects the fields of the type to determine if they are valid.

type ListAllowedRepositoriesForGroupOutput added in v1.51.5

type ListAllowedRepositoriesForGroupOutput struct {

	// The list of allowed repositories for the package group and origin configuration
	// restriction type.
	AllowedRepositories []*string `locationName:"allowedRepositories" type:"list"`

	// 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.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListAllowedRepositoriesForGroupOutput) GoString added in v1.51.5

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAllowedRepositoriesForGroupOutput) SetAllowedRepositories added in v1.51.5

SetAllowedRepositories sets the AllowedRepositories field's value.

func (*ListAllowedRepositoriesForGroupOutput) SetNextToken added in v1.51.5

SetNextToken sets the NextToken field's value.

func (ListAllowedRepositoriesForGroupOutput) String added in v1.51.5

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListAssociatedPackagesInput added in v1.51.5

type ListAssociatedPackagesInput struct {

	// The name of the domain that contains the package group from which to list
	// associated packages.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// The maximum number of results to return per page.
	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`

	// 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.
	NextToken *string `location:"querystring" locationName:"next-token" min:"1" type:"string"`

	// The pattern of the package group from which to list associated packages.
	//
	// PackageGroup is a required field
	PackageGroup *string `location:"querystring" locationName:"package-group" min:"2" type:"string" required:"true"`

	// When this flag is included, ListAssociatedPackages will return a list of
	// packages that would be associated with a package group, even if it does not
	// exist.
	Preview *bool `location:"querystring" locationName:"preview" type:"boolean"`
	// contains filtered or unexported fields
}

func (ListAssociatedPackagesInput) GoString added in v1.51.5

func (s ListAssociatedPackagesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAssociatedPackagesInput) SetDomain added in v1.51.5

SetDomain sets the Domain field's value.

func (*ListAssociatedPackagesInput) SetDomainOwner added in v1.51.5

SetDomainOwner sets the DomainOwner field's value.

func (*ListAssociatedPackagesInput) SetMaxResults added in v1.51.5

SetMaxResults sets the MaxResults field's value.

func (*ListAssociatedPackagesInput) SetNextToken added in v1.51.5

SetNextToken sets the NextToken field's value.

func (*ListAssociatedPackagesInput) SetPackageGroup added in v1.51.5

SetPackageGroup sets the PackageGroup field's value.

func (*ListAssociatedPackagesInput) SetPreview added in v1.51.5

SetPreview sets the Preview field's value.

func (ListAssociatedPackagesInput) String added in v1.51.5

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAssociatedPackagesInput) Validate added in v1.51.5

func (s *ListAssociatedPackagesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListAssociatedPackagesOutput added in v1.51.5

type ListAssociatedPackagesOutput struct {

	// 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.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`

	// The list of packages associated with the requested package group.
	Packages []*AssociatedPackage `locationName:"packages" type:"list"`
	// contains filtered or unexported fields
}

func (ListAssociatedPackagesOutput) GoString added in v1.51.5

func (s ListAssociatedPackagesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAssociatedPackagesOutput) SetNextToken added in v1.51.5

SetNextToken sets the NextToken field's value.

func (*ListAssociatedPackagesOutput) SetPackages added in v1.51.5

SetPackages sets the Packages field's value.

func (ListAssociatedPackagesOutput) String added in v1.51.5

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListDomainsInput

type ListDomainsInput struct {

	// The maximum number of results to return per page.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// 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.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListDomainsInput) GoString

func (s ListDomainsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListDomainsInput) SetMaxResults

func (s *ListDomainsInput) SetMaxResults(v int64) *ListDomainsInput

SetMaxResults sets the MaxResults field's value.

func (*ListDomainsInput) SetNextToken

func (s *ListDomainsInput) SetNextToken(v string) *ListDomainsInput

SetNextToken sets the NextToken field's value.

func (ListDomainsInput) String

func (s ListDomainsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListDomainsInput) Validate

func (s *ListDomainsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListDomainsOutput

type ListDomainsOutput struct {

	// The returned list of DomainSummary (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_DomainSummary.html)
	// objects.
	Domains []*DomainSummary `locationName:"domains" type:"list"`

	// 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.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListDomainsOutput) GoString

func (s ListDomainsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListDomainsOutput) SetDomains

func (s *ListDomainsOutput) SetDomains(v []*DomainSummary) *ListDomainsOutput

SetDomains sets the Domains field's value.

func (*ListDomainsOutput) SetNextToken

func (s *ListDomainsOutput) SetNextToken(v string) *ListDomainsOutput

SetNextToken sets the NextToken field's value.

func (ListDomainsOutput) String

func (s ListDomainsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListPackageGroupsInput added in v1.51.5

type ListPackageGroupsInput struct {

	// The domain for which you want to list package groups.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// The maximum number of results to return per page.
	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`

	// 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.
	NextToken *string `location:"querystring" locationName:"next-token" min:"1" type:"string"`

	// A prefix for which to search package groups. When included, ListPackageGroups
	// will return only package groups with patterns that match the prefix.
	Prefix *string `location:"querystring" locationName:"prefix" type:"string"`
	// contains filtered or unexported fields
}

func (ListPackageGroupsInput) GoString added in v1.51.5

func (s ListPackageGroupsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPackageGroupsInput) SetDomain added in v1.51.5

SetDomain sets the Domain field's value.

func (*ListPackageGroupsInput) SetDomainOwner added in v1.51.5

SetDomainOwner sets the DomainOwner field's value.

func (*ListPackageGroupsInput) SetMaxResults added in v1.51.5

SetMaxResults sets the MaxResults field's value.

func (*ListPackageGroupsInput) SetNextToken added in v1.51.5

SetNextToken sets the NextToken field's value.

func (*ListPackageGroupsInput) SetPrefix added in v1.51.5

SetPrefix sets the Prefix field's value.

func (ListPackageGroupsInput) String added in v1.51.5

func (s ListPackageGroupsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPackageGroupsInput) Validate added in v1.51.5

func (s *ListPackageGroupsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListPackageGroupsOutput added in v1.51.5

type ListPackageGroupsOutput struct {

	// 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.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`

	// The list of package groups in the requested domain.
	PackageGroups []*PackageGroupSummary `locationName:"packageGroups" type:"list"`
	// contains filtered or unexported fields
}

func (ListPackageGroupsOutput) GoString added in v1.51.5

func (s ListPackageGroupsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPackageGroupsOutput) SetNextToken added in v1.51.5

SetNextToken sets the NextToken field's value.

func (*ListPackageGroupsOutput) SetPackageGroups added in v1.51.5

SetPackageGroups sets the PackageGroups field's value.

func (ListPackageGroupsOutput) String added in v1.51.5

func (s ListPackageGroupsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListPackageVersionAssetsInput

type ListPackageVersionAssetsInput struct {

	// The name of the domain that contains the repository associated with the package
	// version assets.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// The format of the package that contains the requested package version assets.
	//
	// Format is a required field
	Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"`

	// The maximum number of results to return per page.
	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`

	// The namespace of the package version that contains the requested package
	// version assets. The package component that specifies its namespace depends
	// on its type. For example:
	//
	// The namespace is required requesting assets from package versions of the
	// following formats:
	//
	//    * Maven
	//
	//    * Swift
	//
	//    * generic
	//
	//    * 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 `location:"querystring" locationName:"namespace" min:"1" type:"string"`

	// 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.
	NextToken *string `location:"querystring" locationName:"next-token" min:"1" type:"string"`

	// The name of the package that contains the requested package version assets.
	//
	// Package is a required field
	Package *string `location:"querystring" locationName:"package" min:"1" type:"string" required:"true"`

	// A string that contains the package version (for example, 3.5.2).
	//
	// PackageVersion is a required field
	PackageVersion *string `location:"querystring" locationName:"version" min:"1" type:"string" required:"true"`

	// The name of the repository that contains the package that contains the requested
	// package version assets.
	//
	// Repository is a required field
	Repository *string `location:"querystring" locationName:"repository" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListPackageVersionAssetsInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPackageVersionAssetsInput) SetDomain

SetDomain sets the Domain field's value.

func (*ListPackageVersionAssetsInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*ListPackageVersionAssetsInput) SetFormat

SetFormat sets the Format field's value.

func (*ListPackageVersionAssetsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListPackageVersionAssetsInput) SetNamespace

SetNamespace sets the Namespace field's value.

func (*ListPackageVersionAssetsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListPackageVersionAssetsInput) SetPackage

SetPackage sets the Package field's value.

func (*ListPackageVersionAssetsInput) SetPackageVersion

SetPackageVersion sets the PackageVersion field's value.

func (*ListPackageVersionAssetsInput) SetRepository

SetRepository sets the Repository field's value.

func (ListPackageVersionAssetsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPackageVersionAssetsInput) Validate

func (s *ListPackageVersionAssetsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListPackageVersionAssetsOutput

type ListPackageVersionAssetsOutput struct {

	// The returned list of AssetSummary (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_AssetSummary.html)
	// objects.
	Assets []*AssetSummary `locationName:"assets" type:"list"`

	// The format of the package that contains the requested package version assets.
	Format *string `locationName:"format" type:"string" enum:"PackageFormat"`

	// The namespace of the package version that contains the requested package
	// version assets. 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 `locationName:"namespace" min:"1" type:"string"`

	// If there are additional results, this is the token for the next set of results.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`

	// The name of the package that contains the requested package version assets.
	Package *string `locationName:"package" min:"1" type:"string"`

	// The version of the package associated with the requested assets.
	Version *string `locationName:"version" min:"1" type:"string"`

	// The current revision associated with the package version.
	VersionRevision *string `locationName:"versionRevision" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListPackageVersionAssetsOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPackageVersionAssetsOutput) SetAssets

SetAssets sets the Assets field's value.

func (*ListPackageVersionAssetsOutput) SetFormat

SetFormat sets the Format field's value.

func (*ListPackageVersionAssetsOutput) SetNamespace

SetNamespace sets the Namespace field's value.

func (*ListPackageVersionAssetsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListPackageVersionAssetsOutput) SetPackage

SetPackage sets the Package field's value.

func (*ListPackageVersionAssetsOutput) SetVersion

SetVersion sets the Version field's value.

func (*ListPackageVersionAssetsOutput) SetVersionRevision

SetVersionRevision sets the VersionRevision field's value.

func (ListPackageVersionAssetsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListPackageVersionDependenciesInput

type ListPackageVersionDependenciesInput struct {

	// The name of the domain that contains the repository that contains the requested
	// package version dependencies.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// The format of the package with the requested dependencies.
	//
	// Format is a required field
	Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"`

	// The namespace of the package version with the requested dependencies. The
	// package component that specifies its namespace depends on its type. For example:
	//
	// The namespace is required when listing dependencies from package versions
	// of the following formats:
	//
	//    * Maven
	//
	//    * 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.
	Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"`

	// 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.
	NextToken *string `location:"querystring" locationName:"next-token" min:"1" type:"string"`

	// The name of the package versions' package.
	//
	// Package is a required field
	Package *string `location:"querystring" locationName:"package" min:"1" type:"string" required:"true"`

	// A string that contains the package version (for example, 3.5.2).
	//
	// PackageVersion is a required field
	PackageVersion *string `location:"querystring" locationName:"version" min:"1" type:"string" required:"true"`

	// The name of the repository that contains the requested package version.
	//
	// Repository is a required field
	Repository *string `location:"querystring" locationName:"repository" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListPackageVersionDependenciesInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPackageVersionDependenciesInput) SetDomain

SetDomain sets the Domain field's value.

func (*ListPackageVersionDependenciesInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*ListPackageVersionDependenciesInput) SetFormat

SetFormat sets the Format field's value.

func (*ListPackageVersionDependenciesInput) SetNamespace

SetNamespace sets the Namespace field's value.

func (*ListPackageVersionDependenciesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListPackageVersionDependenciesInput) SetPackage

SetPackage sets the Package field's value.

func (*ListPackageVersionDependenciesInput) SetPackageVersion

SetPackageVersion sets the PackageVersion field's value.

func (*ListPackageVersionDependenciesInput) SetRepository

SetRepository sets the Repository field's value.

func (ListPackageVersionDependenciesInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPackageVersionDependenciesInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type ListPackageVersionDependenciesOutput

type ListPackageVersionDependenciesOutput struct {

	// The returned list of PackageDependency (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageDependency.html)
	// objects.
	Dependencies []*PackageDependency `locationName:"dependencies" type:"list"`

	// A format that specifies the type of the package that contains the returned
	// dependencies.
	Format *string `locationName:"format" type:"string" enum:"PackageFormat"`

	// The namespace of the package version that contains the returned dependencies.
	// The package component that specifies its namespace depends on its type. For
	// example:
	//
	// The namespace is required when listing dependencies from package versions
	// of the following formats:
	//
	//    * Maven
	//
	//    * 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.
	Namespace *string `locationName:"namespace" min:"1" type:"string"`

	// 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.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`

	// The name of the package that contains the returned package versions dependencies.
	Package *string `locationName:"package" min:"1" type:"string"`

	// The version of the package that is specified in the request.
	Version *string `locationName:"version" min:"1" type:"string"`

	// The current revision associated with the package version.
	VersionRevision *string `locationName:"versionRevision" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListPackageVersionDependenciesOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPackageVersionDependenciesOutput) SetDependencies

SetDependencies sets the Dependencies field's value.

func (*ListPackageVersionDependenciesOutput) SetFormat

SetFormat sets the Format field's value.

func (*ListPackageVersionDependenciesOutput) SetNamespace

SetNamespace sets the Namespace field's value.

func (*ListPackageVersionDependenciesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListPackageVersionDependenciesOutput) SetPackage

SetPackage sets the Package field's value.

func (*ListPackageVersionDependenciesOutput) SetVersion

SetVersion sets the Version field's value.

func (*ListPackageVersionDependenciesOutput) SetVersionRevision

SetVersionRevision sets the VersionRevision field's value.

func (ListPackageVersionDependenciesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListPackageVersionsInput

type ListPackageVersionsInput struct {

	// The name of the domain that contains the repository that contains the requested
	// package versions.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// The format of the package versions you want to list.
	//
	// Format is a required field
	Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"`

	// The maximum number of results to return per page.
	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`

	// 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 is required when deleting package versions of the following
	// formats:
	//
	//    * Maven
	//
	//    * Swift
	//
	//    * generic
	//
	//    * 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 `location:"querystring" locationName:"namespace" min:"1" type:"string"`

	// 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.
	NextToken *string `location:"querystring" locationName:"next-token" min:"1" type:"string"`

	// The originType used to filter package versions. Only package versions with
	// the provided originType will be returned.
	OriginType *string `location:"querystring" locationName:"originType" type:"string" enum:"PackageVersionOriginType"`

	// The name of the package for which you want to request package versions.
	//
	// Package is a required field
	Package *string `location:"querystring" locationName:"package" min:"1" type:"string" required:"true"`

	// The name of the repository that contains the requested package versions.
	//
	// Repository is a required field
	Repository *string `location:"querystring" locationName:"repository" min:"2" type:"string" required:"true"`

	// How to sort the requested list of package versions.
	SortBy *string `location:"querystring" locationName:"sortBy" type:"string" enum:"PackageVersionSortType"`

	// A string that filters the requested package versions by status.
	Status *string `location:"querystring" locationName:"status" type:"string" enum:"PackageVersionStatus"`
	// contains filtered or unexported fields
}

func (ListPackageVersionsInput) GoString

func (s ListPackageVersionsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPackageVersionsInput) SetDomain

SetDomain sets the Domain field's value.

func (*ListPackageVersionsInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*ListPackageVersionsInput) SetFormat

SetFormat sets the Format field's value.

func (*ListPackageVersionsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListPackageVersionsInput) SetNamespace

SetNamespace sets the Namespace field's value.

func (*ListPackageVersionsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListPackageVersionsInput) SetOriginType added in v1.44.55

SetOriginType sets the OriginType field's value.

func (*ListPackageVersionsInput) SetPackage

SetPackage sets the Package field's value.

func (*ListPackageVersionsInput) SetRepository

SetRepository sets the Repository field's value.

func (*ListPackageVersionsInput) SetSortBy

SetSortBy sets the SortBy field's value.

func (*ListPackageVersionsInput) SetStatus

SetStatus sets the Status field's value.

func (ListPackageVersionsInput) String

func (s ListPackageVersionsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPackageVersionsInput) Validate

func (s *ListPackageVersionsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListPackageVersionsOutput

type ListPackageVersionsOutput struct {

	// 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.
	DefaultDisplayVersion *string `locationName:"defaultDisplayVersion" min:"1" type:"string"`

	// A format of the package.
	Format *string `locationName:"format" type:"string" enum:"PackageFormat"`

	// 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 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 `locationName:"namespace" min:"1" type:"string"`

	// If there are additional results, this is the token for the next set of results.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`

	// The name of the package.
	Package *string `locationName:"package" min:"1" type:"string"`

	// The returned list of PackageVersionSummary (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionSummary.html)
	// objects.
	Versions []*PackageVersionSummary `locationName:"versions" type:"list"`
	// contains filtered or unexported fields
}

func (ListPackageVersionsOutput) GoString

func (s ListPackageVersionsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPackageVersionsOutput) SetDefaultDisplayVersion

func (s *ListPackageVersionsOutput) SetDefaultDisplayVersion(v string) *ListPackageVersionsOutput

SetDefaultDisplayVersion sets the DefaultDisplayVersion field's value.

func (*ListPackageVersionsOutput) SetFormat

SetFormat sets the Format field's value.

func (*ListPackageVersionsOutput) SetNamespace

SetNamespace sets the Namespace field's value.

func (*ListPackageVersionsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListPackageVersionsOutput) SetPackage

SetPackage sets the Package field's value.

func (*ListPackageVersionsOutput) SetVersions

SetVersions sets the Versions field's value.

func (ListPackageVersionsOutput) String

func (s ListPackageVersionsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListPackagesInput

type ListPackagesInput struct {

	// The name of the domain that contains the repository that contains the requested
	// packages.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// The format used to filter requested packages. Only packages from the provided
	// format will be returned.
	Format *string `location:"querystring" locationName:"format" type:"string" enum:"PackageFormat"`

	// The maximum number of results to return per page.
	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`

	// The namespace prefix used to filter requested packages. Only packages with
	// a namespace that starts with the provided string value are returned. Note
	// that although this option is called --namespace and not --namespace-prefix,
	// it has prefix-matching behavior.
	//
	// Each package format uses namespace as follows:
	//
	//    * 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 `location:"querystring" locationName:"namespace" min:"1" type:"string"`

	// 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.
	NextToken *string `location:"querystring" locationName:"next-token" min:"1" type:"string"`

	// A prefix used to filter requested packages. Only packages with names that
	// start with packagePrefix are returned.
	PackagePrefix *string `location:"querystring" locationName:"package-prefix" min:"1" type:"string"`

	// 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 (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginRestrictions.html).
	Publish *string `location:"querystring" locationName:"publish" type:"string" enum:"AllowPublish"`

	// The name of the repository that contains the requested packages.
	//
	// Repository is a required field
	Repository *string `location:"querystring" locationName:"repository" min:"2" type:"string" required:"true"`

	// 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 (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginRestrictions.html).
	Upstream *string `location:"querystring" locationName:"upstream" type:"string" enum:"AllowUpstream"`
	// contains filtered or unexported fields
}

func (ListPackagesInput) GoString

func (s ListPackagesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPackagesInput) SetDomain

func (s *ListPackagesInput) SetDomain(v string) *ListPackagesInput

SetDomain sets the Domain field's value.

func (*ListPackagesInput) SetDomainOwner

func (s *ListPackagesInput) SetDomainOwner(v string) *ListPackagesInput

SetDomainOwner sets the DomainOwner field's value.

func (*ListPackagesInput) SetFormat

func (s *ListPackagesInput) SetFormat(v string) *ListPackagesInput

SetFormat sets the Format field's value.

func (*ListPackagesInput) SetMaxResults

func (s *ListPackagesInput) SetMaxResults(v int64) *ListPackagesInput

SetMaxResults sets the MaxResults field's value.

func (*ListPackagesInput) SetNamespace

func (s *ListPackagesInput) SetNamespace(v string) *ListPackagesInput

SetNamespace sets the Namespace field's value.

func (*ListPackagesInput) SetNextToken

func (s *ListPackagesInput) SetNextToken(v string) *ListPackagesInput

SetNextToken sets the NextToken field's value.

func (*ListPackagesInput) SetPackagePrefix

func (s *ListPackagesInput) SetPackagePrefix(v string) *ListPackagesInput

SetPackagePrefix sets the PackagePrefix field's value.

func (*ListPackagesInput) SetPublish added in v1.44.55

func (s *ListPackagesInput) SetPublish(v string) *ListPackagesInput

SetPublish sets the Publish field's value.

func (*ListPackagesInput) SetRepository

func (s *ListPackagesInput) SetRepository(v string) *ListPackagesInput

SetRepository sets the Repository field's value.

func (*ListPackagesInput) SetUpstream added in v1.44.55

func (s *ListPackagesInput) SetUpstream(v string) *ListPackagesInput

SetUpstream sets the Upstream field's value.

func (ListPackagesInput) String

func (s ListPackagesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPackagesInput) Validate

func (s *ListPackagesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListPackagesOutput

type ListPackagesOutput struct {

	// If there are additional results, this is the token for the next set of results.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`

	// The list of returned PackageSummary (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageSummary.html)
	// objects.
	Packages []*PackageSummary `locationName:"packages" type:"list"`
	// contains filtered or unexported fields
}

func (ListPackagesOutput) GoString

func (s ListPackagesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPackagesOutput) SetNextToken

func (s *ListPackagesOutput) SetNextToken(v string) *ListPackagesOutput

SetNextToken sets the NextToken field's value.

func (*ListPackagesOutput) SetPackages

SetPackages sets the Packages field's value.

func (ListPackagesOutput) String

func (s ListPackagesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListRepositoriesInDomainInput

type ListRepositoriesInDomainInput struct {

	// Filter the list of repositories to only include those that are managed by
	// the Amazon Web Services account ID.
	AdministratorAccount *string `location:"querystring" locationName:"administrator-account" min:"12" type:"string"`

	// The name of the domain that contains the returned list of repositories.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// The maximum number of results to return per page.
	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`

	// 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.
	NextToken *string `location:"querystring" locationName:"next-token" min:"1" type:"string"`

	// A prefix used to filter returned repositories. Only repositories with names
	// that start with repositoryPrefix are returned.
	RepositoryPrefix *string `location:"querystring" locationName:"repository-prefix" min:"2" type:"string"`
	// contains filtered or unexported fields
}

func (ListRepositoriesInDomainInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListRepositoriesInDomainInput) SetAdministratorAccount

SetAdministratorAccount sets the AdministratorAccount field's value.

func (*ListRepositoriesInDomainInput) SetDomain

SetDomain sets the Domain field's value.

func (*ListRepositoriesInDomainInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*ListRepositoriesInDomainInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListRepositoriesInDomainInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListRepositoriesInDomainInput) SetRepositoryPrefix

SetRepositoryPrefix sets the RepositoryPrefix field's value.

func (ListRepositoriesInDomainInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListRepositoriesInDomainInput) Validate

func (s *ListRepositoriesInDomainInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListRepositoriesInDomainOutput

type ListRepositoriesInDomainOutput struct {

	// If there are additional results, this is the token for the next set of results.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`

	// The returned list of repositories.
	Repositories []*RepositorySummary `locationName:"repositories" type:"list"`
	// contains filtered or unexported fields
}

func (ListRepositoriesInDomainOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListRepositoriesInDomainOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListRepositoriesInDomainOutput) SetRepositories

SetRepositories sets the Repositories field's value.

func (ListRepositoriesInDomainOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListRepositoriesInput

type ListRepositoriesInput struct {

	// The maximum number of results to return per page.
	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`

	// 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.
	NextToken *string `location:"querystring" locationName:"next-token" min:"1" type:"string"`

	// A prefix used to filter returned repositories. Only repositories with names
	// that start with repositoryPrefix are returned.
	RepositoryPrefix *string `location:"querystring" locationName:"repository-prefix" min:"2" type:"string"`
	// contains filtered or unexported fields
}

func (ListRepositoriesInput) GoString

func (s ListRepositoriesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListRepositoriesInput) SetMaxResults

func (s *ListRepositoriesInput) SetMaxResults(v int64) *ListRepositoriesInput

SetMaxResults sets the MaxResults field's value.

func (*ListRepositoriesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListRepositoriesInput) SetRepositoryPrefix

func (s *ListRepositoriesInput) SetRepositoryPrefix(v string) *ListRepositoriesInput

SetRepositoryPrefix sets the RepositoryPrefix field's value.

func (ListRepositoriesInput) String

func (s ListRepositoriesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListRepositoriesInput) Validate

func (s *ListRepositoriesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListRepositoriesOutput

type ListRepositoriesOutput struct {

	// If there are additional results, this is the token for the next set of results.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`

	// The returned list of RepositorySummary (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_RepositorySummary.html)
	// objects.
	Repositories []*RepositorySummary `locationName:"repositories" type:"list"`
	// contains filtered or unexported fields
}

func (ListRepositoriesOutput) GoString

func (s ListRepositoriesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListRepositoriesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListRepositoriesOutput) SetRepositories

SetRepositories sets the Repositories field's value.

func (ListRepositoriesOutput) String

func (s ListRepositoriesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListSubPackageGroupsInput added in v1.51.5

type ListSubPackageGroupsInput struct {

	// The name of the domain which contains the package group from which to list
	// sub package groups.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// The maximum number of results to return per page.
	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`

	// 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.
	NextToken *string `location:"querystring" locationName:"next-token" min:"1" type:"string"`

	// The pattern of the package group from which to list sub package groups.
	//
	// PackageGroup is a required field
	PackageGroup *string `location:"querystring" locationName:"package-group" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListSubPackageGroupsInput) GoString added in v1.51.5

func (s ListSubPackageGroupsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListSubPackageGroupsInput) SetDomain added in v1.51.5

SetDomain sets the Domain field's value.

func (*ListSubPackageGroupsInput) SetDomainOwner added in v1.51.5

SetDomainOwner sets the DomainOwner field's value.

func (*ListSubPackageGroupsInput) SetMaxResults added in v1.51.5

SetMaxResults sets the MaxResults field's value.

func (*ListSubPackageGroupsInput) SetNextToken added in v1.51.5

SetNextToken sets the NextToken field's value.

func (*ListSubPackageGroupsInput) SetPackageGroup added in v1.51.5

SetPackageGroup sets the PackageGroup field's value.

func (ListSubPackageGroupsInput) String added in v1.51.5

func (s ListSubPackageGroupsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListSubPackageGroupsInput) Validate added in v1.51.5

func (s *ListSubPackageGroupsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListSubPackageGroupsOutput added in v1.51.5

type ListSubPackageGroupsOutput struct {

	// If there are additional results, this is the token for the next set of results.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`

	// A list of sub package groups for the requested package group.
	PackageGroups []*PackageGroupSummary `locationName:"packageGroups" type:"list"`
	// contains filtered or unexported fields
}

func (ListSubPackageGroupsOutput) GoString added in v1.51.5

func (s ListSubPackageGroupsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListSubPackageGroupsOutput) SetNextToken added in v1.51.5

SetNextToken sets the NextToken field's value.

func (*ListSubPackageGroupsOutput) SetPackageGroups added in v1.51.5

SetPackageGroups sets the PackageGroups field's value.

func (ListSubPackageGroupsOutput) String added in v1.51.5

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListTagsForResourceInput added in v1.35.18

type ListTagsForResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource to get tags for.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"querystring" locationName:"resourceArn" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString added in v1.35.18

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) SetResourceArn added in v1.35.18

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String added in v1.35.18

func (s ListTagsForResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) Validate added in v1.35.18

func (s *ListTagsForResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTagsForResourceOutput added in v1.35.18

type ListTagsForResourceOutput struct {

	// A list of tag key and value pairs associated with the specified resource.
	Tags []*Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString added in v1.35.18

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceOutput) SetTags added in v1.35.18

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String added in v1.35.18

func (s ListTagsForResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 <parent> 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 `locationName:"dependencyType" type:"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 `locationName:"namespace" min:"1" type:"string"`

	// The name of the package that this package depends on.
	Package *string `locationName:"package" min:"1" type:"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 `locationName:"versionRequirement" type:"string"`
	// contains filtered or unexported fields
}

Details about a package dependency.

func (PackageDependency) GoString

func (s PackageDependency) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PackageDependency) SetDependencyType

func (s *PackageDependency) SetDependencyType(v string) *PackageDependency

SetDependencyType sets the DependencyType field's value.

func (*PackageDependency) SetNamespace

func (s *PackageDependency) SetNamespace(v string) *PackageDependency

SetNamespace sets the Namespace field's value.

func (*PackageDependency) SetPackage

func (s *PackageDependency) SetPackage(v string) *PackageDependency

SetPackage sets the Package field's value.

func (*PackageDependency) SetVersionRequirement

func (s *PackageDependency) SetVersionRequirement(v string) *PackageDependency

SetVersionRequirement sets the VersionRequirement field's value.

func (PackageDependency) String

func (s PackageDependency) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PackageDescription added in v1.44.55

type PackageDescription struct {

	// A format that specifies the type of the package.
	Format *string `locationName:"format" type:"string" enum:"PackageFormat"`

	// The name of the package.
	Name *string `locationName:"name" min:"1" type:"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 `locationName:"namespace" min:"1" type:"string"`

	// The package origin configuration for the package.
	OriginConfiguration *PackageOriginConfiguration `locationName:"originConfiguration" type:"structure"`
	// contains filtered or unexported fields
}

Details about a package.

func (PackageDescription) GoString added in v1.44.55

func (s PackageDescription) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PackageDescription) SetFormat added in v1.44.55

func (s *PackageDescription) SetFormat(v string) *PackageDescription

SetFormat sets the Format field's value.

func (*PackageDescription) SetName added in v1.44.55

SetName sets the Name field's value.

func (*PackageDescription) SetNamespace added in v1.44.55

func (s *PackageDescription) SetNamespace(v string) *PackageDescription

SetNamespace sets the Namespace field's value.

func (*PackageDescription) SetOriginConfiguration added in v1.44.55

func (s *PackageDescription) SetOriginConfiguration(v *PackageOriginConfiguration) *PackageDescription

SetOriginConfiguration sets the OriginConfiguration field's value.

func (PackageDescription) String added in v1.44.55

func (s PackageDescription) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PackageGroupAllowedRepository added in v1.51.5

type PackageGroupAllowedRepository struct {

	// The origin configuration restriction type of the allowed repository.
	OriginRestrictionType *string `locationName:"originRestrictionType" type:"string" enum:"PackageGroupOriginRestrictionType"`

	// The name of the allowed repository.
	RepositoryName *string `locationName:"repositoryName" min:"2" type:"string"`
	// contains filtered or unexported fields
}

Details about an allowed repository for a package group, including its name and origin configuration.

func (PackageGroupAllowedRepository) GoString added in v1.51.5

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PackageGroupAllowedRepository) SetOriginRestrictionType added in v1.51.5

func (s *PackageGroupAllowedRepository) SetOriginRestrictionType(v string) *PackageGroupAllowedRepository

SetOriginRestrictionType sets the OriginRestrictionType field's value.

func (*PackageGroupAllowedRepository) SetRepositoryName added in v1.51.5

SetRepositoryName sets the RepositoryName field's value.

func (PackageGroupAllowedRepository) String added in v1.51.5

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PackageGroupAllowedRepository) Validate added in v1.51.5

func (s *PackageGroupAllowedRepository) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PackageGroupDescription added in v1.51.5

type PackageGroupDescription struct {

	// The ARN of the package group.
	Arn *string `locationName:"arn" min:"1" type:"string"`

	// The contact information of the package group.
	ContactInfo *string `locationName:"contactInfo" type:"string"`

	// A timestamp that represents the date and time the package group was created.
	CreatedTime *time.Time `locationName:"createdTime" type:"timestamp"`

	// The description of the package group.
	Description *string `locationName:"description" type:"string"`

	// The name of the domain that contains the package group.
	DomainName *string `locationName:"domainName" min:"2" type:"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 `locationName:"domainOwner" min:"12" type:"string"`

	// The package group origin configuration that determines how package versions
	// can enter repositories.
	OriginConfiguration *PackageGroupOriginConfiguration `locationName:"originConfiguration" type:"structure"`

	// The direct parent package group of the package group.
	Parent *PackageGroupReference `locationName:"parent" type:"structure"`

	// The pattern of the package group. The pattern determines which packages are
	// associated with the package group.
	Pattern *string `locationName:"pattern" min:"2" type:"string"`
	// contains filtered or unexported fields
}

The description of the package group.

func (PackageGroupDescription) GoString added in v1.51.5

func (s PackageGroupDescription) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PackageGroupDescription) SetArn added in v1.51.5

SetArn sets the Arn field's value.

func (*PackageGroupDescription) SetContactInfo added in v1.51.5

SetContactInfo sets the ContactInfo field's value.

func (*PackageGroupDescription) SetCreatedTime added in v1.51.5

SetCreatedTime sets the CreatedTime field's value.

func (*PackageGroupDescription) SetDescription added in v1.51.5

SetDescription sets the Description field's value.

func (*PackageGroupDescription) SetDomainName added in v1.51.5

SetDomainName sets the DomainName field's value.

func (*PackageGroupDescription) SetDomainOwner added in v1.51.5

SetDomainOwner sets the DomainOwner field's value.

func (*PackageGroupDescription) SetOriginConfiguration added in v1.51.5

SetOriginConfiguration sets the OriginConfiguration field's value.

func (*PackageGroupDescription) SetParent added in v1.51.5

SetParent sets the Parent field's value.

func (*PackageGroupDescription) SetPattern added in v1.51.5

SetPattern sets the Pattern field's value.

func (PackageGroupDescription) String added in v1.51.5

func (s PackageGroupDescription) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PackageGroupOriginConfiguration added in v1.51.5

type PackageGroupOriginConfiguration struct {

	// The origin configuration settings that determine how package versions can
	// enter repositories.
	Restrictions map[string]*PackageGroupOriginRestriction `locationName:"restrictions" type:"map"`
	// contains filtered or unexported fields
}

The package group origin configuration that determines how package versions can enter repositories.

func (PackageGroupOriginConfiguration) GoString added in v1.51.5

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PackageGroupOriginConfiguration) SetRestrictions added in v1.51.5

SetRestrictions sets the Restrictions field's value.

func (PackageGroupOriginConfiguration) String added in v1.51.5

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PackageGroupOriginRestriction added in v1.51.5

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 *string `locationName:"effectiveMode" type:"string" enum:"PackageGroupOriginRestrictionMode"`

	// The parent package group that the package group origin restrictions are inherited
	// from.
	InheritedFrom *PackageGroupReference `locationName:"inheritedFrom" type:"structure"`

	// 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 *string `locationName:"mode" type:"string" enum:"PackageGroupOriginRestrictionMode"`

	// The number of repositories in the allowed repository list.
	RepositoriesCount *int64 `locationName:"repositoriesCount" type:"long"`
	// contains filtered or unexported fields
}

Contains information about the configured restrictions of the origin controls of a package group.

func (PackageGroupOriginRestriction) GoString added in v1.51.5

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PackageGroupOriginRestriction) SetEffectiveMode added in v1.51.5

SetEffectiveMode sets the EffectiveMode field's value.

func (*PackageGroupOriginRestriction) SetInheritedFrom added in v1.51.5

SetInheritedFrom sets the InheritedFrom field's value.

func (*PackageGroupOriginRestriction) SetMode added in v1.51.5

SetMode sets the Mode field's value.

func (*PackageGroupOriginRestriction) SetRepositoriesCount added in v1.51.5

SetRepositoriesCount sets the RepositoriesCount field's value.

func (PackageGroupOriginRestriction) String added in v1.51.5

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PackageGroupReference added in v1.51.5

type PackageGroupReference struct {

	// The ARN of the package group.
	Arn *string `locationName:"arn" min:"1" type:"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 `locationName:"pattern" min:"2" type:"string"`
	// contains filtered or unexported fields
}

Information about the identifiers of a package group.

func (PackageGroupReference) GoString added in v1.51.5

func (s PackageGroupReference) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PackageGroupReference) SetArn added in v1.51.5

SetArn sets the Arn field's value.

func (*PackageGroupReference) SetPattern added in v1.51.5

SetPattern sets the Pattern field's value.

func (PackageGroupReference) String added in v1.51.5

func (s PackageGroupReference) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PackageGroupSummary added in v1.51.5

type PackageGroupSummary struct {

	// The ARN of the package group.
	Arn *string `locationName:"arn" min:"1" type:"string"`

	// The contact information of the package group.
	ContactInfo *string `locationName:"contactInfo" type:"string"`

	// A timestamp that represents the date and time the repository was created.
	CreatedTime *time.Time `locationName:"createdTime" type:"timestamp"`

	// The description of the package group.
	Description *string `locationName:"description" type:"string"`

	// The domain that contains the package group.
	DomainName *string `locationName:"domainName" min:"2" type:"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 `locationName:"domainOwner" min:"12" type:"string"`

	// Details about the package origin configuration of a package group.
	OriginConfiguration *PackageGroupOriginConfiguration `locationName:"originConfiguration" type:"structure"`

	// The direct parent package group of the package group.
	Parent *PackageGroupReference `locationName:"parent" type:"structure"`

	// The pattern of the package group. The pattern determines which packages are
	// associated with the package group.
	Pattern *string `locationName:"pattern" min:"2" type:"string"`
	// contains filtered or unexported fields
}

Details about a package group.

func (PackageGroupSummary) GoString added in v1.51.5

func (s PackageGroupSummary) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PackageGroupSummary) SetArn added in v1.51.5

SetArn sets the Arn field's value.

func (*PackageGroupSummary) SetContactInfo added in v1.51.5

func (s *PackageGroupSummary) SetContactInfo(v string) *PackageGroupSummary

SetContactInfo sets the ContactInfo field's value.

func (*PackageGroupSummary) SetCreatedTime added in v1.51.5

func (s *PackageGroupSummary) SetCreatedTime(v time.Time) *PackageGroupSummary

SetCreatedTime sets the CreatedTime field's value.

func (*PackageGroupSummary) SetDescription added in v1.51.5

func (s *PackageGroupSummary) SetDescription(v string) *PackageGroupSummary

SetDescription sets the Description field's value.

func (*PackageGroupSummary) SetDomainName added in v1.51.5

func (s *PackageGroupSummary) SetDomainName(v string) *PackageGroupSummary

SetDomainName sets the DomainName field's value.

func (*PackageGroupSummary) SetDomainOwner added in v1.51.5

func (s *PackageGroupSummary) SetDomainOwner(v string) *PackageGroupSummary

SetDomainOwner sets the DomainOwner field's value.

func (*PackageGroupSummary) SetOriginConfiguration added in v1.51.5

SetOriginConfiguration sets the OriginConfiguration field's value.

func (*PackageGroupSummary) SetParent added in v1.51.5

SetParent sets the Parent field's value.

func (*PackageGroupSummary) SetPattern added in v1.51.5

SetPattern sets the Pattern field's value.

func (PackageGroupSummary) String added in v1.51.5

func (s PackageGroupSummary) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PackageOriginConfiguration added in v1.44.55

type PackageOriginConfiguration struct {

	// A PackageOriginRestrictions object that contains information about the upstream
	// and publish package origin configuration for the package.
	Restrictions *PackageOriginRestrictions `locationName:"restrictions" type:"structure"`
	// contains filtered or unexported fields
}

Details about the package origin configuration of a package.

func (PackageOriginConfiguration) GoString added in v1.44.55

func (s PackageOriginConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PackageOriginConfiguration) SetRestrictions added in v1.44.55

SetRestrictions sets the Restrictions field's value.

func (PackageOriginConfiguration) String added in v1.44.55

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PackageOriginRestrictions added in v1.44.55

type PackageOriginRestrictions struct {

	// The package origin configuration that determines if new versions of the package
	// can be published directly to the repository.
	//
	// Publish is a required field
	Publish *string `locationName:"publish" type:"string" required:"true" enum:"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.
	//
	// Upstream is a required field
	Upstream *string `locationName:"upstream" type:"string" required:"true" enum:"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.

func (PackageOriginRestrictions) GoString added in v1.44.55

func (s PackageOriginRestrictions) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PackageOriginRestrictions) SetPublish added in v1.44.55

SetPublish sets the Publish field's value.

func (*PackageOriginRestrictions) SetUpstream added in v1.44.55

SetUpstream sets the Upstream field's value.

func (PackageOriginRestrictions) String added in v1.44.55

func (s PackageOriginRestrictions) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PackageOriginRestrictions) Validate added in v1.44.55

func (s *PackageOriginRestrictions) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PackageSummary

type PackageSummary struct {

	// The format of the package.
	Format *string `locationName:"format" type:"string" enum:"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 `locationName:"namespace" min:"1" type:"string"`

	// A PackageOriginConfiguration (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginConfiguration.html)
	// object that contains a PackageOriginRestrictions (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginRestrictions.html)
	// object that contains information about the upstream and publish package origin
	// restrictions.
	OriginConfiguration *PackageOriginConfiguration `locationName:"originConfiguration" type:"structure"`

	// The name of the package.
	Package *string `locationName:"package" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Details about a package, including its format, namespace, and name.

func (PackageSummary) GoString

func (s PackageSummary) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PackageSummary) SetFormat

func (s *PackageSummary) SetFormat(v string) *PackageSummary

SetFormat sets the Format field's value.

func (*PackageSummary) SetNamespace

func (s *PackageSummary) SetNamespace(v string) *PackageSummary

SetNamespace sets the Namespace field's value.

func (*PackageSummary) SetOriginConfiguration added in v1.44.55

func (s *PackageSummary) SetOriginConfiguration(v *PackageOriginConfiguration) *PackageSummary

SetOriginConfiguration sets the OriginConfiguration field's value.

func (*PackageSummary) SetPackage

func (s *PackageSummary) SetPackage(v string) *PackageSummary

SetPackage sets the Package field's value.

func (PackageSummary) String

func (s PackageSummary) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 `locationName:"displayName" min:"1" type:"string"`

	// The format of the package version.
	Format *string `locationName:"format" type:"string" enum:"PackageFormat"`

	// The homepage associated with the package.
	HomePage *string `locationName:"homePage" type:"string"`

	// Information about licenses associated with the package version.
	Licenses []*LicenseInfo `locationName:"licenses" type:"list"`

	// 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 `locationName:"namespace" min:"1" type:"string"`

	// A PackageVersionOrigin (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionOrigin.html)
	// object that contains information about how the package version was added
	// to the repository.
	Origin *PackageVersionOrigin `locationName:"origin" type:"structure"`

	// The name of the requested package.
	PackageName *string `locationName:"packageName" min:"1" type:"string"`

	// A timestamp that contains the date and time the package version was published.
	PublishedTime *time.Time `locationName:"publishedTime" type:"timestamp"`

	// The revision of the package version.
	Revision *string `locationName:"revision" min:"1" type:"string"`

	// The repository for the source code in the package version, or the source
	// code used to build it.
	SourceCodeRepository *string `locationName:"sourceCodeRepository" type:"string"`

	// A string that contains the status of the package version.
	Status *string `locationName:"status" type:"string" enum:"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 `locationName:"summary" type:"string"`

	// The version of the package.
	Version *string `locationName:"version" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Details about a package version.

func (PackageVersionDescription) GoString

func (s PackageVersionDescription) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PackageVersionDescription) SetDisplayName

SetDisplayName sets the DisplayName field's value.

func (*PackageVersionDescription) SetFormat

SetFormat sets the Format field's value.

func (*PackageVersionDescription) SetHomePage

SetHomePage sets the HomePage field's value.

func (*PackageVersionDescription) SetLicenses

SetLicenses sets the Licenses field's value.

func (*PackageVersionDescription) SetNamespace

SetNamespace sets the Namespace field's value.

func (*PackageVersionDescription) SetOrigin added in v1.44.55

SetOrigin sets the Origin field's value.

func (*PackageVersionDescription) SetPackageName

SetPackageName sets the PackageName field's value.

func (*PackageVersionDescription) SetPublishedTime

SetPublishedTime sets the PublishedTime field's value.

func (*PackageVersionDescription) SetRevision

SetRevision sets the Revision field's value.

func (*PackageVersionDescription) SetSourceCodeRepository

func (s *PackageVersionDescription) SetSourceCodeRepository(v string) *PackageVersionDescription

SetSourceCodeRepository sets the SourceCodeRepository field's value.

func (*PackageVersionDescription) SetStatus

SetStatus sets the Status field's value.

func (*PackageVersionDescription) SetSummary

SetSummary sets the Summary field's value.

func (*PackageVersionDescription) SetVersion

SetVersion sets the Version field's value.

func (PackageVersionDescription) String

func (s PackageVersionDescription) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 *string `locationName:"errorCode" type:"string" enum:"PackageVersionErrorCode"`

	// The error message associated with the error.
	ErrorMessage *string `locationName:"errorMessage" type:"string"`
	// contains filtered or unexported fields
}

l An error associated with package.

func (PackageVersionError) GoString

func (s PackageVersionError) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PackageVersionError) SetErrorCode

func (s *PackageVersionError) SetErrorCode(v string) *PackageVersionError

SetErrorCode sets the ErrorCode field's value.

func (*PackageVersionError) SetErrorMessage

func (s *PackageVersionError) SetErrorMessage(v string) *PackageVersionError

SetErrorMessage sets the ErrorMessage field's value.

func (PackageVersionError) String

func (s PackageVersionError) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PackageVersionOrigin added in v1.44.55

type PackageVersionOrigin struct {

	// A DomainEntryPoint (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_DomainEntryPoint.html)
	// object that contains information about from which repository or external
	// connection the package version was added to the domain.
	DomainEntryPoint *DomainEntryPoint `locationName:"domainEntryPoint" type:"structure"`

	// 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 *string `locationName:"originType" type:"string" enum:"PackageVersionOriginType"`
	// contains filtered or unexported fields
}

Information about how a package version was added to a repository.

func (PackageVersionOrigin) GoString added in v1.44.55

func (s PackageVersionOrigin) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PackageVersionOrigin) SetDomainEntryPoint added in v1.44.55

func (s *PackageVersionOrigin) SetDomainEntryPoint(v *DomainEntryPoint) *PackageVersionOrigin

SetDomainEntryPoint sets the DomainEntryPoint field's value.

func (*PackageVersionOrigin) SetOriginType added in v1.44.55

func (s *PackageVersionOrigin) SetOriginType(v string) *PackageVersionOrigin

SetOriginType sets the OriginType field's value.

func (PackageVersionOrigin) String added in v1.44.55

func (s PackageVersionOrigin) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PackageVersionSummary

type PackageVersionSummary struct {

	// A PackageVersionOrigin (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionOrigin.html)
	// object that contains information about how the package version was added
	// to the repository.
	Origin *PackageVersionOrigin `locationName:"origin" type:"structure"`

	// The revision associated with a package version.
	Revision *string `locationName:"revision" min:"1" type:"string"`

	// A string that contains the status of the package version. It can be one of
	// the following:
	//
	// Status is a required field
	Status *string `locationName:"status" type:"string" required:"true" enum:"PackageVersionStatus"`

	// Information about a package version.
	//
	// Version is a required field
	Version *string `locationName:"version" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Details about a package version, including its status, version, and revision. The ListPackageVersions (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListPackageVersions.html) operation returns a list of PackageVersionSummary objects.

func (PackageVersionSummary) GoString

func (s PackageVersionSummary) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PackageVersionSummary) SetOrigin added in v1.44.55

SetOrigin sets the Origin field's value.

func (*PackageVersionSummary) SetRevision

SetRevision sets the Revision field's value.

func (*PackageVersionSummary) SetStatus

SetStatus sets the Status field's value.

func (*PackageVersionSummary) SetVersion

SetVersion sets the Version field's value.

func (PackageVersionSummary) String

func (s PackageVersionSummary) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PublishPackageVersionInput added in v1.44.218

type PublishPackageVersionInput struct {

	// The content of the asset to publish.
	//
	// AssetContent is a required field
	AssetContent io.ReadSeeker `locationName:"assetContent" type:"blob" required:"true"`

	// The name of the asset to publish. Asset names can include Unicode letters
	// and numbers, and the following special characters: ~ ! @ ^ & ( ) - ` _ +
	// [ ] { } ; , . `
	//
	// AssetName is a required field
	AssetName *string `location:"querystring" locationName:"asset" min:"1" type:"string" required:"true"`

	// The SHA256 hash of the assetContent to publish. This value must be calculated
	// by the caller and provided with the request (see Publishing a generic package
	// (https://docs.aws.amazon.com/codeartifact/latest/ug/using-generic.html#publishing-generic-packages)
	// in the CodeArtifact User Guide).
	//
	// This value is used as an integrity check to verify that the assetContent
	// has not changed after it was originally sent.
	//
	// AssetSHA256 is a required field
	AssetSHA256 *string `location:"header" locationName:"x-amz-content-sha256" min:"64" type:"string" required:"true"`

	// The name of the domain that contains the repository that contains the package
	// version to publish.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the AWS account that owns the domain. It does
	// not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// A format that specifies the type of the package version with the requested
	// asset file.
	//
	// The only supported value is generic.
	//
	// Format is a required field
	Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"`

	// The namespace of the package version to publish.
	Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"`

	// The name of the package version to publish.
	//
	// Package is a required field
	Package *string `location:"querystring" locationName:"package" min:"1" type:"string" required:"true"`

	// The package version to publish (for example, 3.5.2).
	//
	// PackageVersion is a required field
	PackageVersion *string `location:"querystring" locationName:"version" min:"1" type:"string" required:"true"`

	// The name of the repository that the package version will be published to.
	//
	// Repository is a required field
	Repository *string `location:"querystring" locationName:"repository" min:"2" type:"string" required:"true"`

	// Specifies whether the package version should remain in the unfinished state.
	// If omitted, the package version status will be set to Published (see Package
	// version status (https://docs.aws.amazon.com/codeartifact/latest/ug/packages-overview.html#package-version-status)
	// in the CodeArtifact User Guide).
	//
	// Valid values: unfinished
	Unfinished *bool `location:"querystring" locationName:"unfinished" type:"boolean"`
	// contains filtered or unexported fields
}

func (PublishPackageVersionInput) GoString added in v1.44.218

func (s PublishPackageVersionInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PublishPackageVersionInput) SetAssetContent added in v1.44.218

SetAssetContent sets the AssetContent field's value.

func (*PublishPackageVersionInput) SetAssetName added in v1.44.218

SetAssetName sets the AssetName field's value.

func (*PublishPackageVersionInput) SetAssetSHA256 added in v1.44.218

SetAssetSHA256 sets the AssetSHA256 field's value.

func (*PublishPackageVersionInput) SetDomain added in v1.44.218

SetDomain sets the Domain field's value.

func (*PublishPackageVersionInput) SetDomainOwner added in v1.44.218

SetDomainOwner sets the DomainOwner field's value.

func (*PublishPackageVersionInput) SetFormat added in v1.44.218

SetFormat sets the Format field's value.

func (*PublishPackageVersionInput) SetNamespace added in v1.44.218

SetNamespace sets the Namespace field's value.

func (*PublishPackageVersionInput) SetPackage added in v1.44.218

SetPackage sets the Package field's value.

func (*PublishPackageVersionInput) SetPackageVersion added in v1.44.218

SetPackageVersion sets the PackageVersion field's value.

func (*PublishPackageVersionInput) SetRepository added in v1.44.218

SetRepository sets the Repository field's value.

func (*PublishPackageVersionInput) SetUnfinished added in v1.44.218

SetUnfinished sets the Unfinished field's value.

func (PublishPackageVersionInput) String added in v1.44.218

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PublishPackageVersionInput) Validate added in v1.44.218

func (s *PublishPackageVersionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PublishPackageVersionOutput added in v1.44.218

type PublishPackageVersionOutput struct {

	// An AssetSummary (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_AssetSummary.html)
	// for the published asset.
	Asset *AssetSummary `locationName:"asset" type:"structure"`

	// The format of the package version.
	Format *string `locationName:"format" type:"string" enum:"PackageFormat"`

	// The namespace of the package version.
	Namespace *string `locationName:"namespace" min:"1" type:"string"`

	// The name of the package.
	Package *string `locationName:"package" min:"1" type:"string"`

	// A string that contains the status of the package version. For more information,
	// see Package version status (https://docs.aws.amazon.com/codeartifact/latest/ug/packages-overview.html#package-version-status.html#package-version-status)
	// in the CodeArtifact User Guide.
	Status *string `locationName:"status" type:"string" enum:"PackageVersionStatus"`

	// The version of the package.
	Version *string `locationName:"version" min:"1" type:"string"`

	// The revision of the package version.
	VersionRevision *string `locationName:"versionRevision" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (PublishPackageVersionOutput) GoString added in v1.44.218

func (s PublishPackageVersionOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PublishPackageVersionOutput) SetAsset added in v1.44.218

SetAsset sets the Asset field's value.

func (*PublishPackageVersionOutput) SetFormat added in v1.44.218

SetFormat sets the Format field's value.

func (*PublishPackageVersionOutput) SetNamespace added in v1.44.218

SetNamespace sets the Namespace field's value.

func (*PublishPackageVersionOutput) SetPackage added in v1.44.218

SetPackage sets the Package field's value.

func (*PublishPackageVersionOutput) SetStatus added in v1.44.218

SetStatus sets the Status field's value.

func (*PublishPackageVersionOutput) SetVersion added in v1.44.218

SetVersion sets the Version field's value.

func (*PublishPackageVersionOutput) SetVersionRevision added in v1.44.218

SetVersionRevision sets the VersionRevision field's value.

func (PublishPackageVersionOutput) String added in v1.44.218

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutDomainPermissionsPolicyInput

type PutDomainPermissionsPolicyInput struct {

	// The name of the domain on which to set the resource policy.
	//
	// Domain is a required field
	Domain *string `locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `locationName:"domainOwner" min:"12" type:"string"`

	// A valid displayable JSON Aspen policy string to be set as the access control
	// resource policy on the provided domain.
	//
	// PolicyDocument is a required field
	PolicyDocument *string `locationName:"policyDocument" min:"1" type:"string" required:"true"`

	// 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.
	PolicyRevision *string `locationName:"policyRevision" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (PutDomainPermissionsPolicyInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutDomainPermissionsPolicyInput) SetDomain

SetDomain sets the Domain field's value.

func (*PutDomainPermissionsPolicyInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*PutDomainPermissionsPolicyInput) SetPolicyDocument

SetPolicyDocument sets the PolicyDocument field's value.

func (*PutDomainPermissionsPolicyInput) SetPolicyRevision

SetPolicyRevision sets the PolicyRevision field's value.

func (PutDomainPermissionsPolicyInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutDomainPermissionsPolicyInput) Validate

func (s *PutDomainPermissionsPolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutDomainPermissionsPolicyOutput

type PutDomainPermissionsPolicyOutput struct {

	// The resource policy that was set after processing the request.
	Policy *ResourcePolicy `locationName:"policy" type:"structure"`
	// contains filtered or unexported fields
}

func (PutDomainPermissionsPolicyOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutDomainPermissionsPolicyOutput) SetPolicy

SetPolicy sets the Policy field's value.

func (PutDomainPermissionsPolicyOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutPackageOriginConfigurationInput added in v1.44.55

type PutPackageOriginConfigurationInput struct {

	// The name of the domain that contains the repository that contains the package.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// A format that specifies the type of the package to be updated.
	//
	// Format is a required field
	Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"`

	// 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 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 `location:"querystring" locationName:"namespace" min:"1" type:"string"`

	// The name of the package to be updated.
	//
	// Package is a required field
	Package *string `location:"querystring" locationName:"package" min:"1" type:"string" required:"true"`

	// The name of the repository that contains the package.
	//
	// Repository is a required field
	Repository *string `location:"querystring" locationName:"repository" min:"2" type:"string" required:"true"`

	// A PackageOriginRestrictions (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginRestrictions.html)
	// 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.
	//
	// Restrictions is a required field
	Restrictions *PackageOriginRestrictions `locationName:"restrictions" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (PutPackageOriginConfigurationInput) GoString added in v1.44.55

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutPackageOriginConfigurationInput) SetDomain added in v1.44.55

SetDomain sets the Domain field's value.

func (*PutPackageOriginConfigurationInput) SetDomainOwner added in v1.44.55

SetDomainOwner sets the DomainOwner field's value.

func (*PutPackageOriginConfigurationInput) SetFormat added in v1.44.55

SetFormat sets the Format field's value.

func (*PutPackageOriginConfigurationInput) SetNamespace added in v1.44.55

SetNamespace sets the Namespace field's value.

func (*PutPackageOriginConfigurationInput) SetPackage added in v1.44.55

SetPackage sets the Package field's value.

func (*PutPackageOriginConfigurationInput) SetRepository added in v1.44.55

SetRepository sets the Repository field's value.

func (*PutPackageOriginConfigurationInput) SetRestrictions added in v1.44.55

SetRestrictions sets the Restrictions field's value.

func (PutPackageOriginConfigurationInput) String added in v1.44.55

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutPackageOriginConfigurationInput) Validate added in v1.44.55

Validate inspects the fields of the type to determine if they are valid.

type PutPackageOriginConfigurationOutput added in v1.44.55

type PutPackageOriginConfigurationOutput struct {

	// A PackageOriginConfiguration (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginConfiguration.html)
	// object that describes the origin configuration set for the package. It contains
	// a PackageOriginRestrictions (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginRestrictions.html)
	// object that describes how new versions of the package can be introduced to
	// the repository.
	OriginConfiguration *PackageOriginConfiguration `locationName:"originConfiguration" type:"structure"`
	// contains filtered or unexported fields
}

func (PutPackageOriginConfigurationOutput) GoString added in v1.44.55

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutPackageOriginConfigurationOutput) SetOriginConfiguration added in v1.44.55

SetOriginConfiguration sets the OriginConfiguration field's value.

func (PutPackageOriginConfigurationOutput) String added in v1.44.55

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutRepositoryPermissionsPolicyInput

type PutRepositoryPermissionsPolicyInput struct {

	// The name of the domain containing the repository to set the resource policy
	// on.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// A valid displayable JSON Aspen policy string to be set as the access control
	// resource policy on the provided repository.
	//
	// PolicyDocument is a required field
	PolicyDocument *string `locationName:"policyDocument" min:"1" type:"string" required:"true"`

	// 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.
	PolicyRevision *string `locationName:"policyRevision" min:"1" type:"string"`

	// The name of the repository to set the resource policy on.
	//
	// Repository is a required field
	Repository *string `location:"querystring" locationName:"repository" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PutRepositoryPermissionsPolicyInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutRepositoryPermissionsPolicyInput) SetDomain

SetDomain sets the Domain field's value.

func (*PutRepositoryPermissionsPolicyInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*PutRepositoryPermissionsPolicyInput) SetPolicyDocument

SetPolicyDocument sets the PolicyDocument field's value.

func (*PutRepositoryPermissionsPolicyInput) SetPolicyRevision

SetPolicyRevision sets the PolicyRevision field's value.

func (*PutRepositoryPermissionsPolicyInput) SetRepository

SetRepository sets the Repository field's value.

func (PutRepositoryPermissionsPolicyInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutRepositoryPermissionsPolicyInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type PutRepositoryPermissionsPolicyOutput

type PutRepositoryPermissionsPolicyOutput struct {

	// The resource policy that was set after processing the request.
	Policy *ResourcePolicy `locationName:"policy" type:"structure"`
	// contains filtered or unexported fields
}

func (PutRepositoryPermissionsPolicyOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutRepositoryPermissionsPolicyOutput) SetPolicy

SetPolicy sets the Policy field's value.

func (PutRepositoryPermissionsPolicyOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RepositoryDescription

type RepositoryDescription struct {

	// The 12-digit account number of the Amazon Web Services account that manages
	// the repository.
	AdministratorAccount *string `locationName:"administratorAccount" min:"12" type:"string"`

	// The Amazon Resource Name (ARN) of the repository.
	Arn *string `locationName:"arn" min:"1" type:"string"`

	// A timestamp that represents the date and time the repository was created.
	CreatedTime *time.Time `locationName:"createdTime" type:"timestamp"`

	// A text description of the repository.
	Description *string `locationName:"description" type:"string"`

	// The name of the domain that contains the repository.
	DomainName *string `locationName:"domainName" min:"2" type:"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 `locationName:"domainOwner" min:"12" type:"string"`

	// An array of external connections associated with the repository.
	ExternalConnections []*RepositoryExternalConnectionInfo `locationName:"externalConnections" type:"list"`

	// The name of the repository.
	Name *string `locationName:"name" min:"2" type:"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 (https://docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html).
	Upstreams []*UpstreamRepositoryInfo `locationName:"upstreams" type:"list"`
	// 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.

func (RepositoryDescription) GoString

func (s RepositoryDescription) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RepositoryDescription) SetAdministratorAccount

func (s *RepositoryDescription) SetAdministratorAccount(v string) *RepositoryDescription

SetAdministratorAccount sets the AdministratorAccount field's value.

func (*RepositoryDescription) SetArn

SetArn sets the Arn field's value.

func (*RepositoryDescription) SetCreatedTime added in v1.44.228

func (s *RepositoryDescription) SetCreatedTime(v time.Time) *RepositoryDescription

SetCreatedTime sets the CreatedTime field's value.

func (*RepositoryDescription) SetDescription

func (s *RepositoryDescription) SetDescription(v string) *RepositoryDescription

SetDescription sets the Description field's value.

func (*RepositoryDescription) SetDomainName

func (s *RepositoryDescription) SetDomainName(v string) *RepositoryDescription

SetDomainName sets the DomainName field's value.

func (*RepositoryDescription) SetDomainOwner

func (s *RepositoryDescription) SetDomainOwner(v string) *RepositoryDescription

SetDomainOwner sets the DomainOwner field's value.

func (*RepositoryDescription) SetExternalConnections

SetExternalConnections sets the ExternalConnections field's value.

func (*RepositoryDescription) SetName

SetName sets the Name field's value.

func (*RepositoryDescription) SetUpstreams

SetUpstreams sets the Upstreams field's value.

func (RepositoryDescription) String

func (s RepositoryDescription) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RepositoryExternalConnectionInfo

type RepositoryExternalConnectionInfo struct {

	// The name of the external connection associated with a repository.
	ExternalConnectionName *string `locationName:"externalConnectionName" min:"2" type:"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.
	PackageFormat *string `locationName:"packageFormat" type:"string" enum:"PackageFormat"`

	// The status of the external connection of a repository. There is one valid
	// value, Available.
	Status *string `locationName:"status" type:"string" enum:"ExternalConnectionStatus"`
	// contains filtered or unexported fields
}

Contains information about the external connection of a repository.

func (RepositoryExternalConnectionInfo) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RepositoryExternalConnectionInfo) SetExternalConnectionName

SetExternalConnectionName sets the ExternalConnectionName field's value.

func (*RepositoryExternalConnectionInfo) SetPackageFormat

SetPackageFormat sets the PackageFormat field's value.

func (*RepositoryExternalConnectionInfo) SetStatus

SetStatus sets the Status field's value.

func (RepositoryExternalConnectionInfo) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RepositorySummary

type RepositorySummary struct {

	// The Amazon Web Services account ID that manages the repository.
	AdministratorAccount *string `locationName:"administratorAccount" min:"12" type:"string"`

	// The ARN of the repository.
	Arn *string `locationName:"arn" min:"1" type:"string"`

	// A timestamp that represents the date and time the repository was created.
	CreatedTime *time.Time `locationName:"createdTime" type:"timestamp"`

	// The description of the repository.
	Description *string `locationName:"description" type:"string"`

	// The name of the domain that contains the repository.
	DomainName *string `locationName:"domainName" min:"2" type:"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 `locationName:"domainOwner" min:"12" type:"string"`

	// The name of the repository.
	Name *string `locationName:"name" min:"2" type:"string"`
	// contains filtered or unexported fields
}

Details about a repository, including its Amazon Resource Name (ARN), description, and domain information. The ListRepositories (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListRepositories.html) operation returns a list of RepositorySummary objects.

func (RepositorySummary) GoString

func (s RepositorySummary) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RepositorySummary) SetAdministratorAccount

func (s *RepositorySummary) SetAdministratorAccount(v string) *RepositorySummary

SetAdministratorAccount sets the AdministratorAccount field's value.

func (*RepositorySummary) SetArn

SetArn sets the Arn field's value.

func (*RepositorySummary) SetCreatedTime added in v1.44.228

func (s *RepositorySummary) SetCreatedTime(v time.Time) *RepositorySummary

SetCreatedTime sets the CreatedTime field's value.

func (*RepositorySummary) SetDescription

func (s *RepositorySummary) SetDescription(v string) *RepositorySummary

SetDescription sets the Description field's value.

func (*RepositorySummary) SetDomainName

func (s *RepositorySummary) SetDomainName(v string) *RepositorySummary

SetDomainName sets the DomainName field's value.

func (*RepositorySummary) SetDomainOwner

func (s *RepositorySummary) SetDomainOwner(v string) *RepositorySummary

SetDomainOwner sets the DomainOwner field's value.

func (*RepositorySummary) SetName

SetName sets the Name field's value.

func (RepositorySummary) String

func (s RepositorySummary) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceNotFoundException

type ResourceNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`

	// The ID of the resource.
	ResourceId *string `locationName:"resourceId" type:"string"`

	// The type of Amazon Web Services resource.
	ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"`
	// contains filtered or unexported fields
}

The operation did not succeed because the resource requested is not found in the service.

func (*ResourceNotFoundException) Code

Code returns the exception type name.

func (*ResourceNotFoundException) Error

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceNotFoundException) Message

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode

func (s *ResourceNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceNotFoundException) String

func (s ResourceNotFoundException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourcePolicy

type ResourcePolicy struct {

	// The resource policy formatted in JSON.
	Document *string `locationName:"document" min:"1" type:"string"`

	// The ARN of the resource associated with the resource policy
	ResourceArn *string `locationName:"resourceArn" min:"1" type:"string"`

	// The current revision of the resource policy.
	Revision *string `locationName:"revision" min:"1" type:"string"`
	// contains filtered or unexported fields
}

An CodeArtifact resource policy that contains a resource ARN, document details, and a revision.

func (ResourcePolicy) GoString

func (s ResourcePolicy) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourcePolicy) SetDocument

func (s *ResourcePolicy) SetDocument(v string) *ResourcePolicy

SetDocument sets the Document field's value.

func (*ResourcePolicy) SetResourceArn

func (s *ResourcePolicy) SetResourceArn(v string) *ResourcePolicy

SetResourceArn sets the ResourceArn field's value.

func (*ResourcePolicy) SetRevision

func (s *ResourcePolicy) SetRevision(v string) *ResourcePolicy

SetRevision sets the Revision field's value.

func (ResourcePolicy) String

func (s ResourcePolicy) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ServiceQuotaExceededException

type ServiceQuotaExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`

	// The ID of the resource.
	ResourceId *string `locationName:"resourceId" type:"string"`

	// The type of Amazon Web Services resource.
	ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"`
	// contains filtered or unexported fields
}

The operation did not succeed because it would have exceeded a service limit for your account.

func (*ServiceQuotaExceededException) Code

Code returns the exception type name.

func (*ServiceQuotaExceededException) Error

func (ServiceQuotaExceededException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ServiceQuotaExceededException) Message

Message returns the exception's message.

func (*ServiceQuotaExceededException) OrigErr

func (s *ServiceQuotaExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceQuotaExceededException) RequestID

func (s *ServiceQuotaExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceQuotaExceededException) StatusCode

func (s *ServiceQuotaExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ServiceQuotaExceededException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SuccessfulPackageVersionInfo

type SuccessfulPackageVersionInfo struct {

	// The revision of a package version.
	Revision *string `locationName:"revision" type:"string"`

	// The status of a package version.
	Status *string `locationName:"status" type:"string" enum:"PackageVersionStatus"`
	// contains filtered or unexported fields
}

Contains the revision and status of a package version.

func (SuccessfulPackageVersionInfo) GoString

func (s SuccessfulPackageVersionInfo) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SuccessfulPackageVersionInfo) SetRevision

SetRevision sets the Revision field's value.

func (*SuccessfulPackageVersionInfo) SetStatus

SetStatus sets the Status field's value.

func (SuccessfulPackageVersionInfo) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Tag added in v1.35.18

type Tag struct {

	// The tag key.
	//
	// Key is a required field
	Key *string `locationName:"key" min:"1" type:"string" required:"true"`

	// The tag value.
	//
	// Value is a required field
	Value *string `locationName:"value" type:"string" required:"true"`
	// 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.

func (Tag) GoString added in v1.35.18

func (s Tag) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Tag) SetKey added in v1.35.18

func (s *Tag) SetKey(v string) *Tag

SetKey sets the Key field's value.

func (*Tag) SetValue added in v1.35.18

func (s *Tag) SetValue(v string) *Tag

SetValue sets the Value field's value.

func (Tag) String added in v1.35.18

func (s Tag) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Tag) Validate added in v1.35.18

func (s *Tag) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceInput added in v1.35.18

type TagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource that you want to add or update
	// tags for.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"querystring" locationName:"resourceArn" min:"1" type:"string" required:"true"`

	// The tags you want to modify or add to the resource.
	//
	// Tags is a required field
	Tags []*Tag `locationName:"tags" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString added in v1.35.18

func (s TagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) SetResourceArn added in v1.35.18

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags added in v1.35.18

func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String added in v1.35.18

func (s TagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) Validate added in v1.35.18

func (s *TagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceOutput added in v1.35.18

type TagResourceOutput struct {
	// contains filtered or unexported fields
}

func (TagResourceOutput) GoString added in v1.35.18

func (s TagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (TagResourceOutput) String added in v1.35.18

func (s TagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ThrottlingException

type ThrottlingException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`

	// The time period, in seconds, to wait before retrying the request.
	RetryAfterSeconds *int64 `location:"header" locationName:"Retry-After" type:"integer"`
	// contains filtered or unexported fields
}

The operation did not succeed because too many requests are sent to the service.

func (*ThrottlingException) Code

func (s *ThrottlingException) Code() string

Code returns the exception type name.

func (*ThrottlingException) Error

func (s *ThrottlingException) Error() string

func (ThrottlingException) GoString

func (s ThrottlingException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ThrottlingException) Message

func (s *ThrottlingException) Message() string

Message returns the exception's message.

func (*ThrottlingException) OrigErr

func (s *ThrottlingException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ThrottlingException) RequestID

func (s *ThrottlingException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ThrottlingException) StatusCode

func (s *ThrottlingException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ThrottlingException) String

func (s ThrottlingException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UntagResourceInput added in v1.35.18

type UntagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource that you want to remove tags
	// from.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"querystring" locationName:"resourceArn" min:"1" type:"string" required:"true"`

	// The tag key for each tag that you want to remove from the resource.
	//
	// TagKeys is a required field
	TagKeys []*string `locationName:"tagKeys" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString added in v1.35.18

func (s UntagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) SetResourceArn added in v1.35.18

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys added in v1.35.18

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String added in v1.35.18

func (s UntagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) Validate added in v1.35.18

func (s *UntagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UntagResourceOutput added in v1.35.18

type UntagResourceOutput struct {
	// contains filtered or unexported fields
}

func (UntagResourceOutput) GoString added in v1.35.18

func (s UntagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UntagResourceOutput) String added in v1.35.18

func (s UntagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdatePackageGroupInput added in v1.51.5

type UpdatePackageGroupInput struct {

	// Contact information which you want to update the requested package group
	// with.
	ContactInfo *string `locationName:"contactInfo" type:"string"`

	// The description you want to update the requested package group with.
	Description *string `locationName:"description" type:"string"`

	// The name of the domain which contains the package group to be updated.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// The pattern of the package group to be updated.
	//
	// PackageGroup is a required field
	PackageGroup *string `locationName:"packageGroup" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdatePackageGroupInput) GoString added in v1.51.5

func (s UpdatePackageGroupInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdatePackageGroupInput) SetContactInfo added in v1.51.5

SetContactInfo sets the ContactInfo field's value.

func (*UpdatePackageGroupInput) SetDescription added in v1.51.5

SetDescription sets the Description field's value.

func (*UpdatePackageGroupInput) SetDomain added in v1.51.5

SetDomain sets the Domain field's value.

func (*UpdatePackageGroupInput) SetDomainOwner added in v1.51.5

SetDomainOwner sets the DomainOwner field's value.

func (*UpdatePackageGroupInput) SetPackageGroup added in v1.51.5

SetPackageGroup sets the PackageGroup field's value.

func (UpdatePackageGroupInput) String added in v1.51.5

func (s UpdatePackageGroupInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdatePackageGroupInput) Validate added in v1.51.5

func (s *UpdatePackageGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdatePackageGroupOriginConfigurationInput added in v1.51.5

type UpdatePackageGroupOriginConfigurationInput struct {

	// The repository name and restrictions to add to the allowed repository list
	// of the specified package group.
	AddAllowedRepositories []*PackageGroupAllowedRepository `locationName:"addAllowedRepositories" type:"list"`

	// The name of the domain which contains the package group for which to update
	// the origin configuration.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// The pattern of the package group for which to update the origin configuration.
	//
	// PackageGroup is a required field
	PackageGroup *string `location:"querystring" locationName:"package-group" min:"2" type:"string" required:"true"`

	// The repository name and restrictions to remove from the allowed repository
	// list of the specified package group.
	RemoveAllowedRepositories []*PackageGroupAllowedRepository `locationName:"removeAllowedRepositories" type:"list"`

	// The origin configuration settings that determine how package versions can
	// enter repositories.
	Restrictions map[string]*string `locationName:"restrictions" type:"map"`
	// contains filtered or unexported fields
}

func (UpdatePackageGroupOriginConfigurationInput) GoString added in v1.51.5

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdatePackageGroupOriginConfigurationInput) SetAddAllowedRepositories added in v1.51.5

SetAddAllowedRepositories sets the AddAllowedRepositories field's value.

func (*UpdatePackageGroupOriginConfigurationInput) SetDomain added in v1.51.5

SetDomain sets the Domain field's value.

func (*UpdatePackageGroupOriginConfigurationInput) SetDomainOwner added in v1.51.5

SetDomainOwner sets the DomainOwner field's value.

func (*UpdatePackageGroupOriginConfigurationInput) SetPackageGroup added in v1.51.5

SetPackageGroup sets the PackageGroup field's value.

func (*UpdatePackageGroupOriginConfigurationInput) SetRemoveAllowedRepositories added in v1.51.5

SetRemoveAllowedRepositories sets the RemoveAllowedRepositories field's value.

func (*UpdatePackageGroupOriginConfigurationInput) SetRestrictions added in v1.51.5

SetRestrictions sets the Restrictions field's value.

func (UpdatePackageGroupOriginConfigurationInput) String added in v1.51.5

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdatePackageGroupOriginConfigurationInput) Validate added in v1.51.5

Validate inspects the fields of the type to determine if they are valid.

type UpdatePackageGroupOriginConfigurationOutput added in v1.51.5

type UpdatePackageGroupOriginConfigurationOutput struct {

	// Information about the updated allowed repositories after processing the request.
	AllowedRepositoryUpdates map[string]map[string][]*string `locationName:"allowedRepositoryUpdates" type:"map"`

	// The package group and information about it after processing the request.
	PackageGroup *PackageGroupDescription `locationName:"packageGroup" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdatePackageGroupOriginConfigurationOutput) GoString added in v1.51.5

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdatePackageGroupOriginConfigurationOutput) SetAllowedRepositoryUpdates added in v1.51.5

SetAllowedRepositoryUpdates sets the AllowedRepositoryUpdates field's value.

func (*UpdatePackageGroupOriginConfigurationOutput) SetPackageGroup added in v1.51.5

SetPackageGroup sets the PackageGroup field's value.

func (UpdatePackageGroupOriginConfigurationOutput) String added in v1.51.5

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdatePackageGroupOutput added in v1.51.5

type UpdatePackageGroupOutput struct {

	// The package group and information about it after the request has been processed.
	PackageGroup *PackageGroupDescription `locationName:"packageGroup" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdatePackageGroupOutput) GoString added in v1.51.5

func (s UpdatePackageGroupOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdatePackageGroupOutput) SetPackageGroup added in v1.51.5

SetPackageGroup sets the PackageGroup field's value.

func (UpdatePackageGroupOutput) String added in v1.51.5

func (s UpdatePackageGroupOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdatePackageVersionsStatusInput

type UpdatePackageVersionsStatusInput struct {

	// The name of the domain that contains the repository that contains the package
	// versions with a status to be updated.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// 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.
	ExpectedStatus *string `locationName:"expectedStatus" type:"string" enum:"PackageVersionStatus"`

	// A format that specifies the type of the package with the statuses to update.
	//
	// Format is a required field
	Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"`

	// The namespace of the package version to be updated. 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 `location:"querystring" locationName:"namespace" min:"1" type:"string"`

	// The name of the package with the version statuses to update.
	//
	// Package is a required field
	Package *string `location:"querystring" locationName:"package" min:"1" type:"string" required:"true"`

	// The repository that contains the package versions with the status you want
	// to update.
	//
	// Repository is a required field
	Repository *string `location:"querystring" locationName:"repository" min:"2" type:"string" required:"true"`

	// The status you want to change the package version status to.
	//
	// TargetStatus is a required field
	TargetStatus *string `locationName:"targetStatus" type:"string" required:"true" enum:"PackageVersionStatus"`

	// 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.
	VersionRevisions map[string]*string `locationName:"versionRevisions" type:"map"`

	// An array of strings that specify the versions of the package with the statuses
	// to update.
	//
	// Versions is a required field
	Versions []*string `locationName:"versions" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UpdatePackageVersionsStatusInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdatePackageVersionsStatusInput) SetDomain

SetDomain sets the Domain field's value.

func (*UpdatePackageVersionsStatusInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*UpdatePackageVersionsStatusInput) SetExpectedStatus

SetExpectedStatus sets the ExpectedStatus field's value.

func (*UpdatePackageVersionsStatusInput) SetFormat

SetFormat sets the Format field's value.

func (*UpdatePackageVersionsStatusInput) SetNamespace

SetNamespace sets the Namespace field's value.

func (*UpdatePackageVersionsStatusInput) SetPackage

SetPackage sets the Package field's value.

func (*UpdatePackageVersionsStatusInput) SetRepository

SetRepository sets the Repository field's value.

func (*UpdatePackageVersionsStatusInput) SetTargetStatus

SetTargetStatus sets the TargetStatus field's value.

func (*UpdatePackageVersionsStatusInput) SetVersionRevisions

SetVersionRevisions sets the VersionRevisions field's value.

func (*UpdatePackageVersionsStatusInput) SetVersions

SetVersions sets the Versions field's value.

func (UpdatePackageVersionsStatusInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdatePackageVersionsStatusInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type UpdatePackageVersionsStatusOutput

type UpdatePackageVersionsStatusOutput struct {

	// A list of SuccessfulPackageVersionInfo objects, one for each package version
	// with a status that successfully updated.
	FailedVersions map[string]*PackageVersionError `locationName:"failedVersions" type:"map"`

	// A list of PackageVersionError objects, one for each package version with
	// a status that failed to update.
	SuccessfulVersions map[string]*SuccessfulPackageVersionInfo `locationName:"successfulVersions" type:"map"`
	// contains filtered or unexported fields
}

func (UpdatePackageVersionsStatusOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdatePackageVersionsStatusOutput) SetFailedVersions

SetFailedVersions sets the FailedVersions field's value.

func (*UpdatePackageVersionsStatusOutput) SetSuccessfulVersions

SetSuccessfulVersions sets the SuccessfulVersions field's value.

func (UpdatePackageVersionsStatusOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateRepositoryInput

type UpdateRepositoryInput struct {

	// An updated repository description.
	Description *string `locationName:"description" type:"string"`

	// The name of the domain associated with the repository to update.
	//
	// Domain is a required field
	Domain *string `location:"querystring" locationName:"domain" min:"2" type:"string" required:"true"`

	// The 12-digit account number of the Amazon Web Services account that owns
	// the domain. It does not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// The name of the repository to update.
	//
	// Repository is a required field
	Repository *string `location:"querystring" locationName:"repository" min:"2" type:"string" required:"true"`

	// 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 (https://docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html).
	Upstreams []*UpstreamRepository `locationName:"upstreams" type:"list"`
	// contains filtered or unexported fields
}

func (UpdateRepositoryInput) GoString

func (s UpdateRepositoryInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateRepositoryInput) SetDescription

func (s *UpdateRepositoryInput) SetDescription(v string) *UpdateRepositoryInput

SetDescription sets the Description field's value.

func (*UpdateRepositoryInput) SetDomain

SetDomain sets the Domain field's value.

func (*UpdateRepositoryInput) SetDomainOwner

func (s *UpdateRepositoryInput) SetDomainOwner(v string) *UpdateRepositoryInput

SetDomainOwner sets the DomainOwner field's value.

func (*UpdateRepositoryInput) SetRepository

func (s *UpdateRepositoryInput) SetRepository(v string) *UpdateRepositoryInput

SetRepository sets the Repository field's value.

func (*UpdateRepositoryInput) SetUpstreams

SetUpstreams sets the Upstreams field's value.

func (UpdateRepositoryInput) String

func (s UpdateRepositoryInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateRepositoryInput) Validate

func (s *UpdateRepositoryInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateRepositoryOutput

type UpdateRepositoryOutput struct {

	// The updated repository.
	Repository *RepositoryDescription `locationName:"repository" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateRepositoryOutput) GoString

func (s UpdateRepositoryOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateRepositoryOutput) SetRepository

SetRepository sets the Repository field's value.

func (UpdateRepositoryOutput) String

func (s UpdateRepositoryOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpstreamRepository

type UpstreamRepository struct {

	// The name of an upstream repository.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Information about an upstream repository. A list of UpstreamRepository objects is an input parameter to CreateRepository (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_CreateRepository.html) and UpdateRepository (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_UpdateRepository.html).

func (UpstreamRepository) GoString

func (s UpstreamRepository) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpstreamRepository) SetRepositoryName

func (s *UpstreamRepository) SetRepositoryName(v string) *UpstreamRepository

SetRepositoryName sets the RepositoryName field's value.

func (UpstreamRepository) String

func (s UpstreamRepository) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpstreamRepository) Validate

func (s *UpstreamRepository) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpstreamRepositoryInfo

type UpstreamRepositoryInfo struct {

	// The name of an upstream repository.
	RepositoryName *string `locationName:"repositoryName" min:"2" type:"string"`
	// contains filtered or unexported fields
}

Information about an upstream repository.

func (UpstreamRepositoryInfo) GoString

func (s UpstreamRepositoryInfo) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpstreamRepositoryInfo) SetRepositoryName

func (s *UpstreamRepositoryInfo) SetRepositoryName(v string) *UpstreamRepositoryInfo

SetRepositoryName sets the RepositoryName field's value.

func (UpstreamRepositoryInfo) String

func (s UpstreamRepositoryInfo) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ValidationException

type ValidationException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`

	Reason *string `locationName:"reason" type:"string" enum:"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) Code

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error

func (s *ValidationException) Error() string

func (ValidationException) GoString

func (s ValidationException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ValidationException) Message

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode

func (s *ValidationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ValidationException) String

func (s ValidationException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

Directories

Path Synopsis
Package codeartifactiface provides an interface to enable mocking the CodeArtifact service client for testing your code.
Package codeartifactiface provides an interface to enable mocking the CodeArtifact service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL