@aws-sdk/client-codeartifact 3.533.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.
Files changed (140) hide show
  1. package/README.md +149 -6
  2. package/dist-cjs/index.js +609 -2
  3. package/dist-es/Codeartifact.js +20 -0
  4. package/dist-es/commands/CreatePackageGroupCommand.js +24 -0
  5. package/dist-es/commands/DeletePackageGroupCommand.js +24 -0
  6. package/dist-es/commands/DescribePackageGroupCommand.js +24 -0
  7. package/dist-es/commands/GetAssociatedPackageGroupCommand.js +24 -0
  8. package/dist-es/commands/GetAuthorizationTokenCommand.js +2 -1
  9. package/dist-es/commands/ListAllowedRepositoriesForGroupCommand.js +24 -0
  10. package/dist-es/commands/ListAssociatedPackagesCommand.js +24 -0
  11. package/dist-es/commands/ListPackageGroupsCommand.js +24 -0
  12. package/dist-es/commands/ListSubPackageGroupsCommand.js +24 -0
  13. package/dist-es/commands/UpdatePackageGroupCommand.js +24 -0
  14. package/dist-es/commands/UpdatePackageGroupOriginConfigurationCommand.js +24 -0
  15. package/dist-es/commands/index.js +10 -0
  16. package/dist-es/models/models_0.js +22 -0
  17. package/dist-es/pagination/ListAllowedRepositoriesForGroupPaginator.js +4 -0
  18. package/dist-es/pagination/ListAssociatedPackagesPaginator.js +4 -0
  19. package/dist-es/pagination/ListPackageGroupsPaginator.js +4 -0
  20. package/dist-es/pagination/ListSubPackageGroupsPaginator.js +4 -0
  21. package/dist-es/pagination/index.js +4 -0
  22. package/dist-es/protocols/Aws_restJson1.js +347 -0
  23. package/dist-types/Codeartifact.d.ts +142 -7
  24. package/dist-types/CodeartifactClient.d.ts +82 -9
  25. package/dist-types/commands/AssociateExternalConnectionCommand.d.ts +2 -1
  26. package/dist-types/commands/CopyPackageVersionsCommand.d.ts +2 -1
  27. package/dist-types/commands/CreateDomainCommand.d.ts +2 -1
  28. package/dist-types/commands/CreatePackageGroupCommand.d.ts +129 -0
  29. package/dist-types/commands/CreateRepositoryCommand.d.ts +2 -1
  30. package/dist-types/commands/DeleteDomainCommand.d.ts +2 -1
  31. package/dist-types/commands/DeleteDomainPermissionsPolicyCommand.d.ts +2 -1
  32. package/dist-types/commands/DeletePackageCommand.d.ts +3 -2
  33. package/dist-types/commands/DeletePackageGroupCommand.d.ts +123 -0
  34. package/dist-types/commands/DeletePackageVersionsCommand.d.ts +2 -1
  35. package/dist-types/commands/DeleteRepositoryCommand.d.ts +2 -1
  36. package/dist-types/commands/DeleteRepositoryPermissionsPolicyCommand.d.ts +2 -1
  37. package/dist-types/commands/DescribeDomainCommand.d.ts +2 -1
  38. package/dist-types/commands/DescribePackageCommand.d.ts +2 -1
  39. package/dist-types/commands/DescribePackageGroupCommand.d.ts +110 -0
  40. package/dist-types/commands/DescribePackageVersionCommand.d.ts +2 -1
  41. package/dist-types/commands/DescribeRepositoryCommand.d.ts +2 -1
  42. package/dist-types/commands/DisassociateExternalConnectionCommand.d.ts +2 -1
  43. package/dist-types/commands/DisposePackageVersionsCommand.d.ts +2 -1
  44. package/dist-types/commands/GetAssociatedPackageGroupCommand.d.ts +112 -0
  45. package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +2 -1
  46. package/dist-types/commands/GetDomainPermissionsPolicyCommand.d.ts +2 -1
  47. package/dist-types/commands/GetPackageVersionAssetCommand.d.ts +2 -1
  48. package/dist-types/commands/GetPackageVersionReadmeCommand.d.ts +2 -1
  49. package/dist-types/commands/GetRepositoryEndpointCommand.d.ts +12 -1
  50. package/dist-types/commands/GetRepositoryPermissionsPolicyCommand.d.ts +2 -1
  51. package/dist-types/commands/ListAllowedRepositoriesForGroupCommand.d.ts +97 -0
  52. package/dist-types/commands/ListAssociatedPackagesCommand.d.ts +92 -0
  53. package/dist-types/commands/ListDomainsCommand.d.ts +2 -1
  54. package/dist-types/commands/ListPackageGroupsCommand.d.ts +114 -0
  55. package/dist-types/commands/ListPackageVersionAssetsCommand.d.ts +2 -1
  56. package/dist-types/commands/ListPackageVersionDependenciesCommand.d.ts +2 -1
  57. package/dist-types/commands/ListPackageVersionsCommand.d.ts +2 -1
  58. package/dist-types/commands/ListPackagesCommand.d.ts +2 -1
  59. package/dist-types/commands/ListRepositoriesCommand.d.ts +2 -1
  60. package/dist-types/commands/ListRepositoriesInDomainCommand.d.ts +2 -1
  61. package/dist-types/commands/ListSubPackageGroupsCommand.d.ts +117 -0
  62. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
  63. package/dist-types/commands/PublishPackageVersionCommand.d.ts +5 -4
  64. package/dist-types/commands/PutDomainPermissionsPolicyCommand.d.ts +2 -1
  65. package/dist-types/commands/PutPackageOriginConfigurationCommand.d.ts +2 -1
  66. package/dist-types/commands/PutRepositoryPermissionsPolicyCommand.d.ts +2 -1
  67. package/dist-types/commands/TagResourceCommand.d.ts +2 -1
  68. package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
  69. package/dist-types/commands/UpdatePackageGroupCommand.d.ts +117 -0
  70. package/dist-types/commands/UpdatePackageGroupOriginConfigurationCommand.d.ts +141 -0
  71. package/dist-types/commands/UpdatePackageVersionsStatusCommand.d.ts +2 -1
  72. package/dist-types/commands/UpdateRepositoryCommand.d.ts +2 -1
  73. package/dist-types/commands/index.d.ts +10 -0
  74. package/dist-types/index.d.ts +69 -6
  75. package/dist-types/models/models_0.d.ts +1658 -559
  76. package/dist-types/pagination/ListAllowedRepositoriesForGroupPaginator.d.ts +7 -0
  77. package/dist-types/pagination/ListAssociatedPackagesPaginator.d.ts +7 -0
  78. package/dist-types/pagination/ListPackageGroupsPaginator.d.ts +7 -0
  79. package/dist-types/pagination/ListSubPackageGroupsPaginator.d.ts +7 -0
  80. package/dist-types/pagination/index.d.ts +4 -0
  81. package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
  82. package/dist-types/ts3.4/Codeartifact.d.ts +178 -0
  83. package/dist-types/ts3.4/CodeartifactClient.d.ts +60 -0
  84. package/dist-types/ts3.4/commands/AssociateExternalConnectionCommand.d.ts +9 -0
  85. package/dist-types/ts3.4/commands/CopyPackageVersionsCommand.d.ts +9 -0
  86. package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +9 -0
  87. package/dist-types/ts3.4/commands/CreatePackageGroupCommand.d.ts +39 -0
  88. package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +9 -0
  89. package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +9 -0
  90. package/dist-types/ts3.4/commands/DeleteDomainPermissionsPolicyCommand.d.ts +9 -0
  91. package/dist-types/ts3.4/commands/DeletePackageCommand.d.ts +9 -0
  92. package/dist-types/ts3.4/commands/DeletePackageGroupCommand.d.ts +39 -0
  93. package/dist-types/ts3.4/commands/DeletePackageVersionsCommand.d.ts +9 -0
  94. package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +9 -0
  95. package/dist-types/ts3.4/commands/DeleteRepositoryPermissionsPolicyCommand.d.ts +9 -0
  96. package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +9 -0
  97. package/dist-types/ts3.4/commands/DescribePackageCommand.d.ts +9 -0
  98. package/dist-types/ts3.4/commands/DescribePackageGroupCommand.d.ts +39 -0
  99. package/dist-types/ts3.4/commands/DescribePackageVersionCommand.d.ts +9 -0
  100. package/dist-types/ts3.4/commands/DescribeRepositoryCommand.d.ts +9 -0
  101. package/dist-types/ts3.4/commands/DisassociateExternalConnectionCommand.d.ts +9 -0
  102. package/dist-types/ts3.4/commands/DisposePackageVersionsCommand.d.ts +9 -0
  103. package/dist-types/ts3.4/commands/GetAssociatedPackageGroupCommand.d.ts +39 -0
  104. package/dist-types/ts3.4/commands/GetAuthorizationTokenCommand.d.ts +9 -0
  105. package/dist-types/ts3.4/commands/GetDomainPermissionsPolicyCommand.d.ts +9 -0
  106. package/dist-types/ts3.4/commands/GetPackageVersionAssetCommand.d.ts +9 -0
  107. package/dist-types/ts3.4/commands/GetPackageVersionReadmeCommand.d.ts +9 -0
  108. package/dist-types/ts3.4/commands/GetRepositoryEndpointCommand.d.ts +9 -0
  109. package/dist-types/ts3.4/commands/GetRepositoryPermissionsPolicyCommand.d.ts +9 -0
  110. package/dist-types/ts3.4/commands/ListAllowedRepositoriesForGroupCommand.d.ts +39 -0
  111. package/dist-types/ts3.4/commands/ListAssociatedPackagesCommand.d.ts +39 -0
  112. package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +9 -0
  113. package/dist-types/ts3.4/commands/ListPackageGroupsCommand.d.ts +39 -0
  114. package/dist-types/ts3.4/commands/ListPackageVersionAssetsCommand.d.ts +9 -0
  115. package/dist-types/ts3.4/commands/ListPackageVersionDependenciesCommand.d.ts +9 -0
  116. package/dist-types/ts3.4/commands/ListPackageVersionsCommand.d.ts +9 -0
  117. package/dist-types/ts3.4/commands/ListPackagesCommand.d.ts +9 -0
  118. package/dist-types/ts3.4/commands/ListRepositoriesCommand.d.ts +9 -0
  119. package/dist-types/ts3.4/commands/ListRepositoriesInDomainCommand.d.ts +9 -0
  120. package/dist-types/ts3.4/commands/ListSubPackageGroupsCommand.d.ts +39 -0
  121. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
  122. package/dist-types/ts3.4/commands/PublishPackageVersionCommand.d.ts +9 -0
  123. package/dist-types/ts3.4/commands/PutDomainPermissionsPolicyCommand.d.ts +9 -0
  124. package/dist-types/ts3.4/commands/PutPackageOriginConfigurationCommand.d.ts +9 -0
  125. package/dist-types/ts3.4/commands/PutRepositoryPermissionsPolicyCommand.d.ts +9 -0
  126. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
  127. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
  128. package/dist-types/ts3.4/commands/UpdatePackageGroupCommand.d.ts +39 -0
  129. package/dist-types/ts3.4/commands/UpdatePackageGroupOriginConfigurationCommand.d.ts +39 -0
  130. package/dist-types/ts3.4/commands/UpdatePackageVersionsStatusCommand.d.ts +9 -0
  131. package/dist-types/ts3.4/commands/UpdateRepositoryCommand.d.ts +9 -0
  132. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  133. package/dist-types/ts3.4/models/models_0.d.ts +196 -6
  134. package/dist-types/ts3.4/pagination/ListAllowedRepositoriesForGroupPaginator.d.ts +11 -0
  135. package/dist-types/ts3.4/pagination/ListAssociatedPackagesPaginator.d.ts +11 -0
  136. package/dist-types/ts3.4/pagination/ListPackageGroupsPaginator.d.ts +11 -0
  137. package/dist-types/ts3.4/pagination/ListSubPackageGroupsPaginator.d.ts +11 -0
  138. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  139. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
  140. package/package.json +41 -41
