...
AWS SDK for Go API Reference
We announced the upcoming end-of-support for AWS SDK for Go (v1). We recommend that you migrate to AWS SDK for Go v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
import "github.com/aws/aws-sdk-go/service/codeartifact"
Overview
Constants

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 like the npm CLI, the Maven CLI ( mvn ), Python CLIs ( pip and twine), NuGet CLIs (nuget and dotnet), and the Swift package manager ( swift ).

  • 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 (https://docs.aws.amazon.com/codeartifact/latest/ug/using-npm.html), PyPI (https://docs.aws.amazon.com/codeartifact/latest/ug/using-python.html), Maven (https://docs.aws.amazon.com/codeartifact/latest/ug/using-maven), NuGet (https://docs.aws.amazon.com/codeartifact/latest/ug/using-nuget), Swift (https://docs.aws.amazon.com/codeartifact/latest/ug/using-swift), and generic (https://docs.aws.amazon.com/codeartifact/latest/ug/using-generic) package formats. In CodeArtifact, a package consists of: A name (for example, webpack is the name of a popular npm package) An optional namespace (for example, @types in @types/node) A set of versions (for example, 1.0.0, 1.0.1, 1.0.2, etc.) Package-level metadata (for example, npm tags)

  • 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: generic maven npm nuget pypi 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

The stub package, codeartifactiface, can be used to provide alternative implementations of service clients, such as mocking the client for testing.

Types ▾

type CodeArtifact
func New(p client.ConfigProvider, cfgs ...*aws.Config) *CodeArtifact
func (c *CodeArtifact) AssociateExternalConnection(input *AssociateExternalConnectionInput) (*AssociateExternalConnectionOutput, error)
func (c *CodeArtifact) AssociateExternalConnectionRequest(input *AssociateExternalConnectionInput) (req *request.Request, output *AssociateExternalConnectionOutput)
func (c *CodeArtifact) AssociateExternalConnectionWithContext(ctx aws.Context, input *AssociateExternalConnectionInput, opts ...request.Option) (*AssociateExternalConnectionOutput, error)
func (c *CodeArtifact) CopyPackageVersions(input *CopyPackageVersionsInput) (*CopyPackageVersionsOutput, error)
func (c *CodeArtifact) CopyPackageVersionsRequest(input *CopyPackageVersionsInput) (req *request.Request, output *CopyPackageVersionsOutput)
func (c *CodeArtifact) CopyPackageVersionsWithContext(ctx aws.Context, input *CopyPackageVersionsInput, opts ...request.Option) (*CopyPackageVersionsOutput, error)
func (c *CodeArtifact) CreateDomain(input *CreateDomainInput) (*CreateDomainOutput, error)
func (c *CodeArtifact) CreateDomainRequest(input *CreateDomainInput) (req *request.Request, output *CreateDomainOutput)
func (c *CodeArtifact) CreateDomainWithContext(ctx aws.Context, input *CreateDomainInput, opts ...request.Option) (*CreateDomainOutput, error)
func (c *CodeArtifact) CreatePackageGroup(input *CreatePackageGroupInput) (*CreatePackageGroupOutput, error)
func (c *CodeArtifact) CreatePackageGroupRequest(input *CreatePackageGroupInput) (req *request.Request, output *CreatePackageGroupOutput)
func (c *CodeArtifact) CreatePackageGroupWithContext(ctx aws.Context, input *CreatePackageGroupInput, opts ...request.Option) (*CreatePackageGroupOutput, error)
func (c *CodeArtifact) CreateRepository(input *CreateRepositoryInput) (*CreateRepositoryOutput, error)
func (c *CodeArtifact) CreateRepositoryRequest(input *CreateRepositoryInput) (req *request.Request, output *CreateRepositoryOutput)
func (c *CodeArtifact) CreateRepositoryWithContext(ctx aws.Context, input *CreateRepositoryInput, opts ...request.Option) (*CreateRepositoryOutput, error)
func (c *CodeArtifact) DeleteDomain(input *DeleteDomainInput) (*DeleteDomainOutput, error)
func (c *CodeArtifact) DeleteDomainPermissionsPolicy(input *DeleteDomainPermissionsPolicyInput) (*DeleteDomainPermissionsPolicyOutput, error)
func (c *CodeArtifact) DeleteDomainPermissionsPolicyRequest(input *DeleteDomainPermissionsPolicyInput) (req *request.Request, output *DeleteDomainPermissionsPolicyOutput)
func (c *CodeArtifact) DeleteDomainPermissionsPolicyWithContext(ctx aws.Context, input *DeleteDomainPermissionsPolicyInput, opts ...request.Option) (*DeleteDomainPermissionsPolicyOutput, error)
func (c *CodeArtifact) DeleteDomainRequest(input *DeleteDomainInput) (req *request.Request, output *DeleteDomainOutput)
func (c *CodeArtifact) DeleteDomainWithContext(ctx aws.Context, input *DeleteDomainInput, opts ...request.Option) (*DeleteDomainOutput, error)
func (c *CodeArtifact) DeletePackage(input *DeletePackageInput) (*DeletePackageOutput, error)
func (c *CodeArtifact) DeletePackageGroup(input *DeletePackageGroupInput) (*DeletePackageGroupOutput, error)
func (c *CodeArtifact) DeletePackageGroupRequest(input *DeletePackageGroupInput) (req *request.Request, output *DeletePackageGroupOutput)
func (c *CodeArtifact) DeletePackageGroupWithContext(ctx aws.Context, input *DeletePackageGroupInput, opts ...request.Option) (*DeletePackageGroupOutput, error)
func (c *CodeArtifact) DeletePackageRequest(input *DeletePackageInput) (req *request.Request, output *DeletePackageOutput)
func (c *CodeArtifact) DeletePackageVersions(input *DeletePackageVersionsInput) (*DeletePackageVersionsOutput, error)
func (c *CodeArtifact) DeletePackageVersionsRequest(input *DeletePackageVersionsInput) (req *request.Request, output *DeletePackageVersionsOutput)
func (c *CodeArtifact) DeletePackageVersionsWithContext(ctx aws.Context, input *DeletePackageVersionsInput, opts ...request.Option) (*DeletePackageVersionsOutput, error)
func (c *CodeArtifact) DeletePackageWithContext(ctx aws.Context, input *DeletePackageInput, opts ...request.Option) (*DeletePackageOutput, error)
func (c *CodeArtifact) DeleteRepository(input *DeleteRepositoryInput) (*DeleteRepositoryOutput, error)
func (c *CodeArtifact) DeleteRepositoryPermissionsPolicy(input *DeleteRepositoryPermissionsPolicyInput) (*DeleteRepositoryPermissionsPolicyOutput, error)
func (c *CodeArtifact) DeleteRepositoryPermissionsPolicyRequest(input *DeleteRepositoryPermissionsPolicyInput) (req *request.Request, output *DeleteRepositoryPermissionsPolicyOutput)
func (c *CodeArtifact) DeleteRepositoryPermissionsPolicyWithContext(ctx aws.Context, input *DeleteRepositoryPermissionsPolicyInput, opts ...request.Option) (*DeleteRepositoryPermissionsPolicyOutput, error)
func (c *CodeArtifact) DeleteRepositoryRequest(input *DeleteRepositoryInput) (req *request.Request, output *DeleteRepositoryOutput)
func (c *CodeArtifact) DeleteRepositoryWithContext(ctx aws.Context, input *DeleteRepositoryInput, opts ...request.Option) (*DeleteRepositoryOutput, error)
func (c *CodeArtifact) DescribeDomain(input *DescribeDomainInput) (*DescribeDomainOutput, error)
func (c *CodeArtifact) DescribeDomainRequest(input *DescribeDomainInput) (req *request.Request, output *DescribeDomainOutput)
func (c *CodeArtifact) DescribeDomainWithContext(ctx aws.Context, input *DescribeDomainInput, opts ...request.Option) (*DescribeDomainOutput, error)
func (c *CodeArtifact) DescribePackage(input *DescribePackageInput) (*DescribePackageOutput, error)
func (c *CodeArtifact) DescribePackageGroup(input *DescribePackageGroupInput) (*DescribePackageGroupOutput, error)
func (c *CodeArtifact) DescribePackageGroupRequest(input *DescribePackageGroupInput) (req *request.Request, output *DescribePackageGroupOutput)
func (c *CodeArtifact) DescribePackageGroupWithContext(ctx aws.Context, input *DescribePackageGroupInput, opts ...request.Option) (*DescribePackageGroupOutput, error)
func (c *CodeArtifact) DescribePackageRequest(input *DescribePackageInput) (req *request.Request, output *DescribePackageOutput)
func (c *CodeArtifact) DescribePackageVersion(input *DescribePackageVersionInput) (*DescribePackageVersionOutput, error)
func (c *CodeArtifact) DescribePackageVersionRequest(input *DescribePackageVersionInput) (req *request.Request, output *DescribePackageVersionOutput)
func (c *CodeArtifact) DescribePackageVersionWithContext(ctx aws.Context, input *DescribePackageVersionInput, opts ...request.Option) (*DescribePackageVersionOutput, error)
func (c *CodeArtifact) DescribePackageWithContext(ctx aws.Context, input *DescribePackageInput, opts ...request.Option) (*DescribePackageOutput, error)
func (c *CodeArtifact) DescribeRepository(input *DescribeRepositoryInput) (*DescribeRepositoryOutput, error)
func (c *CodeArtifact) DescribeRepositoryRequest(input *DescribeRepositoryInput) (req *request.Request, output *DescribeRepositoryOutput)
func (c *CodeArtifact) DescribeRepositoryWithContext(ctx aws.Context, input *DescribeRepositoryInput, opts ...request.Option) (*DescribeRepositoryOutput, error)
func (c *CodeArtifact) DisassociateExternalConnection(input *DisassociateExternalConnectionInput) (*DisassociateExternalConnectionOutput, error)
func (c *CodeArtifact) DisassociateExternalConnectionRequest(input *DisassociateExternalConnectionInput) (req *request.Request, output *DisassociateExternalConnectionOutput)
func (c *CodeArtifact) DisassociateExternalConnectionWithContext(ctx aws.Context, input *DisassociateExternalConnectionInput, opts ...request.Option) (*DisassociateExternalConnectionOutput, error)
func (c *CodeArtifact) DisposePackageVersions(input *DisposePackageVersionsInput) (*DisposePackageVersionsOutput, error)
func (c *CodeArtifact) DisposePackageVersionsRequest(input *DisposePackageVersionsInput) (req *request.Request, output *DisposePackageVersionsOutput)
func (c *CodeArtifact) DisposePackageVersionsWithContext(ctx aws.Context, input *DisposePackageVersionsInput, opts ...request.Option) (*DisposePackageVersionsOutput, error)
func (c *CodeArtifact) GetAssociatedPackageGroup(input *GetAssociatedPackageGroupInput) (*GetAssociatedPackageGroupOutput, error)
func (c *CodeArtifact) GetAssociatedPackageGroupRequest(input *GetAssociatedPackageGroupInput) (req *request.Request, output *GetAssociatedPackageGroupOutput)
func (c *CodeArtifact) GetAssociatedPackageGroupWithContext(ctx aws.Context, input *GetAssociatedPackageGroupInput, opts ...request.Option) (*GetAssociatedPackageGroupOutput, error)
func (c *CodeArtifact) GetAuthorizationToken(input *GetAuthorizationTokenInput) (*GetAuthorizationTokenOutput, error)
func (c *CodeArtifact) GetAuthorizationTokenRequest(input *GetAuthorizationTokenInput) (req *request.Request, output *GetAuthorizationTokenOutput)
func (c *CodeArtifact) GetAuthorizationTokenWithContext(ctx aws.Context, input *GetAuthorizationTokenInput, opts ...request.Option) (*GetAuthorizationTokenOutput, error)
func (c *CodeArtifact) GetDomainPermissionsPolicy(input *GetDomainPermissionsPolicyInput) (*GetDomainPermissionsPolicyOutput, error)
func (c *CodeArtifact) GetDomainPermissionsPolicyRequest(input *GetDomainPermissionsPolicyInput) (req *request.Request, output *GetDomainPermissionsPolicyOutput)
func (c *CodeArtifact) GetDomainPermissionsPolicyWithContext(ctx aws.Context, input *GetDomainPermissionsPolicyInput, opts ...request.Option) (*GetDomainPermissionsPolicyOutput, error)
func (c *CodeArtifact) GetPackageVersionAsset(input *GetPackageVersionAssetInput) (*GetPackageVersionAssetOutput, error)
func (c *CodeArtifact) GetPackageVersionAssetRequest(input *GetPackageVersionAssetInput) (req *request.Request, output *GetPackageVersionAssetOutput)
func (c *CodeArtifact) GetPackageVersionAssetWithContext(ctx aws.Context, input *GetPackageVersionAssetInput, opts ...request.Option) (*GetPackageVersionAssetOutput, error)
func (c *CodeArtifact) GetPackageVersionReadme(input *GetPackageVersionReadmeInput) (*GetPackageVersionReadmeOutput, error)
func (c *CodeArtifact) GetPackageVersionReadmeRequest(input *GetPackageVersionReadmeInput) (req *request.Request, output *GetPackageVersionReadmeOutput)
func (c *CodeArtifact) GetPackageVersionReadmeWithContext(ctx aws.Context, input *GetPackageVersionReadmeInput, opts ...request.Option) (*GetPackageVersionReadmeOutput, error)
func (c *CodeArtifact) GetRepositoryEndpoint(input *GetRepositoryEndpointInput) (*GetRepositoryEndpointOutput, error)
func (c *CodeArtifact) GetRepositoryEndpointRequest(input *GetRepositoryEndpointInput) (req *request.Request, output *GetRepositoryEndpointOutput)
func (c *CodeArtifact) GetRepositoryEndpointWithContext(ctx aws.Context, input *GetRepositoryEndpointInput, opts ...request.Option) (*GetRepositoryEndpointOutput, error)
func (c *CodeArtifact) GetRepositoryPermissionsPolicy(input *GetRepositoryPermissionsPolicyInput) (*GetRepositoryPermissionsPolicyOutput, error)
func (c *CodeArtifact) GetRepositoryPermissionsPolicyRequest(input *GetRepositoryPermissionsPolicyInput) (req *request.Request, output *GetRepositoryPermissionsPolicyOutput)
func (c *CodeArtifact) GetRepositoryPermissionsPolicyWithContext(ctx aws.Context, input *GetRepositoryPermissionsPolicyInput, opts ...request.Option) (*GetRepositoryPermissionsPolicyOutput, error)
func (c *CodeArtifact) ListAllowedRepositoriesForGroup(input *ListAllowedRepositoriesForGroupInput) (*ListAllowedRepositoriesForGroupOutput, error)
func (c *CodeArtifact) ListAllowedRepositoriesForGroupPages(input *ListAllowedRepositoriesForGroupInput, fn func(*ListAllowedRepositoriesForGroupOutput, bool) bool) error
func (c *CodeArtifact) ListAllowedRepositoriesForGroupPagesWithContext(ctx aws.Context, input *ListAllowedRepositoriesForGroupInput, fn func(*ListAllowedRepositoriesForGroupOutput, bool) bool, opts ...request.Option) error
func (c *CodeArtifact) ListAllowedRepositoriesForGroupRequest(input *ListAllowedRepositoriesForGroupInput) (req *request.Request, output *ListAllowedRepositoriesForGroupOutput)
func (c *CodeArtifact) ListAllowedRepositoriesForGroupWithContext(ctx aws.Context, input *ListAllowedRepositoriesForGroupInput, opts ...request.Option) (*ListAllowedRepositoriesForGroupOutput, error)
func (c *CodeArtifact) ListAssociatedPackages(input *ListAssociatedPackagesInput) (*ListAssociatedPackagesOutput, error)
func (c *CodeArtifact) ListAssociatedPackagesPages(input *ListAssociatedPackagesInput, fn func(*ListAssociatedPackagesOutput, bool) bool) error
func (c *CodeArtifact) ListAssociatedPackagesPagesWithContext(ctx aws.Context, input *ListAssociatedPackagesInput, fn func(*ListAssociatedPackagesOutput, bool) bool, opts ...request.Option) error
func (c *CodeArtifact) ListAssociatedPackagesRequest(input *ListAssociatedPackagesInput) (req *request.Request, output *ListAssociatedPackagesOutput)
func (c *CodeArtifact) ListAssociatedPackagesWithContext(ctx aws.Context, input *ListAssociatedPackagesInput, opts ...request.Option) (*ListAssociatedPackagesOutput, error)
func (c *CodeArtifact) ListDomains(input *ListDomainsInput) (*ListDomainsOutput, error)
func (c *CodeArtifact) ListDomainsPages(input *ListDomainsInput, fn func(*ListDomainsOutput, bool) bool) error
func (c *CodeArtifact) ListDomainsPagesWithContext(ctx aws.Context, input *ListDomainsInput, fn func(*ListDomainsOutput, bool) bool, opts ...request.Option) error
func (c *CodeArtifact) ListDomainsRequest(input *ListDomainsInput) (req *request.Request, output *ListDomainsOutput)
func (c *CodeArtifact) ListDomainsWithContext(ctx aws.Context, input *ListDomainsInput, opts ...request.Option) (*ListDomainsOutput, error)
func (c *CodeArtifact) ListPackageGroups(input *ListPackageGroupsInput) (*ListPackageGroupsOutput, error)
func (c *CodeArtifact) ListPackageGroupsPages(input *ListPackageGroupsInput, fn func(*ListPackageGroupsOutput, bool) bool) error
func (c *CodeArtifact) ListPackageGroupsPagesWithContext(ctx aws.Context, input *ListPackageGroupsInput, fn func(*ListPackageGroupsOutput, bool) bool, opts ...request.Option) error
func (c *CodeArtifact) ListPackageGroupsRequest(input *ListPackageGroupsInput) (req *request.Request, output *ListPackageGroupsOutput)
func (c *CodeArtifact) ListPackageGroupsWithContext(ctx aws.Context, input *ListPackageGroupsInput, opts ...request.Option) (*ListPackageGroupsOutput, error)
func (c *CodeArtifact) ListPackageVersionAssets(input *ListPackageVersionAssetsInput) (*ListPackageVersionAssetsOutput, error)
func (c *CodeArtifact) ListPackageVersionAssetsPages(input *ListPackageVersionAssetsInput, fn func(*ListPackageVersionAssetsOutput, bool) bool) error
func (c *CodeArtifact) ListPackageVersionAssetsPagesWithContext(ctx aws.Context, input *ListPackageVersionAssetsInput, fn func(*ListPackageVersionAssetsOutput, bool) bool, opts ...request.Option) error
func (c *CodeArtifact) ListPackageVersionAssetsRequest(input *ListPackageVersionAssetsInput) (req *request.Request, output *ListPackageVersionAssetsOutput)
func (c *CodeArtifact) ListPackageVersionAssetsWithContext(ctx aws.Context, input *ListPackageVersionAssetsInput, opts ...request.Option) (*ListPackageVersionAssetsOutput, error)
func (c *CodeArtifact) ListPackageVersionDependencies(input *ListPackageVersionDependenciesInput) (*ListPackageVersionDependenciesOutput, error)
func (c *CodeArtifact) ListPackageVersionDependenciesRequest(input *ListPackageVersionDependenciesInput) (req *request.Request, output *ListPackageVersionDependenciesOutput)
func (c *CodeArtifact) ListPackageVersionDependenciesWithContext(ctx aws.Context, input *ListPackageVersionDependenciesInput, opts ...request.Option) (*ListPackageVersionDependenciesOutput, error)
func (c *CodeArtifact) ListPackageVersions(input *ListPackageVersionsInput) (*ListPackageVersionsOutput, error)
func (c *CodeArtifact) ListPackageVersionsPages(input *ListPackageVersionsInput, fn func(*ListPackageVersionsOutput, bool) bool) error
func (c *CodeArtifact) ListPackageVersionsPagesWithContext(ctx aws.Context, input *ListPackageVersionsInput, fn func(*ListPackageVersionsOutput, bool) bool, opts ...request.Option) error
func (c *CodeArtifact) ListPackageVersionsRequest(input *ListPackageVersionsInput) (req *request.Request, output *ListPackageVersionsOutput)
func (c *CodeArtifact) ListPackageVersionsWithContext(ctx aws.Context, input *ListPackageVersionsInput, opts ...request.Option) (*ListPackageVersionsOutput, error)
func (c *CodeArtifact) ListPackages(input *ListPackagesInput) (*ListPackagesOutput, error)
func (c *CodeArtifact) ListPackagesPages(input *ListPackagesInput, fn func(*ListPackagesOutput, bool) bool) error
func (c *CodeArtifact) ListPackagesPagesWithContext(ctx aws.Context, input *ListPackagesInput, fn func(*ListPackagesOutput, bool) bool, opts ...request.Option) error
func (c *CodeArtifact) ListPackagesRequest(input *ListPackagesInput) (req *request.Request, output *ListPackagesOutput)
func (c *CodeArtifact) ListPackagesWithContext(ctx aws.Context, input *ListPackagesInput, opts ...request.Option) (*ListPackagesOutput, error)
func (c *CodeArtifact) ListRepositories(input *ListRepositoriesInput) (*ListRepositoriesOutput, error)
func (c *CodeArtifact) ListRepositoriesInDomain(input *ListRepositoriesInDomainInput) (*ListRepositoriesInDomainOutput, error)
func (c *CodeArtifact) ListRepositoriesInDomainPages(input *ListRepositoriesInDomainInput, fn func(*ListRepositoriesInDomainOutput, bool) bool) error
func (c *CodeArtifact) ListRepositoriesInDomainPagesWithContext(ctx aws.Context, input *ListRepositoriesInDomainInput, fn func(*ListRepositoriesInDomainOutput, bool) bool, opts ...request.Option) error
func (c *CodeArtifact) ListRepositoriesInDomainRequest(input *ListRepositoriesInDomainInput) (req *request.Request, output *ListRepositoriesInDomainOutput)
func (c *CodeArtifact) ListRepositoriesInDomainWithContext(ctx aws.Context, input *ListRepositoriesInDomainInput, opts ...request.Option) (*ListRepositoriesInDomainOutput, error)
func (c *CodeArtifact) ListRepositoriesPages(input *ListRepositoriesInput, fn func(*ListRepositoriesOutput, bool) bool) error
func (c *CodeArtifact) ListRepositoriesPagesWithContext(ctx aws.Context, input *ListRepositoriesInput, fn func(*ListRepositoriesOutput, bool) bool, opts ...request.Option) error
func (c *CodeArtifact) ListRepositoriesRequest(input *ListRepositoriesInput) (req *request.Request, output *ListRepositoriesOutput)
func (c *CodeArtifact) ListRepositoriesWithContext(ctx aws.Context, input *ListRepositoriesInput, opts ...request.Option) (*ListRepositoriesOutput, error)
func (c *CodeArtifact) ListSubPackageGroups(input *ListSubPackageGroupsInput) (*ListSubPackageGroupsOutput, error)
func (c *CodeArtifact) ListSubPackageGroupsPages(input *ListSubPackageGroupsInput, fn func(*ListSubPackageGroupsOutput, bool) bool) error
func (c *CodeArtifact) ListSubPackageGroupsPagesWithContext(ctx aws.Context, input *ListSubPackageGroupsInput, fn func(*ListSubPackageGroupsOutput, bool) bool, opts ...request.Option) error
func (c *CodeArtifact) ListSubPackageGroupsRequest(input *ListSubPackageGroupsInput) (req *request.Request, output *ListSubPackageGroupsOutput)
func (c *CodeArtifact) ListSubPackageGroupsWithContext(ctx aws.Context, input *ListSubPackageGroupsInput, opts ...request.Option) (*ListSubPackageGroupsOutput, error)
func (c *CodeArtifact) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
func (c *CodeArtifact) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
func (c *CodeArtifact) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
func (c *CodeArtifact) PublishPackageVersion(input *PublishPackageVersionInput) (*PublishPackageVersionOutput, error)
func (c *CodeArtifact) PublishPackageVersionRequest(input *PublishPackageVersionInput) (req *request.Request, output *PublishPackageVersionOutput)
func (c *CodeArtifact) PublishPackageVersionWithContext(ctx aws.Context, input *PublishPackageVersionInput, opts ...request.Option) (*PublishPackageVersionOutput, error)
func (c *CodeArtifact) PutDomainPermissionsPolicy(input *PutDomainPermissionsPolicyInput) (*PutDomainPermissionsPolicyOutput, error)
func (c *CodeArtifact) PutDomainPermissionsPolicyRequest(input *PutDomainPermissionsPolicyInput) (req *request.Request, output *PutDomainPermissionsPolicyOutput)
func (c *CodeArtifact) PutDomainPermissionsPolicyWithContext(ctx aws.Context, input *PutDomainPermissionsPolicyInput, opts ...request.Option) (*PutDomainPermissionsPolicyOutput, error)
func (c *CodeArtifact) PutPackageOriginConfiguration(input *PutPackageOriginConfigurationInput) (*PutPackageOriginConfigurationOutput, error)
func (c *CodeArtifact) PutPackageOriginConfigurationRequest(input *PutPackageOriginConfigurationInput) (req *request.Request, output *PutPackageOriginConfigurationOutput)
func (c *CodeArtifact) PutPackageOriginConfigurationWithContext(ctx aws.Context, input *PutPackageOriginConfigurationInput, opts ...request.Option) (*PutPackageOriginConfigurationOutput, error)
func (c *CodeArtifact) PutRepositoryPermissionsPolicy(input *PutRepositoryPermissionsPolicyInput) (*PutRepositoryPermissionsPolicyOutput, error)
func (c *CodeArtifact) PutRepositoryPermissionsPolicyRequest(input *PutRepositoryPermissionsPolicyInput) (req *request.Request, output *PutRepositoryPermissionsPolicyOutput)
func (c *CodeArtifact) PutRepositoryPermissionsPolicyWithContext(ctx aws.Context, input *PutRepositoryPermissionsPolicyInput, opts ...request.Option) (*PutRepositoryPermissionsPolicyOutput, error)
func (c *CodeArtifact) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
func (c *CodeArtifact) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
func (c *CodeArtifact) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
func (c *CodeArtifact) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
func (c *CodeArtifact) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
func (c *CodeArtifact) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
func (c *CodeArtifact) UpdatePackageGroup(input *UpdatePackageGroupInput) (*UpdatePackageGroupOutput, error)
func (c *CodeArtifact) UpdatePackageGroupOriginConfiguration(input *UpdatePackageGroupOriginConfigurationInput) (*UpdatePackageGroupOriginConfigurationOutput, error)
func (c *CodeArtifact) UpdatePackageGroupOriginConfigurationRequest(input *UpdatePackageGroupOriginConfigurationInput) (req *request.Request, output *UpdatePackageGroupOriginConfigurationOutput)
func (c *CodeArtifact) UpdatePackageGroupOriginConfigurationWithContext(ctx aws.Context, input *UpdatePackageGroupOriginConfigurationInput, opts ...request.Option) (*UpdatePackageGroupOriginConfigurationOutput, error)
func (c *CodeArtifact) UpdatePackageGroupRequest(input *UpdatePackageGroupInput) (req *request.Request, output *UpdatePackageGroupOutput)
func (c *CodeArtifact) UpdatePackageGroupWithContext(ctx aws.Context, input *UpdatePackageGroupInput, opts ...request.Option) (*UpdatePackageGroupOutput, error)
func (c *CodeArtifact) UpdatePackageVersionsStatus(input *UpdatePackageVersionsStatusInput) (*UpdatePackageVersionsStatusOutput, error)
func (c *CodeArtifact) UpdatePackageVersionsStatusRequest(input *UpdatePackageVersionsStatusInput) (req *request.Request, output *UpdatePackageVersionsStatusOutput)
func (c *CodeArtifact) UpdatePackageVersionsStatusWithContext(ctx aws.Context, input *UpdatePackageVersionsStatusInput, opts ...request.Option) (*UpdatePackageVersionsStatusOutput, error)
func (c *CodeArtifact) UpdateRepository(input *UpdateRepositoryInput) (*UpdateRepositoryOutput, error)
func (c *CodeArtifact) UpdateRepositoryRequest(input *UpdateRepositoryInput) (req *request.Request, output *UpdateRepositoryOutput)
func (c *CodeArtifact) UpdateRepositoryWithContext(ctx aws.Context, input *UpdateRepositoryInput, opts ...request.Option) (*UpdateRepositoryOutput, error)
func AllowPublish_Values() []string
func AllowUpstream_Values() []string
func DomainStatus_Values() []string
func ExternalConnectionStatus_Values() []string
func HashAlgorithm_Values() []string
func PackageFormat_Values() []string
func PackageGroupAllowedRepositoryUpdateType_Values() []string
func PackageGroupAssociationType_Values() []string
func PackageGroupOriginRestrictionMode_Values() []string
func PackageGroupOriginRestrictionType_Values() []string
func PackageVersionErrorCode_Values() []string
func PackageVersionOriginType_Values() []string
func PackageVersionSortType_Values() []string
func PackageVersionStatus_Values() []string
func ResourceType_Values() []string
func ValidationExceptionReason_Values() []string
type AccessDeniedException
type AssetSummary
type AssociateExternalConnectionInput
type AssociateExternalConnectionOutput
type AssociatedPackage
type ConflictException
type CopyPackageVersionsInput
type CopyPackageVersionsOutput
type CreateDomainInput
type CreateDomainOutput
type CreatePackageGroupInput
type CreatePackageGroupOutput
type CreateRepositoryInput
type CreateRepositoryOutput
type DeleteDomainInput
type DeleteDomainOutput
type DeleteDomainPermissionsPolicyInput
type DeleteDomainPermissionsPolicyOutput
type DeletePackageGroupInput
type DeletePackageGroupOutput
type DeletePackageInput
type DeletePackageOutput
type DeletePackageVersionsInput
type DeletePackageVersionsOutput
type DeleteRepositoryInput
type DeleteRepositoryOutput
type DeleteRepositoryPermissionsPolicyInput
type DeleteRepositoryPermissionsPolicyOutput
type DescribeDomainInput
type DescribeDomainOutput
type DescribePackageGroupInput
type DescribePackageGroupOutput
type DescribePackageInput
type DescribePackageOutput
type DescribePackageVersionInput
type DescribePackageVersionOutput
type DescribeRepositoryInput
type DescribeRepositoryOutput
type DisassociateExternalConnectionInput
type DisassociateExternalConnectionOutput
type DisposePackageVersionsInput
type DisposePackageVersionsOutput
type DomainDescription
type DomainEntryPoint
type DomainSummary
type GetAssociatedPackageGroupInput
type GetAssociatedPackageGroupOutput
type GetAuthorizationTokenInput
type GetAuthorizationTokenOutput
type GetDomainPermissionsPolicyInput
type GetDomainPermissionsPolicyOutput
type GetPackageVersionAssetInput
type GetPackageVersionAssetOutput
type GetPackageVersionReadmeInput
type GetPackageVersionReadmeOutput
type GetRepositoryEndpointInput
type GetRepositoryEndpointOutput
type GetRepositoryPermissionsPolicyInput
type GetRepositoryPermissionsPolicyOutput
type InternalServerException
type LicenseInfo
type ListAllowedRepositoriesForGroupInput
type ListAllowedRepositoriesForGroupOutput
type ListAssociatedPackagesInput
type ListAssociatedPackagesOutput
type ListDomainsInput
type ListDomainsOutput
type ListPackageGroupsInput
type ListPackageGroupsOutput
type ListPackageVersionAssetsInput
type ListPackageVersionAssetsOutput
type ListPackageVersionDependenciesInput
type ListPackageVersionDependenciesOutput
type ListPackageVersionsInput
type ListPackageVersionsOutput
type ListPackagesInput
type ListPackagesOutput
type ListRepositoriesInDomainInput
type ListRepositoriesInDomainOutput
type ListRepositoriesInput
type ListRepositoriesOutput
type ListSubPackageGroupsInput
type ListSubPackageGroupsOutput
type ListTagsForResourceInput
type ListTagsForResourceOutput
type PackageDependency
type PackageDescription
type PackageGroupAllowedRepository
type PackageGroupDescription
type PackageGroupOriginConfiguration
type PackageGroupOriginRestriction
type PackageGroupReference
type PackageGroupSummary
type PackageOriginConfiguration
type PackageOriginRestrictions
type PackageSummary
type PackageVersionDescription
type PackageVersionError
type PackageVersionOrigin
type PackageVersionSummary
type PublishPackageVersionInput
type PublishPackageVersionOutput
type PutDomainPermissionsPolicyInput
type PutDomainPermissionsPolicyOutput
type PutPackageOriginConfigurationInput
type PutPackageOriginConfigurationOutput
type PutRepositoryPermissionsPolicyInput
type PutRepositoryPermissionsPolicyOutput
type RepositoryDescription
type RepositoryExternalConnectionInfo
type RepositorySummary
type ResourceNotFoundException
type ResourcePolicy
type ServiceQuotaExceededException
type SuccessfulPackageVersionInfo
type Tag
type TagResourceInput
type TagResourceOutput
type ThrottlingException
type UntagResourceInput
type UntagResourceOutput
type UpdatePackageGroupInput
type UpdatePackageGroupOriginConfigurationInput
type UpdatePackageGroupOriginConfigurationOutput
type UpdatePackageGroupOutput
type UpdatePackageVersionsStatusInput
type UpdatePackageVersionsStatusOutput
type UpdateRepositoryInput
type UpdateRepositoryOutput
type UpstreamRepository
type UpstreamRepositoryInfo
type ValidationException

Constants ▾

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

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

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

    // DomainStatusDeleted is a DomainStatus enum value
    DomainStatusDeleted = "Deleted"
)
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"
)
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"

    // PackageFormatSwift is a PackageFormat enum value
    PackageFormatSwift = "swift"
)
const (
    // PackageGroupAllowedRepositoryUpdateTypeAdded is a PackageGroupAllowedRepositoryUpdateType enum value
    PackageGroupAllowedRepositoryUpdateTypeAdded = "ADDED"

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

    // PackageGroupAssociationTypeWeak is a PackageGroupAssociationType enum value
    PackageGroupAssociationTypeWeak = "WEAK"
)
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"
)
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"
)
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"
)
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"
)
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"
)
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"
)
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"
)
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"
)
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

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

