@aws-sdk/client-codeartifact 3.295.0 → 3.297.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/dist-types/Codeartifact.d.ts +39 -0
- package/dist-types/CodeartifactClient.d.ts +24 -4
- package/dist-types/commands/AssociateExternalConnectionCommand.d.ts +16 -0
- package/dist-types/commands/CopyPackageVersionsCommand.d.ts +16 -0
- package/dist-types/commands/CreateDomainCommand.d.ts +16 -0
- package/dist-types/commands/CreateRepositoryCommand.d.ts +16 -0
- package/dist-types/commands/DeleteDomainCommand.d.ts +16 -0
- package/dist-types/commands/DeleteDomainPermissionsPolicyCommand.d.ts +16 -0
- package/dist-types/commands/DeletePackageCommand.d.ts +16 -0
- package/dist-types/commands/DeletePackageVersionsCommand.d.ts +16 -0
- package/dist-types/commands/DeleteRepositoryCommand.d.ts +16 -0
- package/dist-types/commands/DeleteRepositoryPermissionsPolicyCommand.d.ts +16 -0
- package/dist-types/commands/DescribeDomainCommand.d.ts +16 -0
- package/dist-types/commands/DescribePackageCommand.d.ts +16 -0
- package/dist-types/commands/DescribePackageVersionCommand.d.ts +16 -0
- package/dist-types/commands/DescribeRepositoryCommand.d.ts +16 -0
- package/dist-types/commands/DisassociateExternalConnectionCommand.d.ts +16 -0
- package/dist-types/commands/DisposePackageVersionsCommand.d.ts +16 -0
- package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +16 -0
- package/dist-types/commands/GetDomainPermissionsPolicyCommand.d.ts +16 -0
- package/dist-types/commands/GetPackageVersionAssetCommand.d.ts +16 -0
- package/dist-types/commands/GetPackageVersionReadmeCommand.d.ts +16 -0
- package/dist-types/commands/GetRepositoryEndpointCommand.d.ts +16 -0
- package/dist-types/commands/GetRepositoryPermissionsPolicyCommand.d.ts +16 -0
- package/dist-types/commands/ListDomainsCommand.d.ts +16 -0
- package/dist-types/commands/ListPackageVersionAssetsCommand.d.ts +16 -0
- package/dist-types/commands/ListPackageVersionDependenciesCommand.d.ts +16 -0
- package/dist-types/commands/ListPackageVersionsCommand.d.ts +16 -0
- package/dist-types/commands/ListPackagesCommand.d.ts +16 -0
- package/dist-types/commands/ListRepositoriesCommand.d.ts +16 -0
- package/dist-types/commands/ListRepositoriesInDomainCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/PublishPackageVersionCommand.d.ts +17 -2
- package/dist-types/commands/PutDomainPermissionsPolicyCommand.d.ts +16 -0
- package/dist-types/commands/PutPackageOriginConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/PutRepositoryPermissionsPolicyCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdatePackageVersionsStatusCommand.d.ts +16 -0
- package/dist-types/commands/UpdateRepositoryCommand.d.ts +16 -0
- package/dist-types/models/CodeartifactServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +294 -1
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListDomainsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListPackageVersionAssetsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListPackageVersionsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListPackagesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListRepositoriesInDomainPaginator.d.ts +3 -0
- package/dist-types/pagination/ListRepositoriesPaginator.d.ts +3 -0
- package/dist-types/ts3.4/commands/PublishPackageVersionCommand.d.ts +1 -2
- package/package.json +31 -31
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
|
|
5
5
|
import { ListTagsForResourceRequest, ListTagsForResourceResult } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListTagsForResourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListTagsForResourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResult, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Gets information about Amazon Web Services tags for a specified Amazon Resource Name (ARN) in CodeArtifact.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
34
|
+
* @returns {@link ListTagsForResourceCommandOutput}
|
|
28
35
|
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link CodeartifactClientResolvedConfig | config} for CodeartifactClient's `config` shape.
|
|
@@ -54,11 +61,20 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
54
61
|
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, CodeartifactClientResolvedConfig> {
|
|
55
62
|
readonly input: ListTagsForResourceCommandInput;
|
|
56
63
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
57
67
|
constructor(input: ListTagsForResourceCommandInput);
|
|
58
68
|
/**
|
|
59
69
|
* @internal
|
|
60
70
|
*/
|
|
61
71
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
62
75
|
private serialize;
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
63
79
|
private deserialize;
|
|
64
80
|
}
|
|
@@ -5,9 +5,11 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
5
5
|
import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
|
|
6
6
|
import { PublishPackageVersionRequest, PublishPackageVersionResult } from "../models/models_0";
|
|
7
7
|
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
8
10
|
* The input for {@link PublishPackageVersionCommand}.
|
|
9
11
|
*/
|
|
10
|
-
type PublishPackageVersionCommandInputType = Omit<PublishPackageVersionRequest, "assetContent"> & {
|
|
12
|
+
export type PublishPackageVersionCommandInputType = Omit<PublishPackageVersionRequest, "assetContent"> & {
|
|
11
13
|
/**
|
|
12
14
|
* For *`PublishPackageVersionRequest["assetContent"]`*, see {@link PublishPackageVersionRequest.assetContent}.
|
|
13
15
|
*/
|
|
@@ -19,11 +21,14 @@ type PublishPackageVersionCommandInputType = Omit<PublishPackageVersionRequest,
|
|
|
19
21
|
export interface PublishPackageVersionCommandInput extends PublishPackageVersionCommandInputType {
|
|
20
22
|
}
|
|
21
23
|
/**
|
|
24
|
+
* @public
|
|
25
|
+
*
|
|
22
26
|
* The output of {@link PublishPackageVersionCommand}.
|
|
23
27
|
*/
|
|
24
28
|
export interface PublishPackageVersionCommandOutput extends PublishPackageVersionResult, __MetadataBearer {
|
|
25
29
|
}
|
|
26
30
|
/**
|
|
31
|
+
* @public
|
|
27
32
|
* <p>Creates a new package version containing one or more assets (or files).</p>
|
|
28
33
|
* <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
34
|
* <note>
|
|
@@ -39,6 +44,8 @@ export interface PublishPackageVersionCommandOutput extends PublishPackageVersio
|
|
|
39
44
|
* const response = await client.send(command);
|
|
40
45
|
* ```
|
|
41
46
|
*
|
|
47
|
+
* @param PublishPackageVersionCommandInput - {@link PublishPackageVersionCommandInput}
|
|
48
|
+
* @returns {@link PublishPackageVersionCommandOutput}
|
|
42
49
|
* @see {@link PublishPackageVersionCommandInput} for command's `input` shape.
|
|
43
50
|
* @see {@link PublishPackageVersionCommandOutput} for command's `response` shape.
|
|
44
51
|
* @see {@link CodeartifactClientResolvedConfig | config} for CodeartifactClient's `config` shape.
|
|
@@ -81,12 +88,20 @@ export interface PublishPackageVersionCommandOutput extends PublishPackageVersio
|
|
|
81
88
|
export declare class PublishPackageVersionCommand extends $Command<PublishPackageVersionCommandInput, PublishPackageVersionCommandOutput, CodeartifactClientResolvedConfig> {
|
|
82
89
|
readonly input: PublishPackageVersionCommandInput;
|
|
83
90
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
91
|
+
/**
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
84
94
|
constructor(input: PublishPackageVersionCommandInput);
|
|
85
95
|
/**
|
|
86
96
|
* @internal
|
|
87
97
|
*/
|
|
88
98
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PublishPackageVersionCommandInput, PublishPackageVersionCommandOutput>;
|
|
99
|
+
/**
|
|
100
|
+
* @internal
|
|
101
|
+
*/
|
|
89
102
|
private serialize;
|
|
103
|
+
/**
|
|
104
|
+
* @internal
|
|
105
|
+
*/
|
|
90
106
|
private deserialize;
|
|
91
107
|
}
|
|
92
|
-
export {};
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
|
|
5
5
|
import { PutDomainPermissionsPolicyRequest, PutDomainPermissionsPolicyResult } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link PutDomainPermissionsPolicyCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface PutDomainPermissionsPolicyCommandInput extends PutDomainPermissionsPolicyRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link PutDomainPermissionsPolicyCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface PutDomainPermissionsPolicyCommandOutput extends PutDomainPermissionsPolicyResult, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>
|
|
18
23
|
* Sets a resource policy on a domain that specifies permissions to access it.
|
|
19
24
|
* </p>
|
|
@@ -32,6 +37,8 @@ export interface PutDomainPermissionsPolicyCommandOutput extends PutDomainPermis
|
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
34
39
|
*
|
|
40
|
+
* @param PutDomainPermissionsPolicyCommandInput - {@link PutDomainPermissionsPolicyCommandInput}
|
|
41
|
+
* @returns {@link PutDomainPermissionsPolicyCommandOutput}
|
|
35
42
|
* @see {@link PutDomainPermissionsPolicyCommandInput} for command's `input` shape.
|
|
36
43
|
* @see {@link PutDomainPermissionsPolicyCommandOutput} for command's `response` shape.
|
|
37
44
|
* @see {@link CodeartifactClientResolvedConfig | config} for CodeartifactClient's `config` shape.
|
|
@@ -74,11 +81,20 @@ export interface PutDomainPermissionsPolicyCommandOutput extends PutDomainPermis
|
|
|
74
81
|
export declare class PutDomainPermissionsPolicyCommand extends $Command<PutDomainPermissionsPolicyCommandInput, PutDomainPermissionsPolicyCommandOutput, CodeartifactClientResolvedConfig> {
|
|
75
82
|
readonly input: PutDomainPermissionsPolicyCommandInput;
|
|
76
83
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
84
|
+
/**
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
77
87
|
constructor(input: PutDomainPermissionsPolicyCommandInput);
|
|
78
88
|
/**
|
|
79
89
|
* @internal
|
|
80
90
|
*/
|
|
81
91
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutDomainPermissionsPolicyCommandInput, PutDomainPermissionsPolicyCommandOutput>;
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
82
95
|
private serialize;
|
|
96
|
+
/**
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
83
99
|
private deserialize;
|
|
84
100
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
|
|
5
5
|
import { PutPackageOriginConfigurationRequest, PutPackageOriginConfigurationResult } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link PutPackageOriginConfigurationCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface PutPackageOriginConfigurationCommandInput extends PutPackageOriginConfigurationRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link PutPackageOriginConfigurationCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface PutPackageOriginConfigurationCommandOutput extends PutPackageOriginConfigurationResult, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Sets the package origin configuration for a package.</p>
|
|
18
23
|
* <p>The package origin configuration determines how new versions of a package can be added to a repository. You can allow or block direct
|
|
19
24
|
* publishing of new package versions, or ingestion and retaining of new package versions from an external connection or upstream source.
|
|
@@ -33,6 +38,8 @@ export interface PutPackageOriginConfigurationCommandOutput extends PutPackageOr
|
|
|
33
38
|
* const response = await client.send(command);
|
|
34
39
|
* ```
|
|
35
40
|
*
|
|
41
|
+
* @param PutPackageOriginConfigurationCommandInput - {@link PutPackageOriginConfigurationCommandInput}
|
|
42
|
+
* @returns {@link PutPackageOriginConfigurationCommandOutput}
|
|
36
43
|
* @see {@link PutPackageOriginConfigurationCommandInput} for command's `input` shape.
|
|
37
44
|
* @see {@link PutPackageOriginConfigurationCommandOutput} for command's `response` shape.
|
|
38
45
|
* @see {@link CodeartifactClientResolvedConfig | config} for CodeartifactClient's `config` shape.
|
|
@@ -65,11 +72,20 @@ export interface PutPackageOriginConfigurationCommandOutput extends PutPackageOr
|
|
|
65
72
|
export declare class PutPackageOriginConfigurationCommand extends $Command<PutPackageOriginConfigurationCommandInput, PutPackageOriginConfigurationCommandOutput, CodeartifactClientResolvedConfig> {
|
|
66
73
|
readonly input: PutPackageOriginConfigurationCommandInput;
|
|
67
74
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
75
|
+
/**
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
68
78
|
constructor(input: PutPackageOriginConfigurationCommandInput);
|
|
69
79
|
/**
|
|
70
80
|
* @internal
|
|
71
81
|
*/
|
|
72
82
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutPackageOriginConfigurationCommandInput, PutPackageOriginConfigurationCommandOutput>;
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
73
86
|
private serialize;
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
74
90
|
private deserialize;
|
|
75
91
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
|
|
5
5
|
import { PutRepositoryPermissionsPolicyRequest, PutRepositoryPermissionsPolicyResult } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link PutRepositoryPermissionsPolicyCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface PutRepositoryPermissionsPolicyCommandInput extends PutRepositoryPermissionsPolicyRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link PutRepositoryPermissionsPolicyCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface PutRepositoryPermissionsPolicyCommandOutput extends PutRepositoryPermissionsPolicyResult, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>
|
|
18
23
|
* Sets the resource policy on a repository that specifies permissions to access it.
|
|
19
24
|
* </p>
|
|
@@ -32,6 +37,8 @@ export interface PutRepositoryPermissionsPolicyCommandOutput extends PutReposito
|
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
34
39
|
*
|
|
40
|
+
* @param PutRepositoryPermissionsPolicyCommandInput - {@link PutRepositoryPermissionsPolicyCommandInput}
|
|
41
|
+
* @returns {@link PutRepositoryPermissionsPolicyCommandOutput}
|
|
35
42
|
* @see {@link PutRepositoryPermissionsPolicyCommandInput} for command's `input` shape.
|
|
36
43
|
* @see {@link PutRepositoryPermissionsPolicyCommandOutput} for command's `response` shape.
|
|
37
44
|
* @see {@link CodeartifactClientResolvedConfig | config} for CodeartifactClient's `config` shape.
|
|
@@ -74,11 +81,20 @@ export interface PutRepositoryPermissionsPolicyCommandOutput extends PutReposito
|
|
|
74
81
|
export declare class PutRepositoryPermissionsPolicyCommand extends $Command<PutRepositoryPermissionsPolicyCommandInput, PutRepositoryPermissionsPolicyCommandOutput, CodeartifactClientResolvedConfig> {
|
|
75
82
|
readonly input: PutRepositoryPermissionsPolicyCommandInput;
|
|
76
83
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
84
|
+
/**
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
77
87
|
constructor(input: PutRepositoryPermissionsPolicyCommandInput);
|
|
78
88
|
/**
|
|
79
89
|
* @internal
|
|
80
90
|
*/
|
|
81
91
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutRepositoryPermissionsPolicyCommandInput, PutRepositoryPermissionsPolicyCommandOutput>;
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
82
95
|
private serialize;
|
|
96
|
+
/**
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
83
99
|
private deserialize;
|
|
84
100
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
|
|
5
5
|
import { TagResourceRequest, TagResourceResult } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link TagResourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link TagResourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface TagResourceCommandOutput extends TagResourceResult, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Adds or updates tags for a resource in CodeArtifact.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface TagResourceCommandOutput extends TagResourceResult, __MetadataB
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
34
|
+
* @returns {@link TagResourceCommandOutput}
|
|
28
35
|
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link CodeartifactClientResolvedConfig | config} for CodeartifactClient's `config` shape.
|
|
@@ -59,11 +66,20 @@ export interface TagResourceCommandOutput extends TagResourceResult, __MetadataB
|
|
|
59
66
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, CodeartifactClientResolvedConfig> {
|
|
60
67
|
readonly input: TagResourceCommandInput;
|
|
61
68
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
62
72
|
constructor(input: TagResourceCommandInput);
|
|
63
73
|
/**
|
|
64
74
|
* @internal
|
|
65
75
|
*/
|
|
66
76
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
67
80
|
private serialize;
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
68
84
|
private deserialize;
|
|
69
85
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
|
|
5
5
|
import { UntagResourceRequest, UntagResourceResult } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UntagResourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UntagResourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UntagResourceCommandOutput extends UntagResourceResult, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Removes tags from a resource in CodeArtifact.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResult, __Metad
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
34
|
+
* @returns {@link UntagResourceCommandOutput}
|
|
28
35
|
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link CodeartifactClientResolvedConfig | config} for CodeartifactClient's `config` shape.
|
|
@@ -54,11 +61,20 @@ export interface UntagResourceCommandOutput extends UntagResourceResult, __Metad
|
|
|
54
61
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, CodeartifactClientResolvedConfig> {
|
|
55
62
|
readonly input: UntagResourceCommandInput;
|
|
56
63
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
57
67
|
constructor(input: UntagResourceCommandInput);
|
|
58
68
|
/**
|
|
59
69
|
* @internal
|
|
60
70
|
*/
|
|
61
71
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
62
75
|
private serialize;
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
63
79
|
private deserialize;
|
|
64
80
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
|
|
5
5
|
import { UpdatePackageVersionsStatusRequest, UpdatePackageVersionsStatusResult } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UpdatePackageVersionsStatusCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UpdatePackageVersionsStatusCommandInput extends UpdatePackageVersionsStatusRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UpdatePackageVersionsStatusCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UpdatePackageVersionsStatusCommandOutput extends UpdatePackageVersionsStatusResult, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>
|
|
18
23
|
* Updates the status of one or more versions of a package. Using <code>UpdatePackageVersionsStatus</code>,
|
|
19
24
|
* you can update the status of package versions to <code>Archived</code>, <code>Published</code>, or <code>Unlisted</code>.
|
|
@@ -30,6 +35,8 @@ export interface UpdatePackageVersionsStatusCommandOutput extends UpdatePackageV
|
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
32
37
|
*
|
|
38
|
+
* @param UpdatePackageVersionsStatusCommandInput - {@link UpdatePackageVersionsStatusCommandInput}
|
|
39
|
+
* @returns {@link UpdatePackageVersionsStatusCommandOutput}
|
|
33
40
|
* @see {@link UpdatePackageVersionsStatusCommandInput} for command's `input` shape.
|
|
34
41
|
* @see {@link UpdatePackageVersionsStatusCommandOutput} for command's `response` shape.
|
|
35
42
|
* @see {@link CodeartifactClientResolvedConfig | config} for CodeartifactClient's `config` shape.
|
|
@@ -67,11 +74,20 @@ export interface UpdatePackageVersionsStatusCommandOutput extends UpdatePackageV
|
|
|
67
74
|
export declare class UpdatePackageVersionsStatusCommand extends $Command<UpdatePackageVersionsStatusCommandInput, UpdatePackageVersionsStatusCommandOutput, CodeartifactClientResolvedConfig> {
|
|
68
75
|
readonly input: UpdatePackageVersionsStatusCommandInput;
|
|
69
76
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
77
|
+
/**
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
70
80
|
constructor(input: UpdatePackageVersionsStatusCommandInput);
|
|
71
81
|
/**
|
|
72
82
|
* @internal
|
|
73
83
|
*/
|
|
74
84
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdatePackageVersionsStatusCommandInput, UpdatePackageVersionsStatusCommandOutput>;
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
75
88
|
private serialize;
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
76
92
|
private deserialize;
|
|
77
93
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
|
|
5
5
|
import { UpdateRepositoryRequest, UpdateRepositoryResult } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UpdateRepositoryCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UpdateRepositoryCommandInput extends UpdateRepositoryRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UpdateRepositoryCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UpdateRepositoryCommandOutput extends UpdateRepositoryResult, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>
|
|
18
23
|
* Update the properties of a repository.
|
|
19
24
|
* </p>
|
|
@@ -27,6 +32,8 @@ export interface UpdateRepositoryCommandOutput extends UpdateRepositoryResult, _
|
|
|
27
32
|
* const response = await client.send(command);
|
|
28
33
|
* ```
|
|
29
34
|
*
|
|
35
|
+
* @param UpdateRepositoryCommandInput - {@link UpdateRepositoryCommandInput}
|
|
36
|
+
* @returns {@link UpdateRepositoryCommandOutput}
|
|
30
37
|
* @see {@link UpdateRepositoryCommandInput} for command's `input` shape.
|
|
31
38
|
* @see {@link UpdateRepositoryCommandOutput} for command's `response` shape.
|
|
32
39
|
* @see {@link CodeartifactClientResolvedConfig | config} for CodeartifactClient's `config` shape.
|
|
@@ -69,11 +76,20 @@ export interface UpdateRepositoryCommandOutput extends UpdateRepositoryResult, _
|
|
|
69
76
|
export declare class UpdateRepositoryCommand extends $Command<UpdateRepositoryCommandInput, UpdateRepositoryCommandOutput, CodeartifactClientResolvedConfig> {
|
|
70
77
|
readonly input: UpdateRepositoryCommandInput;
|
|
71
78
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
79
|
+
/**
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
72
82
|
constructor(input: UpdateRepositoryCommandInput);
|
|
73
83
|
/**
|
|
74
84
|
* @internal
|
|
75
85
|
*/
|
|
76
86
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateRepositoryCommandInput, UpdateRepositoryCommandOutput>;
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
77
90
|
private serialize;
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
78
94
|
private deserialize;
|
|
79
95
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from Codeartifact service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class CodeartifactServiceException extends __ServiceException {
|