@@ -3,32 +3,40 @@ import { CodeartifactClient } from "./CodeartifactClient";
3
3
  import { AssociateExternalConnectionCommandInput, AssociateExternalConnectionCommandOutput } from "./commands/AssociateExternalConnectionCommand";
4
4
  import { CopyPackageVersionsCommandInput, CopyPackageVersionsCommandOutput } from "./commands/CopyPackageVersionsCommand";
5
5
  import { CreateDomainCommandInput, CreateDomainCommandOutput } from "./commands/CreateDomainCommand";
6
+ import { CreatePackageGroupCommandInput, CreatePackageGroupCommandOutput } from "./commands/CreatePackageGroupCommand";
6
7
  import { CreateRepositoryCommandInput, CreateRepositoryCommandOutput } from "./commands/CreateRepositoryCommand";
7
8
  import { DeleteDomainCommandInput, DeleteDomainCommandOutput } from "./commands/DeleteDomainCommand";
8
9
  import { DeleteDomainPermissionsPolicyCommandInput, DeleteDomainPermissionsPolicyCommandOutput } from "./commands/DeleteDomainPermissionsPolicyCommand";
9
10
  import { DeletePackageCommandInput, DeletePackageCommandOutput } from "./commands/DeletePackageCommand";
11
+ import { DeletePackageGroupCommandInput, DeletePackageGroupCommandOutput } from "./commands/DeletePackageGroupCommand";
10
12
  import { DeletePackageVersionsCommandInput, DeletePackageVersionsCommandOutput } from "./commands/DeletePackageVersionsCommand";
