@aws-sdk/client-codeartifact 3.287.0 → 3.288.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -0
- package/dist-cjs/Codeartifact.js +15 -0
- package/dist-cjs/commands/PublishPackageVersionCommand.js +46 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +10 -1
- package/dist-cjs/protocols/Aws_restJson1.js +106 -2
- package/dist-es/Codeartifact.js +15 -0
- package/dist-es/commands/PublishPackageVersionCommand.js +42 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +7 -0
- package/dist-es/protocols/Aws_restJson1.js +102 -0
- package/dist-types/Codeartifact.d.ts +20 -1
- package/dist-types/CodeartifactClient.d.ts +11 -2
- package/dist-types/commands/DeletePackageVersionsCommand.d.ts +1 -1
- package/dist-types/commands/PublishPackageVersionCommand.d.ts +58 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +194 -10
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/ts3.4/Codeartifact.d.ts +17 -0
- package/dist-types/ts3.4/CodeartifactClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/PublishPackageVersionCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +29 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +4 -4
|
@@ -30,6 +30,7 @@ import { ListPackageVersionsCommandInput, ListPackageVersionsCommandOutput } fro
|
|
|
30
30
|
import { ListRepositoriesCommandInput, ListRepositoriesCommandOutput } from "./commands/ListRepositoriesCommand";
|
|
31
31
|
import { ListRepositoriesInDomainCommandInput, ListRepositoriesInDomainCommandOutput } from "./commands/ListRepositoriesInDomainCommand";
|
|
32
32
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
33
|
+
import { PublishPackageVersionCommandInput, PublishPackageVersionCommandOutput } from "./commands/PublishPackageVersionCommand";
|
|
33
34
|
import { PutDomainPermissionsPolicyCommandInput, PutDomainPermissionsPolicyCommandOutput } from "./commands/PutDomainPermissionsPolicyCommand";
|
|
34
35
|
import { PutPackageOriginConfigurationCommandInput, PutPackageOriginConfigurationCommandOutput } from "./commands/PutPackageOriginConfigurationCommand";
|
|
35
36
|
import { PutRepositoryPermissionsPolicyCommandInput, PutRepositoryPermissionsPolicyCommandOutput } from "./commands/PutRepositoryPermissionsPolicyCommand";
|
|
@@ -155,6 +156,10 @@ import { UpdateRepositoryCommandInput, UpdateRepositoryCommandOutput } from "./c
|
|
|
155
156
|
* </li>
|
|
156
157
|
* <li>
|
|
157
158
|
* <p>
|
|
159
|
+
* <code>DeletePackage</code>: Deletes a package and all associated package versions.</p>
|
|
160
|
+
* </li>
|
|
161
|
+
* <li>
|
|
162
|
+
* <p>
|
|
158
163
|
* <code>DeletePackageVersions</code>: Deletes versions of a package. After a package has
|
|
159
164
|
* been deleted, it can be republished, but its assets and metadata cannot be restored
|
|
160
165
|
* because they have been permanently removed from storage.</p>
|
|
@@ -283,6 +288,10 @@ import { UpdateRepositoryCommandInput, UpdateRepositoryCommandOutput } from "./c
|
|
|
283
288
|
* </li>
|
|
284
289
|
* <li>
|
|
285
290
|
* <p>
|
|
291
|
+
* <code>PublishPackageVersion</code>: Creates a new package version containing one or more assets.</p>
|
|
292
|
+
* </li>
|
|
293
|
+
* <li>
|
|
294
|
+
* <p>
|
|
286
295
|
* <code>PutDomainPermissionsPolicy</code>: Attaches a resource policy to a domain.</p>
|
|
287
296
|
* </li>
|
|
288
297
|
* <li>
|
|
@@ -381,7 +390,7 @@ export declare class Codeartifact extends CodeartifactClient {
|
|
|
381
390
|
* in your repository. If you want to remove a package version from your repository and be able
|
|
382
391
|
* to restore it later, set its status to <code>Archived</code>. Archived packages cannot be
|
|
383
392
|
* downloaded from a repository and don't show up with list package APIs (for example,
|
|
384
|
-
* <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListPackageVersions.html">
|
|
393
|
+
* <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListPackageVersions.html">ListPackageVersions</a>), but you can restore them using <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_UpdatePackageVersionsStatus.html">UpdatePackageVersionsStatus</a>. </p>
|
|
385
394
|
*/
|
|
386
395
|
deletePackageVersions(args: DeletePackageVersionsCommandInput, options?: __HttpHandlerOptions): Promise<DeletePackageVersionsCommandOutput>;
|
|
387
396
|
deletePackageVersions(args: DeletePackageVersionsCommandInput, cb: (err: any, data?: DeletePackageVersionsCommandOutput) => void): void;
|
|
@@ -650,6 +659,16 @@ export declare class Codeartifact extends CodeartifactClient {
|
|
|
650
659
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
651
660
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
652
661
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
662
|
+
/**
|
|
663
|
+
* <p>Creates a new package version containing one or more assets (or files).</p>
|
|
664
|
+
* <p>The <code>unfinished</code> flag can be used to keep the package version in the <code>Unfinished</code> state until all of it’s assets have been uploaded (see <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/packages-overview.html#package-version-status.html#package-version-status">Package version status</a> in the <i>CodeArtifact user guide</i>). To set the package version’s status to <code>Published</code>, omit the <code>unfinished</code> flag when uploading the final asset, or set the status using <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_UpdatePackageVersionsStatus.html">UpdatePackageVersionStatus</a>. Once a package version’s status is set to <code>Published</code>, it cannot change back to <code>Unfinished</code>.</p>
|
|
665
|
+
* <note>
|
|
666
|
+
* <p>Only generic packages can be published using this API.</p>
|
|
667
|
+
* </note>
|
|
668
|
+
*/
|
|
669
|
+
publishPackageVersion(args: PublishPackageVersionCommandInput, options?: __HttpHandlerOptions): Promise<PublishPackageVersionCommandOutput>;
|
|
670
|
+
publishPackageVersion(args: PublishPackageVersionCommandInput, cb: (err: any, data?: PublishPackageVersionCommandOutput) => void): void;
|
|
671
|
+
publishPackageVersion(args: PublishPackageVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PublishPackageVersionCommandOutput) => void): void;
|
|
653
672
|
/**
|
|
654
673
|
* <p>
|
|
655
674
|
* Sets a resource policy on a domain that specifies permissions to access it.
|
|
@@ -37,6 +37,7 @@ import { ListPackageVersionsCommandInput, ListPackageVersionsCommandOutput } fro
|
|
|
37
37
|
import { ListRepositoriesCommandInput, ListRepositoriesCommandOutput } from "./commands/ListRepositoriesCommand";
|
|
38
38
|
import { ListRepositoriesInDomainCommandInput, ListRepositoriesInDomainCommandOutput } from "./commands/ListRepositoriesInDomainCommand";
|
|
39
39
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
40
|
+
import { PublishPackageVersionCommandInput, PublishPackageVersionCommandOutput } from "./commands/PublishPackageVersionCommand";
|
|
40
41
|
import { PutDomainPermissionsPolicyCommandInput, PutDomainPermissionsPolicyCommandOutput } from "./commands/PutDomainPermissionsPolicyCommand";
|
|
41
42
|
import { PutPackageOriginConfigurationCommandInput, PutPackageOriginConfigurationCommandOutput } from "./commands/PutPackageOriginConfigurationCommand";
|
|
42
43
|
import { PutRepositoryPermissionsPolicyCommandInput, PutRepositoryPermissionsPolicyCommandOutput } from "./commands/PutRepositoryPermissionsPolicyCommand";
|
|
@@ -45,8 +46,8 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
|
|
|
45
46
|
import { UpdatePackageVersionsStatusCommandInput, UpdatePackageVersionsStatusCommandOutput } from "./commands/UpdatePackageVersionsStatusCommand";
|
|
46
47
|
import { UpdateRepositoryCommandInput, UpdateRepositoryCommandOutput } from "./commands/UpdateRepositoryCommand";
|
|
47
48
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
48
|
-
export declare type ServiceInputTypes = AssociateExternalConnectionCommandInput | CopyPackageVersionsCommandInput | CreateDomainCommandInput | CreateRepositoryCommandInput | DeleteDomainCommandInput | DeleteDomainPermissionsPolicyCommandInput | DeletePackageCommandInput | DeletePackageVersionsCommandInput | DeleteRepositoryCommandInput | DeleteRepositoryPermissionsPolicyCommandInput | DescribeDomainCommandInput | DescribePackageCommandInput | DescribePackageVersionCommandInput | DescribeRepositoryCommandInput | DisassociateExternalConnectionCommandInput | DisposePackageVersionsCommandInput | GetAuthorizationTokenCommandInput | GetDomainPermissionsPolicyCommandInput | GetPackageVersionAssetCommandInput | GetPackageVersionReadmeCommandInput | GetRepositoryEndpointCommandInput | GetRepositoryPermissionsPolicyCommandInput | ListDomainsCommandInput | ListPackageVersionAssetsCommandInput | ListPackageVersionDependenciesCommandInput | ListPackageVersionsCommandInput | ListPackagesCommandInput | ListRepositoriesCommandInput | ListRepositoriesInDomainCommandInput | ListTagsForResourceCommandInput | PutDomainPermissionsPolicyCommandInput | PutPackageOriginConfigurationCommandInput | PutRepositoryPermissionsPolicyCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdatePackageVersionsStatusCommandInput | UpdateRepositoryCommandInput;
|
|
49
|
-
export declare type ServiceOutputTypes = AssociateExternalConnectionCommandOutput | CopyPackageVersionsCommandOutput | CreateDomainCommandOutput | CreateRepositoryCommandOutput | DeleteDomainCommandOutput | DeleteDomainPermissionsPolicyCommandOutput | DeletePackageCommandOutput | DeletePackageVersionsCommandOutput | DeleteRepositoryCommandOutput | DeleteRepositoryPermissionsPolicyCommandOutput | DescribeDomainCommandOutput | DescribePackageCommandOutput | DescribePackageVersionCommandOutput | DescribeRepositoryCommandOutput | DisassociateExternalConnectionCommandOutput | DisposePackageVersionsCommandOutput | GetAuthorizationTokenCommandOutput | GetDomainPermissionsPolicyCommandOutput | GetPackageVersionAssetCommandOutput | GetPackageVersionReadmeCommandOutput | GetRepositoryEndpointCommandOutput | GetRepositoryPermissionsPolicyCommandOutput | ListDomainsCommandOutput | ListPackageVersionAssetsCommandOutput | ListPackageVersionDependenciesCommandOutput | ListPackageVersionsCommandOutput | ListPackagesCommandOutput | ListRepositoriesCommandOutput | ListRepositoriesInDomainCommandOutput | ListTagsForResourceCommandOutput | PutDomainPermissionsPolicyCommandOutput | PutPackageOriginConfigurationCommandOutput | PutRepositoryPermissionsPolicyCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdatePackageVersionsStatusCommandOutput | UpdateRepositoryCommandOutput;
|
|
49
|
+
export declare type ServiceInputTypes = AssociateExternalConnectionCommandInput | CopyPackageVersionsCommandInput | CreateDomainCommandInput | CreateRepositoryCommandInput | DeleteDomainCommandInput | DeleteDomainPermissionsPolicyCommandInput | DeletePackageCommandInput | DeletePackageVersionsCommandInput | DeleteRepositoryCommandInput | DeleteRepositoryPermissionsPolicyCommandInput | DescribeDomainCommandInput | DescribePackageCommandInput | DescribePackageVersionCommandInput | DescribeRepositoryCommandInput | DisassociateExternalConnectionCommandInput | DisposePackageVersionsCommandInput | GetAuthorizationTokenCommandInput | GetDomainPermissionsPolicyCommandInput | GetPackageVersionAssetCommandInput | GetPackageVersionReadmeCommandInput | GetRepositoryEndpointCommandInput | GetRepositoryPermissionsPolicyCommandInput | ListDomainsCommandInput | ListPackageVersionAssetsCommandInput | ListPackageVersionDependenciesCommandInput | ListPackageVersionsCommandInput | ListPackagesCommandInput | ListRepositoriesCommandInput | ListRepositoriesInDomainCommandInput | ListTagsForResourceCommandInput | PublishPackageVersionCommandInput | PutDomainPermissionsPolicyCommandInput | PutPackageOriginConfigurationCommandInput | PutRepositoryPermissionsPolicyCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdatePackageVersionsStatusCommandInput | UpdateRepositoryCommandInput;
|
|
50
|
+
export declare type ServiceOutputTypes = AssociateExternalConnectionCommandOutput | CopyPackageVersionsCommandOutput | CreateDomainCommandOutput | CreateRepositoryCommandOutput | DeleteDomainCommandOutput | DeleteDomainPermissionsPolicyCommandOutput | DeletePackageCommandOutput | DeletePackageVersionsCommandOutput | DeleteRepositoryCommandOutput | DeleteRepositoryPermissionsPolicyCommandOutput | DescribeDomainCommandOutput | DescribePackageCommandOutput | DescribePackageVersionCommandOutput | DescribeRepositoryCommandOutput | DisassociateExternalConnectionCommandOutput | DisposePackageVersionsCommandOutput | GetAuthorizationTokenCommandOutput | GetDomainPermissionsPolicyCommandOutput | GetPackageVersionAssetCommandOutput | GetPackageVersionReadmeCommandOutput | GetRepositoryEndpointCommandOutput | GetRepositoryPermissionsPolicyCommandOutput | ListDomainsCommandOutput | ListPackageVersionAssetsCommandOutput | ListPackageVersionDependenciesCommandOutput | ListPackageVersionsCommandOutput | ListPackagesCommandOutput | ListRepositoriesCommandOutput | ListRepositoriesInDomainCommandOutput | ListTagsForResourceCommandOutput | PublishPackageVersionCommandOutput | PutDomainPermissionsPolicyCommandOutput | PutPackageOriginConfigurationCommandOutput | PutRepositoryPermissionsPolicyCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdatePackageVersionsStatusCommandOutput | UpdateRepositoryCommandOutput;
|
|
50
51
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
51
52
|
/**
|
|
52
53
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -282,6 +283,10 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
282
283
|
* </li>
|
|
283
284
|
* <li>
|
|
284
285
|
* <p>
|
|
286
|
+
* <code>DeletePackage</code>: Deletes a package and all associated package versions.</p>
|
|
287
|
+
* </li>
|
|
288
|
+
* <li>
|
|
289
|
+
* <p>
|
|
285
290
|
* <code>DeletePackageVersions</code>: Deletes versions of a package. After a package has
|
|
286
291
|
* been deleted, it can be republished, but its assets and metadata cannot be restored
|
|
287
292
|
* because they have been permanently removed from storage.</p>
|
|
@@ -410,6 +415,10 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
410
415
|
* </li>
|
|
411
416
|
* <li>
|
|
412
417
|
* <p>
|
|
418
|
+
* <code>PublishPackageVersion</code>: Creates a new package version containing one or more assets.</p>
|
|
419
|
+
* </li>
|
|
420
|
+
* <li>
|
|
421
|
+
* <p>
|
|
413
422
|
* <code>PutDomainPermissionsPolicy</code>: Attaches a resource policy to a domain.</p>
|
|
414
423
|
* </li>
|
|
415
424
|
* <li>
|
|
@@ -18,7 +18,7 @@ export interface DeletePackageVersionsCommandOutput extends DeletePackageVersion
|
|
|
18
18
|
* in your repository. If you want to remove a package version from your repository and be able
|
|
19
19
|
* to restore it later, set its status to <code>Archived</code>. Archived packages cannot be
|
|
20
20
|
* downloaded from a repository and don't show up with list package APIs (for example,
|
|
21
|
-
* <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListPackageVersions.html">
|
|
21
|
+
* <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListPackageVersions.html">ListPackageVersions</a>), but you can restore them using <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_UpdatePackageVersionsStatus.html">UpdatePackageVersionsStatus</a>. </p>
|
|
22
22
|
* @example
|
|
23
23
|
* Use a bare-bones client and the command you need to make an API call.
|
|
24
24
|
* ```javascript
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
5
|
+
import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
|
|
6
|
+
import { PublishPackageVersionRequest, PublishPackageVersionResult } from "../models/models_0";
|
|
7
|
+
/**
|
|
8
|
+
* The input for {@link PublishPackageVersionCommand}.
|
|
9
|
+
*/
|
|
10
|
+
declare type PublishPackageVersionCommandInputType = Omit<PublishPackageVersionRequest, "assetContent"> & {
|
|
11
|
+
/**
|
|
12
|
+
* For *`PublishPackageVersionRequest["assetContent"]`*, see {@link PublishPackageVersionRequest.assetContent}.
|
|
13
|
+
*/
|
|
14
|
+
assetContent: PublishPackageVersionRequest["assetContent"] | string | Uint8Array | Buffer;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* This interface extends from `PublishPackageVersionRequest` interface. There are more parameters than `assetContent` defined in {@link PublishPackageVersionRequest}
|
|
18
|
+
*/
|
|
19
|
+
export interface PublishPackageVersionCommandInput extends PublishPackageVersionCommandInputType {
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* The output of {@link PublishPackageVersionCommand}.
|
|
23
|
+
*/
|
|
24
|
+
export interface PublishPackageVersionCommandOutput extends PublishPackageVersionResult, __MetadataBearer {
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* <p>Creates a new package version containing one or more assets (or files).</p>
|
|
28
|
+
* <p>The <code>unfinished</code> flag can be used to keep the package version in the <code>Unfinished</code> state until all of it’s assets have been uploaded (see <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/packages-overview.html#package-version-status.html#package-version-status">Package version status</a> in the <i>CodeArtifact user guide</i>). To set the package version’s status to <code>Published</code>, omit the <code>unfinished</code> flag when uploading the final asset, or set the status using <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_UpdatePackageVersionsStatus.html">UpdatePackageVersionStatus</a>. Once a package version’s status is set to <code>Published</code>, it cannot change back to <code>Unfinished</code>.</p>
|
|
29
|
+
* <note>
|
|
30
|
+
* <p>Only generic packages can be published using this API.</p>
|
|
31
|
+
* </note>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { CodeartifactClient, PublishPackageVersionCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
|
|
36
|
+
* // const { CodeartifactClient, PublishPackageVersionCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
|
|
37
|
+
* const client = new CodeartifactClient(config);
|
|
38
|
+
* const command = new PublishPackageVersionCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* @see {@link PublishPackageVersionCommandInput} for command's `input` shape.
|
|
43
|
+
* @see {@link PublishPackageVersionCommandOutput} for command's `response` shape.
|
|
44
|
+
* @see {@link CodeartifactClientResolvedConfig | config} for CodeartifactClient's `config` shape.
|
|
45
|
+
*
|
|
46
|
+
*/
|
|
47
|
+
export declare class PublishPackageVersionCommand extends $Command<PublishPackageVersionCommandInput, PublishPackageVersionCommandOutput, CodeartifactClientResolvedConfig> {
|
|
48
|
+
readonly input: PublishPackageVersionCommandInput;
|
|
49
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
50
|
+
constructor(input: PublishPackageVersionCommandInput);
|
|
51
|
+
/**
|
|
52
|
+
* @internal
|
|
53
|
+
*/
|
|
54
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PublishPackageVersionCommandInput, PublishPackageVersionCommandOutput>;
|
|
55
|
+
private serialize;
|
|
56
|
+
private deserialize;
|
|
57
|
+
}
|
|
58
|
+
export {};
|
|
@@ -28,6 +28,7 @@ export * from "./ListPackagesCommand";
|
|
|
28
28
|
export * from "./ListRepositoriesCommand";
|
|
29
29
|
export * from "./ListRepositoriesInDomainCommand";
|
|
30
30
|
export * from "./ListTagsForResourceCommand";
|
|
31
|
+
export * from "./PublishPackageVersionCommand";
|
|
31
32
|
export * from "./PutDomainPermissionsPolicyCommand";
|
|
32
33
|
export * from "./PutPackageOriginConfigurationCommand";
|
|
33
34
|
export * from "./PutRepositoryPermissionsPolicyCommand";
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region?: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|
|
@@ -117,6 +117,7 @@ export interface AssociateExternalConnectionRequest {
|
|
|
117
117
|
externalConnection: string | undefined;
|
|
118
118
|
}
|
|
119
119
|
export declare enum PackageFormat {
|
|
120
|
+
GENERIC = "generic",
|
|
120
121
|
MAVEN = "maven",
|
|
121
122
|
NPM = "npm",
|
|
122
123
|
NUGET = "nuget",
|
|
@@ -434,6 +435,11 @@ export interface CopyPackageVersionsRequest {
|
|
|
434
435
|
* of those formats do not have a namespace.
|
|
435
436
|
* </p>
|
|
436
437
|
* </li>
|
|
438
|
+
* <li>
|
|
439
|
+
* <p>
|
|
440
|
+
* The namespace of a generic package is it’s <code>namespace</code>.
|
|
441
|
+
* </p>
|
|
442
|
+
* </li>
|
|
437
443
|
* </ul>
|
|
438
444
|
*/
|
|
439
445
|
namespace?: string;
|
|
@@ -957,6 +963,11 @@ export interface PackageSummary {
|
|
|
957
963
|
* of those formats do not have a namespace.
|
|
958
964
|
* </p>
|
|
959
965
|
* </li>
|
|
966
|
+
* <li>
|
|
967
|
+
* <p>
|
|
968
|
+
* The namespace of a generic package is it’s <code>namespace</code>.
|
|
969
|
+
* </p>
|
|
970
|
+
* </li>
|
|
960
971
|
* </ul>
|
|
961
972
|
*/
|
|
962
973
|
namespace?: string;
|
|
@@ -1027,6 +1038,11 @@ export interface DeletePackageVersionsRequest {
|
|
|
1027
1038
|
* of those formats do not have a namespace.
|
|
1028
1039
|
* </p>
|
|
1029
1040
|
* </li>
|
|
1041
|
+
* <li>
|
|
1042
|
+
* <p>
|
|
1043
|
+
* The namespace of a generic package is it’s <code>namespace</code>.
|
|
1044
|
+
* </p>
|
|
1045
|
+
* </li>
|
|
1030
1046
|
* </ul>
|
|
1031
1047
|
*/
|
|
1032
1048
|
namespace?: string;
|
|
@@ -1224,6 +1240,11 @@ export interface DescribePackageRequest {
|
|
|
1224
1240
|
* of those formats do not have a namespace.
|
|
1225
1241
|
* </p>
|
|
1226
1242
|
* </li>
|
|
1243
|
+
* <li>
|
|
1244
|
+
* <p>
|
|
1245
|
+
* The namespace of a generic package is it’s <code>namespace</code>.
|
|
1246
|
+
* </p>
|
|
1247
|
+
* </li>
|
|
1227
1248
|
* </ul>
|
|
1228
1249
|
*/
|
|
1229
1250
|
namespace?: string;
|
|
@@ -1260,6 +1281,11 @@ export interface PackageDescription {
|
|
|
1260
1281
|
* of those formats do not have a namespace.
|
|
1261
1282
|
* </p>
|
|
1262
1283
|
* </li>
|
|
1284
|
+
* <li>
|
|
1285
|
+
* <p>
|
|
1286
|
+
* The namespace of a generic package is it’s <code>namespace</code>.
|
|
1287
|
+
* </p>
|
|
1288
|
+
* </li>
|
|
1263
1289
|
* </ul>
|
|
1264
1290
|
*/
|
|
1265
1291
|
namespace?: string;
|
|
@@ -1323,6 +1349,11 @@ export interface DescribePackageVersionRequest {
|
|
|
1323
1349
|
* of those formats do not have a namespace.
|
|
1324
1350
|
* </p>
|
|
1325
1351
|
* </li>
|
|
1352
|
+
* <li>
|
|
1353
|
+
* <p>
|
|
1354
|
+
* The namespace of a generic package is it’s <code>namespace</code>.
|
|
1355
|
+
* </p>
|
|
1356
|
+
* </li>
|
|
1326
1357
|
* </ul>
|
|
1327
1358
|
*/
|
|
1328
1359
|
namespace?: string;
|
|
@@ -1423,6 +1454,11 @@ export interface PackageVersionDescription {
|
|
|
1423
1454
|
* of those formats do not have a namespace.
|
|
1424
1455
|
* </p>
|
|
1425
1456
|
* </li>
|
|
1457
|
+
* <li>
|
|
1458
|
+
* <p>
|
|
1459
|
+
* The namespace of a generic package is it’s <code>namespace</code>.
|
|
1460
|
+
* </p>
|
|
1461
|
+
* </li>
|
|
1426
1462
|
* </ul>
|
|
1427
1463
|
*/
|
|
1428
1464
|
namespace?: string;
|
|
@@ -1610,6 +1646,11 @@ export interface DisposePackageVersionsRequest {
|
|
|
1610
1646
|
* of those formats do not have a namespace.
|
|
1611
1647
|
* </p>
|
|
1612
1648
|
* </li>
|
|
1649
|
+
* <li>
|
|
1650
|
+
* <p>
|
|
1651
|
+
* The namespace of a generic package is it’s <code>namespace</code>.
|
|
1652
|
+
* </p>
|
|
1653
|
+
* </li>
|
|
1613
1654
|
* </ul>
|
|
1614
1655
|
*/
|
|
1615
1656
|
namespace?: string;
|
|
@@ -1790,6 +1831,11 @@ export interface GetPackageVersionAssetRequest {
|
|
|
1790
1831
|
* of those formats do not have a namespace.
|
|
1791
1832
|
* </p>
|
|
1792
1833
|
* </li>
|
|
1834
|
+
* <li>
|
|
1835
|
+
* <p>
|
|
1836
|
+
* The namespace of a generic package is it’s <code>namespace</code>.
|
|
1837
|
+
* </p>
|
|
1838
|
+
* </li>
|
|
1793
1839
|
* </ul>
|
|
1794
1840
|
*/
|
|
1795
1841
|
namespace?: string;
|
|
@@ -1866,10 +1912,6 @@ export interface GetPackageVersionReadmeRequest {
|
|
|
1866
1912
|
* <p>
|
|
1867
1913
|
* A format that specifies the type of the package version with the requested readme file.
|
|
1868
1914
|
* </p>
|
|
1869
|
-
* <note>
|
|
1870
|
-
* <p>Although <code>maven</code> is
|
|
1871
|
-
* listed as a valid value, CodeArtifact does not support displaying readme files for Maven packages.</p>
|
|
1872
|
-
* </note>
|
|
1873
1915
|
*/
|
|
1874
1916
|
format: PackageFormat | string | undefined;
|
|
1875
1917
|
/**
|
|
@@ -2125,8 +2167,8 @@ export interface ListPackagesRequest {
|
|
|
2125
2167
|
*/
|
|
2126
2168
|
format?: PackageFormat | string;
|
|
2127
2169
|
/**
|
|
2128
|
-
* <p>The namespace used to filter requested packages. Only packages with the provided
|
|
2129
|
-
*
|
|
2170
|
+
* <p>The namespace prefix used to filter requested packages. Only packages with a namespace that starts with the provided string value are returned. Note that although this option is called <code>--namespace</code> and not <code>--namespace-prefix</code>, it has prefix-matching behavior.</p>
|
|
2171
|
+
* <p>Each package format uses namespace as follows:</p>
|
|
2130
2172
|
* <ul>
|
|
2131
2173
|
* <li>
|
|
2132
2174
|
* <p>
|
|
@@ -2144,6 +2186,11 @@ export interface ListPackagesRequest {
|
|
|
2144
2186
|
* of those formats do not have a namespace.
|
|
2145
2187
|
* </p>
|
|
2146
2188
|
* </li>
|
|
2189
|
+
* <li>
|
|
2190
|
+
* <p>
|
|
2191
|
+
* The namespace of a generic package is it’s <code>namespace</code>.
|
|
2192
|
+
* </p>
|
|
2193
|
+
* </li>
|
|
2147
2194
|
* </ul>
|
|
2148
2195
|
*/
|
|
2149
2196
|
namespace?: string;
|
|
@@ -2239,6 +2286,11 @@ export interface ListPackageVersionAssetsRequest {
|
|
|
2239
2286
|
* of those formats do not have a namespace.
|
|
2240
2287
|
* </p>
|
|
2241
2288
|
* </li>
|
|
2289
|
+
* <li>
|
|
2290
|
+
* <p>
|
|
2291
|
+
* The namespace of a generic package is it’s <code>namespace</code>.
|
|
2292
|
+
* </p>
|
|
2293
|
+
* </li>
|
|
2242
2294
|
* </ul>
|
|
2243
2295
|
*/
|
|
2244
2296
|
namespace?: string;
|
|
@@ -2374,6 +2426,11 @@ export interface ListPackageVersionDependenciesRequest {
|
|
|
2374
2426
|
* of those formats do not have a namespace.
|
|
2375
2427
|
* </p>
|
|
2376
2428
|
* </li>
|
|
2429
|
+
* <li>
|
|
2430
|
+
* <p>
|
|
2431
|
+
* The namespace of a generic package is it’s <code>namespace</code>.
|
|
2432
|
+
* </p>
|
|
2433
|
+
* </li>
|
|
2377
2434
|
* </ul>
|
|
2378
2435
|
*/
|
|
2379
2436
|
namespace?: string;
|
|
@@ -2432,9 +2489,26 @@ export interface PackageDependency {
|
|
|
2432
2489
|
*/
|
|
2433
2490
|
package?: string;
|
|
2434
2491
|
/**
|
|
2435
|
-
* <p> The type of a package dependency. The possible values depend on the package type
|
|
2436
|
-
*
|
|
2437
|
-
*
|
|
2492
|
+
* <p> The type of a package dependency. The possible values depend on the package type.</p>
|
|
2493
|
+
* <ul>
|
|
2494
|
+
* <li>
|
|
2495
|
+
* <p>npm: <code>regular</code>, <code>dev</code>, <code>peer</code>, <code>optional</code>
|
|
2496
|
+
* </p>
|
|
2497
|
+
* </li>
|
|
2498
|
+
* <li>
|
|
2499
|
+
* <p>maven: <code>optional</code>, <code>parent</code>, <code>compile</code>, <code>runtime</code>, <code>test</code>, <code>system</code>, <code>provided</code>.</p>
|
|
2500
|
+
* <note>
|
|
2501
|
+
* <p>Note that <code>parent</code> is not a regular Maven dependency type; instead this is extracted from the <code><parent></code> element if one is defined in the package version's POM file.</p>
|
|
2502
|
+
* </note>
|
|
2503
|
+
* </li>
|
|
2504
|
+
* <li>
|
|
2505
|
+
* <p>nuget: The <code>dependencyType</code> field is never set for NuGet packages.</p>
|
|
2506
|
+
* </li>
|
|
2507
|
+
* <li>
|
|
2508
|
+
* <p>pypi: <code>Requires-Dist</code>
|
|
2509
|
+
* </p>
|
|
2510
|
+
* </li>
|
|
2511
|
+
* </ul>
|
|
2438
2512
|
*/
|
|
2439
2513
|
dependencyType?: string;
|
|
2440
2514
|
/**
|
|
@@ -2532,7 +2606,7 @@ export interface ListPackageVersionsRequest {
|
|
|
2532
2606
|
repository: string | undefined;
|
|
2533
2607
|
/**
|
|
2534
2608
|
* <p>
|
|
2535
|
-
* The format of the
|
|
2609
|
+
* The format of the package versions you want to list.
|
|
2536
2610
|
* </p>
|
|
2537
2611
|
*/
|
|
2538
2612
|
format: PackageFormat | string | undefined;
|
|
@@ -2556,6 +2630,11 @@ export interface ListPackageVersionsRequest {
|
|
|
2556
2630
|
* of those formats do not have a namespace.
|
|
2557
2631
|
* </p>
|
|
2558
2632
|
* </li>
|
|
2633
|
+
* <li>
|
|
2634
|
+
* <p>
|
|
2635
|
+
* The namespace of a generic package is it’s <code>namespace</code>.
|
|
2636
|
+
* </p>
|
|
2637
|
+
* </li>
|
|
2559
2638
|
* </ul>
|
|
2560
2639
|
*/
|
|
2561
2640
|
namespace?: string;
|
|
@@ -2839,6 +2918,93 @@ export interface ListTagsForResourceResult {
|
|
|
2839
2918
|
*/
|
|
2840
2919
|
tags?: Tag[];
|
|
2841
2920
|
}
|
|
2921
|
+
export interface PublishPackageVersionRequest {
|
|
2922
|
+
/**
|
|
2923
|
+
* <p>The name of the domain that contains the repository that contains the package version to publish.</p>
|
|
2924
|
+
*/
|
|
2925
|
+
domain: string | undefined;
|
|
2926
|
+
/**
|
|
2927
|
+
* <p>The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.</p>
|
|
2928
|
+
*/
|
|
2929
|
+
domainOwner?: string;
|
|
2930
|
+
/**
|
|
2931
|
+
* <p>The name of the repository that the package version will be published to.</p>
|
|
2932
|
+
*/
|
|
2933
|
+
repository: string | undefined;
|
|
2934
|
+
/**
|
|
2935
|
+
* <p>A format that specifies the type of the package version with the requested asset file.</p>
|
|
2936
|
+
*/
|
|
2937
|
+
format: PackageFormat | string | undefined;
|
|
2938
|
+
/**
|
|
2939
|
+
* <p>The namespace of the package version to publish.</p>
|
|
2940
|
+
*/
|
|
2941
|
+
namespace?: string;
|
|
2942
|
+
/**
|
|
2943
|
+
* <p>The name of the package version to publish.</p>
|
|
2944
|
+
*/
|
|
2945
|
+
package: string | undefined;
|
|
2946
|
+
/**
|
|
2947
|
+
* <p>The package version to publish (for example, <code>3.5.2</code>).</p>
|
|
2948
|
+
*/
|
|
2949
|
+
packageVersion: string | undefined;
|
|
2950
|
+
/**
|
|
2951
|
+
* <p>The content of the asset to publish.</p>
|
|
2952
|
+
*/
|
|
2953
|
+
assetContent: Readable | ReadableStream | Blob | undefined;
|
|
2954
|
+
/**
|
|
2955
|
+
* <p>The name of the asset to publish. Asset names can include Unicode letters and numbers, and
|
|
2956
|
+
* the following special characters: <code>~ ! @ ^ & ( ) - ` _ + [ ] { } ; , .
|
|
2957
|
+
* `</code>
|
|
2958
|
+
* </p>
|
|
2959
|
+
*/
|
|
2960
|
+
assetName: string | undefined;
|
|
2961
|
+
/**
|
|
2962
|
+
* <p>The SHA256 hash of the <code>assetContent</code> to publish. This value must be calculated
|
|
2963
|
+
* by the caller and provided with the
|
|
2964
|
+
* request.</p>
|
|
2965
|
+
* <p>This value is used as an integrity check to verify that the <code>assetContent</code> has
|
|
2966
|
+
* not changed after it was originally sent.</p>
|
|
2967
|
+
*/
|
|
2968
|
+
assetSHA256: string | undefined;
|
|
2969
|
+
/**
|
|
2970
|
+
* <p>Specifies whether the package version should remain in the <code>unfinished</code>
|
|
2971
|
+
* state. If omitted, the package version status will be set to <code>Published</code> (see
|
|
2972
|
+
* <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/packages-overview.html#package-version-status.html#package-version-status">Package version status</a> in the <i>CodeArtifact User Guide</i>).</p>
|
|
2973
|
+
* <p>Valid values: <code>unfinished</code>
|
|
2974
|
+
* </p>
|
|
2975
|
+
*/
|
|
2976
|
+
unfinished?: boolean;
|
|
2977
|
+
}
|
|
2978
|
+
export interface PublishPackageVersionResult {
|
|
2979
|
+
/**
|
|
2980
|
+
* <p>The format of the package version.</p>
|
|
2981
|
+
*/
|
|
2982
|
+
format?: PackageFormat | string;
|
|
2983
|
+
/**
|
|
2984
|
+
* <p>The namespace of the package version.</p>
|
|
2985
|
+
*/
|
|
2986
|
+
namespace?: string;
|
|
2987
|
+
/**
|
|
2988
|
+
* <p>The name of the package.</p>
|
|
2989
|
+
*/
|
|
2990
|
+
package?: string;
|
|
2991
|
+
/**
|
|
2992
|
+
* <p>The version of the package.</p>
|
|
2993
|
+
*/
|
|
2994
|
+
version?: string;
|
|
2995
|
+
/**
|
|
2996
|
+
* <p>The revision of the package version.</p>
|
|
2997
|
+
*/
|
|
2998
|
+
versionRevision?: string;
|
|
2999
|
+
/**
|
|
3000
|
+
* <p>A string that contains the status of the package version. For more information, see <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/packages-overview.html#package-version-status.html#package-version-status">Package version status</a> in the <i>CodeArtifact User Guide</i>.</p>
|
|
3001
|
+
*/
|
|
3002
|
+
status?: PackageVersionStatus | string;
|
|
3003
|
+
/**
|
|
3004
|
+
* <p>An <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_AssetSummary.html">AssetSummary</a> for the published asset.</p>
|
|
3005
|
+
*/
|
|
3006
|
+
asset?: AssetSummary;
|
|
3007
|
+
}
|
|
2842
3008
|
export interface PutDomainPermissionsPolicyRequest {
|
|
2843
3009
|
/**
|
|
2844
3010
|
* <p>
|
|
@@ -2912,6 +3078,11 @@ export interface PutPackageOriginConfigurationRequest {
|
|
|
2912
3078
|
* of those formats do not have a namespace.
|
|
2913
3079
|
* </p>
|
|
2914
3080
|
* </li>
|
|
3081
|
+
* <li>
|
|
3082
|
+
* <p>
|
|
3083
|
+
* The namespace of a generic package is it’s <code>namespace</code>.
|
|
3084
|
+
* </p>
|
|
3085
|
+
* </li>
|
|
2915
3086
|
* </ul>
|
|
2916
3087
|
*/
|
|
2917
3088
|
namespace?: string;
|
|
@@ -3045,6 +3216,11 @@ export interface UpdatePackageVersionsStatusRequest {
|
|
|
3045
3216
|
* of those formats do not have a namespace.
|
|
3046
3217
|
* </p>
|
|
3047
3218
|
* </li>
|
|
3219
|
+
* <li>
|
|
3220
|
+
* <p>
|
|
3221
|
+
* The namespace of a generic package is it’s <code>namespace</code>.
|
|
3222
|
+
* </p>
|
|
3223
|
+
* </li>
|
|
3048
3224
|
* </ul>
|
|
3049
3225
|
*/
|
|
3050
3226
|
namespace?: string;
|
|
@@ -3463,6 +3639,14 @@ export declare const ListTagsForResourceRequestFilterSensitiveLog: (obj: ListTag
|
|
|
3463
3639
|
* @internal
|
|
3464
3640
|
*/
|
|
3465
3641
|
export declare const ListTagsForResourceResultFilterSensitiveLog: (obj: ListTagsForResourceResult) => any;
|
|
3642
|
+
/**
|
|
3643
|
+
* @internal
|
|
3644
|
+
*/
|
|
3645
|
+
export declare const PublishPackageVersionRequestFilterSensitiveLog: (obj: PublishPackageVersionRequest) => any;
|
|
3646
|
+
/**
|
|
3647
|
+
* @internal
|
|
3648
|
+
*/
|
|
3649
|
+
export declare const PublishPackageVersionResultFilterSensitiveLog: (obj: PublishPackageVersionResult) => any;
|
|
3466
3650
|
/**
|
|
3467
3651
|
* @internal
|
|
3468
3652
|
*/
|
|
@@ -30,6 +30,7 @@ import { ListPackageVersionsCommandInput, ListPackageVersionsCommandOutput } fro
|
|
|
30
30
|
import { ListRepositoriesCommandInput, ListRepositoriesCommandOutput } from "../commands/ListRepositoriesCommand";
|
|
31
31
|
import { ListRepositoriesInDomainCommandInput, ListRepositoriesInDomainCommandOutput } from "../commands/ListRepositoriesInDomainCommand";
|
|
32
32
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
33
|
+
import { PublishPackageVersionCommandInput, PublishPackageVersionCommandOutput } from "../commands/PublishPackageVersionCommand";
|
|
33
34
|
import { PutDomainPermissionsPolicyCommandInput, PutDomainPermissionsPolicyCommandOutput } from "../commands/PutDomainPermissionsPolicyCommand";
|
|
34
35
|
import { PutPackageOriginConfigurationCommandInput, PutPackageOriginConfigurationCommandOutput } from "../commands/PutPackageOriginConfigurationCommand";
|
|
35
36
|
import { PutRepositoryPermissionsPolicyCommandInput, PutRepositoryPermissionsPolicyCommandOutput } from "../commands/PutRepositoryPermissionsPolicyCommand";
|
|
@@ -67,6 +68,7 @@ export declare const serializeAws_restJson1ListPackageVersionsCommand: (input: L
|
|
|
67
68
|
export declare const serializeAws_restJson1ListRepositoriesCommand: (input: ListRepositoriesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
68
69
|
export declare const serializeAws_restJson1ListRepositoriesInDomainCommand: (input: ListRepositoriesInDomainCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
69
70
|
export declare const serializeAws_restJson1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
71
|
+
export declare const serializeAws_restJson1PublishPackageVersionCommand: (input: PublishPackageVersionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
70
72
|
export declare const serializeAws_restJson1PutDomainPermissionsPolicyCommand: (input: PutDomainPermissionsPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
71
73
|
export declare const serializeAws_restJson1PutPackageOriginConfigurationCommand: (input: PutPackageOriginConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
72
74
|
export declare const serializeAws_restJson1PutRepositoryPermissionsPolicyCommand: (input: PutRepositoryPermissionsPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -104,6 +106,7 @@ export declare const deserializeAws_restJson1ListPackageVersionsCommand: (output
|
|
|
104
106
|
export declare const deserializeAws_restJson1ListRepositoriesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListRepositoriesCommandOutput>;
|
|
105
107
|
export declare const deserializeAws_restJson1ListRepositoriesInDomainCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListRepositoriesInDomainCommandOutput>;
|
|
106
108
|
export declare const deserializeAws_restJson1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
|
|
109
|
+
export declare const deserializeAws_restJson1PublishPackageVersionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PublishPackageVersionCommandOutput>;
|
|
107
110
|
export declare const deserializeAws_restJson1PutDomainPermissionsPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutDomainPermissionsPolicyCommandOutput>;
|
|
108
111
|
export declare const deserializeAws_restJson1PutPackageOriginConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutPackageOriginConfigurationCommandOutput>;
|
|
109
112
|
export declare const deserializeAws_restJson1PutRepositoryPermissionsPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutRepositoryPermissionsPolicyCommandOutput>;
|
|
@@ -120,6 +120,10 @@ import {
|
|
|
120
120
|
ListTagsForResourceCommandInput,
|
|
121
121
|
ListTagsForResourceCommandOutput,
|
|
122
122
|
} from "./commands/ListTagsForResourceCommand";
|
|
123
|
+
import {
|
|
124
|
+
PublishPackageVersionCommandInput,
|
|
125
|
+
PublishPackageVersionCommandOutput,
|
|
126
|
+
} from "./commands/PublishPackageVersionCommand";
|
|
123
127
|
import {
|
|
124
128
|
PutDomainPermissionsPolicyCommandInput,
|
|
125
129
|
PutDomainPermissionsPolicyCommandOutput,
|
|
@@ -545,6 +549,19 @@ export declare class Codeartifact extends CodeartifactClient {
|
|
|
545
549
|
options: __HttpHandlerOptions,
|
|
546
550
|
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
547
551
|
): void;
|
|
552
|
+
publishPackageVersion(
|
|
553
|
+
args: PublishPackageVersionCommandInput,
|
|
554
|
+
options?: __HttpHandlerOptions
|
|
555
|
+
): Promise<PublishPackageVersionCommandOutput>;
|
|
556
|
+
publishPackageVersion(
|
|
557
|
+
args: PublishPackageVersionCommandInput,
|
|
558
|
+
cb: (err: any, data?: PublishPackageVersionCommandOutput) => void
|
|
559
|
+
): void;
|
|
560
|
+
publishPackageVersion(
|
|
561
|
+
args: PublishPackageVersionCommandInput,
|
|
562
|
+
options: __HttpHandlerOptions,
|
|
563
|
+
cb: (err: any, data?: PublishPackageVersionCommandOutput) => void
|
|
564
|
+
): void;
|
|
548
565
|
putDomainPermissionsPolicy(
|
|
549
566
|
args: PutDomainPermissionsPolicyCommandInput,
|
|
550
567
|
options?: __HttpHandlerOptions
|
|
@@ -165,6 +165,10 @@ import {
|
|
|
165
165
|
ListTagsForResourceCommandInput,
|
|
166
166
|
ListTagsForResourceCommandOutput,
|
|
167
167
|
} from "./commands/ListTagsForResourceCommand";
|
|
168
|
+
import {
|
|
169
|
+
PublishPackageVersionCommandInput,
|
|
170
|
+
PublishPackageVersionCommandOutput,
|
|
171
|
+
} from "./commands/PublishPackageVersionCommand";
|
|
168
172
|
import {
|
|
169
173
|
PutDomainPermissionsPolicyCommandInput,
|
|
170
174
|
PutDomainPermissionsPolicyCommandOutput,
|
|
@@ -229,6 +233,7 @@ export declare type ServiceInputTypes =
|
|
|
229
233
|
| ListRepositoriesCommandInput
|
|
230
234
|
| ListRepositoriesInDomainCommandInput
|
|
231
235
|
| ListTagsForResourceCommandInput
|
|
236
|
+
| PublishPackageVersionCommandInput
|
|
232
237
|
| PutDomainPermissionsPolicyCommandInput
|
|
233
238
|
| PutPackageOriginConfigurationCommandInput
|
|
234
239
|
| PutRepositoryPermissionsPolicyCommandInput
|
|
@@ -267,6 +272,7 @@ export declare type ServiceOutputTypes =
|
|
|
267
272
|
| ListRepositoriesCommandOutput
|
|
268
273
|
| ListRepositoriesInDomainCommandOutput
|
|
269
274
|
| ListTagsForResourceCommandOutput
|
|
275
|
+
| PublishPackageVersionCommandOutput
|
|
270
276
|
| PutDomainPermissionsPolicyCommandOutput
|
|
271
277
|
| PutPackageOriginConfigurationCommandOutput
|
|
272
278
|
| PutRepositoryPermissionsPolicyCommandOutput
|