func AllowPublish_Values

func AllowPublish_Values() []string

AllowPublish_Values returns all elements of the AllowPublish enum

func AllowUpstream_Values

func AllowUpstream_Values() []string

AllowUpstream_Values returns all elements of the AllowUpstream enum

func DomainStatus_Values

func DomainStatus_Values() []string

DomainStatus_Values returns all elements of the DomainStatus enum

func ExternalConnectionStatus_Values

func ExternalConnectionStatus_Values() []string

ExternalConnectionStatus_Values returns all elements of the ExternalConnectionStatus enum

func HashAlgorithm_Values

func HashAlgorithm_Values() []string

HashAlgorithm_Values returns all elements of the HashAlgorithm enum

func PackageFormat_Values

func PackageFormat_Values() []string

PackageFormat_Values returns all elements of the PackageFormat enum

func PackageGroupAllowedRepositoryUpdateType_Values

func PackageGroupAllowedRepositoryUpdateType_Values() []string

PackageGroupAllowedRepositoryUpdateType_Values returns all elements of the PackageGroupAllowedRepositoryUpdateType enum

func PackageGroupAssociationType_Values

func PackageGroupAssociationType_Values() []string

PackageGroupAssociationType_Values returns all elements of the PackageGroupAssociationType enum

func PackageGroupOriginRestrictionMode_Values