11
13
  import { DeleteRepositoryCommandInput, DeleteRepositoryCommandOutput } from "./commands/DeleteRepositoryCommand";
12
14
  import { DeleteRepositoryPermissionsPolicyCommandInput, DeleteRepositoryPermissionsPolicyCommandOutput } from "./commands/DeleteRepositoryPermissionsPolicyCommand";
13
15
  import { DescribeDomainCommandInput, DescribeDomainCommandOutput } from "./commands/DescribeDomainCommand";
14
16
  import { DescribePackageCommandInput, DescribePackageCommandOutput } from "./commands/DescribePackageCommand";
17
+ import { DescribePackageGroupCommandInput, DescribePackageGroupCommandOutput } from "./commands/DescribePackageGroupCommand";
15
18
  import { DescribePackageVersionCommandInput, DescribePackageVersionCommandOutput } from "./commands/DescribePackageVersionCommand";
16
19
  import { DescribeRepositoryCommandInput, DescribeRepositoryCommandOutput } from "./commands/DescribeRepositoryCommand";
17
20
  import { DisassociateExternalConnectionCommandInput, DisassociateExternalConnectionCommandOutput } from "./commands/DisassociateExternalConnectionCommand";
18
21
  import { DisposePackageVersionsCommandInput, DisposePackageVersionsCommandOutput } from "./commands/DisposePackageVersionsCommand";
