codeartifact

package
v1.37.5 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2021 License: Apache-2.0 Imports: 11 Imported by: 32

Documentation

Overview

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

AWS CodeArtifact is a fully managed artifact repository compatible with language-native package managers and build tools such as npm, Apache Maven, NuGet, and pip. 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.

AWS CodeArtifact Components

Use the information in this guide to help you work with the following CodeArtifact components:

  • 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 NuGet CLI, the Maven CLI ( mvn ), and pip .

  • 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 AWS Key Management Service (AWS 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), and NuGet (https://docs.aws.amazon.com/codeartifact/latest/ug/using-nuget) 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 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 supports these 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

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

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

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

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

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

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

  • ListPackages: Lists the packages in a repository.

  • 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 AWS account that called this method.

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

  • ListTagsForResource: Returns a list of the tags associated with a resource.

  • PutDomainPermissionsPolicy: Attaches a resource policy to a domain.

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

  • TagResource: Adds or updates tags for a resource.

  • UntagResource: Removes a tag from a resource.

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

  • UpdateRepository: Updates the properties of a repository.

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

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

Using the Client

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

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

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

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

Index

Constants

View Source
const (
	// DomainStatusActive is a DomainStatus enum value
	DomainStatusActive = "Active"

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

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

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

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

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

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

	// PackageFormatNuget is a PackageFormat enum value
	PackageFormatNuget = "nuget"
)
View Source
const (
	// PackageVersionErrorCodeAlreadyExists is a PackageVersionErrorCode enum value
	PackageVersionErrorCodeAlreadyExists = "ALREADY_EXISTS"

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

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

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

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

	// PackageVersionErrorCodeSkipped is a PackageVersionErrorCode enum value
	PackageVersionErrorCodeSkipped = "SKIPPED"
)
View Source
const (
	// PackageVersionStatusPublished is a PackageVersionStatus enum value
	PackageVersionStatusPublished = "Published"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Service information constants

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

Variables

This section is empty.

Functions

func DomainStatus_Values added in v1.34.3

func DomainStatus_Values() []string

DomainStatus_Values returns all elements of the DomainStatus enum

func ExternalConnectionStatus_Values added in v1.34.3

func ExternalConnectionStatus_Values() []string

ExternalConnectionStatus_Values returns all elements of the ExternalConnectionStatus enum

func HashAlgorithm_Values added in v1.34.3

func HashAlgorithm_Values() []string

HashAlgorithm_Values returns all elements of the HashAlgorithm enum

func PackageFormat_Values added in v1.34.3

func PackageFormat_Values() []string

PackageFormat_Values returns all elements of the PackageFormat enum

func PackageVersionErrorCode_Values added in v1.34.3

func PackageVersionErrorCode_Values() []string

PackageVersionErrorCode_Values returns all elements of the PackageVersionErrorCode enum

func PackageVersionSortType_Values added in v1.34.3

func PackageVersionSortType_Values() []string

PackageVersionSortType_Values returns all elements of the PackageVersionSortType enum

func PackageVersionStatus_Values added in v1.34.3

func PackageVersionStatus_Values() []string

PackageVersionStatus_Values returns all elements of the PackageVersionStatus enum

func ResourceType_Values added in v1.34.3

func ResourceType_Values() []string

ResourceType_Values returns all elements of the ResourceType enum

func ValidationExceptionReason_Values added in v1.34.3

func ValidationExceptionReason_Values() []string

ValidationExceptionReason_Values returns all elements of the ValidationExceptionReason enum

Types

type AccessDeniedException

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

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

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

func (*AccessDeniedException) Code

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString

func (s AccessDeniedException) GoString() string

GoString returns the string representation

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

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

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

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 AWS 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: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:nuget-org - for the NuGet Gallery.
	//
	// ExternalConnection is a required field
	ExternalConnection *string `location:"querystring" locationName:"external-connection" type:"string" required:"true"`

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

func (AssociateExternalConnectionInput) GoString

GoString returns the string representation

func (*AssociateExternalConnectionInput) SetDomain

SetDomain sets the Domain field's value.

func (*AssociateExternalConnectionInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*AssociateExternalConnectionInput) SetExternalConnection

SetExternalConnection sets the ExternalConnection field's value.

func (*AssociateExternalConnectionInput) SetRepository

SetRepository sets the Repository field's value.

func (AssociateExternalConnectionInput) String

String returns the string representation

func (*AssociateExternalConnectionInput) Validate

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

type AssociateExternalConnectionOutput

type AssociateExternalConnectionOutput struct {

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

func (AssociateExternalConnectionOutput) GoString

GoString returns the string representation

func (*AssociateExternalConnectionOutput) SetRepository

SetRepository sets the Repository field's value.

func (AssociateExternalConnectionOutput) String

String returns the string representation

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 AWS 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 AWS 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 AWS 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 AWS 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) 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 AWS 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 AWS CodeArtifact.

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

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

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

func (*CodeArtifact) DeleteDomainPermissionsPolicy

DeleteDomainPermissionsPolicy API operation for CodeArtifact.

Deletes the resource policy set on a domain.

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

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

Returned Error Types:

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

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

  • InternalServerException The operation did not succeed because of an error that occurred inside AWS 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) 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, ListackageVersions (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 AWS 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) 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 AWS CodeArtifact.

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

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

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

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

func (*CodeArtifact) DeleteRepositoryPermissionsPolicy

DeleteRepositoryPermissionsPolicy API operation for CodeArtifact.

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

Use DeleteRepositoryPermissionsPolicy with caution. After a policy is deleted, AWS 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 AWS 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 AWS 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) 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 AWS 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) 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 AWS CodeArtifact.

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

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

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

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

func (*CodeArtifact) DescribeRepositoryRequest

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

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

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

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

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

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

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

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

func (*CodeArtifact) DescribeRepositoryWithContext

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

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

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

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

func (*CodeArtifact) DisassociateExternalConnection

DisassociateExternalConnection API operation for CodeArtifact.

Removes an existing external connection from a repository.

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

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

Returned Error Types:

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

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

  • InternalServerException The operation did not succeed because of an error that occurred inside AWS 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 AWS 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) 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 AWS 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 AWS 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 AWS Identity and Access Management 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 AWS 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 AWS 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. For packages that do not contain a readme file, CodeArtifact extracts a description from a metadata file. For example, from the <description> element in the pom.xml file of a Maven package.

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

  • npm

  • pypi

  • maven

  • nuget

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 AWS CodeArtifact.

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

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

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

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

func (*CodeArtifact) GetRepositoryEndpointRequest

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

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

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

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

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

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

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

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

func (*CodeArtifact) GetRepositoryEndpointWithContext

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

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

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

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

func (*CodeArtifact) GetRepositoryPermissionsPolicy

GetRepositoryPermissionsPolicy API operation for CodeArtifact.

Returns the resource policy that is set on a repository.

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

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

Returned Error Types:

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

  • InternalServerException The operation did not succeed because of an error that occurred inside AWS 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) 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 AWS 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 AWS 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) 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 AWS CodeArtifact.

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

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

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

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

func (*CodeArtifact) ListPackageVersionAssetsPages

func (c *CodeArtifact) ListPackageVersionAssetsPages(input *ListPackageVersionAssetsInput, fn func(*ListPackageVersionAssetsOutput, bool) bool) error

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

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

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

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

func (*CodeArtifact) ListPackageVersionAssetsPagesWithContext

func (c *CodeArtifact) ListPackageVersionAssetsPagesWithContext(ctx aws.Context, input *ListPackageVersionAssetsInput, fn func(*ListPackageVersionAssetsOutput, bool) bool, opts ...request.Option) error

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

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

func (*CodeArtifact) ListPackageVersionAssetsRequest

func (c *CodeArtifact) ListPackageVersionAssetsRequest(input *ListPackageVersionAssetsInput) (req *request.Request, output *ListPackageVersionAssetsOutput)

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

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

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

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

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

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

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

func (*CodeArtifact) ListPackageVersionAssetsWithContext

func (c *CodeArtifact) ListPackageVersionAssetsWithContext(ctx aws.Context, input *ListPackageVersionAssetsInput, opts ...request.Option) (*ListPackageVersionAssetsOutput, error)

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

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

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

func (*CodeArtifact) ListPackageVersionDependencies

ListPackageVersionDependencies API operation for CodeArtifact.

Returns the direct dependencies for a package version. The dependencies are returned as PackageDependency (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageDependency.html) objects. CodeArtifact extracts the dependencies for a package version from the metadata file for the package format (for example, the package.json file for npm packages and the pom.xml file for Maven). Any package version dependencies that are not listed in the configuration file are not returned.

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

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

Returned Error Types:

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

  • InternalServerException The operation did not succeed because of an error that occurred inside AWS 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.

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 AWS 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 AWS 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 AWS 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 AWS 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 AWS 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) ListTagsForResource added in v1.35.18

func (c *CodeArtifact) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for CodeArtifact.

Gets information about AWS tags for a specified Amazon Resource Name (ARN) in AWS CodeArtifact.

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

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

Returned Error Types:

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

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

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

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

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