func PackageGroupOriginRestrictionMode_Values() []string

PackageGroupOriginRestrictionMode_Values returns all elements of the PackageGroupOriginRestrictionMode enum

func PackageGroupOriginRestrictionType_Values

func PackageGroupOriginRestrictionType_Values() []string

PackageGroupOriginRestrictionType_Values returns all elements of the PackageGroupOriginRestrictionType enum

func PackageVersionErrorCode_Values

func PackageVersionErrorCode_Values() []string

PackageVersionErrorCode_Values returns all elements of the PackageVersionErrorCode enum

func PackageVersionOriginType_Values

func PackageVersionOriginType_Values() []string

PackageVersionOriginType_Values returns all elements of the PackageVersionOriginType enum

func PackageVersionSortType_Values

func PackageVersionSortType_Values() []string

PackageVersionSortType_Values returns all elements of the PackageVersionSortType enum

func PackageVersionStatus_Values

func PackageVersionStatus_Values() []string

PackageVersionStatus_Values returns all elements of the PackageVersionStatus enum

func ResourceType_Values

func ResourceType_Values() []string

ResourceType_Values returns all elements of the ResourceType enum

func ValidationExceptionReason_Values

func ValidationExceptionReason_Values() []string

ValidationExceptionReason_Values returns all elements of the ValidationExceptionReason enum

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.
    //
    // 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

func (s AssociateExternalConnectionInput) 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 (*AssociateExternalConnectionInput) SetDomain

func (s *AssociateExternalConnectionInput) SetDomain(v string) *AssociateExternalConnectionInput

SetDomain sets the Domain field's value.

func (*AssociateExternalConnectionInput) SetDomainOwner

func (s *AssociateExternalConnectionInput) SetDomainOwner(v string) *AssociateExternalConnectionInput

SetDomainOwner sets the DomainOwner field's value.

func (*AssociateExternalConnectionInput) SetExternalConnection

func (s *AssociateExternalConnectionInput) SetExternalConnection(v string) *AssociateExternalConnectionInput

SetExternalConnection sets the ExternalConnection field's value.

func (*AssociateExternalConnectionInput) SetRepository

func (s *AssociateExternalConnectionInput) SetRepository(v string) *AssociateExternalConnectionInput

SetRepository sets the Repository field's value.

func (AssociateExternalConnectionInput) String

func (s AssociateExternalConnectionInput) 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 (*AssociateExternalConnectionInput) Validate

func (s *AssociateExternalConnectionInput) Validate() error

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

func (s AssociateExternalConnectionOutput) 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 (*AssociateExternalConnectionOutput) SetRepository

func (s *AssociateExternalConnectionOutput) SetRepository(v *RepositoryDescription) *AssociateExternalConnectionOutput

SetRepository sets the Repository field's value.

func (AssociateExternalConnectionOutput) String

func (s AssociateExternalConnectionOutput) 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 AssociatedPackage

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 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 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

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

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

SetAssociationType sets the AssociationType field's value.

func (*AssociatedPackage) SetFormat

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

SetFormat sets the Format field's value.

func (*AssociatedPackage) SetNamespace

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

SetNamespace sets the Namespace field's value.

func (*AssociatedPackage) SetPackage

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

SetPackage sets the Package field's value.

func (AssociatedPackage) String

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

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

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

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

func (c *CodeArtifact) DeleteDomainPermissionsPolicy(input *DeleteDomainPermissionsPolicyInput) (*DeleteDomainPermissionsPolicyOutput, error)

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

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

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

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

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

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

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

func (c *CodeArtifact) DeleteRepositoryPermissionsPolicy(input *DeleteRepositoryPermissionsPolicyInput) (*DeleteRepositoryPermissionsPolicyOutput, error)

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

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

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

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

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

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

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

func (c *CodeArtifact) DisassociateExternalConnection(input *DisassociateExternalConnectionInput) (*DisassociateExternalConnectionOutput, error)

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

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

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

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:

  • generic

  • maven

  • npm

  • nuget

  • pypi

  • 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

func (c *CodeArtifact) GetRepositoryPermissionsPolicy(input *GetRepositoryPermissionsPolicyInput) (*GetRepositoryPermissionsPolicyOutput, error)

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

func (c *CodeArtifact) ListAllowedRepositoriesForGroup(input *ListAllowedRepositoriesForGroupInput) (*ListAllowedRepositoriesForGroupOutput, error)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

func (c *CodeArtifact) ListPackageVersionDependencies(input *ListPackageVersionDependenciesInput) (*ListPackageVersionDependenciesOutput, error)

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

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

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

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

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

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

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

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

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

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

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

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

func (c *CodeArtifact) PutPackageOriginConfiguration(input *PutPackageOriginConfigurationInput) (*PutPackageOriginConfigurationOutput, error)

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

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

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

func (c *CodeArtifact) PutRepositoryPermissionsPolicy(input *PutRepositoryPermissionsPolicyInput) (*PutRepositoryPermissionsPolicyOutput, error)

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

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

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

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

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

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

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

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

func (c *CodeArtifact) UpdatePackageGroupOriginConfiguration(input *UpdatePackageGroupOriginConfigurationInput) (*UpdatePackageGroupOriginConfigurationOutput, error)

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

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

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

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

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 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 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

func (s *CopyPackageVersionsInput) SetDomain(v string) *CopyPackageVersionsInput

SetDomain sets the Domain field's value.

func (*CopyPackageVersionsInput) SetDomainOwner

func (s *CopyPackageVersionsInput) SetDomainOwner(v string) *CopyPackageVersionsInput

SetDomainOwner sets the DomainOwner field's value.

func (*CopyPackageVersionsInput) SetFormat

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

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

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

SetNamespace sets the Namespace field's value.

func (*CopyPackageVersionsInput) SetPackage

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

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

func (s *CopyPackageVersionsInput) SetVersions(v []*string) *CopyPackageVersionsInput

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

func (s *CopyPackageVersionsOutput) SetFailedVersions(v map[string]*PackageVersionError) *CopyPackageVersionsOutput

SetFailedVersions sets the FailedVersions field's value.

func (*CopyPackageVersionsOutput) SetSuccessfulVersions

func (s *CopyPackageVersionsOutput) SetSuccessfulVersions(v map[string]*SuccessfulPackageVersionInfo) *CopyPackageVersionsOutput

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

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

func (s *CreateDomainOutput) SetDomain(v *DomainDescription) *CreateDomainOutput

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

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

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

func (s *CreatePackageGroupInput) SetContactInfo(v string) *CreatePackageGroupInput

SetContactInfo sets the ContactInfo field's value.

func (*CreatePackageGroupInput) SetDescription

func (s *CreatePackageGroupInput) SetDescription(v string) *CreatePackageGroupInput

SetDescription sets the Description field's value.

func (*CreatePackageGroupInput) SetDomain

func (s *CreatePackageGroupInput) SetDomain(v string) *CreatePackageGroupInput

SetDomain sets the Domain field's value.

func (*CreatePackageGroupInput) SetDomainOwner

func (s *CreatePackageGroupInput) SetDomainOwner(v string) *CreatePackageGroupInput

SetDomainOwner sets the DomainOwner field's value.

func (*CreatePackageGroupInput) SetPackageGroup

func (s *CreatePackageGroupInput) SetPackageGroup(v string) *CreatePackageGroupInput

SetPackageGroup sets the PackageGroup field's value.

func (*CreatePackageGroupInput) SetTags

func (s *CreatePackageGroupInput) SetTags(v []*Tag) *CreatePackageGroupInput

SetTags sets the Tags field's value.

func (CreatePackageGroupInput) String

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

func (s *CreatePackageGroupInput) Validate() error

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

type CreatePackageGroupOutput

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

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

func (s *CreatePackageGroupOutput) SetPackageGroup(v *PackageGroupDescription) *CreatePackageGroupOutput

SetPackageGroup sets the PackageGroup field's value.

func (CreatePackageGroupOutput) String

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

func (s *CreateRepositoryInput) SetDomain(v string) *CreateRepositoryInput

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

func (s *CreateRepositoryInput) SetTags(v []*Tag) *CreateRepositoryInput

SetTags sets the Tags field's value.

func (*CreateRepositoryInput) SetUpstreams

func (s *CreateRepositoryInput) SetUpstreams(v []*UpstreamRepository) *CreateRepositoryInput

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

func (s *CreateRepositoryOutput) SetRepository(v *RepositoryDescription) *CreateRepositoryOutput

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

func (s *DeleteDomainOutput) SetDomain(v *DomainDescription) *DeleteDomainOutput

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

func (s DeleteDomainPermissionsPolicyInput) 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 (*DeleteDomainPermissionsPolicyInput) SetDomain

func (s *DeleteDomainPermissionsPolicyInput) SetDomain(v string) *DeleteDomainPermissionsPolicyInput

SetDomain sets the Domain field's value.

func (*DeleteDomainPermissionsPolicyInput) SetDomainOwner

func (s *DeleteDomainPermissionsPolicyInput) SetDomainOwner(v string) *DeleteDomainPermissionsPolicyInput

SetDomainOwner sets the DomainOwner field's value.

func (*DeleteDomainPermissionsPolicyInput) SetPolicyRevision

func (s *DeleteDomainPermissionsPolicyInput) SetPolicyRevision(v string) *DeleteDomainPermissionsPolicyInput

SetPolicyRevision sets the PolicyRevision field's value.

func (DeleteDomainPermissionsPolicyInput) String

func (s DeleteDomainPermissionsPolicyInput) 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 (*DeleteDomainPermissionsPolicyInput) Validate