22
+ import { GetAssociatedPackageGroupCommandInput, GetAssociatedPackageGroupCommandOutput } from "./commands/GetAssociatedPackageGroupCommand";
19
23
  import { GetAuthorizationTokenCommandInput, GetAuthorizationTokenCommandOutput } from "./commands/GetAuthorizationTokenCommand";
20
24
  import { GetDomainPermissionsPolicyCommandInput, GetDomainPermissionsPolicyCommandOutput } from "./commands/GetDomainPermissionsPolicyCommand";
21
25
  import { GetPackageVersionAssetCommandInput, GetPackageVersionAssetCommandOutput } from "./commands/GetPackageVersionAssetCommand";
22
26
  import { GetPackageVersionReadmeCommandInput, GetPackageVersionReadmeCommandOutput } from "./commands/GetPackageVersionReadmeCommand";
23
27
  import { GetRepositoryEndpointCommandInput, GetRepositoryEndpointCommandOutput } from "./commands/GetRepositoryEndpointCommand";
24
28
  import { GetRepositoryPermissionsPolicyCommandInput, GetRepositoryPermissionsPolicyCommandOutput } from "./commands/GetRepositoryPermissionsPolicyCommand";
29
+ import { ListAllowedRepositoriesForGroupCommandInput, ListAllowedRepositoriesForGroupCommandOutput } from "./commands/ListAllowedRepositoriesForGroupCommand";
30
+ import { ListAssociatedPackagesCommandInput, ListAssociatedPackagesCommandOutput } from "./commands/ListAssociatedPackagesCommand";
25
31
  import { ListDomainsCommandInput, ListDomainsCommandOutput } from "./commands/ListDomainsCommand";
32
+ import { ListPackageGroupsCommandInput, ListPackageGroupsCommandOutput } from "./commands/ListPackageGroupsCommand";
26
33
  import { ListPackagesCommandInput, ListPackagesCommandOutput } from "./commands/ListPackagesCommand";
27
34
  import { ListPackageVersionAssetsCommandInput, ListPackageVersionAssetsCommandOutput } from "./commands/ListPackageVersionAssetsCommand";
28
35
  import { ListPackageVersionDependenciesCommandInput, ListPackageVersionDependenciesCommandOutput } from "./commands/ListPackageVersionDependenciesCommand";
29
36
  import { ListPackageVersionsCommandInput, ListPackageVersionsCommandOutput } from "./commands/ListPackageVersionsCommand";
30
37
  import { ListRepositoriesCommandInput, ListRepositoriesCommandOutput } from "./commands/ListRepositoriesCommand";
31
38
  import { ListRepositoriesInDomainCommandInput, ListRepositoriesInDomainCommandOutput } from "./commands/ListRepositoriesInDomainCommand";
39
+ import { ListSubPackageGroupsCommandInput, ListSubPackageGroupsCommandOutput } from "./commands/ListSubPackageGroupsCommand";
32
40
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
33
41
  import { PublishPackageVersionCommandInput, PublishPackageVersionCommandOutput } from "./commands/PublishPackageVersionCommand";
34
42
  import { PutDomainPermissionsPolicyCommandInput, PutDomainPermissionsPolicyCommandOutput } from "./commands/PutDomainPermissionsPolicyCommand";