func (*CodeArtifact) ListTagsForResourceRequest added in v1.35.18

func (c *CodeArtifact) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

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

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

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

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

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

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

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

func (*CodeArtifact) ListTagsForResourceWithContext added in v1.35.18

func (c *CodeArtifact) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

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

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

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

func (*CodeArtifact) 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 AWS 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) PutRepositoryPermissionsPolicy

PutRepositoryPermissionsPolicy API operation for CodeArtifact.

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

When you call PutRepositoryPermissionsPolicy, the resource policy on the repository is ignored when evaluting permissions. This ensures that the owner of a repository cannot lock themselves out of the repository, which would prevent them from being able to update the resource policy.

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

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

Returned Error Types:

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

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

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

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

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

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

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

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

func (*CodeArtifact) PutRepositoryPermissionsPolicyRequest

func (c *CodeArtifact) PutRepositoryPermissionsPolicyRequest(input *PutRepositoryPermissionsPolicyInput) (req *request.Request, output *PutRepositoryPermissionsPolicyOutput)

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

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

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

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

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

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

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

func (*CodeArtifact) PutRepositoryPermissionsPolicyWithContext

func (c *CodeArtifact) PutRepositoryPermissionsPolicyWithContext(ctx aws.Context, input *PutRepositoryPermissionsPolicyInput, opts ...request.Option) (*PutRepositoryPermissionsPolicyOutput, error)

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

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

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

func (*CodeArtifact) TagResource added in v1.35.18

func (c *CodeArtifact) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for CodeArtifact.

Adds or updates tags for a resource in AWS CodeArtifact.

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

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

Returned Error Types:

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

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

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

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

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

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

func (*CodeArtifact) TagResourceRequest added in v1.35.18

func (c *CodeArtifact) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

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

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

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

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

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

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

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

func (*CodeArtifact) TagResourceWithContext added in v1.35.18

func (c *CodeArtifact) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

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

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

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

func (*CodeArtifact) UntagResource added in v1.35.18

func (c *CodeArtifact) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for CodeArtifact.

Removes tags from a resource in AWS CodeArtifact.

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

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

Returned Error Types:

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

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

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

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

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

func (*CodeArtifact) UntagResourceRequest added in v1.35.18

func (c *CodeArtifact) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

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

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

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

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

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

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

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

func (*CodeArtifact) UntagResourceWithContext added in v1.35.18

func (c *CodeArtifact) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

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

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

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

func (*CodeArtifact) 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.

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

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

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 AWS 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 is copied. The valid package types 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.
	//
	// 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. The package component that specifies its namespace
	// depends on its type. For example:
	//
	//    * The namespace of a Maven package is its groupId.
	//
	//    * The namespace of an npm package is its scope.
	//
	//    * A Python package does not contain a corresponding component, so Python
	//    packages do not have a namespace.
	//
	//    * A NuGet package does not contain a corresponding component, so NuGet
	//    packages do not have a namespace.
	Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"`

	// The name of the package that is 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 copy.
	//
	// 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 copy.
	//
	// 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

func (*CopyPackageVersionsInput) SetAllowOverwrite

func (s *CopyPackageVersionsInput) SetAllowOverwrite(v bool) *CopyPackageVersionsInput

SetAllowOverwrite sets the AllowOverwrite field's value.

func (*CopyPackageVersionsInput) SetDestinationRepository

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

SetDestinationRepository sets the DestinationRepository field's value.

func (*CopyPackageVersionsInput) SetDomain

SetDomain sets the Domain field's value.

func (*CopyPackageVersionsInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*CopyPackageVersionsInput) SetFormat

SetFormat sets the Format field's value.

func (*CopyPackageVersionsInput) SetIncludeFromUpstream

func (s *CopyPackageVersionsInput) SetIncludeFromUpstream(v bool) *CopyPackageVersionsInput

SetIncludeFromUpstream sets the IncludeFromUpstream field's value.

func (*CopyPackageVersionsInput) SetNamespace

SetNamespace sets the Namespace field's value.

func (*CopyPackageVersionsInput) SetPackage

SetPackage sets the Package field's value.

func (*CopyPackageVersionsInput) SetSourceRepository

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

SetSourceRepository sets the SourceRepository field's value.

func (*CopyPackageVersionsInput) SetVersionRevisions

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

SetVersionRevisions sets the VersionRevisions field's value.

func (*CopyPackageVersionsInput) SetVersions

SetVersions sets the Versions field's value.

func (CopyPackageVersionsInput) String

func (s CopyPackageVersionsInput) String() string

String returns the string representation

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

func (*CopyPackageVersionsOutput) SetFailedVersions

SetFailedVersions sets the FailedVersions field's value.

func (*CopyPackageVersionsOutput) SetSuccessfulVersions

SetSuccessfulVersions sets the SuccessfulVersions field's value.

func (CopyPackageVersionsOutput) String

func (s CopyPackageVersionsOutput) String() string

String returns the string representation

type CreateDomainInput