func (s *DeleteDomainPermissionsPolicyInput) Validate() error

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

func (s DeleteDomainPermissionsPolicyOutput) 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 (*DeleteDomainPermissionsPolicyOutput) SetPolicy

func (s *DeleteDomainPermissionsPolicyOutput) SetPolicy(v *ResourcePolicy) *DeleteDomainPermissionsPolicyOutput

SetPolicy sets the Policy field's value.

func (DeleteDomainPermissionsPolicyOutput) String

func (s DeleteDomainPermissionsPolicyOutput) 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 DeletePackageGroupInput

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

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

func (s *DeletePackageGroupInput) SetDomain(v string) *DeletePackageGroupInput

SetDomain sets the Domain field's value.

func (*DeletePackageGroupInput) SetDomainOwner

func (s *DeletePackageGroupInput) SetDomainOwner(v string) *DeletePackageGroupInput

SetDomainOwner sets the DomainOwner field's value.

func (*DeletePackageGroupInput) SetPackageGroup

func (s *DeletePackageGroupInput) SetPackageGroup(v string) *DeletePackageGroupInput

SetPackageGroup sets the PackageGroup field's value.

func (DeletePackageGroupInput) String

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

func (s *DeletePackageGroupInput) Validate() error

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

type DeletePackageGroupOutput

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

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

func (s *DeletePackageGroupOutput) SetPackageGroup(v *PackageGroupDescription) *DeletePackageGroupOutput

SetPackageGroup sets the PackageGroup field's value.

func (DeletePackageGroupOutput) String

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

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 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 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

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

func (s *DeletePackageInput) SetDomain(v string) *DeletePackageInput

SetDomain sets the Domain field's value.

func (*DeletePackageInput) SetDomainOwner

func (s *DeletePackageInput) SetDomainOwner(v string) *DeletePackageInput

SetDomainOwner sets the DomainOwner field's value.

func (*DeletePackageInput) SetFormat

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

SetFormat sets the Format field's value.

func (*DeletePackageInput) SetNamespace

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

SetNamespace sets the Namespace field's value.

func (*DeletePackageInput) SetPackage

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

SetPackage sets the Package field's value.

func (*DeletePackageInput) SetRepository

func (s *DeletePackageInput) SetRepository(v string) *DeletePackageInput

SetRepository sets the Repository field's value.

func (DeletePackageInput) String

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

func (s *DeletePackageInput) Validate() error

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

type DeletePackageOutput

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

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

func (s *DeletePackageOutput) SetDeletedPackage(v *PackageSummary) *DeletePackageOutput

SetDeletedPackage sets the DeletedPackage field's value.

func (DeletePackageOutput) String

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 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 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

func (s *DeletePackageVersionsInput) SetDomain(v string) *DeletePackageVersionsInput

SetDomain sets the Domain field's value.

func (*DeletePackageVersionsInput) SetDomainOwner

func (s *DeletePackageVersionsInput) SetDomainOwner(v string) *DeletePackageVersionsInput

SetDomainOwner sets the DomainOwner field's value.

func (*DeletePackageVersionsInput) SetExpectedStatus

func (s *DeletePackageVersionsInput) SetExpectedStatus(v string) *DeletePackageVersionsInput

SetExpectedStatus sets the ExpectedStatus field's value.

func (*DeletePackageVersionsInput) SetFormat

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

SetFormat sets the Format field's value.

func (*DeletePackageVersionsInput) SetNamespace

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

SetNamespace sets the Namespace field's value.

func (*DeletePackageVersionsInput) SetPackage

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

SetPackage sets the Package field's value.

func (*DeletePackageVersionsInput) SetRepository

func (s *DeletePackageVersionsInput) SetRepository(v string) *DeletePackageVersionsInput

SetRepository sets the Repository field's value.

func (*DeletePackageVersionsInput) SetVersions

func (s *DeletePackageVersionsInput) SetVersions(v []*string) *DeletePackageVersionsInput

SetVersions sets the Versions field's value.

func (DeletePackageVersionsInput) String