@@ -36,6 +44,8 @@ import { PutPackageOriginConfigurationCommandInput, PutPackageOriginConfiguratio
36
44
  import { PutRepositoryPermissionsPolicyCommandInput, PutRepositoryPermissionsPolicyCommandOutput } from "./commands/PutRepositoryPermissionsPolicyCommand";
37
45
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
38
46
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
47
+ import { UpdatePackageGroupCommandInput, UpdatePackageGroupCommandOutput } from "./commands/UpdatePackageGroupCommand";
48
+ import { UpdatePackageGroupOriginConfigurationCommandInput, UpdatePackageGroupOriginConfigurationCommandOutput } from "./commands/UpdatePackageGroupOriginConfigurationCommand";
39
49
  import { UpdatePackageVersionsStatusCommandInput, UpdatePackageVersionsStatusCommandOutput } from "./commands/UpdatePackageVersionsStatusCommand";
40
50
  import { UpdateRepositoryCommandInput, UpdateRepositoryCommandOutput } from "./commands/UpdateRepositoryCommand";
41
51
  export interface Codeartifact {
@@ -57,6 +67,12 @@ export interface Codeartifact {
57
67
  createDomain(args: CreateDomainCommandInput, options?: __HttpHandlerOptions): Promise<CreateDomainCommandOutput>;
58
68
  createDomain(args: CreateDomainCommandInput, cb: (err: any, data?: CreateDomainCommandOutput) => void): void;
59
69
  createDomain(args: CreateDomainCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDomainCommandOutput) => void): void;
70
+ /**
71
+ * @see {@link CreatePackageGroupCommand}
72
+ */
73
+ createPackageGroup(args: CreatePackageGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreatePackageGroupCommandOutput>;
74
+ createPackageGroup(args: CreatePackageGroupCommandInput, cb: (err: any, data?: CreatePackageGroupCommandOutput) => void): void;
75
+ createPackageGroup(args: CreatePackageGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePackageGroupCommandOutput) => void): void;
60
76
  /**
61
77
  * @see {@link CreateRepositoryCommand}
62
78
  */
@@ -81,6 +97,12 @@ export interface Codeartifact {
81
97
  deletePackage(args: DeletePackageCommandInput, options?: __HttpHandlerOptions): Promise<DeletePackageCommandOutput>;
82
98
  deletePackage(args: DeletePackageCommandInput, cb: (err: any, data?: DeletePackageCommandOutput) => void): void;
83
99
  deletePackage(args: DeletePackageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePackageCommandOutput) => void): void;
100
+ /**
101
+ * @see {@link DeletePackageGroupCommand}
102
+ */
103
+ deletePackageGroup(args: DeletePackageGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeletePackageGroupCommandOutput>;
104
+ deletePackageGroup(args: DeletePackageGroupCommandInput, cb: (err: any, data?: DeletePackageGroupCommandOutput) => void): void;
105
+ deletePackageGroup(args: DeletePackageGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePackageGroupCommandOutput) => void): void;
84
106
  /**
85
107
  * @see {@link DeletePackageVersionsCommand}
86
108
  */
@@ -111,6 +133,12 @@ export interface Codeartifact {
111
133
  describePackage(args: DescribePackageCommandInput, options?: __HttpHandlerOptions): Promise<DescribePackageCommandOutput>;
112
134
  describePackage(args: DescribePackageCommandInput, cb: (err: any, data?: DescribePackageCommandOutput) => void): void;
113
135
  describePackage(args: DescribePackageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribePackageCommandOutput) => void): void;
136
+ /**
137
+ * @see {@link DescribePackageGroupCommand}
138
+ */
139
+ describePackageGroup(args: DescribePackageGroupCommandInput, options?: __HttpHandlerOptions): Promise<DescribePackageGroupCommandOutput>;
140
+ describePackageGroup(args: DescribePackageGroupCommandInput, cb: (err: any, data?: DescribePackageGroupCommandOutput) => void): void;
141
+ describePackageGroup(args: DescribePackageGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribePackageGroupCommandOutput) => void): void;
114
142
  /**
115
143
  * @see {@link DescribePackageVersionCommand}
116
144
  */
@@ -135,6 +163,12 @@ export interface Codeartifact {
135
163
  disposePackageVersions(args: DisposePackageVersionsCommandInput, options?: __HttpHandlerOptions): Promise<DisposePackageVersionsCommandOutput>;
136
164
  disposePackageVersions(args: DisposePackageVersionsCommandInput, cb: (err: any, data?: DisposePackageVersionsCommandOutput) => void): void;
137
165
  disposePackageVersions(args: DisposePackageVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisposePackageVersionsCommandOutput) => void): void;
166
+ /**
167
+ * @see {@link GetAssociatedPackageGroupCommand}
168
+ */
169
+ getAssociatedPackageGroup(args: GetAssociatedPackageGroupCommandInput, options?: __HttpHandlerOptions): Promise<GetAssociatedPackageGroupCommandOutput>;
170
+ getAssociatedPackageGroup(args: GetAssociatedPackageGroupCommandInput, cb: (err: any, data?: GetAssociatedPackageGroupCommandOutput) => void): void;
171
+ getAssociatedPackageGroup(args: GetAssociatedPackageGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAssociatedPackageGroupCommandOutput) => void): void;
138
172
  /**
139
173
  * @see {@link GetAuthorizationTokenCommand}
140
174
  */