type CreateDomainInput struct {

	// The name of the domain to create. All domain names in an AWS Region that
	// are in the same AWS 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 AWS Key Management Service API Reference and AWS KMS API Permissions
	// Reference (https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html)
	// in the AWS 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 AWS 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

func (*CreateDomainInput) SetDomain

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

SetDomain sets the Domain field's value.

func (*CreateDomainInput) SetEncryptionKey

func (s *CreateDomainInput) SetEncryptionKey(v string) *CreateDomainInput

SetEncryptionKey sets the EncryptionKey field's value.

func (*CreateDomainInput) SetTags added in v1.35.18

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

SetTags sets the Tags field's value.

func (CreateDomainInput) String

func (s CreateDomainInput) String() string

String returns the string representation

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

func (*CreateDomainOutput) SetDomain

SetDomain sets the Domain field's value.

func (CreateDomainOutput) String

func (s CreateDomainOutput) String() string

String returns the string representation

type CreateRepositoryInput

type CreateRepositoryInput struct {

	// A description of the created repository.
	Description *string `locationName:"description" type:"string"`

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

func (*CreateRepositoryInput) SetDescription

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

SetDescription sets the Description field's value.

func (*CreateRepositoryInput) SetDomain

SetDomain sets the Domain field's value.

func (*CreateRepositoryInput) SetDomainOwner

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

SetDomainOwner sets the DomainOwner field's value.

func (*CreateRepositoryInput) SetRepository

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

SetRepository sets the Repository field's value.

func (*CreateRepositoryInput) SetTags added in v1.35.18

SetTags sets the Tags field's value.

func (*CreateRepositoryInput) SetUpstreams

SetUpstreams sets the Upstreams field's value.

func (CreateRepositoryInput) String

func (s CreateRepositoryInput) String() string

String returns the string representation

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

func (*CreateRepositoryOutput) SetRepository

SetRepository sets the Repository field's value.

func (CreateRepositoryOutput) String

func (s CreateRepositoryOutput) String() string

String returns the string representation

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

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

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

func (*DeleteDomainOutput) SetDomain

SetDomain sets the Domain field's value.

func (DeleteDomainOutput) String

func (s DeleteDomainOutput) String() string

String returns the string representation

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 AWS account that owns the domain. It does
	// not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// The current revision of the resource policy to be deleted. This revision
	// is used for optimistic locking, which prevents others from overwriting your
	// changes to the domain's resource policy.
	PolicyRevision *string `location:"querystring" locationName:"policy-revision" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DeleteDomainPermissionsPolicyInput) GoString

GoString returns the string representation

func (*DeleteDomainPermissionsPolicyInput) SetDomain

SetDomain sets the Domain field's value.

func (*DeleteDomainPermissionsPolicyInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*DeleteDomainPermissionsPolicyInput) SetPolicyRevision

SetPolicyRevision sets the PolicyRevision field's value.

func (DeleteDomainPermissionsPolicyInput) String

String returns the string representation

func (*DeleteDomainPermissionsPolicyInput) Validate

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

type DeleteDomainPermissionsPolicyOutput

type DeleteDomainPermissionsPolicyOutput struct {

	// Information about the deleted resource policy after processing the request.
	Policy *ResourcePolicy `locationName:"policy" type:"structure"`
	// contains filtered or unexported fields
}

func (DeleteDomainPermissionsPolicyOutput) GoString

GoString returns the string representation

func (*DeleteDomainPermissionsPolicyOutput) SetPolicy

SetPolicy sets the Policy field's value.

func (DeleteDomainPermissionsPolicyOutput) String

String returns the string representation

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 AWS 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. Valid values are:
	//
	//    * Published
	//
	//    * Unfinished
	//
	//    * Unlisted
	//
	//    * Archived
	//
	//    * Disposed
	ExpectedStatus *string `locationName:"expectedStatus" type:"string" enum:"PackageVersionStatus"`

	// The format of the package versions to delete. The valid values are:
	//
	//    * npm
	//
	//    * pypi
	//
	//    * maven
	//
	//    * nuget
	//
	// Format is a required field
	Format *string `location:"querystring" locationName:"format" type:"string" required:"true" 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 is its groupId.
	//
	//    * The namespace of an npm package is its scope.
	//
	//    * A Python package does not contain a corresponding component, so Python
	//    packages do not have a namespace.
	//
	//    * A NuGet package does not contain a corresponding component, so NuGet
	//    packages 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

func (*DeletePackageVersionsInput) SetDomain

SetDomain sets the Domain field's value.

func (*DeletePackageVersionsInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*DeletePackageVersionsInput) SetExpectedStatus

SetExpectedStatus sets the ExpectedStatus field's value.

func (*DeletePackageVersionsInput) SetFormat

SetFormat sets the Format field's value.

func (*DeletePackageVersionsInput) SetNamespace

SetNamespace sets the Namespace field's value.

func (*DeletePackageVersionsInput) SetPackage

SetPackage sets the Package field's value.

func (*DeletePackageVersionsInput) SetRepository

SetRepository sets the Repository field's value.

func (*DeletePackageVersionsInput) SetVersions

SetVersions sets the Versions field's value.

func (DeletePackageVersionsInput) String

String returns the string representation

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

func (*DeletePackageVersionsOutput) SetFailedVersions

SetFailedVersions sets the FailedVersions field's value.

func (*DeletePackageVersionsOutput) SetSuccessfulVersions

SetSuccessfulVersions sets the SuccessfulVersions field's value.

func (DeletePackageVersionsOutput) String

String returns the string representation

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

func (*DeleteRepositoryInput) SetDomain

SetDomain sets the Domain field's value.

func (*DeleteRepositoryInput) SetDomainOwner

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

SetDomainOwner sets the DomainOwner field's value.

func (*DeleteRepositoryInput) SetRepository

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

SetRepository sets the Repository field's value.

func (DeleteRepositoryInput) String

func (s DeleteRepositoryInput) String() string

String returns the string representation

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

func (*DeleteRepositoryOutput) SetRepository

SetRepository sets the Repository field's value.

func (DeleteRepositoryOutput) String

func (s DeleteRepositoryOutput) String() string

String returns the string representation

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 AWS account that owns the domain. It does
	// not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// The revision of the repository's resource policy to be deleted. This revision
	// is used for optimistic locking, which prevents others from accidentally overwriting
	// your changes to the repository's resource policy.
	PolicyRevision *string `location:"querystring" locationName:"policy-revision" min:"1" type:"string"`

	// The name of the repository that is associated with the resource policy to
	// be deleted
	//
	// Repository is a required field
	Repository *string `location:"querystring" locationName:"repository" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteRepositoryPermissionsPolicyInput) GoString

GoString returns the string representation

func (*DeleteRepositoryPermissionsPolicyInput) SetDomain

SetDomain sets the Domain field's value.

func (*DeleteRepositoryPermissionsPolicyInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*DeleteRepositoryPermissionsPolicyInput) SetPolicyRevision

SetPolicyRevision sets the PolicyRevision field's value.

func (*DeleteRepositoryPermissionsPolicyInput) SetRepository

SetRepository sets the Repository field's value.

func (DeleteRepositoryPermissionsPolicyInput) String

String returns the string representation

func (*DeleteRepositoryPermissionsPolicyInput) Validate

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

type DeleteRepositoryPermissionsPolicyOutput

type DeleteRepositoryPermissionsPolicyOutput struct {

	// Information about the deleted policy after processing the request.
	Policy *ResourcePolicy `locationName:"policy" type:"structure"`
	// contains filtered or unexported fields
}

func (DeleteRepositoryPermissionsPolicyOutput) GoString

GoString returns the string representation

func (*DeleteRepositoryPermissionsPolicyOutput) SetPolicy

SetPolicy sets the Policy field's value.

func (DeleteRepositoryPermissionsPolicyOutput) String

String returns the string representation

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

func (*DescribeDomainInput) SetDomain

SetDomain sets the Domain field's value.

func (*DescribeDomainInput) SetDomainOwner

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

SetDomainOwner sets the DomainOwner field's value.

func (DescribeDomainInput) String

func (s DescribeDomainInput) String() string

String returns the string representation

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

func (*DescribeDomainOutput) SetDomain

SetDomain sets the Domain field's value.

func (DescribeDomainOutput) String

func (s DescribeDomainOutput) String() string

String returns the string representation

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 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 requested package version. The valid
	// values are:
	//
	//    * npm
	//
	//    * pypi
	//
	//    * maven
	//
	//    * nuget
	//
	// Format is a required field
	Format *string `location:"querystring" locationName:"format" type:"string" required:"true" 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 is its groupId.
	//
	//    * The namespace of an npm package is its scope.
	//
	//    * A Python package does not contain a corresponding component, so Python
	//    packages do not have a namespace.
	//
	//    * A NuGet package does not contain a corresponding component, so NuGet
	//    packages 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

func (*DescribePackageVersionInput) SetDomain

SetDomain sets the Domain field's value.

func (*DescribePackageVersionInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*DescribePackageVersionInput) SetFormat

SetFormat sets the Format field's value.

func (*DescribePackageVersionInput) SetNamespace

SetNamespace sets the Namespace field's value.

func (*DescribePackageVersionInput) SetPackage

SetPackage sets the Package field's value.

func (*DescribePackageVersionInput) SetPackageVersion

SetPackageVersion sets the PackageVersion field's value.

func (*DescribePackageVersionInput) SetRepository

SetRepository sets the Repository field's value.

func (DescribePackageVersionInput) String

String returns the string representation

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

func (*DescribePackageVersionOutput) SetPackageVersion

SetPackageVersion sets the PackageVersion field's value.

func (DescribePackageVersionOutput) String

String returns the string representation

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

func (*DescribeRepositoryInput) SetDomain

SetDomain sets the Domain field's value.

func (*DescribeRepositoryInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*DescribeRepositoryInput) SetRepository

SetRepository sets the Repository field's value.

func (DescribeRepositoryInput) String

func (s DescribeRepositoryInput) String() string

String returns the string representation

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

func (*DescribeRepositoryOutput) SetRepository

SetRepository sets the Repository field's value.

func (DescribeRepositoryOutput) String

func (s DescribeRepositoryOutput) String() string

String returns the string representation

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 AWS 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" type:"string" required:"true"`

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

func (DisassociateExternalConnectionInput) GoString

GoString returns the string representation

func (*DisassociateExternalConnectionInput) SetDomain

SetDomain sets the Domain field's value.

func (*DisassociateExternalConnectionInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*DisassociateExternalConnectionInput) SetExternalConnection

SetExternalConnection sets the ExternalConnection field's value.

func (*DisassociateExternalConnectionInput) SetRepository

SetRepository sets the Repository field's value.

func (DisassociateExternalConnectionInput) String

String returns the string representation

func (*DisassociateExternalConnectionInput) Validate

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

type DisassociateExternalConnectionOutput

type DisassociateExternalConnectionOutput struct {

	// The repository associated with the removed external connection.
	Repository *RepositoryDescription `locationName:"repository" type:"structure"`
	// contains filtered or unexported fields
}

func (DisassociateExternalConnectionOutput) GoString

GoString returns the string representation

func (*DisassociateExternalConnectionOutput) SetRepository

SetRepository sets the Repository field's value.

func (DisassociateExternalConnectionOutput) String

String returns the string representation

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 AWS 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. Valid values are:
	//
	//    * Published
	//
	//    * Unfinished
	//
	//    * Unlisted
	//
	//    * Archived
	//
	//    * Disposed
	ExpectedStatus *string `locationName:"expectedStatus" type:"string" enum:"PackageVersionStatus"`

	// A format that specifies the type of package versions you want to dispose.
	// The valid values are:
	//
	//    * npm
	//
	//    * pypi
	//
	//    * maven
	//
	//    * nuget
	//
	// Format is a required field
	Format *string `location:"querystring" locationName:"format" type:"string" required:"true" 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 is its groupId.
	//
	//    * The namespace of an npm package is its scope.
	//
	//    * A Python package does not contain a corresponding component, so Python
	//    packages do not have a namespace.
	//
	//    * A NuGet package does not contain a corresponding component, so NuGet
	//    packages 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

func (*DisposePackageVersionsInput) SetDomain

SetDomain sets the Domain field's value.

func (*DisposePackageVersionsInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*DisposePackageVersionsInput) SetExpectedStatus

SetExpectedStatus sets the ExpectedStatus field's value.

func (*DisposePackageVersionsInput) SetFormat

SetFormat sets the Format field's value.

func (*DisposePackageVersionsInput) SetNamespace

SetNamespace sets the Namespace field's value.

func (*DisposePackageVersionsInput) SetPackage

SetPackage sets the Package field's value.

func (*DisposePackageVersionsInput) SetRepository

SetRepository sets the Repository field's value.

func (*DisposePackageVersionsInput) SetVersionRevisions

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

SetVersionRevisions sets the VersionRevisions field's value.

func (*DisposePackageVersionsInput) SetVersions

SetVersions sets the Versions field's value.

func (DisposePackageVersionsInput) String

String returns the string representation

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

func (*DisposePackageVersionsOutput) SetFailedVersions

SetFailedVersions sets the FailedVersions field's value.

func (*DisposePackageVersionsOutput) SetSuccessfulVersions

SetSuccessfulVersions sets the SuccessfulVersions field's value.

func (DisposePackageVersionsOutput) String

String returns the string representation

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 AWS Key Management Service (AWS 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 AWS 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. The valid values are
	//
	//    * Active
	//
	//    * Deleted
	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

func (*DomainDescription) SetArn

SetArn sets the Arn field's value.

func (*DomainDescription) SetAssetSizeBytes

func (s *DomainDescription) SetAssetSizeBytes(v int64) *DomainDescription

SetAssetSizeBytes sets the AssetSizeBytes field's value.

func (*DomainDescription) SetCreatedTime

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

SetCreatedTime sets the CreatedTime field's value.

func (*DomainDescription) SetEncryptionKey

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

SetEncryptionKey sets the EncryptionKey field's value.

func (*DomainDescription) SetName

SetName sets the Name field's value.

func (*DomainDescription) SetOwner

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

SetOwner sets the Owner field's value.

func (*DomainDescription) SetRepositoryCount

func (s *DomainDescription) SetRepositoryCount(v int64) *DomainDescription

SetRepositoryCount sets the RepositoryCount field's value.

func (*DomainDescription) SetS3BucketArn added in v1.35.18

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

SetS3BucketArn sets the S3BucketArn field's value.

func (*DomainDescription) SetStatus

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

SetStatus sets the Status field's value.

func (DomainDescription) String

func (s DomainDescription) String() string

String returns the string representation

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 AWS 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. The valid values are:
	//
	//    * Active
	//
	//    * Deleted
	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

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

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

func (*GetAuthorizationTokenInput) SetDomain

SetDomain sets the Domain field's value.

func (*GetAuthorizationTokenInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*GetAuthorizationTokenInput) SetDurationSeconds

SetDurationSeconds sets the DurationSeconds field's value.

func (GetAuthorizationTokenInput) String

String returns the string representation

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

func (*GetAuthorizationTokenOutput) SetAuthorizationToken

func (s *GetAuthorizationTokenOutput) SetAuthorizationToken(v string) *GetAuthorizationTokenOutput

SetAuthorizationToken sets the AuthorizationToken field's value.

func (*GetAuthorizationTokenOutput) SetExpiration

SetExpiration sets the Expiration field's value.

func (GetAuthorizationTokenOutput) String

String returns the string representation

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 AWS account that owns the domain. It does
	// not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`
	// contains filtered or unexported fields
}

func (GetDomainPermissionsPolicyInput) GoString

GoString returns the string representation

func (*GetDomainPermissionsPolicyInput) SetDomain

SetDomain sets the Domain field's value.

func (*GetDomainPermissionsPolicyInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (GetDomainPermissionsPolicyInput) String

String returns the string representation

func (*GetDomainPermissionsPolicyInput) Validate

func (s *GetDomainPermissionsPolicyInput) Validate() error

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

type GetDomainPermissionsPolicyOutput

type GetDomainPermissionsPolicyOutput struct {

	// The returned resource policy.
	Policy *ResourcePolicy `locationName:"policy" type:"structure"`
	// contains filtered or unexported fields
}

func (GetDomainPermissionsPolicyOutput) GoString

GoString returns the string representation

func (*GetDomainPermissionsPolicyOutput) SetPolicy

SetPolicy sets the Policy field's value.

func (GetDomainPermissionsPolicyOutput) String

String returns the string representation

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 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 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 valid values are:
	//
	//    * npm
	//
	//    * pypi
	//
	//    * maven
	//
	//    * nuget
	//
	// Format is a required field
	Format *string `location:"querystring" locationName:"format" type:"string" required:"true" 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 is its groupId.
	//
	//    * The namespace of an npm package is its scope.
	//
	//    * A Python package does not contain a corresponding component, so Python
	//    packages do not have a namespace.
	//
	//    * A NuGet package does not contain a corresponding component, so NuGet
	//    packages 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

func (*GetPackageVersionAssetInput) SetAsset

SetAsset sets the Asset field's value.

func (*GetPackageVersionAssetInput) SetDomain

SetDomain sets the Domain field's value.

func (*GetPackageVersionAssetInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*GetPackageVersionAssetInput) SetFormat

SetFormat sets the Format field's value.

func (*GetPackageVersionAssetInput) SetNamespace

SetNamespace sets the Namespace field's value.

func (*GetPackageVersionAssetInput) SetPackage

SetPackage sets the Package field's value.

func (*GetPackageVersionAssetInput) SetPackageVersion

SetPackageVersion sets the PackageVersion field's value.

func (*GetPackageVersionAssetInput) SetPackageVersionRevision

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

SetPackageVersionRevision sets the PackageVersionRevision field's value.

func (*GetPackageVersionAssetInput) SetRepository

SetRepository sets the Repository field's value.

func (GetPackageVersionAssetInput) String

String returns the string representation

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

func (*GetPackageVersionAssetOutput) SetAsset

SetAsset sets the Asset field's value.

func (*GetPackageVersionAssetOutput) SetAssetName

SetAssetName sets the AssetName field's value.

func (*GetPackageVersionAssetOutput) SetPackageVersion

SetPackageVersion sets the PackageVersion field's value.

func (*GetPackageVersionAssetOutput) SetPackageVersionRevision

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

SetPackageVersionRevision sets the PackageVersionRevision field's value.

func (GetPackageVersionAssetOutput) String

String returns the string representation

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 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
	// readme file. The valid values are:
	//
	//    * npm
	//
	//    * pypi
	//
	//    * maven
	//
	//    * nuget
	//
	// Format is a required field
	Format *string `location:"querystring" locationName:"format" type:"string" required:"true" 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 is its groupId.
	//
	//    * The namespace of an npm package is its scope.
	//
	//    * A Python package does not contain a corresponding component, so Python
	//    packages do not have a namespace.
	//
	//    * A NuGet package does not contain a corresponding component, so NuGet
	//    packages 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

func (*GetPackageVersionReadmeInput) SetDomain

SetDomain sets the Domain field's value.

func (*GetPackageVersionReadmeInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*GetPackageVersionReadmeInput) SetFormat

SetFormat sets the Format field's value.

func (*GetPackageVersionReadmeInput) SetNamespace

SetNamespace sets the Namespace field's value.

func (*GetPackageVersionReadmeInput) SetPackage

SetPackage sets the Package field's value.

func (*GetPackageVersionReadmeInput) SetPackageVersion

SetPackageVersion sets the PackageVersion field's value.

func (*GetPackageVersionReadmeInput) SetRepository

SetRepository sets the Repository field's value.

func (GetPackageVersionReadmeInput) String

String returns the string representation

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. Valid format types
	// are:
	//
	//    * npm
	//
	//    * pypi
	//
	//    * maven
	//
	//    * nuget
	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 is its groupId.
	//
	//    * The namespace of an npm package is its scope.
	//
	//    * A Python package does not contain a corresponding component, so Python
	//    packages do not have a namespace.
	//
	//    * A NuGet package does not contain a corresponding component, so NuGet
	//    packages do not have a namespace.
	Namespace *string `locationName:"namespace" min:"1" type:"string"`

	// The name of the package that contains the returned readme file.
	Package *string `locationName:"package" min:"1" type:"string"`

	// The text of the returned readme file.
	Readme *string `locationName:"readme" type:"string"`

	// The version of the package with the requested readme file.
	Version *string `locationName:"version" min:"1" type:"string"`

	// The current revision associated with the package version.
	VersionRevision *string `locationName:"versionRevision" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (GetPackageVersionReadmeOutput) GoString

GoString returns the string representation

func (*GetPackageVersionReadmeOutput) SetFormat

SetFormat sets the Format field's value.

func (*GetPackageVersionReadmeOutput) SetNamespace

SetNamespace sets the Namespace field's value.

func (*GetPackageVersionReadmeOutput) SetPackage

SetPackage sets the Package field's value.

func (*GetPackageVersionReadmeOutput) SetReadme

SetReadme sets the Readme field's value.

func (*GetPackageVersionReadmeOutput) SetVersion

SetVersion sets the Version field's value.

func (*GetPackageVersionReadmeOutput) SetVersionRevision

SetVersionRevision sets the VersionRevision field's value.

func (GetPackageVersionReadmeOutput) String

String returns the string representation

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 AWS 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:
	//
	//    * npm
	//
	//    * pypi
	//
	//    * maven
	//
	//    * nuget
	//
	// 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

func (*GetRepositoryEndpointInput) SetDomain

SetDomain sets the Domain field's value.

func (*GetRepositoryEndpointInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*GetRepositoryEndpointInput) SetFormat

SetFormat sets the Format field's value.

func (*GetRepositoryEndpointInput) SetRepository

SetRepository sets the Repository field's value.

func (GetRepositoryEndpointInput) String

String returns the string representation

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

func (*GetRepositoryEndpointOutput) SetRepositoryEndpoint

func (s *GetRepositoryEndpointOutput) SetRepositoryEndpoint(v string) *GetRepositoryEndpointOutput

SetRepositoryEndpoint sets the RepositoryEndpoint field's value.

func (GetRepositoryEndpointOutput) String

String returns the string representation

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 AWS account that owns the domain. It does
	// not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// The name of the repository whose associated resource policy is to be retrieved.
	//
	// Repository is a required field
	Repository *string `location:"querystring" locationName:"repository" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetRepositoryPermissionsPolicyInput) GoString

GoString returns the string representation

func (*GetRepositoryPermissionsPolicyInput) SetDomain

SetDomain sets the Domain field's value.

func (*GetRepositoryPermissionsPolicyInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*GetRepositoryPermissionsPolicyInput) SetRepository

SetRepository sets the Repository field's value.

func (GetRepositoryPermissionsPolicyInput) String

String returns the string representation

func (*GetRepositoryPermissionsPolicyInput) Validate

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

type GetRepositoryPermissionsPolicyOutput

type GetRepositoryPermissionsPolicyOutput struct {

	// The returned resource policy.
	Policy *ResourcePolicy `locationName:"policy" type:"structure"`
	// contains filtered or unexported fields
}

func (GetRepositoryPermissionsPolicyOutput) GoString

GoString returns the string representation

func (*GetRepositoryPermissionsPolicyOutput) SetPolicy

SetPolicy sets the Policy field's value.

func (GetRepositoryPermissionsPolicyOutput) String

String returns the string representation

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

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

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

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

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

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

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

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

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 AWS 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 returned package version assets.
	// The valid package types 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.
	//
	// 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. The package component that specifies its namespace
	// depends on its type. For example:
	//
	//    * The namespace of a Maven package is its groupId.
	//
	//    * The namespace of an npm package is its scope.
	//
	//    * A Python package does not contain a corresponding component, so Python
	//    packages do not have a namespace.
	//
	//    * A NuGet package does not contain a corresponding component, so NuGet
	//    packages 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 returned 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 returned
	// package version assets.
	//
	// Repository is a required field
	Repository *string `location:"querystring" locationName:"repository" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListPackageVersionAssetsInput) GoString

GoString returns the string representation

func (*ListPackageVersionAssetsInput) SetDomain

SetDomain sets the Domain field's value.

func (*ListPackageVersionAssetsInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*ListPackageVersionAssetsInput) SetFormat

SetFormat sets the Format field's value.

func (*ListPackageVersionAssetsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListPackageVersionAssetsInput) SetNamespace

SetNamespace sets the Namespace field's value.

func (*ListPackageVersionAssetsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListPackageVersionAssetsInput) SetPackage

SetPackage sets the Package field's value.

func (*ListPackageVersionAssetsInput) SetPackageVersion

SetPackageVersion sets the PackageVersion field's value.

func (*ListPackageVersionAssetsInput) SetRepository

SetRepository sets the Repository field's value.

func (ListPackageVersionAssetsInput) String

String returns the string representation

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 returned package version assets.
	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 is its groupId.
	//
	//    * The namespace of an npm package is its scope.
	//
	//    * A Python package does not contain a corresponding component, so Python
	//    packages do not have a namespace.
	//
	//    * A NuGet package does not contain a corresponding component, so NuGet
	//    packages 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 returned package version assets.
	Package *string `locationName:"package" min:"1" type:"string"`

	// The version of the package associated with the returned assets.
	Version *string `locationName:"version" min:"1" type:"string"`

	// The current revision associated with the package version.
	VersionRevision *string `locationName:"versionRevision" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListPackageVersionAssetsOutput) GoString

GoString returns the string representation

func (*ListPackageVersionAssetsOutput) SetAssets

SetAssets sets the Assets field's value.

func (*ListPackageVersionAssetsOutput) SetFormat

SetFormat sets the Format field's value.

func (*ListPackageVersionAssetsOutput) SetNamespace

SetNamespace sets the Namespace field's value.

func (*ListPackageVersionAssetsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListPackageVersionAssetsOutput) SetPackage

SetPackage sets the Package field's value.

func (*ListPackageVersionAssetsOutput) SetVersion

SetVersion sets the Version field's value.

func (*ListPackageVersionAssetsOutput) SetVersionRevision

SetVersionRevision sets the VersionRevision field's value.

func (ListPackageVersionAssetsOutput) String

String returns the string representation

type ListPackageVersionDependenciesInput

type ListPackageVersionDependenciesInput struct {

	// 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 AWS 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. The valid package
	// types 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.
	//
	// Format is a required field
	Format *string `location:"querystring" locationName:"format" type:"string" required:"true" 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 is its groupId.
	//
	//    * The namespace of an npm package is its scope.
	//
	//    * A Python package does not contain a corresponding component, so Python
	//    packages do not have a namespace.
	//
	//    * A NuGet package does not contain a corresponding component, so NuGet
	//    packages do not have a namespace.
	Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"`

	// The token for the next set of results. Use the value returned in the previous
	// response in the next request to retrieve the next set of results.
	NextToken *string `location:"querystring" locationName:"next-token" min:"1" type:"string"`

	// The name of the package versions' package.
	//
	// Package is a required field
	Package *string `location:"querystring" locationName:"package" min:"1" type:"string" required:"true"`

	// A string that contains the package version (for example, 3.5.2).
	//
	// PackageVersion is a required field
	PackageVersion *string `location:"querystring" locationName:"version" min:"1" type:"string" required:"true"`

	// The name of the repository that contains the requested package version.
	//
	// Repository is a required field
	Repository *string `location:"querystring" locationName:"repository" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListPackageVersionDependenciesInput) GoString

GoString returns the string representation

func (*ListPackageVersionDependenciesInput) SetDomain

SetDomain sets the Domain field's value.

func (*ListPackageVersionDependenciesInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*ListPackageVersionDependenciesInput) SetFormat

SetFormat sets the Format field's value.

func (*ListPackageVersionDependenciesInput) SetNamespace

SetNamespace sets the Namespace field's value.

func (*ListPackageVersionDependenciesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListPackageVersionDependenciesInput) SetPackage

SetPackage sets the Package field's value.

func (*ListPackageVersionDependenciesInput) SetPackageVersion

SetPackageVersion sets the PackageVersion field's value.

func (*ListPackageVersionDependenciesInput) SetRepository

SetRepository sets the Repository field's value.

func (ListPackageVersionDependenciesInput) String

String returns the string representation

func (*ListPackageVersionDependenciesInput) Validate

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

type ListPackageVersionDependenciesOutput

type ListPackageVersionDependenciesOutput struct {

	// The returned list of PackageDependency (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageDependency.html)
	// objects.
	Dependencies []*PackageDependency `locationName:"dependencies" type:"list"`

	// A format that specifies the type of the package that contains the returned
	// dependencies. The valid values are:
	//
	//    * npm
	//
	//    * pypi
	//
	//    * maven
	//
	//    * nuget
	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 is its groupId.
	//
	//    * The namespace of an npm package is its scope.
	//
	//    * A Python package does not contain a corresponding component, so Python
	//    packages do not have a namespace.
	//
	//    * A NuGet package does not contain a corresponding component, so NuGet
	//    packages do not have a namespace.
	Namespace *string `locationName:"namespace" min:"1" type:"string"`

	// The token for the next set of results. Use the value returned in the previous
	// response in the next request to retrieve the next set of results.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`

	// The name of the package that contains the returned package versions dependencies.
	Package *string `locationName:"package" min:"1" type:"string"`

	// The version of the package that is specified in the request.
	Version *string `locationName:"version" min:"1" type:"string"`

	// The current revision associated with the package version.
	VersionRevision *string `locationName:"versionRevision" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListPackageVersionDependenciesOutput) GoString

GoString returns the string representation

func (*ListPackageVersionDependenciesOutput) SetDependencies

SetDependencies sets the Dependencies field's value.

func (*ListPackageVersionDependenciesOutput) SetFormat

SetFormat sets the Format field's value.

func (*ListPackageVersionDependenciesOutput) SetNamespace

SetNamespace sets the Namespace field's value.

func (*ListPackageVersionDependenciesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListPackageVersionDependenciesOutput) SetPackage

SetPackage sets the Package field's value.

func (*ListPackageVersionDependenciesOutput) SetVersion

SetVersion sets the Version field's value.

func (*ListPackageVersionDependenciesOutput) SetVersionRevision

SetVersionRevision sets the VersionRevision field's value.

func (ListPackageVersionDependenciesOutput) String

String returns the string representation

type ListPackageVersionsInput

type ListPackageVersionsInput struct {

	// The name of the domain that contains the repository that contains the returned
	// 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 AWS 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 returned packages. The valid package types 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.
	//
	// 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. The package component that specifies its namespace
	// depends on its type. For example:
	//
	//    * The namespace of a Maven package is its groupId.
	//
	//    * The namespace of an npm package is its scope.
	//
	//    * A Python package does not contain a corresponding component, so Python
	//    packages do not have a namespace.
	//
	//    * A NuGet package does not contain a corresponding component, so NuGet
	//    packages 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 for which you want to return a list of 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 package.
	//
	// Repository is a required field
	Repository *string `location:"querystring" locationName:"repository" min:"2" type:"string" required:"true"`

	// How to sort the returned list of package versions.
	SortBy *string `location:"querystring" locationName:"sortBy" type:"string" enum:"PackageVersionSortType"`

	// A string that specifies the status of the package versions to include in
	// the returned list. It can be one of the following:
	//
	//    * Published
	//
	//    * Unfinished
	//
	//    * Unlisted
	//
	//    * Archived
	//
	//    * Disposed
	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

func (*ListPackageVersionsInput) SetDomain

SetDomain sets the Domain field's value.

func (*ListPackageVersionsInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*ListPackageVersionsInput) SetFormat

SetFormat sets the Format field's value.

func (*ListPackageVersionsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListPackageVersionsInput) SetNamespace

SetNamespace sets the Namespace field's value.

func (*ListPackageVersionsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListPackageVersionsInput) SetPackage

SetPackage sets the Package field's value.

func (*ListPackageVersionsInput) SetRepository

SetRepository sets the Repository field's value.

func (*ListPackageVersionsInput) SetSortBy

SetSortBy sets the SortBy field's value.

func (*ListPackageVersionsInput) SetStatus

SetStatus sets the Status field's value.

func (ListPackageVersionsInput) String

func (s ListPackageVersionsInput) String() string

String returns the string representation

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. Valid package format values are:
	//
	//    * npm
	//
	//    * pypi
	//
	//    * maven
	//
	//    * nuget
	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 is its groupId.
	//
	//    * The namespace of an npm package is its scope.
	//
	//    * A Python package does not contain a corresponding component, so Python
	//    packages do not have a namespace.
	//
	//    * A NuGet package does not contain a corresponding component, so NuGet
	//    packages 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

func (*ListPackageVersionsOutput) SetDefaultDisplayVersion

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

SetDefaultDisplayVersion sets the DefaultDisplayVersion field's value.

func (*ListPackageVersionsOutput) SetFormat

SetFormat sets the Format field's value.

func (*ListPackageVersionsOutput) SetNamespace

SetNamespace sets the Namespace field's value.

func (*ListPackageVersionsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListPackageVersionsOutput) SetPackage

SetPackage sets the Package field's value.

func (*ListPackageVersionsOutput) SetVersions

SetVersions sets the Versions field's value.

func (ListPackageVersionsOutput) String

func (s ListPackageVersionsOutput) String() string

String returns the string representation

type ListPackagesInput

type ListPackagesInput struct {

	// The domain that contains the repository that contains the requested list
	// of 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 AWS 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 packages. The valid package types 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.
	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 of the package. The package component that specifies its namespace
	// depends on its type. For example:
	//
	//    * The namespace of a Maven package is its groupId.
	//
	//    * The namespace of an npm package is its scope.
	//
	//    * A Python package does not contain a corresponding component, so Python
	//    packages do not have a namespace.
	//
	//    * A NuGet package does not contain a corresponding component, so NuGet
	//    packages 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 returned packages. Only packages with names that
	// start with packagePrefix are returned.
	PackagePrefix *string `location:"querystring" locationName:"package-prefix" min:"1" type:"string"`

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

func (ListPackagesInput) GoString

func (s ListPackagesInput) GoString() string

GoString returns the string representation

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

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

SetRepository sets the Repository field's value.

func (ListPackagesInput) String

func (s ListPackagesInput) String() string

String returns the string representation

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

func (*ListPackagesOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListPackagesOutput) SetPackages

SetPackages sets the Packages field's value.

func (ListPackagesOutput) String

func (s ListPackagesOutput) String() string

String returns the string representation

type ListRepositoriesInDomainInput

type ListRepositoriesInDomainInput struct {

	// Filter the list of repositories to only include those that are managed by
	// the AWS 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 AWS account that owns the domain. It does
	// not include dashes or spaces.
	DomainOwner *string `location:"querystring" locationName:"domain-owner" min:"12" type:"string"`

	// The maximum number of results to return per page.
	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`

	// The token for the next set of results. Use the value returned in the previous
	// response in the next request to retrieve the next set of results.
	NextToken *string `location:"querystring" locationName:"next-token" min:"1" type:"string"`

	// A prefix used to filter returned repositories. Only repositories with names
	// that start with repositoryPrefix are returned.
	RepositoryPrefix *string `location:"querystring" locationName:"repository-prefix" min:"2" type:"string"`
	// contains filtered or unexported fields
}