func (s DeletePackageVersionsInput) 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 (*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

func (s *DeletePackageVersionsOutput) SetFailedVersions(v map[string]*PackageVersionError) *DeletePackageVersionsOutput

SetFailedVersions sets the FailedVersions field's value.

func (*DeletePackageVersionsOutput) SetSuccessfulVersions

func (s *DeletePackageVersionsOutput) SetSuccessfulVersions(v map[string]*SuccessfulPackageVersionInfo) *DeletePackageVersionsOutput

SetSuccessfulVersions sets the SuccessfulVersions field's value.

func (DeletePackageVersionsOutput) String

func (s DeletePackageVersionsOutput) 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 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

func (s *DeleteRepositoryInput) SetDomain(v string) *DeleteRepositoryInput

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

func (s *DeleteRepositoryOutput) SetRepository(v *RepositoryDescription) *DeleteRepositoryOutput

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

func (s DeleteRepositoryPermissionsPolicyInput) 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 (*DeleteRepositoryPermissionsPolicyInput) SetDomain

func (s *DeleteRepositoryPermissionsPolicyInput) SetDomain(v string) *DeleteRepositoryPermissionsPolicyInput

SetDomain sets the Domain field's value.

func (*DeleteRepositoryPermissionsPolicyInput) SetDomainOwner

func (s *DeleteRepositoryPermissionsPolicyInput) SetDomainOwner(v string) *DeleteRepositoryPermissionsPolicyInput

SetDomainOwner sets the DomainOwner field's value.

func (*DeleteRepositoryPermissionsPolicyInput) SetPolicyRevision

func (s *DeleteRepositoryPermissionsPolicyInput) SetPolicyRevision(v string) *DeleteRepositoryPermissionsPolicyInput

SetPolicyRevision sets the PolicyRevision field's value.

func (*DeleteRepositoryPermissionsPolicyInput) SetRepository

func (s *DeleteRepositoryPermissionsPolicyInput) SetRepository(v string) *DeleteRepositoryPermissionsPolicyInput

SetRepository sets the Repository field's value.

func (DeleteRepositoryPermissionsPolicyInput) String

func (s DeleteRepositoryPermissionsPolicyInput) 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 (*DeleteRepositoryPermissionsPolicyInput) Validate

func (s *DeleteRepositoryPermissionsPolicyInput) Validate() error

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

func (s DeleteRepositoryPermissionsPolicyOutput) 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 (*DeleteRepositoryPermissionsPolicyOutput) SetPolicy

func (s *DeleteRepositoryPermissionsPolicyOutput) SetPolicy(v *ResourcePolicy) *DeleteRepositoryPermissionsPolicyOutput

SetPolicy sets the Policy field's value.

func (DeleteRepositoryPermissionsPolicyOutput) String

func (s DeleteRepositoryPermissionsPolicyOutput) 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 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

func (s *DescribeDomainInput) SetDomain(v string) *DescribeDomainInput

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

func (s *DescribeDomainOutput) SetDomain(v *DomainDescription) *DescribeDomainOutput

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

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

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

func (s *DescribePackageGroupInput) SetDomain(v string) *DescribePackageGroupInput

SetDomain sets the Domain field's value.

func (*DescribePackageGroupInput) SetDomainOwner

func (s *DescribePackageGroupInput) SetDomainOwner(v string) *DescribePackageGroupInput

SetDomainOwner sets the DomainOwner field's value.

func (*DescribePackageGroupInput) SetPackageGroup

func (s *DescribePackageGroupInput) SetPackageGroup(v string) *DescribePackageGroupInput

SetPackageGroup sets the PackageGroup field's value.

func (DescribePackageGroupInput) String

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

func (s *DescribePackageGroupInput) Validate() error

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

type DescribePackageGroupOutput

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

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

func (s *DescribePackageGroupOutput) SetPackageGroup(v *PackageGroupDescription) *DescribePackageGroupOutput

SetPackageGroup sets the PackageGroup field's value.

func (DescribePackageGroupOutput) String

func (s DescribePackageGroupOutput) 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 DescribePackageInput

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 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 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

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

func (s *DescribePackageInput) SetDomain(v string) *DescribePackageInput

SetDomain sets the Domain field's value.

func (*DescribePackageInput) SetDomainOwner

func (s *DescribePackageInput) SetDomainOwner(v string) *DescribePackageInput

SetDomainOwner sets the DomainOwner field's value.

func (*DescribePackageInput) SetFormat

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

SetFormat sets the Format field's value.

func (*DescribePackageInput) SetNamespace

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

SetNamespace sets the Namespace field's value.

func (*DescribePackageInput) SetPackage

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

SetPackage sets the Package field's value.

func (*DescribePackageInput) SetRepository

func (s *DescribePackageInput) SetRepository(v string) *DescribePackageInput

SetRepository sets the Repository field's value.

func (DescribePackageInput) String

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

func (s *DescribePackageInput) Validate() error

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

type DescribePackageOutput

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

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

func (s *DescribePackageOutput) SetPackage(v *PackageDescription) *DescribePackageOutput

SetPackage sets the Package field's value.

func (DescribePackageOutput) String

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 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 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

func (s *DescribePackageVersionInput) SetDomain(v string) *DescribePackageVersionInput

SetDomain sets the Domain field's value.

func (*DescribePackageVersionInput) SetDomainOwner

func (s *DescribePackageVersionInput) SetDomainOwner(v string) *DescribePackageVersionInput

SetDomainOwner sets the DomainOwner field's value.

func (*DescribePackageVersionInput) SetFormat

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

SetFormat sets the Format field's value.

func (*DescribePackageVersionInput) SetNamespace

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

SetNamespace sets the Namespace field's value.

func (*DescribePackageVersionInput) SetPackage

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

SetPackage sets the Package field's value.

func (*DescribePackageVersionInput) SetPackageVersion

func (s *DescribePackageVersionInput) SetPackageVersion(v string) *DescribePackageVersionInput

SetPackageVersion sets the PackageVersion field's value.

func (*DescribePackageVersionInput) SetRepository

func (s *DescribePackageVersionInput) SetRepository(v string) *DescribePackageVersionInput

SetRepository sets the Repository field's value.

func (DescribePackageVersionInput) String

func (s DescribePackageVersionInput) 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 (*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

func (s *DescribePackageVersionOutput) SetPackageVersion(v *PackageVersionDescription) *DescribePackageVersionOutput

SetPackageVersion sets the PackageVersion field's value.

func (DescribePackageVersionOutput) String

func (s DescribePackageVersionOutput) 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 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

func (s *DescribeRepositoryInput) SetDomain(v string) *DescribeRepositoryInput

SetDomain sets the Domain field's value.

func (*DescribeRepositoryInput) SetDomainOwner

func (s *DescribeRepositoryInput) SetDomainOwner(v string) *DescribeRepositoryInput

SetDomainOwner sets the DomainOwner field's value.

func (*DescribeRepositoryInput) SetRepository

func (s *DescribeRepositoryInput) SetRepository(v string) *DescribeRepositoryInput

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

func (s *DescribeRepositoryOutput) SetRepository(v *RepositoryDescription) *DescribeRepositoryOutput

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

func (s DisassociateExternalConnectionInput) 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 (*DisassociateExternalConnectionInput) SetDomain

func (s *DisassociateExternalConnectionInput) SetDomain(v string) *DisassociateExternalConnectionInput

SetDomain sets the Domain field's value.

func (*DisassociateExternalConnectionInput) SetDomainOwner

func (s *DisassociateExternalConnectionInput) SetDomainOwner(v string) *DisassociateExternalConnectionInput

SetDomainOwner sets the DomainOwner field's value.

func (*DisassociateExternalConnectionInput) SetExternalConnection

func (s *DisassociateExternalConnectionInput) SetExternalConnection(v string) *DisassociateExternalConnectionInput

SetExternalConnection sets the ExternalConnection field's value.

func (*DisassociateExternalConnectionInput) SetRepository

func (s *DisassociateExternalConnectionInput) SetRepository(v string) *DisassociateExternalConnectionInput

SetRepository sets the Repository field's value.

func (DisassociateExternalConnectionInput) String

func (s DisassociateExternalConnectionInput) 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 (*DisassociateExternalConnectionInput) Validate

func (s *DisassociateExternalConnectionInput) Validate() error

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

func (s DisassociateExternalConnectionOutput) 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 (*DisassociateExternalConnectionOutput) SetRepository

func (s *DisassociateExternalConnectionOutput) SetRepository(v *RepositoryDescription) *DisassociateExternalConnectionOutput

SetRepository sets the Repository field's value.

func (DisassociateExternalConnectionOutput) String

func (s DisassociateExternalConnectionOutput) 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 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 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 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

func (s *DisposePackageVersionsInput) SetDomain(v string) *DisposePackageVersionsInput

SetDomain sets the Domain field's value.

func (*DisposePackageVersionsInput) SetDomainOwner

func (s *DisposePackageVersionsInput) SetDomainOwner(v string) *DisposePackageVersionsInput

SetDomainOwner sets the DomainOwner field's value.

func (*DisposePackageVersionsInput) SetExpectedStatus

func (s *DisposePackageVersionsInput) SetExpectedStatus(v string) *DisposePackageVersionsInput

SetExpectedStatus sets the ExpectedStatus field's value.

func (*DisposePackageVersionsInput) SetFormat

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

SetFormat sets the Format field's value.

func (*DisposePackageVersionsInput) SetNamespace

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

SetNamespace sets the Namespace field's value.

func (*DisposePackageVersionsInput) SetPackage

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

SetPackage sets the Package field's value.

func (*DisposePackageVersionsInput) SetRepository

func (s *DisposePackageVersionsInput) SetRepository(v string) *DisposePackageVersionsInput

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

func (s *DisposePackageVersionsInput) SetVersions(v []*string) *DisposePackageVersionsInput

SetVersions sets the Versions field's value.

func (DisposePackageVersionsInput) String

func (s DisposePackageVersionsInput) 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 (*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

func (s *DisposePackageVersionsOutput) SetFailedVersions(v map[string]*PackageVersionError) *DisposePackageVersionsOutput

SetFailedVersions sets the FailedVersions field's value.

func (*DisposePackageVersionsOutput) SetSuccessfulVersions

func (s *DisposePackageVersionsOutput) SetSuccessfulVersions(v map[string]*SuccessfulPackageVersionInfo) *DisposePackageVersionsOutput

SetSuccessfulVersions sets the SuccessfulVersions field's value.

func (DisposePackageVersionsOutput) String

func (s DisposePackageVersionsOutput) 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 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

func (s *DomainDescription) SetArn(v string) *DomainDescription

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

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

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

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

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

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

func (s *DomainEntryPoint) SetExternalConnectionName(v string) *DomainEntryPoint

SetExternalConnectionName sets the ExternalConnectionName field's value.

func (*DomainEntryPoint) SetRepositoryName

func (s *DomainEntryPoint) SetRepositoryName(v string) *DomainEntryPoint

SetRepositoryName sets the RepositoryName field's value.

func (DomainEntryPoint) String

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

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 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 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

func (s GetAssociatedPackageGroupInput) 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 (*GetAssociatedPackageGroupInput) SetDomain

func (s *GetAssociatedPackageGroupInput) SetDomain(v string) *GetAssociatedPackageGroupInput

SetDomain sets the Domain field's value.

func (*GetAssociatedPackageGroupInput) SetDomainOwner

func (s *GetAssociatedPackageGroupInput) SetDomainOwner(v string) *GetAssociatedPackageGroupInput

SetDomainOwner sets the DomainOwner field's value.

func (*GetAssociatedPackageGroupInput) SetFormat

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

SetFormat sets the Format field's value.

func (*GetAssociatedPackageGroupInput) SetNamespace

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

SetNamespace sets the Namespace field's value.

func (*GetAssociatedPackageGroupInput) SetPackage

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

SetPackage sets the Package field's value.

func (GetAssociatedPackageGroupInput) String

func (s GetAssociatedPackageGroupInput) 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 (*GetAssociatedPackageGroupInput) Validate

func (s *GetAssociatedPackageGroupInput) Validate() error

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

type GetAssociatedPackageGroupOutput

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

func (s GetAssociatedPackageGroupOutput) 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 (*GetAssociatedPackageGroupOutput) SetAssociationType

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

SetAssociationType sets the AssociationType field's value.

func (*GetAssociatedPackageGroupOutput) SetPackageGroup

func (s *GetAssociatedPackageGroupOutput) SetPackageGroup(v *PackageGroupDescription) *GetAssociatedPackageGroupOutput

SetPackageGroup sets the PackageGroup field's value.

func (GetAssociatedPackageGroupOutput) String

func (s GetAssociatedPackageGroupOutput) 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 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

func (s *GetAuthorizationTokenInput) SetDomain(v string) *GetAuthorizationTokenInput

SetDomain sets the Domain field's value.

func (*GetAuthorizationTokenInput) SetDomainOwner

func (s *GetAuthorizationTokenInput) SetDomainOwner(v string) *GetAuthorizationTokenInput

SetDomainOwner sets the DomainOwner field's value.

func (*GetAuthorizationTokenInput) SetDurationSeconds

func (s *GetAuthorizationTokenInput) SetDurationSeconds(v int64) *GetAuthorizationTokenInput

SetDurationSeconds sets the DurationSeconds field's value.

func (GetAuthorizationTokenInput) String

func (s GetAuthorizationTokenInput) 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 (*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

func (s *GetAuthorizationTokenOutput) SetExpiration(v time.Time) *GetAuthorizationTokenOutput

SetExpiration sets the Expiration field's value.

func (GetAuthorizationTokenOutput) String

func (s GetAuthorizationTokenOutput) 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 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

func (s GetDomainPermissionsPolicyInput) 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 (*GetDomainPermissionsPolicyInput) SetDomain

func (s *GetDomainPermissionsPolicyInput) SetDomain(v string) *GetDomainPermissionsPolicyInput

SetDomain sets the Domain field's value.

func (*GetDomainPermissionsPolicyInput) SetDomainOwner

func (s *GetDomainPermissionsPolicyInput) SetDomainOwner(v string) *GetDomainPermissionsPolicyInput

SetDomainOwner sets the DomainOwner field's value.

func (GetDomainPermissionsPolicyInput) String

func (s GetDomainPermissionsPolicyInput) 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 (*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

func (s GetDomainPermissionsPolicyOutput) 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 (*GetDomainPermissionsPolicyOutput) SetPolicy

func (s *GetDomainPermissionsPolicyOutput) SetPolicy(v *ResourcePolicy) *GetDomainPermissionsPolicyOutput

SetPolicy sets the Policy field's value.

func (GetDomainPermissionsPolicyOutput) String

func (s GetDomainPermissionsPolicyOutput) 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 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 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 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

func (s *GetPackageVersionAssetInput) SetAsset(v string) *GetPackageVersionAssetInput

SetAsset sets the Asset field's value.

func (*GetPackageVersionAssetInput) SetDomain

func (s *GetPackageVersionAssetInput) SetDomain(v string) *GetPackageVersionAssetInput

SetDomain sets the Domain field's value.

func (*GetPackageVersionAssetInput) SetDomainOwner

func (s *GetPackageVersionAssetInput) SetDomainOwner(v string) *GetPackageVersionAssetInput

SetDomainOwner sets the DomainOwner field's value.

func (*GetPackageVersionAssetInput) SetFormat

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

SetFormat sets the Format field's value.

func (*GetPackageVersionAssetInput) SetNamespace

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

SetNamespace sets the Namespace field's value.

func (*GetPackageVersionAssetInput) SetPackage

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

SetPackage sets the Package field's value.

func (*GetPackageVersionAssetInput) SetPackageVersion

func (s *GetPackageVersionAssetInput) SetPackageVersion(v string) *GetPackageVersionAssetInput

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

func (s *GetPackageVersionAssetInput) SetRepository(v string) *GetPackageVersionAssetInput

SetRepository sets the Repository field's value.

func (GetPackageVersionAssetInput) String

func (s GetPackageVersionAssetInput) 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 (*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

func (s *GetPackageVersionAssetOutput) SetAsset(v io.ReadCloser) *GetPackageVersionAssetOutput

SetAsset sets the Asset field's value.

func (*GetPackageVersionAssetOutput) SetAssetName

func (s *GetPackageVersionAssetOutput) SetAssetName(v string) *GetPackageVersionAssetOutput

SetAssetName sets the AssetName field's value.

func (*GetPackageVersionAssetOutput) SetPackageVersion

func (s *GetPackageVersionAssetOutput) SetPackageVersion(v string) *GetPackageVersionAssetOutput

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

func (s GetPackageVersionAssetOutput) 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 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 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 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

func (s *GetPackageVersionReadmeInput) SetDomain(v string) *GetPackageVersionReadmeInput

SetDomain sets the Domain field's value.

func (*GetPackageVersionReadmeInput) SetDomainOwner

func (s *GetPackageVersionReadmeInput) SetDomainOwner(v string) *GetPackageVersionReadmeInput

SetDomainOwner sets the DomainOwner field's value.

func (*GetPackageVersionReadmeInput) SetFormat

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

SetFormat sets the Format field's value.

func (*GetPackageVersionReadmeInput) SetNamespace

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

SetNamespace sets the Namespace field's value.

func (*GetPackageVersionReadmeInput) SetPackage

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

SetPackage sets the Package field's value.

func (*GetPackageVersionReadmeInput) SetPackageVersion

func (s *GetPackageVersionReadmeInput) SetPackageVersion(v string) *GetPackageVersionReadmeInput

SetPackageVersion sets the PackageVersion field's value.

func (*GetPackageVersionReadmeInput) SetRepository

func (s *GetPackageVersionReadmeInput) SetRepository(v string) *GetPackageVersionReadmeInput

SetRepository sets the Repository field's value.

func (GetPackageVersionReadmeInput) String

func (s GetPackageVersionReadmeInput) 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 (*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 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 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

func (s GetPackageVersionReadmeOutput) 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 (*GetPackageVersionReadmeOutput) SetFormat

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

SetFormat sets the Format field's value.

func (*GetPackageVersionReadmeOutput) SetNamespace

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

SetNamespace sets the Namespace field's value.

func (*GetPackageVersionReadmeOutput) SetPackage

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

SetPackage sets the Package field's value.

func (*GetPackageVersionReadmeOutput) SetReadme

func (s *GetPackageVersionReadmeOutput) SetReadme(v string) *GetPackageVersionReadmeOutput

SetReadme sets the Readme field's value.

func (*GetPackageVersionReadmeOutput) SetVersion

func (s *GetPackageVersionReadmeOutput) SetVersion(v string) *GetPackageVersionReadmeOutput

SetVersion sets the Version field's value.

func (*GetPackageVersionReadmeOutput) SetVersionRevision

func (s *GetPackageVersionReadmeOutput) SetVersionRevision(v string) *GetPackageVersionReadmeOutput

SetVersionRevision sets the VersionRevision field's value.

func (GetPackageVersionReadmeOutput) String

func (s GetPackageVersionReadmeOutput) 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 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

func (s *GetRepositoryEndpointInput) SetDomain(v string) *GetRepositoryEndpointInput

SetDomain sets the Domain field's value.

func (*GetRepositoryEndpointInput) SetDomainOwner

func (s *GetRepositoryEndpointInput) SetDomainOwner(v string) *GetRepositoryEndpointInput

SetDomainOwner sets the DomainOwner field's value.

func (*GetRepositoryEndpointInput) SetFormat

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

SetFormat sets the Format field's value.

func (*GetRepositoryEndpointInput) SetRepository

func (s *GetRepositoryEndpointInput) SetRepository(v string) *GetRepositoryEndpointInput

SetRepository sets the Repository field's value.

func (GetRepositoryEndpointInput) String

func (s GetRepositoryEndpointInput) 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 (*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

func (s GetRepositoryEndpointOutput) 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 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

func (s GetRepositoryPermissionsPolicyInput) 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 (*GetRepositoryPermissionsPolicyInput) SetDomain

func (s *GetRepositoryPermissionsPolicyInput) SetDomain(v string) *GetRepositoryPermissionsPolicyInput

SetDomain sets the Domain field's value.

func (*GetRepositoryPermissionsPolicyInput) SetDomainOwner

func (s *GetRepositoryPermissionsPolicyInput) SetDomainOwner(v string) *GetRepositoryPermissionsPolicyInput

SetDomainOwner sets the DomainOwner field's value.

func (*GetRepositoryPermissionsPolicyInput) SetRepository

func (s *GetRepositoryPermissionsPolicyInput) SetRepository(v string) *GetRepositoryPermissionsPolicyInput

SetRepository sets the Repository field's value.

func (GetRepositoryPermissionsPolicyInput) String

func (s GetRepositoryPermissionsPolicyInput) 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 (*GetRepositoryPermissionsPolicyInput) Validate

func (s *GetRepositoryPermissionsPolicyInput) Validate() error

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

func (s GetRepositoryPermissionsPolicyOutput) 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 (*GetRepositoryPermissionsPolicyOutput) SetPolicy

func (s *GetRepositoryPermissionsPolicyOutput) SetPolicy(v *ResourcePolicy) *GetRepositoryPermissionsPolicyOutput

SetPolicy sets the Policy field's value.

func (GetRepositoryPermissionsPolicyOutput) String

func (s GetRepositoryPermissionsPolicyOutput) 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 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

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 `location:"querystring" locationName:"originRestrictionType" type:"string" required:"true" enum:"PackageGroupOriginRestrictionType"`

    // 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

func (s ListAllowedRepositoriesForGroupInput) 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 (*ListAllowedRepositoriesForGroupInput) SetDomain

func (s *ListAllowedRepositoriesForGroupInput) SetDomain(v string) *ListAllowedRepositoriesForGroupInput

SetDomain sets the Domain field's value.

func (*ListAllowedRepositoriesForGroupInput) SetDomainOwner

func (s *ListAllowedRepositoriesForGroupInput) SetDomainOwner(v string) *ListAllowedRepositoriesForGroupInput

SetDomainOwner sets the DomainOwner field's value.

func (*ListAllowedRepositoriesForGroupInput) SetMaxResults

func (s *ListAllowedRepositoriesForGroupInput) SetMaxResults(v int64) *ListAllowedRepositoriesForGroupInput

SetMaxResults sets the MaxResults field's value.

func (*ListAllowedRepositoriesForGroupInput) SetNextToken

func (s *ListAllowedRepositoriesForGroupInput) SetNextToken(v string) *ListAllowedRepositoriesForGroupInput

SetNextToken sets the NextToken field's value.

func (*ListAllowedRepositoriesForGroupInput) SetOriginRestrictionType

func (s *ListAllowedRepositoriesForGroupInput) SetOriginRestrictionType(v string) *ListAllowedRepositoriesForGroupInput

SetOriginRestrictionType sets the OriginRestrictionType field's value.

func (*ListAllowedRepositoriesForGroupInput) SetPackageGroup

func (s *ListAllowedRepositoriesForGroupInput) SetPackageGroup(v string) *ListAllowedRepositoriesForGroupInput

SetPackageGroup sets the PackageGroup field's value.

func (ListAllowedRepositoriesForGroupInput) String

func (s ListAllowedRepositoriesForGroupInput) 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 (*ListAllowedRepositoriesForGroupInput) Validate

func (s *ListAllowedRepositoriesForGroupInput) Validate() error

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

type ListAllowedRepositoriesForGroupOutput

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

func (s ListAllowedRepositoriesForGroupOutput) 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 (*ListAllowedRepositoriesForGroupOutput) SetAllowedRepositories

func (s *ListAllowedRepositoriesForGroupOutput) SetAllowedRepositories(v []*string) *ListAllowedRepositoriesForGroupOutput

SetAllowedRepositories sets the AllowedRepositories field's value.

func (*ListAllowedRepositoriesForGroupOutput) SetNextToken

func (s *ListAllowedRepositoriesForGroupOutput) SetNextToken(v string) *ListAllowedRepositoriesForGroupOutput

SetNextToken sets the NextToken field's value.

func (ListAllowedRepositoriesForGroupOutput) String

func (s ListAllowedRepositoriesForGroupOutput) 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 ListAssociatedPackagesInput

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

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

func (s *ListAssociatedPackagesInput) SetDomain(v string) *ListAssociatedPackagesInput

SetDomain sets the Domain field's value.

func (*ListAssociatedPackagesInput) SetDomainOwner

func (s *ListAssociatedPackagesInput) SetDomainOwner(v string) *ListAssociatedPackagesInput

SetDomainOwner sets the DomainOwner field's value.

func (*ListAssociatedPackagesInput) SetMaxResults

func (s *ListAssociatedPackagesInput) SetMaxResults(v int64) *ListAssociatedPackagesInput

SetMaxResults sets the MaxResults field's value.

func (*ListAssociatedPackagesInput) SetNextToken

func (s *ListAssociatedPackagesInput) SetNextToken(v string) *ListAssociatedPackagesInput

SetNextToken sets the NextToken field's value.

func (*ListAssociatedPackagesInput) SetPackageGroup

func (s *ListAssociatedPackagesInput) SetPackageGroup(v string) *ListAssociatedPackagesInput

SetPackageGroup sets the PackageGroup field's value.

func (*ListAssociatedPackagesInput) SetPreview

func (s *ListAssociatedPackagesInput) SetPreview(v bool) *ListAssociatedPackagesInput

SetPreview sets the Preview field's value.

func (ListAssociatedPackagesInput) String

func (s ListAssociatedPackagesInput) 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 (*ListAssociatedPackagesInput) Validate

func (s *ListAssociatedPackagesInput) Validate() error

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

type ListAssociatedPackagesOutput

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

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

func (s *ListAssociatedPackagesOutput) SetNextToken(v string) *ListAssociatedPackagesOutput

SetNextToken sets the NextToken field's value.

func (*ListAssociatedPackagesOutput) SetPackages

func (s *ListAssociatedPackagesOutput) SetPackages(v []*AssociatedPackage) *ListAssociatedPackagesOutput

SetPackages sets the Packages field's value.

func (ListAssociatedPackagesOutput) String

func (s ListAssociatedPackagesOutput) 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 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

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

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

func (s *ListPackageGroupsInput) SetDomain(v string) *ListPackageGroupsInput

SetDomain sets the Domain field's value.

func (*ListPackageGroupsInput) SetDomainOwner

func (s *ListPackageGroupsInput) SetDomainOwner(v string) *ListPackageGroupsInput

SetDomainOwner sets the DomainOwner field's value.

func (*ListPackageGroupsInput) SetMaxResults

func (s *ListPackageGroupsInput) SetMaxResults(v int64) *ListPackageGroupsInput

SetMaxResults sets the MaxResults field's value.

func (*ListPackageGroupsInput) SetNextToken

func (s *ListPackageGroupsInput) SetNextToken(v string) *ListPackageGroupsInput

SetNextToken sets the NextToken field's value.

func (*ListPackageGroupsInput) SetPrefix

func (s *ListPackageGroupsInput) SetPrefix(v string) *ListPackageGroupsInput

SetPrefix sets the Prefix field's value.

func (ListPackageGroupsInput) String

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

func (s *ListPackageGroupsInput) Validate() error

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

type ListPackageGroupsOutput

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

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

func (s *ListPackageGroupsOutput) SetNextToken(v string) *ListPackageGroupsOutput

SetNextToken sets the NextToken field's value.

func (*ListPackageGroupsOutput) SetPackageGroups

func (s *ListPackageGroupsOutput) SetPackageGroups(v []*PackageGroupSummary) *ListPackageGroupsOutput

SetPackageGroups sets the PackageGroups field's value.

func (ListPackageGroupsOutput) String

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 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 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

func (s ListPackageVersionAssetsInput) 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 (*ListPackageVersionAssetsInput) SetDomain

func (s *ListPackageVersionAssetsInput) SetDomain(v string) *ListPackageVersionAssetsInput

SetDomain sets the Domain field's value.

func (*ListPackageVersionAssetsInput) SetDomainOwner

func (s *ListPackageVersionAssetsInput) SetDomainOwner(v string) *ListPackageVersionAssetsInput

SetDomainOwner sets the DomainOwner field's value.

func (*ListPackageVersionAssetsInput) SetFormat

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

SetFormat sets the Format field's value.

func (*ListPackageVersionAssetsInput) SetMaxResults

func (s *ListPackageVersionAssetsInput) SetMaxResults(v int64) *ListPackageVersionAssetsInput

SetMaxResults sets the MaxResults field's value.

func (*ListPackageVersionAssetsInput) SetNamespace

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

SetNamespace sets the Namespace field's value.

func (*ListPackageVersionAssetsInput) SetNextToken

func (s *ListPackageVersionAssetsInput) SetNextToken(v string) *ListPackageVersionAssetsInput

SetNextToken sets the NextToken field's value.

func (*ListPackageVersionAssetsInput) SetPackage

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

SetPackage sets the Package field's value.

func (*ListPackageVersionAssetsInput) SetPackageVersion

func (s *ListPackageVersionAssetsInput) SetPackageVersion(v string) *ListPackageVersionAssetsInput

SetPackageVersion sets the PackageVersion field's value.

func (*ListPackageVersionAssetsInput) SetRepository

func (s *ListPackageVersionAssetsInput) SetRepository(v string) *ListPackageVersionAssetsInput

SetRepository sets the Repository field's value.

func (ListPackageVersionAssetsInput) String

func (s ListPackageVersionAssetsInput) 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 (*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 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"`

    // 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

func (s ListPackageVersionAssetsOutput) 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 (*ListPackageVersionAssetsOutput) SetAssets

func (s *ListPackageVersionAssetsOutput) SetAssets(v []*AssetSummary) *ListPackageVersionAssetsOutput

SetAssets sets the Assets field's value.

func (*ListPackageVersionAssetsOutput) SetFormat

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

SetFormat sets the Format field's value.

func (*ListPackageVersionAssetsOutput) SetNamespace

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

SetNamespace sets the Namespace field's value.

func (*ListPackageVersionAssetsOutput) SetNextToken

func (s *ListPackageVersionAssetsOutput) SetNextToken(v string) *ListPackageVersionAssetsOutput

SetNextToken sets the NextToken field's value.

func (*ListPackageVersionAssetsOutput) SetPackage

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

SetPackage sets the Package field's value.

func (*ListPackageVersionAssetsOutput) SetVersion

func (s *ListPackageVersionAssetsOutput) SetVersion(v string) *ListPackageVersionAssetsOutput

SetVersion sets the Version field's value.

func (*ListPackageVersionAssetsOutput) SetVersionRevision

func (s *ListPackageVersionAssetsOutput) SetVersionRevision(v string) *ListPackageVersionAssetsOutput

SetVersionRevision sets the VersionRevision field's value.

func (ListPackageVersionAssetsOutput) String

func (s ListPackageVersionAssetsOutput) 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 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
    //
    //    * 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 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

func (s ListPackageVersionDependenciesInput) 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 (*ListPackageVersionDependenciesInput) SetDomain

func (s *ListPackageVersionDependenciesInput) SetDomain(v string) *ListPackageVersionDependenciesInput

SetDomain sets the Domain field's value.

func (*ListPackageVersionDependenciesInput) SetDomainOwner

func (s *ListPackageVersionDependenciesInput) SetDomainOwner(v string) *ListPackageVersionDependenciesInput

SetDomainOwner sets the DomainOwner field's value.

func (*ListPackageVersionDependenciesInput) SetFormat

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

SetFormat sets the Format field's value.

func (*ListPackageVersionDependenciesInput) SetNamespace

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

SetNamespace sets the Namespace field's value.

func (*ListPackageVersionDependenciesInput) SetNextToken

func (s *ListPackageVersionDependenciesInput) SetNextToken(v string) *ListPackageVersionDependenciesInput

SetNextToken sets the NextToken field's value.

func (*ListPackageVersionDependenciesInput) SetPackage

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

SetPackage sets the Package field's value.

func (*ListPackageVersionDependenciesInput) SetPackageVersion

func (s *ListPackageVersionDependenciesInput) SetPackageVersion(v string) *ListPackageVersionDependenciesInput

SetPackageVersion sets the PackageVersion field's value.

func (*ListPackageVersionDependenciesInput) SetRepository

func (s *ListPackageVersionDependenciesInput) SetRepository(v string) *ListPackageVersionDependenciesInput

SetRepository sets the Repository field's value.

func (ListPackageVersionDependenciesInput) String

func (s ListPackageVersionDependenciesInput) 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 (*ListPackageVersionDependenciesInput) Validate

func (s *ListPackageVersionDependenciesInput) Validate() error

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 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 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

func (s ListPackageVersionDependenciesOutput) 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 (*ListPackageVersionDependenciesOutput) SetDependencies

func (s *ListPackageVersionDependenciesOutput) SetDependencies(v []*PackageDependency) *ListPackageVersionDependenciesOutput

SetDependencies sets the Dependencies field's value.

func (*ListPackageVersionDependenciesOutput) SetFormat

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

SetFormat sets the Format field's value.

func (*ListPackageVersionDependenciesOutput) SetNamespace

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

SetNamespace sets the Namespace field's value.

func (*ListPackageVersionDependenciesOutput) SetNextToken

func (s *ListPackageVersionDependenciesOutput) SetNextToken(v string) *ListPackageVersionDependenciesOutput

SetNextToken sets the NextToken field's value.

func (*ListPackageVersionDependenciesOutput) SetPackage

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

SetPackage sets the Package field's value.

func (*ListPackageVersionDependenciesOutput) SetVersion

func (s *ListPackageVersionDependenciesOutput) SetVersion(v string) *ListPackageVersionDependenciesOutput

SetVersion sets the Version field's value.

func (*ListPackageVersionDependenciesOutput) SetVersionRevision

func (s *ListPackageVersionDependenciesOutput) SetVersionRevision(v string) *ListPackageVersionDependenciesOutput

SetVersionRevision sets the VersionRevision field's value.

func (ListPackageVersionDependenciesOutput) String

func (s ListPackageVersionDependenciesOutput) 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 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 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 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

func (s *ListPackageVersionsInput) SetDomain(v string) *ListPackageVersionsInput

SetDomain sets the Domain field's value.

func (*ListPackageVersionsInput) SetDomainOwner

func (s *ListPackageVersionsInput) SetDomainOwner(v string) *ListPackageVersionsInput

SetDomainOwner sets the DomainOwner field's value.

func (*ListPackageVersionsInput) SetFormat

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

SetFormat sets the Format field's value.

func (*ListPackageVersionsInput) SetMaxResults

func (s *ListPackageVersionsInput) SetMaxResults(v int64) *ListPackageVersionsInput

SetMaxResults sets the MaxResults field's value.

func (*ListPackageVersionsInput) SetNamespace

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

SetNamespace sets the Namespace field's value.

func (*ListPackageVersionsInput) SetNextToken

func (s *ListPackageVersionsInput) SetNextToken(v string) *ListPackageVersionsInput

SetNextToken sets the NextToken field's value.

func (*ListPackageVersionsInput) SetOriginType

func (s *ListPackageVersionsInput) SetOriginType(v string) *ListPackageVersionsInput

SetOriginType sets the OriginType field's value.

func (*ListPackageVersionsInput) SetPackage

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

SetPackage sets the Package field's value.

func (*ListPackageVersionsInput) SetRepository

func (s *ListPackageVersionsInput) SetRepository(v string) *ListPackageVersionsInput

SetRepository sets the Repository field's value.

func (*ListPackageVersionsInput) SetSortBy

func (s *ListPackageVersionsInput) SetSortBy(v string) *ListPackageVersionsInput

SetSortBy sets the SortBy field's value.

func (*ListPackageVersionsInput) SetStatus

func (s *ListPackageVersionsInput) SetStatus(v string) *ListPackageVersionsInput

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 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"`

    // 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

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

SetFormat sets the Format field's value.

func (*ListPackageVersionsOutput) SetNamespace

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

SetNamespace sets the Namespace field's value.

func (*ListPackageVersionsOutput) SetNextToken

func (s *ListPackageVersionsOutput) SetNextToken(v string) *ListPackageVersionsOutput

SetNextToken sets the NextToken field's value.

func (*ListPackageVersionsOutput) SetPackage

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

SetPackage sets the Package field's value.

func (*ListPackageVersionsOutput) SetVersions

func (s *ListPackageVersionsOutput) SetVersions(v []*PackageVersionSummary) *ListPackageVersionsOutput

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 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"`

    // 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

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

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

func (s *ListPackagesOutput) SetPackages(v []*PackageSummary) *ListPackagesOutput

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

func (s ListRepositoriesInDomainInput) 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 (*ListRepositoriesInDomainInput) SetAdministratorAccount

func (s *ListRepositoriesInDomainInput) SetAdministratorAccount(v string) *ListRepositoriesInDomainInput

SetAdministratorAccount sets the AdministratorAccount field's value.

func (*ListRepositoriesInDomainInput) SetDomain

func (s *ListRepositoriesInDomainInput) SetDomain(v string) *ListRepositoriesInDomainInput

SetDomain sets the Domain field's value.

func (*ListRepositoriesInDomainInput) SetDomainOwner

func (s *ListRepositoriesInDomainInput) SetDomainOwner(v string) *ListRepositoriesInDomainInput

SetDomainOwner sets the DomainOwner field's value.

func (*ListRepositoriesInDomainInput) SetMaxResults

func (s *ListRepositoriesInDomainInput) SetMaxResults(v int64) *ListRepositoriesInDomainInput

SetMaxResults sets the MaxResults field's value.

func (*ListRepositoriesInDomainInput) SetNextToken

func (s *ListRepositoriesInDomainInput) SetNextToken(v string) *ListRepositoriesInDomainInput

SetNextToken sets the NextToken field's value.

func (*ListRepositoriesInDomainInput) SetRepositoryPrefix

func (s *ListRepositoriesInDomainInput) SetRepositoryPrefix(v string) *ListRepositoriesInDomainInput

SetRepositoryPrefix sets the RepositoryPrefix field's value.

func (ListRepositoriesInDomainInput) String

func (s ListRepositoriesInDomainInput) 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 (*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

func (s ListRepositoriesInDomainOutput) 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 (*ListRepositoriesInDomainOutput) SetNextToken

func (s *ListRepositoriesInDomainOutput) SetNextToken(v string) *ListRepositoriesInDomainOutput

SetNextToken sets the NextToken field's value.

func (*ListRepositoriesInDomainOutput) SetRepositories

func (s *ListRepositoriesInDomainOutput) SetRepositories(v []*RepositorySummary) *ListRepositoriesInDomainOutput

SetRepositories sets the Repositories field's value.

func (ListRepositoriesInDomainOutput) String

func (s ListRepositoriesInDomainOutput) 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 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

func (s *ListRepositoriesInput) SetNextToken(v string) *ListRepositoriesInput

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

func (s *ListRepositoriesOutput) SetNextToken(v string) *ListRepositoriesOutput

SetNextToken sets the NextToken field's value.

func (*ListRepositoriesOutput) SetRepositories

func (s *ListRepositoriesOutput) SetRepositories(v []*RepositorySummary) *ListRepositoriesOutput

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

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

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

func (s *ListSubPackageGroupsInput) SetDomain(v string) *ListSubPackageGroupsInput

SetDomain sets the Domain field's value.

func (*ListSubPackageGroupsInput) SetDomainOwner

func (s *ListSubPackageGroupsInput) SetDomainOwner(v string) *ListSubPackageGroupsInput

SetDomainOwner sets the DomainOwner field's value.

func (*ListSubPackageGroupsInput) SetMaxResults

func (s *ListSubPackageGroupsInput) SetMaxResults(v int64) *ListSubPackageGroupsInput

SetMaxResults sets the MaxResults field's value.

func (*ListSubPackageGroupsInput) SetNextToken

func (s *ListSubPackageGroupsInput) SetNextToken(v string) *ListSubPackageGroupsInput

SetNextToken sets the NextToken field's value.

func (*ListSubPackageGroupsInput) SetPackageGroup

func (s *ListSubPackageGroupsInput) SetPackageGroup(v string) *ListSubPackageGroupsInput

SetPackageGroup sets the PackageGroup field's value.

func (ListSubPackageGroupsInput) String

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

func (s *ListSubPackageGroupsInput) Validate() error

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

type ListSubPackageGroupsOutput

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

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

func (s *ListSubPackageGroupsOutput) SetNextToken(v string) *ListSubPackageGroupsOutput

SetNextToken sets the NextToken field's value.

func (*ListSubPackageGroupsOutput) SetPackageGroups

func (s *ListSubPackageGroupsOutput) SetPackageGroups(v []*PackageGroupSummary) *ListSubPackageGroupsOutput

SetPackageGroups sets the PackageGroups field's value.

func (ListSubPackageGroupsOutput) String

func (s ListSubPackageGroupsOutput) 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 ListTagsForResourceInput

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

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

func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String

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

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput

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

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

func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String

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 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 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

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 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 package origin configuration for the package.
    OriginConfiguration *PackageOriginConfiguration `locationName:"originConfiguration" type:"structure"`
    // contains filtered or unexported fields
}

Details about a package.

func (PackageDescription) GoString

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

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

SetFormat sets the Format field's value.

func (*PackageDescription) SetName

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

SetName sets the Name field's value.

func (*PackageDescription) SetNamespace

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

SetNamespace sets the Namespace field's value.

func (*PackageDescription) SetOriginConfiguration

func (s *PackageDescription) SetOriginConfiguration(v *PackageOriginConfiguration) *PackageDescription

SetOriginConfiguration sets the OriginConfiguration field's value.

func (PackageDescription) String

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

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

func (s PackageGroupAllowedRepository) 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 (*PackageGroupAllowedRepository) SetOriginRestrictionType

func (s *PackageGroupAllowedRepository) SetOriginRestrictionType(v string) *PackageGroupAllowedRepository

SetOriginRestrictionType sets the OriginRestrictionType field's value.

func (*PackageGroupAllowedRepository) SetRepositoryName

func (s *PackageGroupAllowedRepository) SetRepositoryName(v string) *PackageGroupAllowedRepository

SetRepositoryName sets the RepositoryName field's value.

func (PackageGroupAllowedRepository) String

func (s PackageGroupAllowedRepository) 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 (*PackageGroupAllowedRepository) Validate

func (s *PackageGroupAllowedRepository) Validate() error

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

type PackageGroupDescription

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

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

func (s *PackageGroupDescription) SetArn(v string) *PackageGroupDescription

SetArn sets the Arn field's value.

func (*PackageGroupDescription) SetContactInfo

func (s *PackageGroupDescription) SetContactInfo(v string) *PackageGroupDescription

SetContactInfo sets the ContactInfo field's value.

func (*PackageGroupDescription) SetCreatedTime

func (s *PackageGroupDescription) SetCreatedTime(v time.Time) *PackageGroupDescription

SetCreatedTime sets the CreatedTime field's value.

func (*PackageGroupDescription) SetDescription

func (s *PackageGroupDescription) SetDescription(v string) *PackageGroupDescription

SetDescription sets the Description field's value.

func (*PackageGroupDescription) SetDomainName

func (s *PackageGroupDescription) SetDomainName(v string) *PackageGroupDescription

SetDomainName sets the DomainName field's value.

func (*PackageGroupDescription) SetDomainOwner

func (s *PackageGroupDescription) SetDomainOwner(v string) *PackageGroupDescription

SetDomainOwner sets the DomainOwner field's value.

func (*PackageGroupDescription) SetOriginConfiguration

func (s *PackageGroupDescription) SetOriginConfiguration(v *PackageGroupOriginConfiguration) *PackageGroupDescription

SetOriginConfiguration sets the OriginConfiguration field's value.

func (*PackageGroupDescription) SetParent

func (s *PackageGroupDescription) SetParent(v *PackageGroupReference) *PackageGroupDescription

SetParent sets the Parent field's value.

func (*PackageGroupDescription) SetPattern

func (s *PackageGroupDescription) SetPattern(v string) *PackageGroupDescription

SetPattern sets the Pattern field's value.

func (PackageGroupDescription) String

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

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

func (s PackageGroupOriginConfiguration) 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 (*PackageGroupOriginConfiguration) SetRestrictions

func (s *PackageGroupOriginConfiguration) SetRestrictions(v map[string]*PackageGroupOriginRestriction) *PackageGroupOriginConfiguration

SetRestrictions sets the Restrictions field's value.

func (PackageGroupOriginConfiguration) String

func (s PackageGroupOriginConfiguration) 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 PackageGroupOriginRestriction

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

func (s PackageGroupOriginRestriction) 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 (*PackageGroupOriginRestriction) SetEffectiveMode

func (s *PackageGroupOriginRestriction) SetEffectiveMode(v string) *PackageGroupOriginRestriction

SetEffectiveMode sets the EffectiveMode field's value.

func (*PackageGroupOriginRestriction) SetInheritedFrom

func (s *PackageGroupOriginRestriction) SetInheritedFrom(v *PackageGroupReference) *PackageGroupOriginRestriction

SetInheritedFrom sets the InheritedFrom field's value.

func (*PackageGroupOriginRestriction) SetMode

func (s *PackageGroupOriginRestriction) SetMode(v string) *PackageGroupOriginRestriction

SetMode sets the Mode field's value.

func (*PackageGroupOriginRestriction) SetRepositoriesCount

func (s *PackageGroupOriginRestriction) SetRepositoriesCount(v int64) *PackageGroupOriginRestriction

SetRepositoriesCount sets the RepositoriesCount field's value.

func (PackageGroupOriginRestriction) String

func (s PackageGroupOriginRestriction) 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 PackageGroupReference

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

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

func (s *PackageGroupReference) SetArn(v string) *PackageGroupReference

SetArn sets the Arn field's value.

func (*PackageGroupReference) SetPattern

func (s *PackageGroupReference) SetPattern(v string) *PackageGroupReference

SetPattern sets the Pattern field's value.

func (PackageGroupReference) String

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

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

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

func (s *PackageGroupSummary) SetArn(v string) *PackageGroupSummary

SetArn sets the Arn field's value.

func (*PackageGroupSummary) SetContactInfo

func (s *PackageGroupSummary) SetContactInfo(v string) *PackageGroupSummary

SetContactInfo sets the ContactInfo field's value.

func (*PackageGroupSummary) SetCreatedTime

func (s *PackageGroupSummary) SetCreatedTime(v time.Time) *PackageGroupSummary

SetCreatedTime sets the CreatedTime field's value.

func (*PackageGroupSummary) SetDescription

func (s *PackageGroupSummary) SetDescription(v string) *PackageGroupSummary

SetDescription sets the Description field's value.

func (*PackageGroupSummary) SetDomainName

func (s *PackageGroupSummary) SetDomainName(v string) *PackageGroupSummary

SetDomainName sets the DomainName field's value.

func (*PackageGroupSummary) SetDomainOwner

func (s *PackageGroupSummary) SetDomainOwner(v string) *PackageGroupSummary

SetDomainOwner sets the DomainOwner field's value.

func (*PackageGroupSummary) SetOriginConfiguration

func (s *PackageGroupSummary) SetOriginConfiguration(v *PackageGroupOriginConfiguration) *PackageGroupSummary

SetOriginConfiguration sets the OriginConfiguration field's value.

func (*PackageGroupSummary) SetParent

func (s *PackageGroupSummary) SetParent(v *PackageGroupReference) *PackageGroupSummary

SetParent sets the Parent field's value.

func (*PackageGroupSummary) SetPattern

func (s *PackageGroupSummary) SetPattern(v string) *PackageGroupSummary

SetPattern sets the Pattern field's value.

func (PackageGroupSummary) String

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

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

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

func (s *PackageOriginConfiguration) SetRestrictions(v *PackageOriginRestrictions) *PackageOriginConfiguration

SetRestrictions sets the Restrictions field's value.

func (PackageOriginConfiguration) String

func (s PackageOriginConfiguration) 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 PackageOriginRestrictions

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

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

func (s *PackageOriginRestrictions) SetPublish(v string) *PackageOriginRestrictions

SetPublish sets the Publish field's value.

func (*PackageOriginRestrictions) SetUpstream

func (s *PackageOriginRestrictions) SetUpstream(v string) *PackageOriginRestrictions

SetUpstream sets the Upstream field's value.

func (PackageOriginRestrictions) String

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

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 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"`

    // 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

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 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"`

    // 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

func (s *PackageVersionDescription) SetDisplayName(v string) *PackageVersionDescription

SetDisplayName sets the DisplayName field's value.

func (*PackageVersionDescription) SetFormat

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

SetFormat sets the Format field's value.

func (*PackageVersionDescription) SetHomePage

func (s *PackageVersionDescription) SetHomePage(v string) *PackageVersionDescription

SetHomePage sets the HomePage field's value.

func (*PackageVersionDescription) SetLicenses

func (s *PackageVersionDescription) SetLicenses(v []*LicenseInfo) *PackageVersionDescription

SetLicenses sets the Licenses field's value.

func (*PackageVersionDescription) SetNamespace

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

SetNamespace sets the Namespace field's value.

func (*PackageVersionDescription) SetOrigin

func (s *PackageVersionDescription) SetOrigin(v *PackageVersionOrigin) *PackageVersionDescription

SetOrigin sets the Origin field's value.

func (*PackageVersionDescription) SetPackageName

func (s *PackageVersionDescription) SetPackageName(v string) *PackageVersionDescription

SetPackageName sets the PackageName field's value.

func (*PackageVersionDescription) SetPublishedTime

func (s *PackageVersionDescription) SetPublishedTime(v time.Time) *PackageVersionDescription

SetPublishedTime sets the PublishedTime field's value.

func (*PackageVersionDescription) SetRevision

func (s *PackageVersionDescription) SetRevision(v string) *PackageVersionDescription

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

func (s *PackageVersionDescription) SetStatus(v string) *PackageVersionDescription

SetStatus sets the Status field's value.

func (*PackageVersionDescription) SetSummary

func (s *PackageVersionDescription) SetSummary(v string) *PackageVersionDescription

SetSummary sets the Summary field's value.

func (*PackageVersionDescription) SetVersion

func (s *PackageVersionDescription) SetVersion(v string) *PackageVersionDescription

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

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

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

func (s *PackageVersionOrigin) SetDomainEntryPoint(v *DomainEntryPoint) *PackageVersionOrigin

SetDomainEntryPoint sets the DomainEntryPoint field's value.

func (*PackageVersionOrigin) SetOriginType

func (s *PackageVersionOrigin) SetOriginType(v string) *PackageVersionOrigin

SetOriginType sets the OriginType field's value.

func (PackageVersionOrigin) String

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

func (s *PackageVersionSummary) SetOrigin(v *PackageVersionOrigin) *PackageVersionSummary

SetOrigin sets the Origin field's value.

func (*PackageVersionSummary) SetRevision

func (s *PackageVersionSummary) SetRevision(v string) *PackageVersionSummary

SetRevision sets the Revision field's value.

func (*PackageVersionSummary) SetStatus

func (s *PackageVersionSummary) SetStatus(v string) *PackageVersionSummary

SetStatus sets the Status field's value.

func (*PackageVersionSummary) SetVersion

func (s *PackageVersionSummary) SetVersion(v string) *PackageVersionSummary

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

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

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

func (s *PublishPackageVersionInput) SetAssetContent(v io.ReadSeeker) *PublishPackageVersionInput

SetAssetContent sets the AssetContent field's value.

func (*PublishPackageVersionInput) SetAssetName

func (s *PublishPackageVersionInput) SetAssetName(v string) *PublishPackageVersionInput

SetAssetName sets the AssetName field's value.

func (*PublishPackageVersionInput) SetAssetSHA256

func (s *PublishPackageVersionInput) SetAssetSHA256(v string) *PublishPackageVersionInput

SetAssetSHA256 sets the AssetSHA256 field's value.

func (*PublishPackageVersionInput) SetDomain

func (s *PublishPackageVersionInput) SetDomain(v string) *PublishPackageVersionInput

SetDomain sets the Domain field's value.

func (*PublishPackageVersionInput) SetDomainOwner

func (s *PublishPackageVersionInput) SetDomainOwner(v string) *PublishPackageVersionInput

SetDomainOwner sets the DomainOwner field's value.

func (*PublishPackageVersionInput) SetFormat

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

SetFormat sets the Format field's value.

func (*PublishPackageVersionInput) SetNamespace

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

SetNamespace sets the Namespace field's value.

func (*PublishPackageVersionInput) SetPackage

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

SetPackage sets the Package field's value.

func (*PublishPackageVersionInput) SetPackageVersion

func (s *PublishPackageVersionInput) SetPackageVersion(v string) *PublishPackageVersionInput

SetPackageVersion sets the PackageVersion field's value.

func (*PublishPackageVersionInput) SetRepository

func (s *PublishPackageVersionInput) SetRepository(v string) *PublishPackageVersionInput

SetRepository sets the Repository field's value.

func (*PublishPackageVersionInput) SetUnfinished

func (s *PublishPackageVersionInput) SetUnfinished(v bool) *PublishPackageVersionInput

SetUnfinished sets the Unfinished field's value.

func (PublishPackageVersionInput) String

func (s PublishPackageVersionInput) 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 (*PublishPackageVersionInput) Validate

func (s *PublishPackageVersionInput) Validate() error

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

type PublishPackageVersionOutput

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

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

func (s *PublishPackageVersionOutput) SetAsset(v *AssetSummary) *PublishPackageVersionOutput

SetAsset sets the Asset field's value.

func (*PublishPackageVersionOutput) SetFormat

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

SetFormat sets the Format field's value.

func (*PublishPackageVersionOutput) SetNamespace

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

SetNamespace sets the Namespace field's value.

func (*PublishPackageVersionOutput) SetPackage

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

SetPackage sets the Package field's value.

func (*PublishPackageVersionOutput) SetStatus

func (s *PublishPackageVersionOutput) SetStatus(v string) *PublishPackageVersionOutput

SetStatus sets the Status field's value.

func (*PublishPackageVersionOutput) SetVersion

func (s *PublishPackageVersionOutput) SetVersion(v string) *PublishPackageVersionOutput

SetVersion sets the Version field's value.

func (*PublishPackageVersionOutput) SetVersionRevision

func (s *PublishPackageVersionOutput) SetVersionRevision(v string) *PublishPackageVersionOutput

SetVersionRevision sets the VersionRevision field's value.

func (PublishPackageVersionOutput) String

func (s PublishPackageVersionOutput) 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 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

func (s PutDomainPermissionsPolicyInput) 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 (*PutDomainPermissionsPolicyInput) SetDomain

func (s *PutDomainPermissionsPolicyInput) SetDomain(v string) *PutDomainPermissionsPolicyInput

SetDomain sets the Domain field's value.

func (*PutDomainPermissionsPolicyInput) SetDomainOwner

func (s *PutDomainPermissionsPolicyInput) SetDomainOwner(v string) *PutDomainPermissionsPolicyInput

SetDomainOwner sets the DomainOwner field's value.

func (*PutDomainPermissionsPolicyInput) SetPolicyDocument

func (s *PutDomainPermissionsPolicyInput) SetPolicyDocument(v string) *PutDomainPermissionsPolicyInput

SetPolicyDocument sets the PolicyDocument field's value.

func (*PutDomainPermissionsPolicyInput) SetPolicyRevision

func (s *PutDomainPermissionsPolicyInput) SetPolicyRevision(v string) *PutDomainPermissionsPolicyInput

SetPolicyRevision sets the PolicyRevision field's value.

func (PutDomainPermissionsPolicyInput) String

func (s PutDomainPermissionsPolicyInput) 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 (*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

func (s PutDomainPermissionsPolicyOutput) 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 (*PutDomainPermissionsPolicyOutput) SetPolicy

func (s *PutDomainPermissionsPolicyOutput) SetPolicy(v *ResourcePolicy) *PutDomainPermissionsPolicyOutput

SetPolicy sets the Policy field's value.

func (PutDomainPermissionsPolicyOutput) String

func (s PutDomainPermissionsPolicyOutput) 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 PutPackageOriginConfigurationInput

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 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 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

func (s PutPackageOriginConfigurationInput) 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 (*PutPackageOriginConfigurationInput) SetDomain

func (s *PutPackageOriginConfigurationInput) SetDomain(v string) *PutPackageOriginConfigurationInput

SetDomain sets the Domain field's value.

func (*PutPackageOriginConfigurationInput) SetDomainOwner

func (s *PutPackageOriginConfigurationInput) SetDomainOwner(v string) *PutPackageOriginConfigurationInput

SetDomainOwner sets the DomainOwner field's value.

func (*PutPackageOriginConfigurationInput) SetFormat

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

SetFormat sets the Format field's value.

func (*PutPackageOriginConfigurationInput) SetNamespace

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

SetNamespace sets the Namespace field's value.

func (*PutPackageOriginConfigurationInput) SetPackage

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

SetPackage sets the Package field's value.

func (*PutPackageOriginConfigurationInput) SetRepository

func (s *PutPackageOriginConfigurationInput) SetRepository(v string) *PutPackageOriginConfigurationInput

SetRepository sets the Repository field's value.

func (*PutPackageOriginConfigurationInput) SetRestrictions

func (s *PutPackageOriginConfigurationInput) SetRestrictions(v *PackageOriginRestrictions) *PutPackageOriginConfigurationInput

SetRestrictions sets the Restrictions field's value.

func (PutPackageOriginConfigurationInput) String

func (s PutPackageOriginConfigurationInput) 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 (*PutPackageOriginConfigurationInput) Validate

func (s *PutPackageOriginConfigurationInput) Validate() error

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

type PutPackageOriginConfigurationOutput

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

func (s PutPackageOriginConfigurationOutput) 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 (*PutPackageOriginConfigurationOutput) SetOriginConfiguration

func (s *PutPackageOriginConfigurationOutput) SetOriginConfiguration(v *PackageOriginConfiguration) *PutPackageOriginConfigurationOutput

SetOriginConfiguration sets the OriginConfiguration field's value.

func (PutPackageOriginConfigurationOutput) String

func (s PutPackageOriginConfigurationOutput) 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 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

func (s PutRepositoryPermissionsPolicyInput) 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 (*PutRepositoryPermissionsPolicyInput) SetDomain

func (s *PutRepositoryPermissionsPolicyInput) SetDomain(v string) *PutRepositoryPermissionsPolicyInput

SetDomain sets the Domain field's value.

func (*PutRepositoryPermissionsPolicyInput) SetDomainOwner

func (s *PutRepositoryPermissionsPolicyInput) SetDomainOwner(v string) *PutRepositoryPermissionsPolicyInput

SetDomainOwner sets the DomainOwner field's value.

func (*PutRepositoryPermissionsPolicyInput) SetPolicyDocument

func (s *PutRepositoryPermissionsPolicyInput) SetPolicyDocument(v string) *PutRepositoryPermissionsPolicyInput

SetPolicyDocument sets the PolicyDocument field's value.

func (*PutRepositoryPermissionsPolicyInput) SetPolicyRevision

func (s *PutRepositoryPermissionsPolicyInput) SetPolicyRevision(v string) *PutRepositoryPermissionsPolicyInput

SetPolicyRevision sets the PolicyRevision field's value.

func (*PutRepositoryPermissionsPolicyInput) SetRepository

func (s *PutRepositoryPermissionsPolicyInput) SetRepository(v string) *PutRepositoryPermissionsPolicyInput

SetRepository sets the Repository field's value.

func (PutRepositoryPermissionsPolicyInput) String

func (s PutRepositoryPermissionsPolicyInput) 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 (*PutRepositoryPermissionsPolicyInput) Validate

func (s *PutRepositoryPermissionsPolicyInput) Validate() error

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

func (s PutRepositoryPermissionsPolicyOutput) 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 (*PutRepositoryPermissionsPolicyOutput) SetPolicy

func (s *PutRepositoryPermissionsPolicyOutput) SetPolicy(v *ResourcePolicy) *PutRepositoryPermissionsPolicyOutput

SetPolicy sets the Policy field's value.

func (PutRepositoryPermissionsPolicyOutput) String

func (s PutRepositoryPermissionsPolicyOutput) 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 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

func (s *RepositoryDescription) SetArn(v string) *RepositoryDescription

SetArn sets the Arn field's value.

func (*RepositoryDescription) SetCreatedTime

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

func (s *RepositoryDescription) SetExternalConnections(v []*RepositoryExternalConnectionInfo) *RepositoryDescription

SetExternalConnections sets the ExternalConnections field's value.

func (*RepositoryDescription) SetName

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

SetName sets the Name field's value.

func (*RepositoryDescription) SetUpstreams

func (s *RepositoryDescription) SetUpstreams(v []*UpstreamRepositoryInfo) *RepositoryDescription

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

func (s RepositoryExternalConnectionInfo) 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 (*RepositoryExternalConnectionInfo) SetExternalConnectionName

func (s *RepositoryExternalConnectionInfo) SetExternalConnectionName(v string) *RepositoryExternalConnectionInfo

SetExternalConnectionName sets the ExternalConnectionName field's value.

func (*RepositoryExternalConnectionInfo) SetPackageFormat

func (s *RepositoryExternalConnectionInfo) SetPackageFormat(v string) *RepositoryExternalConnectionInfo

SetPackageFormat sets the PackageFormat field's value.

func (*RepositoryExternalConnectionInfo) SetStatus

func (s *RepositoryExternalConnectionInfo) SetStatus(v string) *RepositoryExternalConnectionInfo

SetStatus sets the Status field's value.

func (RepositoryExternalConnectionInfo) String

func (s RepositoryExternalConnectionInfo) 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 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

func (s *RepositorySummary) SetArn(v string) *RepositorySummary

SetArn sets the Arn field's value.

func (*RepositorySummary) SetCreatedTime

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

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

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

func (s *ResourceNotFoundException) Code() string

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

func (s *ServiceQuotaExceededException) Code() string

Code returns the exception type name.

func (*ServiceQuotaExceededException) Error

func (s *ServiceQuotaExceededException) Error() string

func (ServiceQuotaExceededException) GoString

func (s ServiceQuotaExceededException) 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 (*ServiceQuotaExceededException) Message

func (s *ServiceQuotaExceededException) Message() string

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

func (s ServiceQuotaExceededException) 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 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

func (s *SuccessfulPackageVersionInfo) SetRevision(v string) *SuccessfulPackageVersionInfo

SetRevision sets the Revision field's value.

func (*SuccessfulPackageVersionInfo) SetStatus

func (s *SuccessfulPackageVersionInfo) SetStatus(v string) *SuccessfulPackageVersionInfo

SetStatus sets the Status field's value.

func (SuccessfulPackageVersionInfo) String

func (s SuccessfulPackageVersionInfo) 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 Tag

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

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

func (s *Tag) SetKey(v string) *Tag

SetKey sets the Key field's value.

func (*Tag) SetValue

func (s *Tag) SetValue(v string) *Tag

SetValue sets the Value field's value.

func (Tag) String

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

func (s *Tag) Validate() error

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

type TagResourceInput

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

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

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags

func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String

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

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput

type TagResourceOutput struct {
    // contains filtered or unexported fields
}

func (TagResourceOutput) GoString

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

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

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

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

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String

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

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput

type UntagResourceOutput struct {
    // contains filtered or unexported fields
}

func (UntagResourceOutput) GoString

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

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

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

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

func (s *UpdatePackageGroupInput) SetContactInfo(v string) *UpdatePackageGroupInput

SetContactInfo sets the ContactInfo field's value.

func (*UpdatePackageGroupInput) SetDescription

func (s *UpdatePackageGroupInput) SetDescription(v string) *UpdatePackageGroupInput

SetDescription sets the Description field's value.

func (*UpdatePackageGroupInput) SetDomain

func (s *UpdatePackageGroupInput) SetDomain(v string) *UpdatePackageGroupInput

SetDomain sets the Domain field's value.

func (*UpdatePackageGroupInput) SetDomainOwner

func (s *UpdatePackageGroupInput) SetDomainOwner(v string) *UpdatePackageGroupInput

SetDomainOwner sets the DomainOwner field's value.

func (*UpdatePackageGroupInput) SetPackageGroup

func (s *UpdatePackageGroupInput) SetPackageGroup(v string) *UpdatePackageGroupInput

SetPackageGroup sets the PackageGroup field's value.

func (UpdatePackageGroupInput) String

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

func (s *UpdatePackageGroupInput) Validate() error

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

type UpdatePackageGroupOriginConfigurationInput

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

func (s UpdatePackageGroupOriginConfigurationInput) 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 (*UpdatePackageGroupOriginConfigurationInput) SetAddAllowedRepositories

func (s *UpdatePackageGroupOriginConfigurationInput) SetAddAllowedRepositories(v []*PackageGroupAllowedRepository) *UpdatePackageGroupOriginConfigurationInput

SetAddAllowedRepositories sets the AddAllowedRepositories field's value.

func (*UpdatePackageGroupOriginConfigurationInput) SetDomain

func (s *UpdatePackageGroupOriginConfigurationInput) SetDomain(v string) *UpdatePackageGroupOriginConfigurationInput

SetDomain sets the Domain field's value.

func (*UpdatePackageGroupOriginConfigurationInput) SetDomainOwner

func (s *UpdatePackageGroupOriginConfigurationInput) SetDomainOwner(v string) *UpdatePackageGroupOriginConfigurationInput

SetDomainOwner sets the DomainOwner field's value.

func (*UpdatePackageGroupOriginConfigurationInput) SetPackageGroup

func (s *UpdatePackageGroupOriginConfigurationInput) SetPackageGroup(v string) *UpdatePackageGroupOriginConfigurationInput

SetPackageGroup sets the PackageGroup field's value.

func (*UpdatePackageGroupOriginConfigurationInput) SetRemoveAllowedRepositories

func (s *UpdatePackageGroupOriginConfigurationInput) SetRemoveAllowedRepositories(v []*PackageGroupAllowedRepository) *UpdatePackageGroupOriginConfigurationInput

SetRemoveAllowedRepositories sets the RemoveAllowedRepositories field's value.

func (*UpdatePackageGroupOriginConfigurationInput) SetRestrictions

func (s *UpdatePackageGroupOriginConfigurationInput) SetRestrictions(v map[string]*string) *UpdatePackageGroupOriginConfigurationInput

SetRestrictions sets the Restrictions field's value.

func (UpdatePackageGroupOriginConfigurationInput) String

func (s UpdatePackageGroupOriginConfigurationInput) 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 (*UpdatePackageGroupOriginConfigurationInput) Validate

func (s *UpdatePackageGroupOriginConfigurationInput) Validate() error

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

type UpdatePackageGroupOriginConfigurationOutput

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

func (s UpdatePackageGroupOriginConfigurationOutput) 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 (*UpdatePackageGroupOriginConfigurationOutput) SetAllowedRepositoryUpdates

func (s *UpdatePackageGroupOriginConfigurationOutput) SetAllowedRepositoryUpdates(v map[string]map[string][]*string) *UpdatePackageGroupOriginConfigurationOutput

SetAllowedRepositoryUpdates sets the AllowedRepositoryUpdates field's value.

func (*UpdatePackageGroupOriginConfigurationOutput) SetPackageGroup

func (s *UpdatePackageGroupOriginConfigurationOutput) SetPackageGroup(v *PackageGroupDescription) *UpdatePackageGroupOriginConfigurationOutput

SetPackageGroup sets the PackageGroup field's value.

func (UpdatePackageGroupOriginConfigurationOutput) String

func (s UpdatePackageGroupOriginConfigurationOutput) 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 UpdatePackageGroupOutput

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

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

func (s *UpdatePackageGroupOutput) SetPackageGroup(v *PackageGroupDescription) *UpdatePackageGroupOutput

SetPackageGroup sets the PackageGroup field's value.

func (UpdatePackageGroupOutput) String

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 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 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

func (s UpdatePackageVersionsStatusInput) 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 (*UpdatePackageVersionsStatusInput) SetDomain

func (s *UpdatePackageVersionsStatusInput) SetDomain(v string) *UpdatePackageVersionsStatusInput

SetDomain sets the Domain field's value.

func (*UpdatePackageVersionsStatusInput) SetDomainOwner

func (s *UpdatePackageVersionsStatusInput) SetDomainOwner(v string) *UpdatePackageVersionsStatusInput

SetDomainOwner sets the DomainOwner field's value.

func (*UpdatePackageVersionsStatusInput) SetExpectedStatus

func (s *UpdatePackageVersionsStatusInput) SetExpectedStatus(v string) *UpdatePackageVersionsStatusInput

SetExpectedStatus sets the ExpectedStatus field's value.

func (*UpdatePackageVersionsStatusInput) SetFormat

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

SetFormat sets the Format field's value.

func (*UpdatePackageVersionsStatusInput) SetNamespace

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

SetNamespace sets the Namespace field's value.

func (*UpdatePackageVersionsStatusInput) SetPackage

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

SetPackage sets the Package field's value.

func (*UpdatePackageVersionsStatusInput) SetRepository

func (s *UpdatePackageVersionsStatusInput) SetRepository(v string) *UpdatePackageVersionsStatusInput

SetRepository sets the Repository field's value.

func (*UpdatePackageVersionsStatusInput) SetTargetStatus

func (s *UpdatePackageVersionsStatusInput) SetTargetStatus(v string) *UpdatePackageVersionsStatusInput

SetTargetStatus sets the TargetStatus field's value.

func (*UpdatePackageVersionsStatusInput) SetVersionRevisions

func (s *UpdatePackageVersionsStatusInput) SetVersionRevisions(v map[string]*string) *UpdatePackageVersionsStatusInput

SetVersionRevisions sets the VersionRevisions field's value.

func (*UpdatePackageVersionsStatusInput) SetVersions

func (s *UpdatePackageVersionsStatusInput) SetVersions(v []*string) *UpdatePackageVersionsStatusInput

SetVersions sets the Versions field's value.

func (UpdatePackageVersionsStatusInput) String

func (s UpdatePackageVersionsStatusInput) 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 (*UpdatePackageVersionsStatusInput) Validate

func (s *UpdatePackageVersionsStatusInput) Validate() error

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

func (s UpdatePackageVersionsStatusOutput) 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 (*UpdatePackageVersionsStatusOutput) SetFailedVersions

func (s *UpdatePackageVersionsStatusOutput) SetFailedVersions(v map[string]*PackageVersionError) *UpdatePackageVersionsStatusOutput

SetFailedVersions sets the FailedVersions field's value.

func (*UpdatePackageVersionsStatusOutput) SetSuccessfulVersions

func (s *UpdatePackageVersionsStatusOutput) SetSuccessfulVersions(v map[string]*SuccessfulPackageVersionInfo) *UpdatePackageVersionsStatusOutput

SetSuccessfulVersions sets the SuccessfulVersions field's value.

func (UpdatePackageVersionsStatusOutput) String

func (s UpdatePackageVersionsStatusOutput) 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 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

func (s *UpdateRepositoryInput) SetDomain(v string) *UpdateRepositoryInput

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

func (s *UpdateRepositoryInput) SetUpstreams(v []*UpstreamRepository) *UpdateRepositoryInput

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

func (s *UpdateRepositoryOutput) SetRepository(v *RepositoryDescription) *UpdateRepositoryOutput

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".