@@ -171,12 +205,31 @@ export interface Codeartifact {
171
205
  getRepositoryPermissionsPolicy(args: GetRepositoryPermissionsPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetRepositoryPermissionsPolicyCommandOutput>;
172
206
  getRepositoryPermissionsPolicy(args: GetRepositoryPermissionsPolicyCommandInput, cb: (err: any, data?: GetRepositoryPermissionsPolicyCommandOutput) => void): void;
173
207
  getRepositoryPermissionsPolicy(args: GetRepositoryPermissionsPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRepositoryPermissionsPolicyCommandOutput) => void): void;
208
+ /**
209
+ * @see {@link ListAllowedRepositoriesForGroupCommand}
210
+ */
211
+ listAllowedRepositoriesForGroup(args: ListAllowedRepositoriesForGroupCommandInput, options?: __HttpHandlerOptions): Promise<ListAllowedRepositoriesForGroupCommandOutput>;
212
+ listAllowedRepositoriesForGroup(args: ListAllowedRepositoriesForGroupCommandInput, cb: (err: any, data?: ListAllowedRepositoriesForGroupCommandOutput) => void): void;
213
+ listAllowedRepositoriesForGroup(args: ListAllowedRepositoriesForGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAllowedRepositoriesForGroupCommandOutput) => void): void;
214
+ /**
215
+ * @see {@link ListAssociatedPackagesCommand}
216
+ */
217
+ listAssociatedPackages(args: ListAssociatedPackagesCommandInput, options?: __HttpHandlerOptions): Promise<ListAssociatedPackagesCommandOutput>;
218
+ listAssociatedPackages(args: ListAssociatedPackagesCommandInput, cb: (err: any, data?: ListAssociatedPackagesCommandOutput) => void): void;
219
+ listAssociatedPackages(args: ListAssociatedPackagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssociatedPackagesCommandOutput) => void): void;
174
220
  /**
175
221
  * @see {@link ListDomainsCommand}
176
222
  */
223
+ listDomains(): Promise<ListDomainsCommandOutput>;
177
224
  listDomains(args: ListDomainsCommandInput, options?: __HttpHandlerOptions): Promise<ListDomainsCommandOutput>;
178
225
  listDomains(args: ListDomainsCommandInput, cb: (err: any, data?: ListDomainsCommandOutput) => void): void;
179
226
  listDomains(args: ListDomainsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDomainsCommandOutput) => void): void;
227
+ /**
228
+ * @see {@link ListPackageGroupsCommand}
229
+ */
230
+ listPackageGroups(args: ListPackageGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListPackageGroupsCommandOutput>;
231
+ listPackageGroups(args: ListPackageGroupsCommandInput, cb: (err: any, data?: ListPackageGroupsCommandOutput) => void): void;
232
+ listPackageGroups(args: ListPackageGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPackageGroupsCommandOutput) => void): void;
180
233
  /**
181
234
  * @see {@link ListPackagesCommand}
182
235
  */
@@ -204,6 +257,7 @@ export interface Codeartifact {
204
257
  /**
205
258
  * @see {@link ListRepositoriesCommand}
206
259
  */
260
+ listRepositories(): Promise<ListRepositoriesCommandOutput>;
207
261
  listRepositories(args: ListRepositoriesCommandInput, options?: __HttpHandlerOptions): Promise<ListRepositoriesCommandOutput>;
208
262
  listRepositories(args: ListRepositoriesCommandInput, cb: (err: any, data?: ListRepositoriesCommandOutput) => void): void;
209
263
  listRepositories(args: ListRepositoriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRepositoriesCommandOutput) => void): void;
@@ -213,6 +267,12 @@ export interface Codeartifact {
213
267
  listRepositoriesInDomain(args: ListRepositoriesInDomainCommandInput, options?: __HttpHandlerOptions): Promise<ListRepositoriesInDomainCommandOutput>;
214
268
  listRepositoriesInDomain(args: ListRepositoriesInDomainCommandInput, cb: (err: any, data?: ListRepositoriesInDomainCommandOutput) => void): void;
215
269
  listRepositoriesInDomain(args: ListRepositoriesInDomainCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRepositoriesInDomainCommandOutput) => void): void;
270
+ /**
271
+ * @see {@link ListSubPackageGroupsCommand}
272
+ */
273
+ listSubPackageGroups(args: ListSubPackageGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListSubPackageGroupsCommandOutput>;
274
+ listSubPackageGroups(args: ListSubPackageGroupsCommandInput, cb: (err: any, data?: ListSubPackageGroupsCommandOutput) => void): void;
275
+ listSubPackageGroups(args: ListSubPackageGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSubPackageGroupsCommandOutput) => void): void;
216
276
  /**
217
277
  * @see {@link ListTagsForResourceCommand}
218
278
  */
@@ -255,6 +315,18 @@ export interface Codeartifact {
255
315
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
256
316
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
257
317
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
318
+ /**
319
+ * @see {@link UpdatePackageGroupCommand}
320
+ */
321
+ updatePackageGroup(args: UpdatePackageGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePackageGroupCommandOutput>;
322
+ updatePackageGroup(args: UpdatePackageGroupCommandInput, cb: (err: any, data?: UpdatePackageGroupCommandOutput) => void): void;
323
+ updatePackageGroup(args: UpdatePackageGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePackageGroupCommandOutput) => void): void;
324
+ /**
325
+ * @see {@link UpdatePackageGroupOriginConfigurationCommand}
326
+ */
327
+ updatePackageGroupOriginConfiguration(args: UpdatePackageGroupOriginConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePackageGroupOriginConfigurationCommandOutput>;
328
+ updatePackageGroupOriginConfiguration(args: UpdatePackageGroupOriginConfigurationCommandInput, cb: (err: any, data?: UpdatePackageGroupOriginConfigurationCommandOutput) => void): void;
329
+ updatePackageGroupOriginConfiguration(args: UpdatePackageGroupOriginConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePackageGroupOriginConfigurationCommandOutput) => void): void;
258
330
  /**
259
331
  * @see {@link UpdatePackageVersionsStatusCommand}
260
332
  */
@@ -269,7 +341,6 @@ export interface Codeartifact {
269
341
  updateRepository(args: UpdateRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRepositoryCommandOutput) => void): void;
270
342
  }