func (ListRepositoriesInDomainInput) GoString

GoString returns the string representation

func (*ListRepositoriesInDomainInput) SetAdministratorAccount

SetAdministratorAccount sets the AdministratorAccount field's value.

func (*ListRepositoriesInDomainInput) SetDomain

SetDomain sets the Domain field's value.

func (*ListRepositoriesInDomainInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*ListRepositoriesInDomainInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListRepositoriesInDomainInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListRepositoriesInDomainInput) SetRepositoryPrefix

SetRepositoryPrefix sets the RepositoryPrefix field's value.

func (ListRepositoriesInDomainInput) String

String returns the string representation

func (*ListRepositoriesInDomainInput) Validate

func (s *ListRepositoriesInDomainInput) Validate() error

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

type ListRepositoriesInDomainOutput

type ListRepositoriesInDomainOutput struct {

	// If there are additional results, this is the token for the next set of results.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`

	// The returned list of repositories.
	Repositories []*RepositorySummary `locationName:"repositories" type:"list"`
	// contains filtered or unexported fields
}

func (ListRepositoriesInDomainOutput) GoString

GoString returns the string representation

func (*ListRepositoriesInDomainOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListRepositoriesInDomainOutput) SetRepositories

SetRepositories sets the Repositories field's value.

