/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the codeartifact-2018-09-22.normal.json service model. */ using System; using System.Collections.Generic; using Amazon.Runtime; using Amazon.CodeArtifact.Model; namespace Amazon.CodeArtifact { /// /// Interface for accessing CodeArtifact /// /// CodeArtifact is a fully managed artifact repository compatible with language-native /// package managers and build tools such as npm, Apache Maven, pip, and dotnet. You can /// use CodeArtifact to share packages with development teams and pull packages. Packages /// can be pulled from both public and CodeArtifact repositories. You can also create /// an upstream relationship between a CodeArtifact repository and another repository, /// which effectively merges their contents from the point of view of a package manager /// client. /// /// /// /// CodeArtifact Components /// /// /// /// Use the information in this guide to help you work with the following CodeArtifact /// components: /// /// /// /// CodeArtifact supports these operations: /// /// /// public partial interface IAmazonCodeArtifact : IAmazonService, IDisposable { #if BCL45 || AWS_ASYNC_ENUMERABLES_API /// /// Paginators for the service /// ICodeArtifactPaginatorFactory Paginators { get; } #endif #region AssociateExternalConnection /// /// 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. /// /// /// /// Container for the necessary parameters to execute the AssociateExternalConnection service method. /// /// The response from the AssociateExternalConnection service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because prerequisites are not met. /// /// /// The operation did not succeed because of an error that occurred inside CodeArtifact. /// /// /// The operation did not succeed because the resource requested is not found in the /// service. /// /// /// The operation did not succeed because it would have exceeded a service limit for /// your account. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for AssociateExternalConnection Operation AssociateExternalConnectionResponse AssociateExternalConnection(AssociateExternalConnectionRequest request); /// /// Initiates the asynchronous execution of the AssociateExternalConnection operation. /// /// /// Container for the necessary parameters to execute the AssociateExternalConnection operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAssociateExternalConnection /// operation. /// REST API Reference for AssociateExternalConnection Operation IAsyncResult BeginAssociateExternalConnection(AssociateExternalConnectionRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the AssociateExternalConnection operation. /// /// /// The IAsyncResult returned by the call to BeginAssociateExternalConnection. /// /// Returns a AssociateExternalConnectionResult from CodeArtifact. /// REST API Reference for AssociateExternalConnection Operation AssociateExternalConnectionResponse EndAssociateExternalConnection(IAsyncResult asyncResult); #endregion #region CopyPackageVersions /// /// Copies package versions from one repository to another repository in the same domain. /// /// /// /// /// You must specify versions or versionRevisions. You cannot /// specify both. /// /// /// /// Container for the necessary parameters to execute the CopyPackageVersions service method. /// /// The response from the CopyPackageVersions service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because prerequisites are not met. /// /// /// The operation did not succeed because of an error that occurred inside CodeArtifact. /// /// /// The operation did not succeed because the resource requested is not found in the /// service. /// /// /// The operation did not succeed because it would have exceeded a service limit for /// your account. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for CopyPackageVersions Operation CopyPackageVersionsResponse CopyPackageVersions(CopyPackageVersionsRequest request); /// /// Initiates the asynchronous execution of the CopyPackageVersions operation. /// /// /// Container for the necessary parameters to execute the CopyPackageVersions operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCopyPackageVersions /// operation. /// REST API Reference for CopyPackageVersions Operation IAsyncResult BeginCopyPackageVersions(CopyPackageVersionsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the CopyPackageVersions operation. /// /// /// The IAsyncResult returned by the call to BeginCopyPackageVersions. /// /// Returns a CopyPackageVersionsResult from CodeArtifact. /// REST API Reference for CopyPackageVersions Operation CopyPackageVersionsResponse EndCopyPackageVersions(IAsyncResult asyncResult); #endregion #region CreateDomain /// /// Creates a domain. CodeArtifact domains make it easier to manage multiple repositories /// across an organization. You can use a domain to apply permissions across many repositories /// owned by different Amazon Web Services accounts. An asset is stored only once in a /// domain, even if it's in multiple repositories. /// /// /// /// Although you can have multiple domains, we recommend a single production domain that /// contains all published artifacts so that your development teams can find and share /// packages. You can use a second pre-production domain to test changes to the production /// domain configuration. /// /// /// Container for the necessary parameters to execute the CreateDomain service method. /// /// The response from the CreateDomain service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because prerequisites are not met. /// /// /// The operation did not succeed because of an error that occurred inside CodeArtifact. /// /// /// The operation did not succeed because the resource requested is not found in the /// service. /// /// /// The operation did not succeed because it would have exceeded a service limit for /// your account. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for CreateDomain Operation CreateDomainResponse CreateDomain(CreateDomainRequest request); /// /// Initiates the asynchronous execution of the CreateDomain operation. /// /// /// Container for the necessary parameters to execute the CreateDomain operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateDomain /// operation. /// REST API Reference for CreateDomain Operation IAsyncResult BeginCreateDomain(CreateDomainRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the CreateDomain operation. /// /// /// The IAsyncResult returned by the call to BeginCreateDomain. /// /// Returns a CreateDomainResult from CodeArtifact. /// REST API Reference for CreateDomain Operation CreateDomainResponse EndCreateDomain(IAsyncResult asyncResult); #endregion #region CreateRepository /// /// Creates a repository. /// /// Container for the necessary parameters to execute the CreateRepository service method. /// /// The response from the CreateRepository service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because prerequisites are not met. /// /// /// The operation did not succeed because of an error that occurred inside CodeArtifact. /// /// /// The operation did not succeed because the resource requested is not found in the /// service. /// /// /// The operation did not succeed because it would have exceeded a service limit for /// your account. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for CreateRepository Operation CreateRepositoryResponse CreateRepository(CreateRepositoryRequest request); /// /// Initiates the asynchronous execution of the CreateRepository operation. /// /// /// Container for the necessary parameters to execute the CreateRepository operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateRepository /// operation. /// REST API Reference for CreateRepository Operation IAsyncResult BeginCreateRepository(CreateRepositoryRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the CreateRepository operation. /// /// /// The IAsyncResult returned by the call to BeginCreateRepository. /// /// Returns a CreateRepositoryResult from CodeArtifact. /// REST API Reference for CreateRepository Operation CreateRepositoryResponse EndCreateRepository(IAsyncResult asyncResult); #endregion #region DeleteDomain /// /// Deletes a domain. You cannot delete a domain that contains repositories. If you want /// to delete a domain with repositories, first delete its repositories. /// /// Container for the necessary parameters to execute the DeleteDomain service method. /// /// The response from the DeleteDomain service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because prerequisites are not met. /// /// /// The operation did not succeed because of an error that occurred inside CodeArtifact. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for DeleteDomain Operation DeleteDomainResponse DeleteDomain(DeleteDomainRequest request); /// /// Initiates the asynchronous execution of the DeleteDomain operation. /// /// /// Container for the necessary parameters to execute the DeleteDomain operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteDomain /// operation. /// REST API Reference for DeleteDomain Operation IAsyncResult BeginDeleteDomain(DeleteDomainRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteDomain operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteDomain. /// /// Returns a DeleteDomainResult from CodeArtifact. /// REST API Reference for DeleteDomain Operation DeleteDomainResponse EndDeleteDomain(IAsyncResult asyncResult); #endregion #region DeleteDomainPermissionsPolicy /// /// Deletes the resource policy set on a domain. /// /// Container for the necessary parameters to execute the DeleteDomainPermissionsPolicy service method. /// /// The response from the DeleteDomainPermissionsPolicy service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because prerequisites are not met. /// /// /// The operation did not succeed because of an error that occurred inside CodeArtifact. /// /// /// The operation did not succeed because the resource requested is not found in the /// service. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for DeleteDomainPermissionsPolicy Operation DeleteDomainPermissionsPolicyResponse DeleteDomainPermissionsPolicy(DeleteDomainPermissionsPolicyRequest request); /// /// Initiates the asynchronous execution of the DeleteDomainPermissionsPolicy operation. /// /// /// Container for the necessary parameters to execute the DeleteDomainPermissionsPolicy operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteDomainPermissionsPolicy /// operation. /// REST API Reference for DeleteDomainPermissionsPolicy Operation IAsyncResult BeginDeleteDomainPermissionsPolicy(DeleteDomainPermissionsPolicyRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteDomainPermissionsPolicy operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteDomainPermissionsPolicy. /// /// Returns a DeleteDomainPermissionsPolicyResult from CodeArtifact. /// REST API Reference for DeleteDomainPermissionsPolicy Operation DeleteDomainPermissionsPolicyResponse EndDeleteDomainPermissionsPolicy(IAsyncResult asyncResult); #endregion #region DeletePackage /// /// Deletes a package and all associated package versions. A deleted package cannot be /// restored. To delete one or more package versions, use the DeletePackageVersions /// API. /// /// Container for the necessary parameters to execute the DeletePackage service method. /// /// The response from the DeletePackage service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because prerequisites are not met. /// /// /// The operation did not succeed because of an error that occurred inside CodeArtifact. /// /// /// The operation did not succeed because the resource requested is not found in the /// service. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for DeletePackage Operation DeletePackageResponse DeletePackage(DeletePackageRequest request); /// /// Initiates the asynchronous execution of the DeletePackage operation. /// /// /// Container for the necessary parameters to execute the DeletePackage operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeletePackage /// operation. /// REST API Reference for DeletePackage Operation IAsyncResult BeginDeletePackage(DeletePackageRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeletePackage operation. /// /// /// The IAsyncResult returned by the call to BeginDeletePackage. /// /// Returns a DeletePackageResult from CodeArtifact. /// REST API Reference for DeletePackage Operation DeletePackageResponse EndDeletePackage(IAsyncResult asyncResult); #endregion #region DeletePackageVersions /// /// Deletes one or more versions of a package. A deleted package version cannot be restored /// in your repository. If you want to remove a package version from your repository and /// be able to restore it later, set its status to Archived. Archived packages /// cannot be downloaded from a repository and don't show up with list package APIs (for /// example, ListPackageVersions), /// but you can restore them using UpdatePackageVersionsStatus. /// /// Container for the necessary parameters to execute the DeletePackageVersions service method. /// /// The response from the DeletePackageVersions service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because prerequisites are not met. /// /// /// The operation did not succeed because of an error that occurred inside CodeArtifact. /// /// /// The operation did not succeed because the resource requested is not found in the /// service. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for DeletePackageVersions Operation DeletePackageVersionsResponse DeletePackageVersions(DeletePackageVersionsRequest request); /// /// Initiates the asynchronous execution of the DeletePackageVersions operation. /// /// /// Container for the necessary parameters to execute the DeletePackageVersions operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeletePackageVersions /// operation. /// REST API Reference for DeletePackageVersions Operation IAsyncResult BeginDeletePackageVersions(DeletePackageVersionsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeletePackageVersions operation. /// /// /// The IAsyncResult returned by the call to BeginDeletePackageVersions. /// /// Returns a DeletePackageVersionsResult from CodeArtifact. /// REST API Reference for DeletePackageVersions Operation DeletePackageVersionsResponse EndDeletePackageVersions(IAsyncResult asyncResult); #endregion #region DeleteRepository /// /// Deletes a repository. /// /// Container for the necessary parameters to execute the DeleteRepository service method. /// /// The response from the DeleteRepository service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because prerequisites are not met. /// /// /// The operation did not succeed because of an error that occurred inside CodeArtifact. /// /// /// The operation did not succeed because the resource requested is not found in the /// service. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for DeleteRepository Operation DeleteRepositoryResponse DeleteRepository(DeleteRepositoryRequest request); /// /// Initiates the asynchronous execution of the DeleteRepository operation. /// /// /// Container for the necessary parameters to execute the DeleteRepository operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteRepository /// operation. /// REST API Reference for DeleteRepository Operation IAsyncResult BeginDeleteRepository(DeleteRepositoryRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteRepository operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteRepository. /// /// Returns a DeleteRepositoryResult from CodeArtifact. /// REST API Reference for DeleteRepository Operation DeleteRepositoryResponse EndDeleteRepository(IAsyncResult asyncResult); #endregion #region DeleteRepositoryPermissionsPolicy /// /// Deletes the resource policy that is set on a repository. After a resource policy /// is deleted, the permissions allowed and denied by the deleted policy are removed. /// The effect of deleting a resource policy might not be immediate. /// /// /// /// Use DeleteRepositoryPermissionsPolicy with caution. After a policy is /// deleted, Amazon Web Services users, roles, and accounts lose permissions to perform /// the repository actions granted by the deleted policy. /// /// /// /// Container for the necessary parameters to execute the DeleteRepositoryPermissionsPolicy service method. /// /// The response from the DeleteRepositoryPermissionsPolicy service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because prerequisites are not met. /// /// /// The operation did not succeed because of an error that occurred inside CodeArtifact. /// /// /// The operation did not succeed because the resource requested is not found in the /// service. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for DeleteRepositoryPermissionsPolicy Operation DeleteRepositoryPermissionsPolicyResponse DeleteRepositoryPermissionsPolicy(DeleteRepositoryPermissionsPolicyRequest request); /// /// Initiates the asynchronous execution of the DeleteRepositoryPermissionsPolicy operation. /// /// /// Container for the necessary parameters to execute the DeleteRepositoryPermissionsPolicy operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteRepositoryPermissionsPolicy /// operation. /// REST API Reference for DeleteRepositoryPermissionsPolicy Operation IAsyncResult BeginDeleteRepositoryPermissionsPolicy(DeleteRepositoryPermissionsPolicyRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteRepositoryPermissionsPolicy operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteRepositoryPermissionsPolicy. /// /// Returns a DeleteRepositoryPermissionsPolicyResult from CodeArtifact. /// REST API Reference for DeleteRepositoryPermissionsPolicy Operation DeleteRepositoryPermissionsPolicyResponse EndDeleteRepositoryPermissionsPolicy(IAsyncResult asyncResult); #endregion #region DescribeDomain /// /// Returns a DomainDescription /// object that contains information about the requested domain. /// /// Container for the necessary parameters to execute the DescribeDomain service method. /// /// The response from the DescribeDomain service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because of an error that occurred inside CodeArtifact. /// /// /// The operation did not succeed because the resource requested is not found in the /// service. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for DescribeDomain Operation DescribeDomainResponse DescribeDomain(DescribeDomainRequest request); /// /// Initiates the asynchronous execution of the DescribeDomain operation. /// /// /// Container for the necessary parameters to execute the DescribeDomain operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeDomain /// operation. /// REST API Reference for DescribeDomain Operation IAsyncResult BeginDescribeDomain(DescribeDomainRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DescribeDomain operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeDomain. /// /// Returns a DescribeDomainResult from CodeArtifact. /// REST API Reference for DescribeDomain Operation DescribeDomainResponse EndDescribeDomain(IAsyncResult asyncResult); #endregion #region DescribePackage /// /// Returns a PackageDescription /// object that contains information about the requested package. /// /// Container for the necessary parameters to execute the DescribePackage service method. /// /// The response from the DescribePackage service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because of an error that occurred inside CodeArtifact. /// /// /// The operation did not succeed because the resource requested is not found in the /// service. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for DescribePackage Operation DescribePackageResponse DescribePackage(DescribePackageRequest request); /// /// Initiates the asynchronous execution of the DescribePackage operation. /// /// /// Container for the necessary parameters to execute the DescribePackage operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribePackage /// operation. /// REST API Reference for DescribePackage Operation IAsyncResult BeginDescribePackage(DescribePackageRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DescribePackage operation. /// /// /// The IAsyncResult returned by the call to BeginDescribePackage. /// /// Returns a DescribePackageResult from CodeArtifact. /// REST API Reference for DescribePackage Operation DescribePackageResponse EndDescribePackage(IAsyncResult asyncResult); #endregion #region DescribePackageVersion /// /// Returns a PackageVersionDescription /// object that contains information about the requested package version. /// /// Container for the necessary parameters to execute the DescribePackageVersion service method. /// /// The response from the DescribePackageVersion service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because prerequisites are not met. /// /// /// The operation did not succeed because of an error that occurred inside CodeArtifact. /// /// /// The operation did not succeed because the resource requested is not found in the /// service. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for DescribePackageVersion Operation DescribePackageVersionResponse DescribePackageVersion(DescribePackageVersionRequest request); /// /// Initiates the asynchronous execution of the DescribePackageVersion operation. /// /// /// Container for the necessary parameters to execute the DescribePackageVersion operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribePackageVersion /// operation. /// REST API Reference for DescribePackageVersion Operation IAsyncResult BeginDescribePackageVersion(DescribePackageVersionRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DescribePackageVersion operation. /// /// /// The IAsyncResult returned by the call to BeginDescribePackageVersion. /// /// Returns a DescribePackageVersionResult from CodeArtifact. /// REST API Reference for DescribePackageVersion Operation DescribePackageVersionResponse EndDescribePackageVersion(IAsyncResult asyncResult); #endregion #region DescribeRepository /// /// Returns a RepositoryDescription object that contains detailed information /// about the requested repository. /// /// Container for the necessary parameters to execute the DescribeRepository service method. /// /// The response from the DescribeRepository service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because of an error that occurred inside CodeArtifact. /// /// /// The operation did not succeed because the resource requested is not found in the /// service. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for DescribeRepository Operation DescribeRepositoryResponse DescribeRepository(DescribeRepositoryRequest request); /// /// Initiates the asynchronous execution of the DescribeRepository operation. /// /// /// Container for the necessary parameters to execute the DescribeRepository operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeRepository /// operation. /// REST API Reference for DescribeRepository Operation IAsyncResult BeginDescribeRepository(DescribeRepositoryRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DescribeRepository operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeRepository. /// /// Returns a DescribeRepositoryResult from CodeArtifact. /// REST API Reference for DescribeRepository Operation DescribeRepositoryResponse EndDescribeRepository(IAsyncResult asyncResult); #endregion #region DisassociateExternalConnection /// /// Removes an existing external connection from a repository. /// /// Container for the necessary parameters to execute the DisassociateExternalConnection service method. /// /// The response from the DisassociateExternalConnection service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because prerequisites are not met. /// /// /// The operation did not succeed because of an error that occurred inside CodeArtifact. /// /// /// The operation did not succeed because the resource requested is not found in the /// service. /// /// /// The operation did not succeed because it would have exceeded a service limit for /// your account. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for DisassociateExternalConnection Operation DisassociateExternalConnectionResponse DisassociateExternalConnection(DisassociateExternalConnectionRequest request); /// /// Initiates the asynchronous execution of the DisassociateExternalConnection operation. /// /// /// Container for the necessary parameters to execute the DisassociateExternalConnection operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisassociateExternalConnection /// operation. /// REST API Reference for DisassociateExternalConnection Operation IAsyncResult BeginDisassociateExternalConnection(DisassociateExternalConnectionRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DisassociateExternalConnection operation. /// /// /// The IAsyncResult returned by the call to BeginDisassociateExternalConnection. /// /// Returns a DisassociateExternalConnectionResult from CodeArtifact. /// REST API Reference for DisassociateExternalConnection Operation DisassociateExternalConnectionResponse EndDisassociateExternalConnection(IAsyncResult asyncResult); #endregion #region DisposePackageVersions /// /// 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 /// and set the status /// parameter to Disposed. /// /// /// /// To view information about a disposed package version, use DescribePackageVersion. /// /// /// /// Container for the necessary parameters to execute the DisposePackageVersions service method. /// /// The response from the DisposePackageVersions service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because prerequisites are not met. /// /// /// The operation did not succeed because of an error that occurred inside CodeArtifact. /// /// /// The operation did not succeed because the resource requested is not found in the /// service. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for DisposePackageVersions Operation DisposePackageVersionsResponse DisposePackageVersions(DisposePackageVersionsRequest request); /// /// Initiates the asynchronous execution of the DisposePackageVersions operation. /// /// /// Container for the necessary parameters to execute the DisposePackageVersions operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisposePackageVersions /// operation. /// REST API Reference for DisposePackageVersions Operation IAsyncResult BeginDisposePackageVersions(DisposePackageVersionsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DisposePackageVersions operation. /// /// /// The IAsyncResult returned by the call to BeginDisposePackageVersions. /// /// Returns a DisposePackageVersionsResult from CodeArtifact. /// REST API Reference for DisposePackageVersions Operation DisposePackageVersionsResponse EndDisposePackageVersions(IAsyncResult asyncResult); #endregion #region GetAuthorizationToken /// /// Generates a temporary authorization token for accessing repositories in the domain. /// This API requires the codeartifact:GetAuthorizationToken and sts:GetServiceBearerToken /// permissions. For more information about authorization tokens, see CodeArtifact /// authentication and tokens. /// /// /// /// 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 for more information on controlling session duration. /// /// /// /// Container for the necessary parameters to execute the GetAuthorizationToken service method. /// /// The response from the GetAuthorizationToken service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because of an error that occurred inside CodeArtifact. /// /// /// The operation did not succeed because the resource requested is not found in the /// service. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for GetAuthorizationToken Operation GetAuthorizationTokenResponse GetAuthorizationToken(GetAuthorizationTokenRequest request); /// /// Initiates the asynchronous execution of the GetAuthorizationToken operation. /// /// /// Container for the necessary parameters to execute the GetAuthorizationToken operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetAuthorizationToken /// operation. /// REST API Reference for GetAuthorizationToken Operation IAsyncResult BeginGetAuthorizationToken(GetAuthorizationTokenRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetAuthorizationToken operation. /// /// /// The IAsyncResult returned by the call to BeginGetAuthorizationToken. /// /// Returns a GetAuthorizationTokenResult from CodeArtifact. /// REST API Reference for GetAuthorizationToken Operation GetAuthorizationTokenResponse EndGetAuthorizationToken(IAsyncResult asyncResult); #endregion #region GetDomainPermissionsPolicy /// /// 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 in the IAM User Guide. /// /// /// /// Container for the necessary parameters to execute the GetDomainPermissionsPolicy service method. /// /// The response from the GetDomainPermissionsPolicy service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because of an error that occurred inside CodeArtifact. /// /// /// The operation did not succeed because the resource requested is not found in the /// service. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for GetDomainPermissionsPolicy Operation GetDomainPermissionsPolicyResponse GetDomainPermissionsPolicy(GetDomainPermissionsPolicyRequest request); /// /// Initiates the asynchronous execution of the GetDomainPermissionsPolicy operation. /// /// /// Container for the necessary parameters to execute the GetDomainPermissionsPolicy operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDomainPermissionsPolicy /// operation. /// REST API Reference for GetDomainPermissionsPolicy Operation IAsyncResult BeginGetDomainPermissionsPolicy(GetDomainPermissionsPolicyRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetDomainPermissionsPolicy operation. /// /// /// The IAsyncResult returned by the call to BeginGetDomainPermissionsPolicy. /// /// Returns a GetDomainPermissionsPolicyResult from CodeArtifact. /// REST API Reference for GetDomainPermissionsPolicy Operation GetDomainPermissionsPolicyResponse EndGetDomainPermissionsPolicy(IAsyncResult asyncResult); #endregion #region GetPackageVersionAsset /// /// 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. /// /// Container for the necessary parameters to execute the GetPackageVersionAsset service method. /// /// The response from the GetPackageVersionAsset service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because prerequisites are not met. /// /// /// The operation did not succeed because of an error that occurred inside CodeArtifact. /// /// /// The operation did not succeed because the resource requested is not found in the /// service. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for GetPackageVersionAsset Operation GetPackageVersionAssetResponse GetPackageVersionAsset(GetPackageVersionAssetRequest request); /// /// Initiates the asynchronous execution of the GetPackageVersionAsset operation. /// /// /// Container for the necessary parameters to execute the GetPackageVersionAsset operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetPackageVersionAsset /// operation. /// REST API Reference for GetPackageVersionAsset Operation IAsyncResult BeginGetPackageVersionAsset(GetPackageVersionAssetRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetPackageVersionAsset operation. /// /// /// The IAsyncResult returned by the call to BeginGetPackageVersionAsset. /// /// Returns a GetPackageVersionAssetResult from CodeArtifact. /// REST API Reference for GetPackageVersionAsset Operation GetPackageVersionAssetResponse EndGetPackageVersionAsset(IAsyncResult asyncResult); #endregion #region GetPackageVersionReadme /// /// Gets the readme file or descriptive text for a package version. /// /// /// /// The returned text might contain formatting. For example, it might contain formatting /// for Markdown or reStructuredText. /// /// /// Container for the necessary parameters to execute the GetPackageVersionReadme service method. /// /// The response from the GetPackageVersionReadme service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because of an error that occurred inside CodeArtifact. /// /// /// The operation did not succeed because the resource requested is not found in the /// service. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for GetPackageVersionReadme Operation GetPackageVersionReadmeResponse GetPackageVersionReadme(GetPackageVersionReadmeRequest request); /// /// Initiates the asynchronous execution of the GetPackageVersionReadme operation. /// /// /// Container for the necessary parameters to execute the GetPackageVersionReadme operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetPackageVersionReadme /// operation. /// REST API Reference for GetPackageVersionReadme Operation IAsyncResult BeginGetPackageVersionReadme(GetPackageVersionReadmeRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetPackageVersionReadme operation. /// /// /// The IAsyncResult returned by the call to BeginGetPackageVersionReadme. /// /// Returns a GetPackageVersionReadmeResult from CodeArtifact. /// REST API Reference for GetPackageVersionReadme Operation GetPackageVersionReadmeResponse EndGetPackageVersionReadme(IAsyncResult asyncResult); #endregion #region GetRepositoryEndpoint /// /// Returns the endpoint of a repository for a specific package format. A repository /// has one endpoint for each package format: /// /// /// /// Container for the necessary parameters to execute the GetRepositoryEndpoint service method. /// /// The response from the GetRepositoryEndpoint service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because of an error that occurred inside CodeArtifact. /// /// /// The operation did not succeed because the resource requested is not found in the /// service. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for GetRepositoryEndpoint Operation GetRepositoryEndpointResponse GetRepositoryEndpoint(GetRepositoryEndpointRequest request); /// /// Initiates the asynchronous execution of the GetRepositoryEndpoint operation. /// /// /// Container for the necessary parameters to execute the GetRepositoryEndpoint operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetRepositoryEndpoint /// operation. /// REST API Reference for GetRepositoryEndpoint Operation IAsyncResult BeginGetRepositoryEndpoint(GetRepositoryEndpointRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetRepositoryEndpoint operation. /// /// /// The IAsyncResult returned by the call to BeginGetRepositoryEndpoint. /// /// Returns a GetRepositoryEndpointResult from CodeArtifact. /// REST API Reference for GetRepositoryEndpoint Operation GetRepositoryEndpointResponse EndGetRepositoryEndpoint(IAsyncResult asyncResult); #endregion #region GetRepositoryPermissionsPolicy /// /// Returns the resource policy that is set on a repository. /// /// Container for the necessary parameters to execute the GetRepositoryPermissionsPolicy service method. /// /// The response from the GetRepositoryPermissionsPolicy service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because of an error that occurred inside CodeArtifact. /// /// /// The operation did not succeed because the resource requested is not found in the /// service. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for GetRepositoryPermissionsPolicy Operation GetRepositoryPermissionsPolicyResponse GetRepositoryPermissionsPolicy(GetRepositoryPermissionsPolicyRequest request); /// /// Initiates the asynchronous execution of the GetRepositoryPermissionsPolicy operation. /// /// /// Container for the necessary parameters to execute the GetRepositoryPermissionsPolicy operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetRepositoryPermissionsPolicy /// operation. /// REST API Reference for GetRepositoryPermissionsPolicy Operation IAsyncResult BeginGetRepositoryPermissionsPolicy(GetRepositoryPermissionsPolicyRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetRepositoryPermissionsPolicy operation. /// /// /// The IAsyncResult returned by the call to BeginGetRepositoryPermissionsPolicy. /// /// Returns a GetRepositoryPermissionsPolicyResult from CodeArtifact. /// REST API Reference for GetRepositoryPermissionsPolicy Operation GetRepositoryPermissionsPolicyResponse EndGetRepositoryPermissionsPolicy(IAsyncResult asyncResult); #endregion #region ListDomains /// /// Returns a list of DomainSummary /// objects for all domains owned by the Amazon Web Services account that makes this call. /// Each returned DomainSummary object contains information about a domain. /// /// Container for the necessary parameters to execute the ListDomains service method. /// /// The response from the ListDomains service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because of an error that occurred inside CodeArtifact. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for ListDomains Operation ListDomainsResponse ListDomains(ListDomainsRequest request); /// /// Initiates the asynchronous execution of the ListDomains operation. /// /// /// Container for the necessary parameters to execute the ListDomains operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDomains /// operation. /// REST API Reference for ListDomains Operation IAsyncResult BeginListDomains(ListDomainsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListDomains operation. /// /// /// The IAsyncResult returned by the call to BeginListDomains. /// /// Returns a ListDomainsResult from CodeArtifact. /// REST API Reference for ListDomains Operation ListDomainsResponse EndListDomains(IAsyncResult asyncResult); #endregion #region ListPackages /// /// Returns a list of PackageSummary /// objects for packages in a repository that match the request parameters. /// /// Container for the necessary parameters to execute the ListPackages service method. /// /// The response from the ListPackages service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because of an error that occurred inside CodeArtifact. /// /// /// The operation did not succeed because the resource requested is not found in the /// service. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for ListPackages Operation ListPackagesResponse ListPackages(ListPackagesRequest request); /// /// Initiates the asynchronous execution of the ListPackages operation. /// /// /// Container for the necessary parameters to execute the ListPackages operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListPackages /// operation. /// REST API Reference for ListPackages Operation IAsyncResult BeginListPackages(ListPackagesRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListPackages operation. /// /// /// The IAsyncResult returned by the call to BeginListPackages. /// /// Returns a ListPackagesResult from CodeArtifact. /// REST API Reference for ListPackages Operation ListPackagesResponse EndListPackages(IAsyncResult asyncResult); #endregion #region ListPackageVersionAssets /// /// Returns a list of AssetSummary /// objects for assets in a package version. /// /// Container for the necessary parameters to execute the ListPackageVersionAssets service method. /// /// The response from the ListPackageVersionAssets service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because of an error that occurred inside CodeArtifact. /// /// /// The operation did not succeed because the resource requested is not found in the /// service. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for ListPackageVersionAssets Operation ListPackageVersionAssetsResponse ListPackageVersionAssets(ListPackageVersionAssetsRequest request); /// /// Initiates the asynchronous execution of the ListPackageVersionAssets operation. /// /// /// Container for the necessary parameters to execute the ListPackageVersionAssets operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListPackageVersionAssets /// operation. /// REST API Reference for ListPackageVersionAssets Operation IAsyncResult BeginListPackageVersionAssets(ListPackageVersionAssetsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListPackageVersionAssets operation. /// /// /// The IAsyncResult returned by the call to BeginListPackageVersionAssets. /// /// Returns a ListPackageVersionAssetsResult from CodeArtifact. /// REST API Reference for ListPackageVersionAssets Operation ListPackageVersionAssetsResponse EndListPackageVersionAssets(IAsyncResult asyncResult); #endregion #region ListPackageVersionDependencies /// /// Returns the direct dependencies for a package version. The dependencies are returned /// as PackageDependency /// 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. /// /// Container for the necessary parameters to execute the ListPackageVersionDependencies service method. /// /// The response from the ListPackageVersionDependencies service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because of an error that occurred inside CodeArtifact. /// /// /// The operation did not succeed because the resource requested is not found in the /// service. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for ListPackageVersionDependencies Operation ListPackageVersionDependenciesResponse ListPackageVersionDependencies(ListPackageVersionDependenciesRequest request); /// /// Initiates the asynchronous execution of the ListPackageVersionDependencies operation. /// /// /// Container for the necessary parameters to execute the ListPackageVersionDependencies operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListPackageVersionDependencies /// operation. /// REST API Reference for ListPackageVersionDependencies Operation IAsyncResult BeginListPackageVersionDependencies(ListPackageVersionDependenciesRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListPackageVersionDependencies operation. /// /// /// The IAsyncResult returned by the call to BeginListPackageVersionDependencies. /// /// Returns a ListPackageVersionDependenciesResult from CodeArtifact. /// REST API Reference for ListPackageVersionDependencies Operation ListPackageVersionDependenciesResponse EndListPackageVersionDependencies(IAsyncResult asyncResult); #endregion #region ListPackageVersions /// /// Returns a list of PackageVersionSummary /// objects for package versions in a repository that match the request parameters. Package /// versions of all statuses will be returned by default when calling list-package-versions /// with no --status parameter. /// /// Container for the necessary parameters to execute the ListPackageVersions service method. /// /// The response from the ListPackageVersions service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because of an error that occurred inside CodeArtifact. /// /// /// The operation did not succeed because the resource requested is not found in the /// service. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for ListPackageVersions Operation ListPackageVersionsResponse ListPackageVersions(ListPackageVersionsRequest request); /// /// Initiates the asynchronous execution of the ListPackageVersions operation. /// /// /// Container for the necessary parameters to execute the ListPackageVersions operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListPackageVersions /// operation. /// REST API Reference for ListPackageVersions Operation IAsyncResult BeginListPackageVersions(ListPackageVersionsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListPackageVersions operation. /// /// /// The IAsyncResult returned by the call to BeginListPackageVersions. /// /// Returns a ListPackageVersionsResult from CodeArtifact. /// REST API Reference for ListPackageVersions Operation ListPackageVersionsResponse EndListPackageVersions(IAsyncResult asyncResult); #endregion #region ListRepositories /// /// Returns a list of RepositorySummary /// objects. Each RepositorySummary contains information about a repository /// in the specified Amazon Web Services account and that matches the input parameters. /// /// Container for the necessary parameters to execute the ListRepositories service method. /// /// The response from the ListRepositories service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because of an error that occurred inside CodeArtifact. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for ListRepositories Operation ListRepositoriesResponse ListRepositories(ListRepositoriesRequest request); /// /// Initiates the asynchronous execution of the ListRepositories operation. /// /// /// Container for the necessary parameters to execute the ListRepositories operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListRepositories /// operation. /// REST API Reference for ListRepositories Operation IAsyncResult BeginListRepositories(ListRepositoriesRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListRepositories operation. /// /// /// The IAsyncResult returned by the call to BeginListRepositories. /// /// Returns a ListRepositoriesResult from CodeArtifact. /// REST API Reference for ListRepositories Operation ListRepositoriesResponse EndListRepositories(IAsyncResult asyncResult); #endregion #region ListRepositoriesInDomain /// /// Returns a list of RepositorySummary /// objects. Each RepositorySummary contains information about a repository /// in the specified domain and that matches the input parameters. /// /// Container for the necessary parameters to execute the ListRepositoriesInDomain service method. /// /// The response from the ListRepositoriesInDomain service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because of an error that occurred inside CodeArtifact. /// /// /// The operation did not succeed because the resource requested is not found in the /// service. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for ListRepositoriesInDomain Operation ListRepositoriesInDomainResponse ListRepositoriesInDomain(ListRepositoriesInDomainRequest request); /// /// Initiates the asynchronous execution of the ListRepositoriesInDomain operation. /// /// /// Container for the necessary parameters to execute the ListRepositoriesInDomain operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListRepositoriesInDomain /// operation. /// REST API Reference for ListRepositoriesInDomain Operation IAsyncResult BeginListRepositoriesInDomain(ListRepositoriesInDomainRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListRepositoriesInDomain operation. /// /// /// The IAsyncResult returned by the call to BeginListRepositoriesInDomain. /// /// Returns a ListRepositoriesInDomainResult from CodeArtifact. /// REST API Reference for ListRepositoriesInDomain Operation ListRepositoriesInDomainResponse EndListRepositoriesInDomain(IAsyncResult asyncResult); #endregion #region ListTagsForResource /// /// Gets information about Amazon Web Services tags for a specified Amazon Resource Name /// (ARN) in CodeArtifact. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// The response from the ListTagsForResource service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because the resource requested is not found in the /// service. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for ListTagsForResource Operation ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request); /// /// Initiates the asynchronous execution of the ListTagsForResource operation. /// /// /// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource /// operation. /// REST API Reference for ListTagsForResource Operation IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListTagsForResource operation. /// /// /// The IAsyncResult returned by the call to BeginListTagsForResource. /// /// Returns a ListTagsForResourceResult from CodeArtifact. /// REST API Reference for ListTagsForResource Operation ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult); #endregion #region PublishPackageVersion /// /// Creates a new package version containing one or more assets (or files). /// /// /// /// The unfinished flag can be used to keep the package version in the Unfinished /// state until all of its assets have been uploaded (see Package /// version status in the CodeArtifact user guide). To set the package version’s /// status to Published, omit the unfinished flag when uploading /// the final asset, or set the status using UpdatePackageVersionStatus. /// Once a package version’s status is set to Published, it cannot change /// back to Unfinished. /// /// /// /// Only generic packages can be published using this API. For more information, see Using /// generic packages in the CodeArtifact User Guide. /// /// /// /// Container for the necessary parameters to execute the PublishPackageVersion service method. /// /// The response from the PublishPackageVersion service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because prerequisites are not met. /// /// /// The operation did not succeed because of an error that occurred inside CodeArtifact. /// /// /// The operation did not succeed because the resource requested is not found in the /// service. /// /// /// The operation did not succeed because it would have exceeded a service limit for /// your account. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for PublishPackageVersion Operation PublishPackageVersionResponse PublishPackageVersion(PublishPackageVersionRequest request); /// /// Initiates the asynchronous execution of the PublishPackageVersion operation. /// /// /// Container for the necessary parameters to execute the PublishPackageVersion operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPublishPackageVersion /// operation. /// REST API Reference for PublishPackageVersion Operation IAsyncResult BeginPublishPackageVersion(PublishPackageVersionRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the PublishPackageVersion operation. /// /// /// The IAsyncResult returned by the call to BeginPublishPackageVersion. /// /// Returns a PublishPackageVersionResult from CodeArtifact. /// REST API Reference for PublishPackageVersion Operation PublishPackageVersionResponse EndPublishPackageVersion(IAsyncResult asyncResult); #endregion #region PutDomainPermissionsPolicy /// /// 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. /// /// /// Container for the necessary parameters to execute the PutDomainPermissionsPolicy service method. /// /// The response from the PutDomainPermissionsPolicy service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because prerequisites are not met. /// /// /// The operation did not succeed because of an error that occurred inside CodeArtifact. /// /// /// The operation did not succeed because the resource requested is not found in the /// service. /// /// /// The operation did not succeed because it would have exceeded a service limit for /// your account. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for PutDomainPermissionsPolicy Operation PutDomainPermissionsPolicyResponse PutDomainPermissionsPolicy(PutDomainPermissionsPolicyRequest request); /// /// Initiates the asynchronous execution of the PutDomainPermissionsPolicy operation. /// /// /// Container for the necessary parameters to execute the PutDomainPermissionsPolicy operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutDomainPermissionsPolicy /// operation. /// REST API Reference for PutDomainPermissionsPolicy Operation IAsyncResult BeginPutDomainPermissionsPolicy(PutDomainPermissionsPolicyRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the PutDomainPermissionsPolicy operation. /// /// /// The IAsyncResult returned by the call to BeginPutDomainPermissionsPolicy. /// /// Returns a PutDomainPermissionsPolicyResult from CodeArtifact. /// REST API Reference for PutDomainPermissionsPolicy Operation PutDomainPermissionsPolicyResponse EndPutDomainPermissionsPolicy(IAsyncResult asyncResult); #endregion #region PutPackageOriginConfiguration /// /// Sets the package origin configuration for a package. /// /// /// /// The package origin configuration determines how new versions of a package can be added /// to a repository. You can allow or block direct publishing of new package versions, /// or ingestion and retaining of new package versions from an external connection or /// upstream source. For more information about package origin controls and configuration, /// see Editing /// package origin controls in the CodeArtifact User Guide. /// /// /// /// PutPackageOriginConfiguration can be called on a package that doesn't /// yet exist in the repository. When called on a package that does not exist, a package /// is created in the repository with no versions and the requested restrictions are set /// on the package. This can be used to preemptively block ingesting or retaining any /// versions from external connections or upstream repositories, or to block publishing /// any versions of the package into the repository before connecting any package managers /// or publishers to the repository. /// /// /// Container for the necessary parameters to execute the PutPackageOriginConfiguration service method. /// /// The response from the PutPackageOriginConfiguration service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because of an error that occurred inside CodeArtifact. /// /// /// The operation did not succeed because the resource requested is not found in the /// service. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for PutPackageOriginConfiguration Operation PutPackageOriginConfigurationResponse PutPackageOriginConfiguration(PutPackageOriginConfigurationRequest request); /// /// Initiates the asynchronous execution of the PutPackageOriginConfiguration operation. /// /// /// Container for the necessary parameters to execute the PutPackageOriginConfiguration operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutPackageOriginConfiguration /// operation. /// REST API Reference for PutPackageOriginConfiguration Operation IAsyncResult BeginPutPackageOriginConfiguration(PutPackageOriginConfigurationRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the PutPackageOriginConfiguration operation. /// /// /// The IAsyncResult returned by the call to BeginPutPackageOriginConfiguration. /// /// Returns a PutPackageOriginConfigurationResult from CodeArtifact. /// REST API Reference for PutPackageOriginConfiguration Operation PutPackageOriginConfigurationResponse EndPutPackageOriginConfiguration(IAsyncResult asyncResult); #endregion #region PutRepositoryPermissionsPolicy /// /// 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. /// /// /// Container for the necessary parameters to execute the PutRepositoryPermissionsPolicy service method. /// /// The response from the PutRepositoryPermissionsPolicy service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because prerequisites are not met. /// /// /// The operation did not succeed because of an error that occurred inside CodeArtifact. /// /// /// The operation did not succeed because the resource requested is not found in the /// service. /// /// /// The operation did not succeed because it would have exceeded a service limit for /// your account. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for PutRepositoryPermissionsPolicy Operation PutRepositoryPermissionsPolicyResponse PutRepositoryPermissionsPolicy(PutRepositoryPermissionsPolicyRequest request); /// /// Initiates the asynchronous execution of the PutRepositoryPermissionsPolicy operation. /// /// /// Container for the necessary parameters to execute the PutRepositoryPermissionsPolicy operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutRepositoryPermissionsPolicy /// operation. /// REST API Reference for PutRepositoryPermissionsPolicy Operation IAsyncResult BeginPutRepositoryPermissionsPolicy(PutRepositoryPermissionsPolicyRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the PutRepositoryPermissionsPolicy operation. /// /// /// The IAsyncResult returned by the call to BeginPutRepositoryPermissionsPolicy. /// /// Returns a PutRepositoryPermissionsPolicyResult from CodeArtifact. /// REST API Reference for PutRepositoryPermissionsPolicy Operation PutRepositoryPermissionsPolicyResponse EndPutRepositoryPermissionsPolicy(IAsyncResult asyncResult); #endregion #region TagResource /// /// Adds or updates tags for a resource in CodeArtifact. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// The response from the TagResource service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because the resource requested is not found in the /// service. /// /// /// The operation did not succeed because it would have exceeded a service limit for /// your account. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for TagResource Operation TagResourceResponse TagResource(TagResourceRequest request); /// /// Initiates the asynchronous execution of the TagResource operation. /// /// /// Container for the necessary parameters to execute the TagResource operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource /// operation. /// REST API Reference for TagResource Operation IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the TagResource operation. /// /// /// The IAsyncResult returned by the call to BeginTagResource. /// /// Returns a TagResourceResult from CodeArtifact. /// REST API Reference for TagResource Operation TagResourceResponse EndTagResource(IAsyncResult asyncResult); #endregion #region UntagResource /// /// Removes tags from a resource in CodeArtifact. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// The response from the UntagResource service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because the resource requested is not found in the /// service. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for UntagResource Operation UntagResourceResponse UntagResource(UntagResourceRequest request); /// /// Initiates the asynchronous execution of the UntagResource operation. /// /// /// Container for the necessary parameters to execute the UntagResource operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource /// operation. /// REST API Reference for UntagResource Operation IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the UntagResource operation. /// /// /// The IAsyncResult returned by the call to BeginUntagResource. /// /// Returns a UntagResourceResult from CodeArtifact. /// REST API Reference for UntagResource Operation UntagResourceResponse EndUntagResource(IAsyncResult asyncResult); #endregion #region UpdatePackageVersionsStatus /// /// Updates the status of one or more versions of a package. Using UpdatePackageVersionsStatus, /// you can update the status of package versions to Archived, Published, /// or Unlisted. To set the status of a package version to Disposed, /// use DisposePackageVersions. /// /// Container for the necessary parameters to execute the UpdatePackageVersionsStatus service method. /// /// The response from the UpdatePackageVersionsStatus service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because prerequisites are not met. /// /// /// The operation did not succeed because of an error that occurred inside CodeArtifact. /// /// /// The operation did not succeed because the resource requested is not found in the /// service. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for UpdatePackageVersionsStatus Operation UpdatePackageVersionsStatusResponse UpdatePackageVersionsStatus(UpdatePackageVersionsStatusRequest request); /// /// Initiates the asynchronous execution of the UpdatePackageVersionsStatus operation. /// /// /// Container for the necessary parameters to execute the UpdatePackageVersionsStatus operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdatePackageVersionsStatus /// operation. /// REST API Reference for UpdatePackageVersionsStatus Operation IAsyncResult BeginUpdatePackageVersionsStatus(UpdatePackageVersionsStatusRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the UpdatePackageVersionsStatus operation. /// /// /// The IAsyncResult returned by the call to BeginUpdatePackageVersionsStatus. /// /// Returns a UpdatePackageVersionsStatusResult from CodeArtifact. /// REST API Reference for UpdatePackageVersionsStatus Operation UpdatePackageVersionsStatusResponse EndUpdatePackageVersionsStatus(IAsyncResult asyncResult); #endregion #region UpdateRepository /// /// Update the properties of a repository. /// /// Container for the necessary parameters to execute the UpdateRepository service method. /// /// The response from the UpdateRepository service method, as returned by CodeArtifact. /// /// The operation did not succeed because of an unauthorized access attempt. /// /// /// The operation did not succeed because prerequisites are not met. /// /// /// The operation did not succeed because of an error that occurred inside CodeArtifact. /// /// /// The operation did not succeed because the resource requested is not found in the /// service. /// /// /// The operation did not succeed because it would have exceeded a service limit for /// your account. /// /// /// The operation did not succeed because too many requests are sent to the service. /// /// /// The operation did not succeed because a parameter in the request was sent with an /// invalid value. /// /// REST API Reference for UpdateRepository Operation UpdateRepositoryResponse UpdateRepository(UpdateRepositoryRequest request); /// /// Initiates the asynchronous execution of the UpdateRepository operation. /// /// /// Container for the necessary parameters to execute the UpdateRepository operation on AmazonCodeArtifactClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateRepository /// operation. /// REST API Reference for UpdateRepository Operation IAsyncResult BeginUpdateRepository(UpdateRepositoryRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the UpdateRepository operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateRepository. /// /// Returns a UpdateRepositoryResult from CodeArtifact. /// REST API Reference for UpdateRepository Operation UpdateRepositoryResponse EndUpdateRepository(IAsyncResult asyncResult); #endregion } }