271
343
  /**
272
- * @public
273
344
  * <p> CodeArtifact is a fully managed artifact repository compatible with language-native
274
345
  * package managers and build tools such as npm, Apache Maven, pip, and dotnet. You can use CodeArtifact to
275
346
  * share packages with development teams and pull packages. Packages can be pulled from both
@@ -277,9 +348,8 @@ export interface Codeartifact {
277
348
  * repository and another repository, which effectively merges their contents from the point of
278
349
  * view of a package manager client. </p>
279
350
  * <p>
280
- * <b>CodeArtifact Components</b>
351
+ * <b>CodeArtifact concepts</b>
281
352
  * </p>
282
- * <p>Use the information in this guide to help you work with the following CodeArtifact components:</p>
283
353
  * <ul>
284
354
  * <li>
285
355
  * <p>
@@ -293,7 +363,10 @@ export interface Codeartifact {
293
363
  * <code>mvn</code>
294
364
  * </b>), Python CLIs (<b>
295
365
  * <code>pip</code>
296
- * </b> and <code>twine</code>), and NuGet CLIs (<code>nuget</code> and <code>dotnet</code>).</p>
366
+ * </b> and <code>twine</code>), NuGet CLIs (<code>nuget</code> and <code>dotnet</code>), and
367
+ * the Swift package manager (<b>
368
+ * <code>swift</code>
369
+ * </b>).</p>
297
370
  * </li>
298
371
  * <li>
299
372
  * <p>
@@ -315,7 +388,7 @@ export interface Codeartifact {
315
388
  * <li>
316
389
  * <p>
317
390
  * <b>Package</b>: A <i>package</i> is a bundle of software and the metadata required to
318
- * resolve dependencies and install the software. CodeArtifact supports <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-npm.html">npm</a>, <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-python.html">PyPI</a>, <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-maven">Maven</a>, and <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-nuget">NuGet</a> package formats.</p>
391
+ * resolve dependencies and install the software. CodeArtifact supports <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-npm.html">npm</a>, <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-python.html">PyPI</a>, <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-maven">Maven</a>, <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-nuget">NuGet</a>, <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-swift">Swift</a>, and <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-generic">generic</a> package formats.</p>
319
392
  * <p>In CodeArtifact, a package consists of:</p>
320
393
  * <ul>
321
394
  * <li>
@@ -336,6 +409,14 @@ export interface Codeartifact {
336
409
  * </li>
337
410
  * <li>
338
411
  * <p>
412
+ * <b>Package group</b>: A group of packages that match a specified definition. Package
413
+ * groups can be used to apply configuration to multiple packages that match a defined pattern using
414
+ * package format, package namespace, and package name. You can use package groups to more conveniently
415
+ * configure package origin controls for multiple packages. Package origin controls are used to block or allow ingestion or publishing
416
+ * of new package versions, which protects users from malicious actions known as dependency substitution attacks.</p>
417
+ * </li>
418
+ * <li>
419
+ * <p>
339
420
  * <b>Package version</b>: A version of a package, such as <code>@types/node 12.6.9</code>. The version number
340
421
  * format and semantics vary for different package formats. For example, npm package versions
341
422
  * must conform to the <a href="https://semver.org/">Semantic Versioning
@@ -355,7 +436,9 @@ export interface Codeartifact {
355
436
  * <code>.tgz</code> file or Maven POM and JAR files.</p>
356
437
  * </li>
357
438
  * </ul>
358
- * <p>CodeArtifact supports these operations:</p>
439
+ * <p>
440
+ * <b>CodeArtifact supported API operations</b>
441
+ * </p>
359
442
  * <ul>
360
443
  * <li>
361
444
  * <p>
@@ -370,7 +453,11 @@ export interface Codeartifact {
370
453
  * </li>
371
454
  * <li>
372
455
  * <p>
373
- * <code>CreateDomain</code>: Creates a domain</p>
456
+ * <code>CreateDomain</code>: Creates a domain.</p>
457
+ * </li>
458
+ * <li>
459
+ * <p>
460
+ * <code>CreatePackageGroup</code>: Creates a package group.</p>
374
461
  * </li>
375
462
  * <li>
376
463
  * <p>
@@ -391,6 +478,10 @@ export interface Codeartifact {
391
478
  * </li>
392
479
  * <li>
393
480
  * <p>
481
+ * <code>DeletePackageGroup</code>: Deletes a package group. Does not delete packages or package versions that are associated with a package group.</p>
482
+ * </li>
483
+ * <li>
484
+ * <p>
394
485
  * <code>DeletePackageVersions</code>: Deletes versions of a package. After a package has
395
486
  * been deleted, it can be republished, but its assets and metadata cannot be restored
396
487
  * because they have been permanently removed from storage.</p>
@@ -416,6 +507,11 @@ export interface Codeartifact {
416
507
  * </li>
417
508
  * <li>
418
509
  * <p>
510
+ * <code>DescribePackageGroup</code>: Returns a <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageGroup.html">PackageGroup</a>
511
+ * object that contains details about a package group. </p>
512
+ * </li>
513
+ * <li>
514
+ * <p>
419
515
  * <code>DescribePackageVersion</code>: Returns a <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionDescription.html">PackageVersionDescription</a>
420
516
  * object that contains details about a package version. </p>
421
517
  * </li>
@@ -437,6 +533,10 @@ export interface Codeartifact {
437
533
  * </li>
438
534
  * <li>
439
535
  * <p>
536
+ * <code>GetAssociatedPackageGroup</code>: Returns the most closely associated package group to the specified package.</p>
537
+ * </li>
538
+ * <li>
539
+ * <p>
440
540
  * <code>GetAuthorizationToken</code>: Generates a temporary authorization token for accessing repositories in the domain. The token expires the authorization period has passed.
441
541
  * The default authorization period is 12 hours and can be customized to any length with a maximum of 12 hours.</p>
442
542
  * </li>
@@ -461,6 +561,11 @@ export interface Codeartifact {
461
561
  * <ul>
462
562
  * <li>
463
563
  * <p>
564
+ * <code>generic</code>
565
+ * </p>
566
+ * </li>
567
+ * <li>
568
+ * <p>
464
569
  * <code>maven</code>
465
570
  * </p>
466
571
  * </li>
@@ -479,6 +584,11 @@ export interface Codeartifact {
479
584
  * <code>pypi</code>
480
585
  * </p>
481
586
  * </li>
587
+ * <li>
588
+ * <p>
589
+ * <code>swift</code>
590
+ * </p>
591
+ * </li>
482
592
  * </ul>
483
593
  * </li>
484
594
  * <li>
@@ -488,6 +598,14 @@ export interface Codeartifact {
488
598
  * </li>
489
599
  * <li>
490
600
  * <p>
601
+ * <code>ListAllowedRepositoriesForGroup</code>: Lists the allowed repositories for a package group that has origin configuration set to <code>ALLOW_SPECIFIC_REPOSITORIES</code>.</p>
602
+ * </li>
603
+ * <li>
604
+ * <p>
605
+ * <code>ListAssociatedPackages</code>: Returns a list of packages associated with the requested package group.</p>
606
+ * </li>
607
+ * <li>
608
+ * <p>
491
609
  * <code>ListDomains</code>: Returns a list of <code>DomainSummary</code> objects. Each
492
610
  * returned <code>DomainSummary</code> object contains information about a domain.</p>
493
611
  * </li>
@@ -497,6 +615,10 @@ export interface Codeartifact {
497
615
  * </li>
498
616
  * <li>
499
617
  * <p>
618
+ * <code>ListPackageGroups</code>: Returns a list of package groups in the requested domain.</p>
619
+ * </li>
620
+ * <li>
621
+ * <p>
500
622
  * <code>ListPackageVersionAssets</code>: Lists the assets for a given package version.</p>
501
623
  * </li>
502
624
  * <li>
@@ -519,6 +641,10 @@ export interface Codeartifact {
519
641
  * </li>
520
642
  * <li>
521
643
  * <p>
644
+ * <code>ListSubPackageGroups</code>: Returns a list of direct children of the specified package group.</p>
645
+ * </li>
646
+ * <li>
647
+ * <p>
522
648
  * <code>PublishPackageVersion</code>: Creates a new package version containing one or more assets.</p>
523
649
  * </li>
524
650
  * <li>
@@ -537,6 +663,14 @@ export interface Codeartifact {
537
663
  * </li>
538
664
  * <li>
539
665
  * <p>
666
+ * <code>UpdatePackageGroup</code>: Updates a package group. This API cannot be used to update a package group's origin configuration or pattern.</p>
667
+ * </li>
668
+ * <li>
669
+ * <p>
670
+ * <code>UpdatePackageGroupOriginConfiguration</code>: Updates the package origin configuration for a package group.</p>
671
+ * </li>
672
+ * <li>
673
+ * <p>
540
674
  * <code>UpdatePackageVersionsStatus</code>: Updates the status of one or more versions of a package.</p>
541
675
  * </li>
542
676
  * <li>
@@ -544,6 +678,7 @@ export interface Codeartifact {
544
678
  * <code>UpdateRepository</code>: Updates the properties of a repository.</p>
545
679
  * </li>
546
680
  * </ul>
681
+ * @public
547
682
  */
548
683
  export declare class Codeartifact extends CodeartifactClient implements Codeartifact {
549
684
  }