func (ListRepositoriesInDomainOutput) String

String returns the string representation

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

func (*ListRepositoriesInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListRepositoriesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListRepositoriesInput) SetRepositoryPrefix

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

SetRepositoryPrefix sets the RepositoryPrefix field's value.

func (ListRepositoriesInput) String

func (s ListRepositoriesInput) String() string

String returns the string representation

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

func (*ListRepositoriesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListRepositoriesOutput) SetRepositories

SetRepositories sets the Repositories field's value.

func (ListRepositoriesOutput) String

func (s ListRepositoriesOutput) String() string

String returns the string representation

type ListTagsForResourceInput added in v1.35.18

type ListTagsForResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource to get tags for.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"querystring" locationName:"resourceArn" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString added in v1.35.18

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceInput) SetResourceArn added in v1.35.18

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String added in v1.35.18

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate added in v1.35.18

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput added in v1.35.18

type ListTagsForResourceOutput struct {

	// A list of tag key and value pairs associated with the specified resource.
	Tags []*Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString added in v1.35.18

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceOutput) SetTags added in v1.35.18

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String added in v1.35.18

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type PackageDependency

type PackageDependency struct {

	// The type of a package dependency. The possible values depend on the package
	// type. Example types are compile, runtime, and test for Maven packages, and
	// dev, prod, and optional for npm packages.
	DependencyType *string `locationName:"dependencyType" 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 is its groupId.
	//
	//    * The namespace of an npm package is its scope.
	//
	//    * A Python package does not contain a corresponding component, so Python
	//    packages do not have a namespace.
	//
	//    * A NuGet package does not contain a corresponding component, so NuGet
	//    packages 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

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

type PackageSummary

type PackageSummary struct {

	// The format of the package. Valid values are:
	//
	//    * npm
	//
	//    * pypi
	//
	//    * maven
	//
	//    * nuget
	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 is its groupId.
	//
	//    * The namespace of an npm package is its scope.
	//
	//    * A Python package does not contain a corresponding component, so Python
	//    packages do not have a namespace.
	//
	//    * A NuGet package does not contain a corresponding component, so NuGet
	//    packages do not have a namespace.
	Namespace *string `locationName:"namespace" min:"1" type:"string"`

	// 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. The ListPackages (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListPackages.html) operation returns a list of PackageSummary objects.

func (PackageSummary) GoString

func (s PackageSummary) GoString() string

GoString returns the string representation

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

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. 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.
	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. The package component that specifies its namespace
	// depends on its type. For example:
	//
	//    * The namespace of a Maven package is its groupId.
	//
	//    * The namespace of an npm package is its scope.
	//
	//    * A Python package does not contain a corresponding component, so Python
	//    packages do not have a namespace.
	//
	//    * A NuGet package does not contain a corresponding component, so NuGet
	//    packages do not have a namespace.
	Namespace *string `locationName:"namespace" min:"1" type:"string"`

	// 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. It can be one of
	// the following:
	//
	//    * Published
	//
	//    * Unfinished
	//
	//    * Unlisted
	//
	//    * Archived
	//
	//    * Disposed
	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

func (*PackageVersionDescription) SetDisplayName

SetDisplayName sets the DisplayName field's value.

func (*PackageVersionDescription) SetFormat

SetFormat sets the Format field's value.

func (*PackageVersionDescription) SetHomePage

SetHomePage sets the HomePage field's value.

func (*PackageVersionDescription) SetLicenses

SetLicenses sets the Licenses field's value.

func (*PackageVersionDescription) SetNamespace

SetNamespace sets the Namespace field's value.

func (*PackageVersionDescription) SetPackageName

SetPackageName sets the PackageName field's value.

func (*PackageVersionDescription) SetPublishedTime

SetPublishedTime sets the PublishedTime field's value.

func (*PackageVersionDescription) SetRevision

SetRevision sets the Revision field's value.

func (*PackageVersionDescription) SetSourceCodeRepository

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

SetSourceCodeRepository sets the SourceCodeRepository field's value.

func (*PackageVersionDescription) SetStatus

SetStatus sets the Status field's value.

func (*PackageVersionDescription) SetSummary

SetSummary sets the Summary field's value.

func (*PackageVersionDescription) SetVersion

SetVersion sets the Version field's value.

func (PackageVersionDescription) String

func (s PackageVersionDescription) String() string

String returns the string representation

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
}

An error associated with package.

func (PackageVersionError) GoString

func (s PackageVersionError) GoString() string

GoString returns the string representation

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

type PackageVersionSummary

type PackageVersionSummary struct {

	// 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:
	//
	//    * Published
	//
	//    * Unfinished
	//
	//    * Unlisted
	//
	//    * Archived
	//
	//    * Disposed
	//
	// 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

func (*PackageVersionSummary) SetRevision

SetRevision sets the Revision field's value.

func (*PackageVersionSummary) SetStatus

SetStatus sets the Status field's value.

func (*PackageVersionSummary) SetVersion

SetVersion sets the Version field's value.

func (PackageVersionSummary) String

func (s PackageVersionSummary) String() string

String returns the string representation

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 AWS account that owns the domain. It does
	// not include dashes or spaces.
	DomainOwner *string `locationName:"domainOwner" min:"12" type:"string"`

	// A valid displayable JSON Aspen policy string to be set as the access control
	// resource policy on the provided domain.
	//
	// PolicyDocument is a required field
	PolicyDocument *string `locationName:"policyDocument" min:"1" type:"string" required:"true"`

	// The current revision of the resource policy to be set. This revision is used
	// for optimistic locking, which prevents others from overwriting your changes
	// to the domain's resource policy.
	PolicyRevision *string `locationName:"policyRevision" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (PutDomainPermissionsPolicyInput) GoString

GoString returns the string representation

func (*PutDomainPermissionsPolicyInput) SetDomain

SetDomain sets the Domain field's value.

func (*PutDomainPermissionsPolicyInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*PutDomainPermissionsPolicyInput) SetPolicyDocument

SetPolicyDocument sets the PolicyDocument field's value.

func (*PutDomainPermissionsPolicyInput) SetPolicyRevision

SetPolicyRevision sets the PolicyRevision field's value.

func (PutDomainPermissionsPolicyInput) String

String returns the string representation

func (*PutDomainPermissionsPolicyInput) Validate

func (s *PutDomainPermissionsPolicyInput) Validate() error

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

type PutDomainPermissionsPolicyOutput

type PutDomainPermissionsPolicyOutput struct {

	// The resource policy that was set after processing the request.
	Policy *ResourcePolicy `locationName:"policy" type:"structure"`
	// contains filtered or unexported fields
}

func (PutDomainPermissionsPolicyOutput) GoString

GoString returns the string representation

func (*PutDomainPermissionsPolicyOutput) SetPolicy

SetPolicy sets the Policy field's value.

func (PutDomainPermissionsPolicyOutput) String

String returns the string representation

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 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 valid displayable JSON Aspen policy string to be set as the access control
	// resource policy on the provided repository.
	//
	// PolicyDocument is a required field
	PolicyDocument *string `locationName:"policyDocument" min:"1" type:"string" required:"true"`

	// Sets the revision of the resource policy that specifies permissions to access
	// the repository. This revision is used for optimistic locking, which prevents
	// others from overwriting your changes to the repository's resource policy.
	PolicyRevision *string `locationName:"policyRevision" min:"1" type:"string"`

	// The name of the repository to set the resource policy on.
	//
	// Repository is a required field
	Repository *string `location:"querystring" locationName:"repository" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PutRepositoryPermissionsPolicyInput) GoString

GoString returns the string representation

func (*PutRepositoryPermissionsPolicyInput) SetDomain

SetDomain sets the Domain field's value.

func (*PutRepositoryPermissionsPolicyInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*PutRepositoryPermissionsPolicyInput) SetPolicyDocument

SetPolicyDocument sets the PolicyDocument field's value.

func (*PutRepositoryPermissionsPolicyInput) SetPolicyRevision

SetPolicyRevision sets the PolicyRevision field's value.

func (*PutRepositoryPermissionsPolicyInput) SetRepository

SetRepository sets the Repository field's value.

func (PutRepositoryPermissionsPolicyInput) String

String returns the string representation

func (*PutRepositoryPermissionsPolicyInput) Validate

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

type PutRepositoryPermissionsPolicyOutput

type PutRepositoryPermissionsPolicyOutput struct {

	// The resource policy that was set after processing the request.
	Policy *ResourcePolicy `locationName:"policy" type:"structure"`
	// contains filtered or unexported fields
}

func (PutRepositoryPermissionsPolicyOutput) GoString

GoString returns the string representation

func (*PutRepositoryPermissionsPolicyOutput) SetPolicy

SetPolicy sets the Policy field's value.

func (PutRepositoryPermissionsPolicyOutput) String

String returns the string representation

type RepositoryDescription

type RepositoryDescription struct {

	// The 12-digit account number of the AWS 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 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 AWS 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 AWS 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 AWS CodeArtifact. A CodeArtifact repository contains a set of package versions, each of which maps to a set of assets. Repositories are polyglot—a single repository can contain packages of any supported type. Each repository exposes endpoints for fetching and publishing packages using tools like the npm CLI, the Maven CLI (mvn), and pip. You can create up to 100 repositories per AWS account.

func (RepositoryDescription) GoString

func (s RepositoryDescription) GoString() string

GoString returns the string representation

func (*RepositoryDescription) SetAdministratorAccount

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

SetAdministratorAccount sets the AdministratorAccount field's value.

func (*RepositoryDescription) SetArn

SetArn sets the Arn field's value.

func (*RepositoryDescription) SetDescription

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

SetDescription sets the Description field's value.

func (*RepositoryDescription) SetDomainName

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

SetDomainName sets the DomainName field's value.

func (*RepositoryDescription) SetDomainOwner

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

SetDomainOwner sets the DomainOwner field's value.

func (*RepositoryDescription) SetExternalConnections

SetExternalConnections sets the ExternalConnections field's value.

func (*RepositoryDescription) SetName

SetName sets the Name field's value.

func (*RepositoryDescription) SetUpstreams

SetUpstreams sets the Upstreams field's value.

func (RepositoryDescription) String

func (s RepositoryDescription) String() string

String returns the string representation

type RepositoryExternalConnectionInfo

type RepositoryExternalConnectionInfo struct {

	// The name of the external connection associated with a repository.
	ExternalConnectionName *string `locationName:"externalConnectionName" type:"string"`

	// The package format associated with a repository's external connection. The
	// valid package formats are:
	//
	//    * npm: A Node Package Manager (npm) package.
	//
	//    * pypi: A Python Package Index (PyPI) package.
	//
	//    * maven: A Maven package that contains compiled code in a distributable
	//    format, such as a JAR file.
	//
	//    * nuget: A NuGet package.
	PackageFormat *string `locationName:"packageFormat" type:"string" enum:"PackageFormat"`

	// The status of the external connection of a repository. There is one valid
	// value, Available.
	Status *string `locationName:"status" type:"string" enum:"ExternalConnectionStatus"`
	// contains filtered or unexported fields
}

Contains information about the external connection of a repository.

func (RepositoryExternalConnectionInfo) GoString

GoString returns the string representation

func (*RepositoryExternalConnectionInfo) SetExternalConnectionName

SetExternalConnectionName sets the ExternalConnectionName field's value.

func (*RepositoryExternalConnectionInfo) SetPackageFormat

SetPackageFormat sets the PackageFormat field's value.

func (*RepositoryExternalConnectionInfo) SetStatus

SetStatus sets the Status field's value.

func (RepositoryExternalConnectionInfo) String

String returns the string representation

type RepositorySummary

type RepositorySummary struct {

	// The AWS 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"`

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

func (*RepositorySummary) SetAdministratorAccount

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

SetAdministratorAccount sets the AdministratorAccount field's value.

func (*RepositorySummary) SetArn

SetArn sets the Arn field's value.

func (*RepositorySummary) SetDescription

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

SetDescription sets the Description field's value.

func (*RepositorySummary) SetDomainName

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

SetDomainName sets the DomainName field's value.

func (*RepositorySummary) SetDomainOwner

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

SetDomainOwner sets the DomainOwner field's value.

func (*RepositorySummary) SetName

SetName sets the Name field's value.

func (RepositorySummary) String

func (s RepositorySummary) String() string

String returns the string representation

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 AWS resource.
	ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"`
	// contains filtered or unexported fields
}

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

