@aws-sdk/client-codeartifact 3.535.0 → 3.539.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 +149 -6
- package/dist-cjs/index.js +609 -2
- package/dist-es/Codeartifact.js +20 -0
- package/dist-es/commands/CreatePackageGroupCommand.js +24 -0
- package/dist-es/commands/DeletePackageGroupCommand.js +24 -0
- package/dist-es/commands/DescribePackageGroupCommand.js +24 -0
- package/dist-es/commands/GetAssociatedPackageGroupCommand.js +24 -0
- package/dist-es/commands/GetAuthorizationTokenCommand.js +2 -1
- package/dist-es/commands/ListAllowedRepositoriesForGroupCommand.js +24 -0
- package/dist-es/commands/ListAssociatedPackagesCommand.js +24 -0
- package/dist-es/commands/ListPackageGroupsCommand.js +24 -0
- package/dist-es/commands/ListSubPackageGroupsCommand.js +24 -0
- package/dist-es/commands/UpdatePackageGroupCommand.js +24 -0
- package/dist-es/commands/UpdatePackageGroupOriginConfigurationCommand.js +24 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/models/models_0.js +22 -0
- package/dist-es/pagination/ListAllowedRepositoriesForGroupPaginator.js +4 -0
- package/dist-es/pagination/ListAssociatedPackagesPaginator.js +4 -0
- package/dist-es/pagination/ListPackageGroupsPaginator.js +4 -0
- package/dist-es/pagination/ListSubPackageGroupsPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +347 -0
- package/dist-types/Codeartifact.d.ts +139 -6
- package/dist-types/CodeartifactClient.d.ts +81 -8
- package/dist-types/commands/CreatePackageGroupCommand.d.ts +129 -0
- package/dist-types/commands/DeletePackageCommand.d.ts +1 -1
- package/dist-types/commands/DeletePackageGroupCommand.d.ts +123 -0
- package/dist-types/commands/DescribePackageGroupCommand.d.ts +110 -0
- package/dist-types/commands/GetAssociatedPackageGroupCommand.d.ts +112 -0
- package/dist-types/commands/GetRepositoryEndpointCommand.d.ts +10 -0
- package/dist-types/commands/ListAllowedRepositoriesForGroupCommand.d.ts +97 -0
- package/dist-types/commands/ListAssociatedPackagesCommand.d.ts +92 -0
- package/dist-types/commands/ListPackageGroupsCommand.d.ts +114 -0
- package/dist-types/commands/ListSubPackageGroupsCommand.d.ts +117 -0
- package/dist-types/commands/PublishPackageVersionCommand.d.ts +3 -3
- package/dist-types/commands/UpdatePackageGroupCommand.d.ts +117 -0
- package/dist-types/commands/UpdatePackageGroupOriginConfigurationCommand.d.ts +141 -0
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/index.d.ts +69 -6
- package/dist-types/models/models_0.d.ts +1258 -159
- package/dist-types/pagination/ListAllowedRepositoriesForGroupPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAssociatedPackagesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPackageGroupsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSubPackageGroupsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
- package/dist-types/ts3.4/Codeartifact.d.ts +176 -0
- package/dist-types/ts3.4/CodeartifactClient.d.ts +60 -0
- package/dist-types/ts3.4/commands/CreatePackageGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeletePackageGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribePackageGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetAssociatedPackageGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListAllowedRepositoriesForGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListAssociatedPackagesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListPackageGroupsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListSubPackageGroupsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdatePackageGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdatePackageGroupOriginConfigurationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +196 -6
- package/dist-types/ts3.4/pagination/ListAllowedRepositoriesForGroupPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAssociatedPackagesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPackageGroupsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSubPackageGroupsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
- package/package.json +1 -1
package/dist-es/Codeartifact.js
CHANGED
|
@@ -3,32 +3,40 @@ import { CodeartifactClient } from "./CodeartifactClient";
|
|
|
3
3
|
import { AssociateExternalConnectionCommand, } from "./commands/AssociateExternalConnectionCommand";
|
|
4
4
|
import { CopyPackageVersionsCommand, } from "./commands/CopyPackageVersionsCommand";
|
|
5
5
|
import { CreateDomainCommand, } from "./commands/CreateDomainCommand";
|
|
6
|
+
import { CreatePackageGroupCommand, } from "./commands/CreatePackageGroupCommand";
|
|
6
7
|
import { CreateRepositoryCommand, } from "./commands/CreateRepositoryCommand";
|
|
7
8
|
import { DeleteDomainCommand, } from "./commands/DeleteDomainCommand";
|
|
8
9
|
import { DeleteDomainPermissionsPolicyCommand, } from "./commands/DeleteDomainPermissionsPolicyCommand";
|
|
9
10
|
import { DeletePackageCommand, } from "./commands/DeletePackageCommand";
|
|
11
|
+
import { DeletePackageGroupCommand, } from "./commands/DeletePackageGroupCommand";
|
|
10
12
|
import { DeletePackageVersionsCommand, } from "./commands/DeletePackageVersionsCommand";
|
|
11
13
|
import { DeleteRepositoryCommand, } from "./commands/DeleteRepositoryCommand";
|
|
12
14
|
import { DeleteRepositoryPermissionsPolicyCommand, } from "./commands/DeleteRepositoryPermissionsPolicyCommand";
|
|
13
15
|
import { DescribeDomainCommand, } from "./commands/DescribeDomainCommand";
|
|
14
16
|
import { DescribePackageCommand, } from "./commands/DescribePackageCommand";
|
|
17
|
+
import { DescribePackageGroupCommand, } from "./commands/DescribePackageGroupCommand";
|
|
15
18
|
import { DescribePackageVersionCommand, } from "./commands/DescribePackageVersionCommand";
|
|
16
19
|
import { DescribeRepositoryCommand, } from "./commands/DescribeRepositoryCommand";
|
|
17
20
|
import { DisassociateExternalConnectionCommand, } from "./commands/DisassociateExternalConnectionCommand";
|
|
18
21
|
import { DisposePackageVersionsCommand, } from "./commands/DisposePackageVersionsCommand";
|
|
22
|
+
import { GetAssociatedPackageGroupCommand, } from "./commands/GetAssociatedPackageGroupCommand";
|
|
19
23
|
import { GetAuthorizationTokenCommand, } from "./commands/GetAuthorizationTokenCommand";
|
|
20
24
|
import { GetDomainPermissionsPolicyCommand, } from "./commands/GetDomainPermissionsPolicyCommand";
|
|
21
25
|
import { GetPackageVersionAssetCommand, } from "./commands/GetPackageVersionAssetCommand";
|
|
22
26
|
import { GetPackageVersionReadmeCommand, } from "./commands/GetPackageVersionReadmeCommand";
|
|
23
27
|
import { GetRepositoryEndpointCommand, } from "./commands/GetRepositoryEndpointCommand";
|
|
24
28
|
import { GetRepositoryPermissionsPolicyCommand, } from "./commands/GetRepositoryPermissionsPolicyCommand";
|
|
29
|
+
import { ListAllowedRepositoriesForGroupCommand, } from "./commands/ListAllowedRepositoriesForGroupCommand";
|
|
30
|
+
import { ListAssociatedPackagesCommand, } from "./commands/ListAssociatedPackagesCommand";
|
|
25
31
|
import { ListDomainsCommand } from "./commands/ListDomainsCommand";
|
|
32
|
+
import { ListPackageGroupsCommand, } from "./commands/ListPackageGroupsCommand";
|
|
26
33
|
import { ListPackagesCommand, } from "./commands/ListPackagesCommand";
|
|
27
34
|
import { ListPackageVersionAssetsCommand, } from "./commands/ListPackageVersionAssetsCommand";
|
|
28
35
|
import { ListPackageVersionDependenciesCommand, } from "./commands/ListPackageVersionDependenciesCommand";
|
|
29
36
|
import { ListPackageVersionsCommand, } from "./commands/ListPackageVersionsCommand";
|
|
30
37
|
import { ListRepositoriesCommand, } from "./commands/ListRepositoriesCommand";
|
|
31
38
|
import { ListRepositoriesInDomainCommand, } from "./commands/ListRepositoriesInDomainCommand";
|
|
39
|
+
import { ListSubPackageGroupsCommand, } from "./commands/ListSubPackageGroupsCommand";
|
|
32
40
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
33
41
|
import { PublishPackageVersionCommand, } from "./commands/PublishPackageVersionCommand";
|
|
34
42
|
import { PutDomainPermissionsPolicyCommand, } from "./commands/PutDomainPermissionsPolicyCommand";
|
|
@@ -36,38 +44,48 @@ import { PutPackageOriginConfigurationCommand, } from "./commands/PutPackageOrig
|
|
|
36
44
|
import { PutRepositoryPermissionsPolicyCommand, } from "./commands/PutRepositoryPermissionsPolicyCommand";
|
|
37
45
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
38
46
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
47
|
+
import { UpdatePackageGroupCommand, } from "./commands/UpdatePackageGroupCommand";
|
|
48
|
+
import { UpdatePackageGroupOriginConfigurationCommand, } from "./commands/UpdatePackageGroupOriginConfigurationCommand";
|
|
39
49
|
import { UpdatePackageVersionsStatusCommand, } from "./commands/UpdatePackageVersionsStatusCommand";
|
|
40
50
|
import { UpdateRepositoryCommand, } from "./commands/UpdateRepositoryCommand";
|
|
41
51
|
const commands = {
|
|
42
52
|
AssociateExternalConnectionCommand,
|
|
43
53
|
CopyPackageVersionsCommand,
|
|
44
54
|
CreateDomainCommand,
|
|
55
|
+
CreatePackageGroupCommand,
|
|
45
56
|
CreateRepositoryCommand,
|
|
46
57
|
DeleteDomainCommand,
|
|
47
58
|
DeleteDomainPermissionsPolicyCommand,
|
|
48
59
|
DeletePackageCommand,
|
|
60
|
+
DeletePackageGroupCommand,
|
|
49
61
|
DeletePackageVersionsCommand,
|
|
50
62
|
DeleteRepositoryCommand,
|
|
51
63
|
DeleteRepositoryPermissionsPolicyCommand,
|
|
52
64
|
DescribeDomainCommand,
|
|
53
65
|
DescribePackageCommand,
|
|
66
|
+
DescribePackageGroupCommand,
|
|
54
67
|
DescribePackageVersionCommand,
|
|
55
68
|
DescribeRepositoryCommand,
|
|
56
69
|
DisassociateExternalConnectionCommand,
|
|
57
70
|
DisposePackageVersionsCommand,
|
|
71
|
+
GetAssociatedPackageGroupCommand,
|
|
58
72
|
GetAuthorizationTokenCommand,
|
|
59
73
|
GetDomainPermissionsPolicyCommand,
|
|
60
74
|
GetPackageVersionAssetCommand,
|
|
61
75
|
GetPackageVersionReadmeCommand,
|
|
62
76
|
GetRepositoryEndpointCommand,
|
|
63
77
|
GetRepositoryPermissionsPolicyCommand,
|
|
78
|
+
ListAllowedRepositoriesForGroupCommand,
|
|
79
|
+
ListAssociatedPackagesCommand,
|
|
64
80
|
ListDomainsCommand,
|
|
81
|
+
ListPackageGroupsCommand,
|
|
65
82
|
ListPackagesCommand,
|
|
66
83
|
ListPackageVersionAssetsCommand,
|
|
67
84
|
ListPackageVersionDependenciesCommand,
|
|
68
85
|
ListPackageVersionsCommand,
|
|
69
86
|
ListRepositoriesCommand,
|
|
70
87
|
ListRepositoriesInDomainCommand,
|
|
88
|
+
ListSubPackageGroupsCommand,
|
|
71
89
|
ListTagsForResourceCommand,
|
|
72
90
|
PublishPackageVersionCommand,
|
|
73
91
|
PutDomainPermissionsPolicyCommand,
|
|
@@ -75,6 +93,8 @@ const commands = {
|
|
|
75
93
|
PutRepositoryPermissionsPolicyCommand,
|
|
76
94
|
TagResourceCommand,
|
|
77
95
|
UntagResourceCommand,
|
|
96
|
+
UpdatePackageGroupCommand,
|
|
97
|
+
UpdatePackageGroupOriginConfigurationCommand,
|
|
78
98
|
UpdatePackageVersionsStatusCommand,
|
|
79
99
|
UpdateRepositoryCommand,
|
|
80
100
|
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_CreatePackageGroupCommand, se_CreatePackageGroupCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CreatePackageGroupCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CodeArtifactControlPlaneService", "CreatePackageGroup", {})
|
|
19
|
+
.n("CodeartifactClient", "CreatePackageGroupCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreatePackageGroupCommand)
|
|
22
|
+
.de(de_CreatePackageGroupCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeletePackageGroupCommand, se_DeletePackageGroupCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeletePackageGroupCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CodeArtifactControlPlaneService", "DeletePackageGroup", {})
|
|
19
|
+
.n("CodeartifactClient", "DeletePackageGroupCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeletePackageGroupCommand)
|
|
22
|
+
.de(de_DeletePackageGroupCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DescribePackageGroupCommand, se_DescribePackageGroupCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DescribePackageGroupCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CodeArtifactControlPlaneService", "DescribePackageGroup", {})
|
|
19
|
+
.n("CodeartifactClient", "DescribePackageGroupCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DescribePackageGroupCommand)
|
|
22
|
+
.de(de_DescribePackageGroupCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetAssociatedPackageGroupCommand, se_GetAssociatedPackageGroupCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetAssociatedPackageGroupCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CodeArtifactControlPlaneService", "GetAssociatedPackageGroup", {})
|
|
19
|
+
.n("CodeartifactClient", "GetAssociatedPackageGroupCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetAssociatedPackageGroupCommand)
|
|
22
|
+
.de(de_GetAssociatedPackageGroupCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { GetAuthorizationTokenResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_GetAuthorizationTokenCommand, se_GetAuthorizationTokenCommand } from "../protocols/Aws_restJson1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class GetAuthorizationTokenCommand extends $Command
|
|
@@ -17,7 +18,7 @@ export class GetAuthorizationTokenCommand extends $Command
|
|
|
17
18
|
})
|
|
18
19
|
.s("CodeArtifactControlPlaneService", "GetAuthorizationToken", {})
|
|
19
20
|
.n("CodeartifactClient", "GetAuthorizationTokenCommand")
|
|
20
|
-
.f(void 0,
|
|
21
|
+
.f(void 0, GetAuthorizationTokenResultFilterSensitiveLog)
|
|
21
22
|
.ser(se_GetAuthorizationTokenCommand)
|
|
22
23
|
.de(de_GetAuthorizationTokenCommand)
|
|
23
24
|
.build() {
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListAllowedRepositoriesForGroupCommand, se_ListAllowedRepositoriesForGroupCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListAllowedRepositoriesForGroupCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CodeArtifactControlPlaneService", "ListAllowedRepositoriesForGroup", {})
|
|
19
|
+
.n("CodeartifactClient", "ListAllowedRepositoriesForGroupCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListAllowedRepositoriesForGroupCommand)
|
|
22
|
+
.de(de_ListAllowedRepositoriesForGroupCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListAssociatedPackagesCommand, se_ListAssociatedPackagesCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListAssociatedPackagesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CodeArtifactControlPlaneService", "ListAssociatedPackages", {})
|
|
19
|
+
.n("CodeartifactClient", "ListAssociatedPackagesCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListAssociatedPackagesCommand)
|
|
22
|
+
.de(de_ListAssociatedPackagesCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListPackageGroupsCommand, se_ListPackageGroupsCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListPackageGroupsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CodeArtifactControlPlaneService", "ListPackageGroups", {})
|
|
19
|
+
.n("CodeartifactClient", "ListPackageGroupsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListPackageGroupsCommand)
|
|
22
|
+
.de(de_ListPackageGroupsCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListSubPackageGroupsCommand, se_ListSubPackageGroupsCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListSubPackageGroupsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CodeArtifactControlPlaneService", "ListSubPackageGroups", {})
|
|
19
|
+
.n("CodeartifactClient", "ListSubPackageGroupsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListSubPackageGroupsCommand)
|
|
22
|
+
.de(de_ListSubPackageGroupsCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdatePackageGroupCommand, se_UpdatePackageGroupCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdatePackageGroupCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CodeArtifactControlPlaneService", "UpdatePackageGroup", {})
|
|
19
|
+
.n("CodeartifactClient", "UpdatePackageGroupCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdatePackageGroupCommand)
|
|
22
|
+
.de(de_UpdatePackageGroupCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdatePackageGroupOriginConfigurationCommand, se_UpdatePackageGroupOriginConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdatePackageGroupOriginConfigurationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CodeArtifactControlPlaneService", "UpdatePackageGroupOriginConfiguration", {})
|
|
19
|
+
.n("CodeartifactClient", "UpdatePackageGroupOriginConfigurationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdatePackageGroupOriginConfigurationCommand)
|
|
22
|
+
.de(de_UpdatePackageGroupOriginConfigurationCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -1,32 +1,40 @@
|
|
|
1
1
|
export * from "./AssociateExternalConnectionCommand";
|
|
2
2
|
export * from "./CopyPackageVersionsCommand";
|
|
3
3
|
export * from "./CreateDomainCommand";
|
|
4
|
+
export * from "./CreatePackageGroupCommand";
|
|
4
5
|
export * from "./CreateRepositoryCommand";
|
|
5
6
|
export * from "./DeleteDomainCommand";
|
|
6
7
|
export * from "./DeleteDomainPermissionsPolicyCommand";
|
|
7
8
|
export * from "./DeletePackageCommand";
|
|
9
|
+
export * from "./DeletePackageGroupCommand";
|
|
8
10
|
export * from "./DeletePackageVersionsCommand";
|
|
9
11
|
export * from "./DeleteRepositoryCommand";
|
|
10
12
|
export * from "./DeleteRepositoryPermissionsPolicyCommand";
|
|
11
13
|
export * from "./DescribeDomainCommand";
|
|
12
14
|
export * from "./DescribePackageCommand";
|
|
15
|
+
export * from "./DescribePackageGroupCommand";
|
|
13
16
|
export * from "./DescribePackageVersionCommand";
|
|
14
17
|
export * from "./DescribeRepositoryCommand";
|
|
15
18
|
export * from "./DisassociateExternalConnectionCommand";
|
|
16
19
|
export * from "./DisposePackageVersionsCommand";
|
|
20
|
+
export * from "./GetAssociatedPackageGroupCommand";
|
|
17
21
|
export * from "./GetAuthorizationTokenCommand";
|
|
18
22
|
export * from "./GetDomainPermissionsPolicyCommand";
|
|
19
23
|
export * from "./GetPackageVersionAssetCommand";
|
|
20
24
|
export * from "./GetPackageVersionReadmeCommand";
|
|
21
25
|
export * from "./GetRepositoryEndpointCommand";
|
|
22
26
|
export * from "./GetRepositoryPermissionsPolicyCommand";
|
|
27
|
+
export * from "./ListAllowedRepositoriesForGroupCommand";
|
|
28
|
+
export * from "./ListAssociatedPackagesCommand";
|
|
23
29
|
export * from "./ListDomainsCommand";
|
|
30
|
+
export * from "./ListPackageGroupsCommand";
|
|
24
31
|
export * from "./ListPackageVersionAssetsCommand";
|
|
25
32
|
export * from "./ListPackageVersionDependenciesCommand";
|
|
26
33
|
export * from "./ListPackageVersionsCommand";
|
|
27
34
|
export * from "./ListPackagesCommand";
|
|
28
35
|
export * from "./ListRepositoriesCommand";
|
|
29
36
|
export * from "./ListRepositoriesInDomainCommand";
|
|
37
|
+
export * from "./ListSubPackageGroupsCommand";
|
|
30
38
|
export * from "./ListTagsForResourceCommand";
|
|
31
39
|
export * from "./PublishPackageVersionCommand";
|
|
32
40
|
export * from "./PutDomainPermissionsPolicyCommand";
|
|
@@ -34,5 +42,7 @@ export * from "./PutPackageOriginConfigurationCommand";
|
|
|
34
42
|
export * from "./PutRepositoryPermissionsPolicyCommand";
|
|
35
43
|
export * from "./TagResourceCommand";
|
|
36
44
|
export * from "./UntagResourceCommand";
|
|
45
|
+
export * from "./UpdatePackageGroupCommand";
|
|
46
|
+
export * from "./UpdatePackageGroupOriginConfigurationCommand";
|
|
37
47
|
export * from "./UpdatePackageVersionsStatusCommand";
|
|
38
48
|
export * from "./UpdateRepositoryCommand";
|
|
@@ -25,6 +25,10 @@ export const HashAlgorithm = {
|
|
|
25
25
|
SHA256: "SHA-256",
|
|
26
26
|
SHA512: "SHA-512",
|
|
27
27
|
};
|
|
28
|
+
export const PackageGroupAssociationType = {
|
|
29
|
+
STRONG: "STRONG",
|
|
30
|
+
WEAK: "WEAK",
|
|
31
|
+
};
|
|
28
32
|
export const PackageFormat = {
|
|
29
33
|
GENERIC: "generic",
|
|
30
34
|
MAVEN: "maven",
|
|
@@ -150,6 +154,17 @@ export const DomainStatus = {
|
|
|
150
154
|
ACTIVE: "Active",
|
|
151
155
|
DELETED: "Deleted",
|
|
152
156
|
};
|
|
157
|
+
export const PackageGroupOriginRestrictionType = {
|
|
158
|
+
EXTERNAL_UPSTREAM: "EXTERNAL_UPSTREAM",
|
|
159
|
+
INTERNAL_UPSTREAM: "INTERNAL_UPSTREAM",
|
|
160
|
+
PUBLISH: "PUBLISH",
|
|
161
|
+
};
|
|
162
|
+
export const PackageGroupOriginRestrictionMode = {
|
|
163
|
+
ALLOW: "ALLOW",
|
|
164
|
+
ALLOW_SPECIFIC_REPOSITORIES: "ALLOW_SPECIFIC_REPOSITORIES",
|
|
165
|
+
BLOCK: "BLOCK",
|
|
166
|
+
INHERIT: "INHERIT",
|
|
167
|
+
};
|
|
153
168
|
export const PackageVersionOriginType = {
|
|
154
169
|
EXTERNAL: "EXTERNAL",
|
|
155
170
|
INTERNAL: "INTERNAL",
|
|
@@ -158,6 +173,13 @@ export const PackageVersionOriginType = {
|
|
|
158
173
|
export const PackageVersionSortType = {
|
|
159
174
|
PUBLISHED_TIME: "PUBLISHED_TIME",
|
|
160
175
|
};
|
|
176
|
+
export const PackageGroupAllowedRepositoryUpdateType = {
|
|
177
|
+
ADDED: "ADDED",
|
|
178
|
+
REMOVED: "REMOVED",
|
|
179
|
+
};
|
|
180
|
+
export const GetAuthorizationTokenResultFilterSensitiveLog = (obj) => ({
|
|
181
|
+
...obj,
|
|
182
|
+
});
|
|
161
183
|
export const GetPackageVersionAssetResultFilterSensitiveLog = (obj) => ({
|
|
162
184
|
...obj,
|
|
163
185
|
});
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { CodeartifactClient } from "../CodeartifactClient";
|
|
3
|
+
import { ListAllowedRepositoriesForGroupCommand, } from "../commands/ListAllowedRepositoriesForGroupCommand";
|
|
4
|
+
export const paginateListAllowedRepositoriesForGroup = createPaginator(CodeartifactClient, ListAllowedRepositoriesForGroupCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { CodeartifactClient } from "../CodeartifactClient";
|
|
3
|
+
import { ListAssociatedPackagesCommand, } from "../commands/ListAssociatedPackagesCommand";
|
|
4
|
+
export const paginateListAssociatedPackages = createPaginator(CodeartifactClient, ListAssociatedPackagesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { CodeartifactClient } from "../CodeartifactClient";
|
|
3
|
+
import { ListPackageGroupsCommand, } from "../commands/ListPackageGroupsCommand";
|
|
4
|
+
export const paginateListPackageGroups = createPaginator(CodeartifactClient, ListPackageGroupsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { CodeartifactClient } from "../CodeartifactClient";
|
|
3
|
+
import { ListSubPackageGroupsCommand, } from "../commands/ListSubPackageGroupsCommand";
|
|
4
|
+
export const paginateListSubPackageGroups = createPaginator(CodeartifactClient, ListSubPackageGroupsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
|
+
export * from "./ListAllowedRepositoriesForGroupPaginator";
|
|
3
|
+
export * from "./ListAssociatedPackagesPaginator";
|
|
2
4
|
export * from "./ListDomainsPaginator";
|
|
5
|
+
export * from "./ListPackageGroupsPaginator";
|
|
3
6
|
export * from "./ListPackageVersionAssetsPaginator";
|
|
4
7
|
export * from "./ListPackageVersionsPaginator";
|
|
5
8
|
export * from "./ListPackagesPaginator";
|
|
6
9
|
export * from "./ListRepositoriesInDomainPaginator";
|
|
7
10
|
export * from "./ListRepositoriesPaginator";
|
|
11
|
+
export * from "./ListSubPackageGroupsPaginator";
|