func (*ResourceNotFoundException) Code

Code returns the exception type name.

func (*ResourceNotFoundException) Error

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation

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

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

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

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 AWS resource.
	ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"`
	// contains filtered or unexported fields
}

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

func (*ServiceQuotaExceededException) Code

Code returns the exception type name.

func (*ServiceQuotaExceededException) Error

func (ServiceQuotaExceededException) GoString

GoString returns the string representation

func (*ServiceQuotaExceededException) Message

Message returns the exception's message.

func (*ServiceQuotaExceededException) OrigErr

func (s *ServiceQuotaExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceQuotaExceededException) RequestID

func (s *ServiceQuotaExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceQuotaExceededException) StatusCode

func (s *ServiceQuotaExceededException) StatusCode() int

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

func (ServiceQuotaExceededException) String

String returns the string representation

type SuccessfulPackageVersionInfo

type SuccessfulPackageVersionInfo struct {

	// The revision of a package version.
	Revision *string `locationName:"revision" type:"string"`

	// The status of a package version. Valid statuses are:
	//
	//    * Published
	//
	//    * Unfinished
	//
	//    * Unlisted
	//
	//    * Archived
	//
	//    * Disposed
	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

func (*SuccessfulPackageVersionInfo) SetRevision

SetRevision sets the Revision field's value.

func (*SuccessfulPackageVersionInfo) SetStatus

SetStatus sets the Status field's value.

func (SuccessfulPackageVersionInfo) String

String returns the string representation

type Tag added in v1.35.18

type Tag struct {

	// The tag key.
	//
	// Key is a required field
	Key *string `locationName:"key" min:"1" type:"string" required:"true"`

	// The tag value.
	//
	// Value is a required field
	Value *string `locationName:"value" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A tag is a key-value pair that can be used to manage, search for, or filter resources in AWS CodeArtifact.

func (Tag) GoString added in v1.35.18

func (s Tag) GoString() string

GoString returns the string representation

func (*Tag) SetKey added in v1.35.18

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

SetKey sets the Key field's value.

func (*Tag) SetValue added in v1.35.18

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

SetValue sets the Value field's value.

func (Tag) String added in v1.35.18

func (s Tag) String() string

String returns the string representation

func (*Tag) Validate added in v1.35.18

func (s *Tag) Validate() error

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

type TagResourceInput added in v1.35.18

type TagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource that you want to add or update
	// tags for.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"querystring" locationName:"resourceArn" min:"1" type:"string" required:"true"`

	// The tags you want to modify or add to the resource.
	//
	// Tags is a required field
	Tags []*Tag `locationName:"tags" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString added in v1.35.18

func (s TagResourceInput) GoString() string

GoString returns the string representation

func (*TagResourceInput) SetResourceArn added in v1.35.18

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

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags added in v1.35.18

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

SetTags sets the Tags field's value.

func (TagResourceInput) String added in v1.35.18

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate added in v1.35.18

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput added in v1.35.18

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

func (TagResourceOutput) GoString added in v1.35.18

func (s TagResourceOutput) GoString() string

GoString returns the string representation

func (TagResourceOutput) String added in v1.35.18

func (s TagResourceOutput) String() string

String returns the string representation

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

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

type UntagResourceInput added in v1.35.18

type UntagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource that you want to remove tags
	// from.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"querystring" locationName:"resourceArn" min:"1" type:"string" required:"true"`

	// The tag key for each tag that you want to remove from the resource.
	//
	// TagKeys is a required field
	TagKeys []*string `locationName:"tagKeys" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString added in v1.35.18

func (s UntagResourceInput) GoString() string

GoString returns the string representation

func (*UntagResourceInput) SetResourceArn added in v1.35.18

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

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys added in v1.35.18

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

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String added in v1.35.18

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate added in v1.35.18

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput added in v1.35.18

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

func (UntagResourceOutput) GoString added in v1.35.18

func (s UntagResourceOutput) GoString() string

GoString returns the string representation

func (UntagResourceOutput) String added in v1.35.18

func (s UntagResourceOutput) String() string

String returns the string representation

type UpdatePackageVersionsStatusInput

type UpdatePackageVersionsStatusInput struct {

	// 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 AWS 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.
	// The valid values are:
	//
	//    * npm
	//
	//    * pypi
	//
	//    * maven
	//
	//    * nuget
	//
	// Format is a required field
	Format *string `location:"querystring" locationName:"format" type:"string" required:"true" 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 is its groupId.
	//
	//    * The namespace of an npm package is its scope.
	//
	//    * A Python package does not contain a corresponding component, so Python
	//    packages do not have a namespace.
	//
	//    * A NuGet package does not contain a corresponding component, so NuGet
	//    packages do not have a namespace.
	Namespace *string `location:"querystring" locationName:"namespace" min:"1" type:"string"`

	// The name of the package with the version statuses to update.
	//
	// Package is a required field
	Package *string `location:"querystring" locationName:"package" min:"1" type:"string" required:"true"`

	// The repository that contains the package versions with the status you want
	// to update.
	//
	// Repository is a required field
	Repository *string `location:"querystring" locationName:"repository" min:"2" type:"string" required:"true"`

	// The status you want to change the package version status to.
	//
	// TargetStatus is a required field
	TargetStatus *string `locationName:"targetStatus" type:"string" required:"true" enum:"PackageVersionStatus"`

	// A map of package versions and package version revisions. The map key is the
	// package version (for example, 3.5.2), and the map value is the package version
	// revision.
	VersionRevisions map[string]*string `locationName:"versionRevisions" type:"map"`

	// An array of strings that specify the versions of the package with the statuses
	// to update.
	//
	// Versions is a required field
	Versions []*string `locationName:"versions" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UpdatePackageVersionsStatusInput) GoString

GoString returns the string representation

func (*UpdatePackageVersionsStatusInput) SetDomain

SetDomain sets the Domain field's value.

func (*UpdatePackageVersionsStatusInput) SetDomainOwner

SetDomainOwner sets the DomainOwner field's value.

func (*UpdatePackageVersionsStatusInput) SetExpectedStatus

SetExpectedStatus sets the ExpectedStatus field's value.

func (*UpdatePackageVersionsStatusInput) SetFormat

SetFormat sets the Format field's value.

func (*UpdatePackageVersionsStatusInput) SetNamespace

SetNamespace sets the Namespace field's value.

func (*UpdatePackageVersionsStatusInput) SetPackage

SetPackage sets the Package field's value.

func (*UpdatePackageVersionsStatusInput) SetRepository

SetRepository sets the Repository field's value.

func (*UpdatePackageVersionsStatusInput) SetTargetStatus

SetTargetStatus sets the TargetStatus field's value.

func (*UpdatePackageVersionsStatusInput) SetVersionRevisions

SetVersionRevisions sets the VersionRevisions field's value.

func (*UpdatePackageVersionsStatusInput) SetVersions

SetVersions sets the Versions field's value.

func (UpdatePackageVersionsStatusInput) String

String returns the string representation

func (*UpdatePackageVersionsStatusInput) Validate

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

type UpdatePackageVersionsStatusOutput

type UpdatePackageVersionsStatusOutput struct {

	// A list of SuccessfulPackageVersionInfo objects, one for each package version
	// with a status that successfully updated.
	FailedVersions map[string]*PackageVersionError `locationName:"failedVersions" type:"map"`

	// A list of PackageVersionError objects, one for each package version with
	// a status that failed to update.
	SuccessfulVersions map[string]*SuccessfulPackageVersionInfo `locationName:"successfulVersions" type:"map"`
	// contains filtered or unexported fields
}

func (UpdatePackageVersionsStatusOutput) GoString

GoString returns the string representation

func (*UpdatePackageVersionsStatusOutput) SetFailedVersions

SetFailedVersions sets the FailedVersions field's value.

func (*UpdatePackageVersionsStatusOutput) SetSuccessfulVersions

SetSuccessfulVersions sets the SuccessfulVersions field's value.

func (UpdatePackageVersionsStatusOutput) String

String returns the string representation

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

func (*UpdateRepositoryInput) SetDescription

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

SetDescription sets the Description field's value.

func (*UpdateRepositoryInput) SetDomain

SetDomain sets the Domain field's value.

func (*UpdateRepositoryInput) SetDomainOwner

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

SetDomainOwner sets the DomainOwner field's value.

func (*UpdateRepositoryInput) SetRepository

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

SetRepository sets the Repository field's value.

func (*UpdateRepositoryInput) SetUpstreams

SetUpstreams sets the Upstreams field's value.

func (UpdateRepositoryInput) String

func (s UpdateRepositoryInput) String() string

String returns the string representation

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

func (*UpdateRepositoryOutput) SetRepository

SetRepository sets the Repository field's value.

func (UpdateRepositoryOutput) String

func (s UpdateRepositoryOutput) String() string

String returns the string representation

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

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

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

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

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

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

Directories

Path Synopsis
Package codeartifactiface provides an interface to enable mocking the CodeArtifact service client for testing your code.
Package codeartifactiface provides an interface to enable mocking the CodeArtifact service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL