@aws-sdk/client-codeartifact 3.35.0 → 3.38.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/CHANGELOG.md +47 -0
- package/dist-cjs/Codeartifact.js +0 -257
- package/dist-cjs/CodeartifactClient.js +0 -262
- package/dist-cjs/commands/AssociateExternalConnectionCommand.js +0 -29
- package/dist-cjs/commands/CopyPackageVersionsCommand.js +0 -32
- package/dist-cjs/commands/CreateDomainCommand.js +0 -35
- package/dist-cjs/commands/CreateRepositoryCommand.js +0 -27
- package/dist-cjs/commands/DeleteDomainCommand.js +0 -28
- package/dist-cjs/commands/DeleteDomainPermissionsPolicyCommand.js +0 -27
- package/dist-cjs/commands/DeletePackageVersionsCommand.js +0 -29
- package/dist-cjs/commands/DeleteRepositoryCommand.js +0 -27
- package/dist-cjs/commands/DeleteRepositoryPermissionsPolicyCommand.js +0 -34
- package/dist-cjs/commands/DescribeDomainCommand.js +0 -29
- package/dist-cjs/commands/DescribePackageVersionCommand.js +0 -29
- package/dist-cjs/commands/DescribeRepositoryCommand.js +0 -28
- package/dist-cjs/commands/DisassociateExternalConnectionCommand.js +0 -27
- package/dist-cjs/commands/DisposePackageVersionsCommand.js +0 -38
- package/dist-cjs/commands/GetAuthorizationTokenCommand.js +0 -45
- package/dist-cjs/commands/GetDomainPermissionsPolicyCommand.js +0 -34
- package/dist-cjs/commands/GetPackageVersionAssetCommand.js +0 -29
- package/dist-cjs/commands/GetPackageVersionReadmeCommand.js +0 -32
- package/dist-cjs/commands/GetRepositoryEndpointCommand.js +0 -45
- package/dist-cjs/commands/GetRepositoryPermissionsPolicyCommand.js +0 -27
- package/dist-cjs/commands/ListDomainsCommand.js +0 -27
- package/dist-cjs/commands/ListPackageVersionAssetsCommand.js +0 -29
- package/dist-cjs/commands/ListPackageVersionDependenciesCommand.js +0 -31
- package/dist-cjs/commands/ListPackageVersionsCommand.js +0 -29
- package/dist-cjs/commands/ListPackagesCommand.js +0 -29
- package/dist-cjs/commands/ListRepositoriesCommand.js +0 -30
- package/dist-cjs/commands/ListRepositoriesInDomainCommand.js +0 -30
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/PutDomainPermissionsPolicyCommand.js +0 -32
- package/dist-cjs/commands/PutRepositoryPermissionsPolicyCommand.js +0 -32
- package/dist-cjs/commands/TagResourceCommand.js +0 -25
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/UpdatePackageVersionsStatusCommand.js +0 -27
- package/dist-cjs/commands/UpdateRepositoryCommand.js +0 -27
- package/dist-cjs/commands/index.js +37 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -44
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -277
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListDomainsPaginator.js +0 -11
- package/dist-cjs/pagination/ListPackageVersionAssetsPaginator.js +0 -11
- package/dist-cjs/pagination/ListPackageVersionsPaginator.js +0 -11
- package/dist-cjs/pagination/ListPackagesPaginator.js +0 -11
- package/dist-cjs/pagination/ListRepositoriesInDomainPaginator.js +0 -11
- package/dist-cjs/pagination/ListRepositoriesPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +10 -0
- package/dist-cjs/protocols/Aws_restJson1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/Codeartifact.js +0 -1
- package/dist-es/CodeartifactClient.js +0 -1
- package/dist-es/commands/AssociateExternalConnectionCommand.js +0 -1
- package/dist-es/commands/CopyPackageVersionsCommand.js +0 -1
- package/dist-es/commands/CreateDomainCommand.js +0 -1
- package/dist-es/commands/CreateRepositoryCommand.js +0 -1
- package/dist-es/commands/DeleteDomainCommand.js +0 -1
- package/dist-es/commands/DeleteDomainPermissionsPolicyCommand.js +0 -1
- package/dist-es/commands/DeletePackageVersionsCommand.js +0 -1
- package/dist-es/commands/DeleteRepositoryCommand.js +0 -1
- package/dist-es/commands/DeleteRepositoryPermissionsPolicyCommand.js +0 -1
- package/dist-es/commands/DescribeDomainCommand.js +0 -1
- package/dist-es/commands/DescribePackageVersionCommand.js +0 -1
- package/dist-es/commands/DescribeRepositoryCommand.js +0 -1
- package/dist-es/commands/DisassociateExternalConnectionCommand.js +0 -1
- package/dist-es/commands/DisposePackageVersionsCommand.js +0 -1
- package/dist-es/commands/GetAuthorizationTokenCommand.js +0 -1
- package/dist-es/commands/GetDomainPermissionsPolicyCommand.js +0 -1
- package/dist-es/commands/GetPackageVersionAssetCommand.js +0 -1
- package/dist-es/commands/GetPackageVersionReadmeCommand.js +0 -1
- package/dist-es/commands/GetRepositoryEndpointCommand.js +0 -1
- package/dist-es/commands/GetRepositoryPermissionsPolicyCommand.js +0 -1
- package/dist-es/commands/ListDomainsCommand.js +0 -1
- package/dist-es/commands/ListPackageVersionAssetsCommand.js +0 -1
- package/dist-es/commands/ListPackageVersionDependenciesCommand.js +0 -1
- package/dist-es/commands/ListPackageVersionsCommand.js +0 -1
- package/dist-es/commands/ListPackagesCommand.js +0 -1
- package/dist-es/commands/ListRepositoriesCommand.js +0 -1
- package/dist-es/commands/ListRepositoriesInDomainCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/PutDomainPermissionsPolicyCommand.js +0 -1
- package/dist-es/commands/PutRepositoryPermissionsPolicyCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdatePackageVersionsStatusCommand.js +0 -1
- package/dist-es/commands/UpdateRepositoryCommand.js +0 -1
- package/dist-es/commands/index.js +34 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -44
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListDomainsPaginator.js +0 -1
- package/dist-es/pagination/ListPackageVersionAssetsPaginator.js +0 -1
- package/dist-es/pagination/ListPackageVersionsPaginator.js +0 -1
- package/dist-es/pagination/ListPackagesPaginator.js +0 -1
- package/dist-es/pagination/ListRepositoriesInDomainPaginator.js +0 -1
- package/dist-es/pagination/ListRepositoriesPaginator.js +0 -1
- package/dist-es/pagination/index.js +7 -0
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +34 -0
- package/dist-types/index.d.ts +4 -43
- package/dist-types/pagination/index.d.ts +7 -0
- package/dist-types/ts3.4/Codeartifact.d.ts +35 -537
- package/dist-types/ts3.4/CodeartifactClient.d.ts +24 -342
- package/dist-types/ts3.4/commands/AssociateExternalConnectionCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/CopyPackageVersionsCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteDomainPermissionsPolicyCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeletePackageVersionsCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteRepositoryPermissionsPolicyCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DescribePackageVersionCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DescribeRepositoryCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DisassociateExternalConnectionCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DisposePackageVersionsCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/GetAuthorizationTokenCommand.d.ts +2 -40
- package/dist-types/ts3.4/commands/GetDomainPermissionsPolicyCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/GetPackageVersionAssetCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/GetPackageVersionReadmeCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/GetRepositoryEndpointCommand.d.ts +2 -40
- package/dist-types/ts3.4/commands/GetRepositoryPermissionsPolicyCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListPackageVersionAssetsCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/ListPackageVersionDependenciesCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/ListPackageVersionsCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/ListPackagesCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/ListRepositoriesCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/ListRepositoriesInDomainCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutDomainPermissionsPolicyCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/PutRepositoryPermissionsPolicyCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdatePackageVersionsStatusCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/UpdateRepositoryCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/index.d.ts +34 -0
- package/dist-types/ts3.4/index.d.ts +4 -43
- package/dist-types/ts3.4/models/models_0.d.ts +433 -3000
- package/dist-types/ts3.4/pagination/index.d.ts +7 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/Codeartifact.js.map +0 -1
- package/dist-cjs/CodeartifactClient.js.map +0 -1
- package/dist-cjs/commands/AssociateExternalConnectionCommand.js.map +0 -1
- package/dist-cjs/commands/CopyPackageVersionsCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDomainCommand.js.map +0 -1
- package/dist-cjs/commands/CreateRepositoryCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDomainCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDomainPermissionsPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DeletePackageVersionsCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteRepositoryCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteRepositoryPermissionsPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDomainCommand.js.map +0 -1
- package/dist-cjs/commands/DescribePackageVersionCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeRepositoryCommand.js.map +0 -1
- package/dist-cjs/commands/DisassociateExternalConnectionCommand.js.map +0 -1
- package/dist-cjs/commands/DisposePackageVersionsCommand.js.map +0 -1
- package/dist-cjs/commands/GetAuthorizationTokenCommand.js.map +0 -1
- package/dist-cjs/commands/GetDomainPermissionsPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/GetPackageVersionAssetCommand.js.map +0 -1
- package/dist-cjs/commands/GetPackageVersionReadmeCommand.js.map +0 -1
- package/dist-cjs/commands/GetRepositoryEndpointCommand.js.map +0 -1
- package/dist-cjs/commands/GetRepositoryPermissionsPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/ListDomainsCommand.js.map +0 -1
- package/dist-cjs/commands/ListPackageVersionAssetsCommand.js.map +0 -1
- package/dist-cjs/commands/ListPackageVersionDependenciesCommand.js.map +0 -1
- package/dist-cjs/commands/ListPackageVersionsCommand.js.map +0 -1
- package/dist-cjs/commands/ListPackagesCommand.js.map +0 -1
- package/dist-cjs/commands/ListRepositoriesCommand.js.map +0 -1
- package/dist-cjs/commands/ListRepositoriesInDomainCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/PutDomainPermissionsPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/PutRepositoryPermissionsPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdatePackageVersionsStatusCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateRepositoryCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListDomainsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListPackageVersionAssetsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListPackageVersionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListPackagesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListRepositoriesInDomainPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListRepositoriesPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/Codeartifact.js.map +0 -1
- package/dist-es/CodeartifactClient.js.map +0 -1
- package/dist-es/commands/AssociateExternalConnectionCommand.js.map +0 -1
- package/dist-es/commands/CopyPackageVersionsCommand.js.map +0 -1
- package/dist-es/commands/CreateDomainCommand.js.map +0 -1
- package/dist-es/commands/CreateRepositoryCommand.js.map +0 -1
- package/dist-es/commands/DeleteDomainCommand.js.map +0 -1
- package/dist-es/commands/DeleteDomainPermissionsPolicyCommand.js.map +0 -1
- package/dist-es/commands/DeletePackageVersionsCommand.js.map +0 -1
- package/dist-es/commands/DeleteRepositoryCommand.js.map +0 -1
- package/dist-es/commands/DeleteRepositoryPermissionsPolicyCommand.js.map +0 -1
- package/dist-es/commands/DescribeDomainCommand.js.map +0 -1
- package/dist-es/commands/DescribePackageVersionCommand.js.map +0 -1
- package/dist-es/commands/DescribeRepositoryCommand.js.map +0 -1
- package/dist-es/commands/DisassociateExternalConnectionCommand.js.map +0 -1
- package/dist-es/commands/DisposePackageVersionsCommand.js.map +0 -1
- package/dist-es/commands/GetAuthorizationTokenCommand.js.map +0 -1
- package/dist-es/commands/GetDomainPermissionsPolicyCommand.js.map +0 -1
- package/dist-es/commands/GetPackageVersionAssetCommand.js.map +0 -1
- package/dist-es/commands/GetPackageVersionReadmeCommand.js.map +0 -1
- package/dist-es/commands/GetRepositoryEndpointCommand.js.map +0 -1
- package/dist-es/commands/GetRepositoryPermissionsPolicyCommand.js.map +0 -1
- package/dist-es/commands/ListDomainsCommand.js.map +0 -1
- package/dist-es/commands/ListPackageVersionAssetsCommand.js.map +0 -1
- package/dist-es/commands/ListPackageVersionDependenciesCommand.js.map +0 -1
- package/dist-es/commands/ListPackageVersionsCommand.js.map +0 -1
- package/dist-es/commands/ListPackagesCommand.js.map +0 -1
- package/dist-es/commands/ListRepositoriesCommand.js.map +0 -1
- package/dist-es/commands/ListRepositoriesInDomainCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/PutDomainPermissionsPolicyCommand.js.map +0 -1
- package/dist-es/commands/PutRepositoryPermissionsPolicyCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdatePackageVersionsStatusCommand.js.map +0 -1
- package/dist-es/commands/UpdateRepositoryCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListDomainsPaginator.js.map +0 -1
- package/dist-es/pagination/ListPackageVersionAssetsPaginator.js.map +0 -1
- package/dist-es/pagination/ListPackageVersionsPaginator.js.map +0 -1
- package/dist-es/pagination/ListPackagesPaginator.js.map +0 -1
- package/dist-es/pagination/ListRepositoriesInDomainPaginator.js.map +0 -1
- package/dist-es/pagination/ListRepositoriesPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/Codeartifact.ts +0 -1669
- package/src/CodeartifactClient.ts +0 -657
- package/src/commands/AssociateExternalConnectionCommand.ts +0 -102
- package/src/commands/CopyPackageVersionsCommand.ts +0 -102
- package/src/commands/CreateDomainCommand.ts +0 -105
- package/src/commands/CreateRepositoryCommand.ts +0 -97
- package/src/commands/DeleteDomainCommand.ts +0 -98
- package/src/commands/DeleteDomainPermissionsPolicyCommand.ts +0 -102
- package/src/commands/DeletePackageVersionsCommand.ts +0 -99
- package/src/commands/DeleteRepositoryCommand.ts +0 -97
- package/src/commands/DeleteRepositoryPermissionsPolicyCommand.ts +0 -112
- package/src/commands/DescribeDomainCommand.ts +0 -99
- package/src/commands/DescribePackageVersionCommand.ts +0 -99
- package/src/commands/DescribeRepositoryCommand.ts +0 -98
- package/src/commands/DisassociateExternalConnectionCommand.ts +0 -105
- package/src/commands/DisposePackageVersionsCommand.ts +0 -108
- package/src/commands/GetAuthorizationTokenCommand.ts +0 -115
- package/src/commands/GetDomainPermissionsPolicyCommand.ts +0 -107
- package/src/commands/GetPackageVersionAssetCommand.ts +0 -99
- package/src/commands/GetPackageVersionReadmeCommand.ts +0 -102
- package/src/commands/GetRepositoryEndpointCommand.ts +0 -115
- package/src/commands/GetRepositoryPermissionsPolicyCommand.ts +0 -105
- package/src/commands/ListDomainsCommand.ts +0 -97
- package/src/commands/ListPackageVersionAssetsCommand.ts +0 -99
- package/src/commands/ListPackageVersionDependenciesCommand.ts +0 -109
- package/src/commands/ListPackageVersionsCommand.ts +0 -99
- package/src/commands/ListPackagesCommand.ts +0 -99
- package/src/commands/ListRepositoriesCommand.ts +0 -100
- package/src/commands/ListRepositoriesInDomainCommand.ts +0 -100
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/PutDomainPermissionsPolicyCommand.ts +0 -105
- package/src/commands/PutRepositoryPermissionsPolicyCommand.ts +0 -110
- package/src/commands/TagResourceCommand.ts +0 -95
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdatePackageVersionsStatusCommand.ts +0 -100
- package/src/commands/UpdateRepositoryCommand.ts +0 -97
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -44
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -4453
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListDomainsPaginator.ts +0 -55
- package/src/pagination/ListPackageVersionAssetsPaginator.ts +0 -59
- package/src/pagination/ListPackageVersionsPaginator.ts +0 -59
- package/src/pagination/ListPackagesPaginator.ts +0 -59
- package/src/pagination/ListRepositoriesInDomainPaginator.ts +0 -59
- package/src/pagination/ListRepositoriesPaginator.ts +0 -59
- package/src/protocols/Aws_restJson1.ts +0 -5056
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,20 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
2
|
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
3
3
|
import { Readable } from "stream";
|
|
4
|
-
|
|
5
|
-
* <p>
|
|
6
|
-
* The operation did not succeed because of an unauthorized access attempt.
|
|
7
|
-
* </p>
|
|
8
|
-
*/
|
|
4
|
+
|
|
9
5
|
export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
|
|
10
6
|
name: "AccessDeniedException";
|
|
11
7
|
$fault: "client";
|
|
12
8
|
message: string | undefined;
|
|
13
9
|
}
|
|
14
10
|
export declare namespace AccessDeniedException {
|
|
15
|
-
|
|
16
|
-
* @internal
|
|
17
|
-
*/
|
|
11
|
+
|
|
18
12
|
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
19
13
|
}
|
|
20
14
|
export declare enum HashAlgorithm {
|
|
@@ -23,100 +17,33 @@ export declare enum HashAlgorithm {
|
|
|
23
17
|
SHA256 = "SHA-256",
|
|
24
18
|
SHA512 = "SHA-512"
|
|
25
19
|
}
|
|
26
|
-
|
|
27
|
-
* <p>
|
|
28
|
-
* Contains details about a package version asset.
|
|
29
|
-
* </p>
|
|
30
|
-
*/
|
|
20
|
+
|
|
31
21
|
export interface AssetSummary {
|
|
32
|
-
|
|
33
|
-
* <p>
|
|
34
|
-
* The name of the asset.
|
|
35
|
-
* </p>
|
|
36
|
-
*/
|
|
22
|
+
|
|
37
23
|
name: string | undefined;
|
|
38
|
-
|
|
39
|
-
* <p>
|
|
40
|
-
* The size of the asset.
|
|
41
|
-
* </p>
|
|
42
|
-
*/
|
|
24
|
+
|
|
43
25
|
size?: number;
|
|
44
|
-
|
|
45
|
-
* <p>
|
|
46
|
-
* The hashes of the asset.
|
|
47
|
-
* </p>
|
|
48
|
-
*/
|
|
26
|
+
|
|
49
27
|
hashes?: {
|
|
50
28
|
[key: string]: string;
|
|
51
29
|
};
|
|
52
30
|
}
|
|
53
31
|
export declare namespace AssetSummary {
|
|
54
|
-
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
32
|
+
|
|
57
33
|
const filterSensitiveLog: (obj: AssetSummary) => any;
|
|
58
34
|
}
|
|
59
35
|
export interface AssociateExternalConnectionRequest {
|
|
60
|
-
|
|
61
|
-
* <p>The name of the domain that contains the repository.</p>
|
|
62
|
-
*/
|
|
36
|
+
|
|
63
37
|
domain: string | undefined;
|
|
64
|
-
|
|
65
|
-
* <p>
|
|
66
|
-
* The 12-digit account number of the AWS account that owns the domain. It does not include
|
|
67
|
-
* dashes or spaces.
|
|
68
|
-
* </p>
|
|
69
|
-
*/
|
|
38
|
+
|
|
70
39
|
domainOwner?: string;
|
|
71
|
-
|
|
72
|
-
* <p>
|
|
73
|
-
* The name of the repository to which the external connection is added.
|
|
74
|
-
* </p>
|
|
75
|
-
*/
|
|
40
|
+
|
|
76
41
|
repository: string | undefined;
|
|
77
|
-
|
|
78
|
-
* <p>
|
|
79
|
-
* The name of the external connection to add to the repository. The following values are supported:
|
|
80
|
-
* </p>
|
|
81
|
-
* <ul>
|
|
82
|
-
* <li>
|
|
83
|
-
* <p>
|
|
84
|
-
* <code>public:npmjs</code> - for the npm public repository.
|
|
85
|
-
* </p>
|
|
86
|
-
* </li>
|
|
87
|
-
* <li>
|
|
88
|
-
* <p>
|
|
89
|
-
* <code>public:pypi</code> - for the Python Package Index.
|
|
90
|
-
* </p>
|
|
91
|
-
* </li>
|
|
92
|
-
* <li>
|
|
93
|
-
* <p>
|
|
94
|
-
* <code>public:maven-central</code> - for Maven Central.
|
|
95
|
-
* </p>
|
|
96
|
-
* </li>
|
|
97
|
-
* <li>
|
|
98
|
-
* <p>
|
|
99
|
-
* <code>public:maven-googleandroid</code> - for the Google Android repository.
|
|
100
|
-
* </p>
|
|
101
|
-
* </li>
|
|
102
|
-
* <li>
|
|
103
|
-
* <p>
|
|
104
|
-
* <code>public:maven-gradleplugins</code> - for the Gradle plugins repository.
|
|
105
|
-
* </p>
|
|
106
|
-
* </li>
|
|
107
|
-
* <li>
|
|
108
|
-
* <p>
|
|
109
|
-
* <code>public:maven-commonsware</code> - for the CommonsWare Android repository.
|
|
110
|
-
* </p>
|
|
111
|
-
* </li>
|
|
112
|
-
* </ul>
|
|
113
|
-
*/
|
|
42
|
+
|
|
114
43
|
externalConnection: string | undefined;
|
|
115
44
|
}
|
|
116
45
|
export declare namespace AssociateExternalConnectionRequest {
|
|
117
|
-
|
|
118
|
-
* @internal
|
|
119
|
-
*/
|
|
46
|
+
|
|
120
47
|
const filterSensitiveLog: (obj: AssociateExternalConnectionRequest) => any;
|
|
121
48
|
}
|
|
122
49
|
export declare enum PackageFormat {
|
|
@@ -128,142 +55,57 @@ export declare enum PackageFormat {
|
|
|
128
55
|
export declare enum ExternalConnectionStatus {
|
|
129
56
|
AVAILABLE = "Available"
|
|
130
57
|
}
|
|
131
|
-
|
|
132
|
-
* <p>
|
|
133
|
-
* Contains information about the external connection of a repository.
|
|
134
|
-
* </p>
|
|
135
|
-
*/
|
|
58
|
+
|
|
136
59
|
export interface RepositoryExternalConnectionInfo {
|
|
137
|
-
|
|
138
|
-
* <p> The name of the external connection associated with a repository. </p>
|
|
139
|
-
*/
|
|
60
|
+
|
|
140
61
|
externalConnectionName?: string;
|
|
141
|
-
|
|
142
|
-
* <p>
|
|
143
|
-
* The package format associated with a repository's external connection. The valid package formats are:
|
|
144
|
-
* </p>
|
|
145
|
-
* <ul>
|
|
146
|
-
* <li>
|
|
147
|
-
* <p>
|
|
148
|
-
* <code>npm</code>: A Node Package Manager (npm) package.
|
|
149
|
-
* </p>
|
|
150
|
-
* </li>
|
|
151
|
-
* <li>
|
|
152
|
-
* <p>
|
|
153
|
-
* <code>pypi</code>: A Python Package Index (PyPI) package.
|
|
154
|
-
* </p>
|
|
155
|
-
* </li>
|
|
156
|
-
* <li>
|
|
157
|
-
* <p>
|
|
158
|
-
* <code>maven</code>: A Maven package that contains compiled code in a distributable format, such as a JAR file.
|
|
159
|
-
* </p>
|
|
160
|
-
* </li>
|
|
161
|
-
* </ul>
|
|
162
|
-
*/
|
|
62
|
+
|
|
163
63
|
packageFormat?: PackageFormat | string;
|
|
164
|
-
|
|
165
|
-
* <p>
|
|
166
|
-
* The status of the external connection of a repository. There is one valid value, <code>Available</code>.
|
|
167
|
-
* </p>
|
|
168
|
-
*/
|
|
64
|
+
|
|
169
65
|
status?: ExternalConnectionStatus | string;
|
|
170
66
|
}
|
|
171
67
|
export declare namespace RepositoryExternalConnectionInfo {
|
|
172
|
-
|
|
173
|
-
* @internal
|
|
174
|
-
*/
|
|
68
|
+
|
|
175
69
|
const filterSensitiveLog: (obj: RepositoryExternalConnectionInfo) => any;
|
|
176
70
|
}
|
|
177
|
-
|
|
178
|
-
* <p>
|
|
179
|
-
* Information about an upstream repository.
|
|
180
|
-
* </p>
|
|
181
|
-
*/
|
|
71
|
+
|
|
182
72
|
export interface UpstreamRepositoryInfo {
|
|
183
|
-
|
|
184
|
-
* <p> The name of an upstream repository. </p>
|
|
185
|
-
*/
|
|
73
|
+
|
|
186
74
|
repositoryName?: string;
|
|
187
75
|
}
|
|
188
76
|
export declare namespace UpstreamRepositoryInfo {
|
|
189
|
-
|
|
190
|
-
* @internal
|
|
191
|
-
*/
|
|
77
|
+
|
|
192
78
|
const filterSensitiveLog: (obj: UpstreamRepositoryInfo) => any;
|
|
193
79
|
}
|
|
194
|
-
|
|
195
|
-
* <p> The details of a repository stored in AWS CodeArtifact. A CodeArtifact repository contains a set of
|
|
196
|
-
* package versions, each of which maps to a set of assets. Repositories are polyglot—a single
|
|
197
|
-
* repository can contain packages of any supported type. Each repository exposes endpoints for
|
|
198
|
-
* fetching and publishing packages using tools like the <code>npm</code> CLI, the Maven CLI
|
|
199
|
-
* (<code>mvn</code>), and <code>pip</code>. You can create up to 100 repositories per AWS
|
|
200
|
-
* account. </p>
|
|
201
|
-
*/
|
|
80
|
+
|
|
202
81
|
export interface RepositoryDescription {
|
|
203
|
-
|
|
204
|
-
* <p>
|
|
205
|
-
* The name of the repository.
|
|
206
|
-
* </p>
|
|
207
|
-
*/
|
|
82
|
+
|
|
208
83
|
name?: string;
|
|
209
|
-
|
|
210
|
-
* <p> The 12-digit account number of the AWS account that manages the repository. </p>
|
|
211
|
-
*/
|
|
84
|
+
|
|
212
85
|
administratorAccount?: string;
|
|
213
|
-
|
|
214
|
-
* <p>
|
|
215
|
-
* The name of the domain that contains the repository.
|
|
216
|
-
* </p>
|
|
217
|
-
*/
|
|
86
|
+
|
|
218
87
|
domainName?: string;
|
|
219
|
-
|
|
220
|
-
* <p>
|
|
221
|
-
* The 12-digit account number of the AWS account that owns the domain that contains the repository. It does not include
|
|
222
|
-
* dashes or spaces.
|
|
223
|
-
* </p>
|
|
224
|
-
*/
|
|
88
|
+
|
|
225
89
|
domainOwner?: string;
|
|
226
|
-
|
|
227
|
-
* <p> The Amazon Resource Name (ARN) of the repository. </p>
|
|
228
|
-
*/
|
|
90
|
+
|
|
229
91
|
arn?: string;
|
|
230
|
-
|
|
231
|
-
* <p>
|
|
232
|
-
* A text description of the repository.
|
|
233
|
-
* </p>
|
|
234
|
-
*/
|
|
92
|
+
|
|
235
93
|
description?: string;
|
|
236
|
-
|
|
237
|
-
* <p> A list of upstream repositories to associate with the repository. The order of the upstream repositories
|
|
238
|
-
* in the list determines their priority order when AWS CodeArtifact looks for a requested package version. For more
|
|
239
|
-
* information, see <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html">Working with upstream repositories</a>. </p>
|
|
240
|
-
*/
|
|
94
|
+
|
|
241
95
|
upstreams?: UpstreamRepositoryInfo[];
|
|
242
|
-
|
|
243
|
-
* <p>
|
|
244
|
-
* An array of external connections associated with the repository.
|
|
245
|
-
* </p>
|
|
246
|
-
*/
|
|
96
|
+
|
|
247
97
|
externalConnections?: RepositoryExternalConnectionInfo[];
|
|
248
98
|
}
|
|
249
99
|
export declare namespace RepositoryDescription {
|
|
250
|
-
|
|
251
|
-
* @internal
|
|
252
|
-
*/
|
|
100
|
+
|
|
253
101
|
const filterSensitiveLog: (obj: RepositoryDescription) => any;
|
|
254
102
|
}
|
|
255
103
|
export interface AssociateExternalConnectionResult {
|
|
256
|
-
|
|
257
|
-
* <p>
|
|
258
|
-
* Information about the connected repository after processing the request.
|
|
259
|
-
* </p>
|
|
260
|
-
*/
|
|
104
|
+
|
|
261
105
|
repository?: RepositoryDescription;
|
|
262
106
|
}
|
|
263
107
|
export declare namespace AssociateExternalConnectionResult {
|
|
264
|
-
|
|
265
|
-
* @internal
|
|
266
|
-
*/
|
|
108
|
+
|
|
267
109
|
const filterSensitiveLog: (obj: AssociateExternalConnectionResult) => any;
|
|
268
110
|
}
|
|
269
111
|
export declare enum ResourceType {
|
|
@@ -273,124 +115,68 @@ export declare enum ResourceType {
|
|
|
273
115
|
PACKAGE_VERSION = "package-version",
|
|
274
116
|
REPOSITORY = "repository"
|
|
275
117
|
}
|
|
276
|
-
|
|
277
|
-
* <p>
|
|
278
|
-
* The operation did not succeed because prerequisites are not met.
|
|
279
|
-
* </p>
|
|
280
|
-
*/
|
|
118
|
+
|
|
281
119
|
export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
282
120
|
name: "ConflictException";
|
|
283
121
|
$fault: "client";
|
|
284
122
|
message: string | undefined;
|
|
285
|
-
|
|
286
|
-
* <p>
|
|
287
|
-
* The ID of the resource.
|
|
288
|
-
* </p>
|
|
289
|
-
*/
|
|
123
|
+
|
|
290
124
|
resourceId?: string;
|
|
291
|
-
|
|
292
|
-
* <p>
|
|
293
|
-
* The type of AWS resource.
|
|
294
|
-
* </p>
|
|
295
|
-
*/
|
|
125
|
+
|
|
296
126
|
resourceType?: ResourceType | string;
|
|
297
127
|
}
|
|
298
128
|
export declare namespace ConflictException {
|
|
299
|
-
|
|
300
|
-
* @internal
|
|
301
|
-
*/
|
|
129
|
+
|
|
302
130
|
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
303
131
|
}
|
|
304
|
-
|
|
305
|
-
* <p> The operation did not succeed because of an error that occurred inside AWS CodeArtifact. </p>
|
|
306
|
-
*/
|
|
132
|
+
|
|
307
133
|
export interface InternalServerException extends __SmithyException, $MetadataBearer {
|
|
308
134
|
name: "InternalServerException";
|
|
309
135
|
$fault: "server";
|
|
310
136
|
message: string | undefined;
|
|
311
137
|
}
|
|
312
138
|
export declare namespace InternalServerException {
|
|
313
|
-
|
|
314
|
-
* @internal
|
|
315
|
-
*/
|
|
139
|
+
|
|
316
140
|
const filterSensitiveLog: (obj: InternalServerException) => any;
|
|
317
141
|
}
|
|
318
|
-
|
|
319
|
-
* <p>
|
|
320
|
-
* The operation did not succeed because the resource requested is not found in the service.
|
|
321
|
-
* </p>
|
|
322
|
-
*/
|
|
142
|
+
|
|
323
143
|
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
324
144
|
name: "ResourceNotFoundException";
|
|
325
145
|
$fault: "client";
|
|
326
146
|
message: string | undefined;
|
|
327
|
-
|
|
328
|
-
* <p>
|
|
329
|
-
* The ID of the resource.
|
|
330
|
-
* </p>
|
|
331
|
-
*/
|
|
147
|
+
|
|
332
148
|
resourceId?: string;
|
|
333
|
-
|
|
334
|
-
* <p>
|
|
335
|
-
* The type of AWS resource.
|
|
336
|
-
* </p>
|
|
337
|
-
*/
|
|
149
|
+
|
|
338
150
|
resourceType?: ResourceType | string;
|
|
339
151
|
}
|
|
340
152
|
export declare namespace ResourceNotFoundException {
|
|
341
|
-
|
|
342
|
-
* @internal
|
|
343
|
-
*/
|
|
153
|
+
|
|
344
154
|
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
345
155
|
}
|
|
346
|
-
|
|
347
|
-
* <p>
|
|
348
|
-
* The operation did not succeed because it would have exceeded a service limit for your account.
|
|
349
|
-
* </p>
|
|
350
|
-
*/
|
|
156
|
+
|
|
351
157
|
export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
|
|
352
158
|
name: "ServiceQuotaExceededException";
|
|
353
159
|
$fault: "client";
|
|
354
160
|
message: string | undefined;
|
|
355
|
-
|
|
356
|
-
* <p>
|
|
357
|
-
* The ID of the resource.
|
|
358
|
-
* </p>
|
|
359
|
-
*/
|
|
161
|
+
|
|
360
162
|
resourceId?: string;
|
|
361
|
-
|
|
362
|
-
* <p>
|
|
363
|
-
* The type of AWS resource.
|
|
364
|
-
* </p>
|
|
365
|
-
*/
|
|
163
|
+
|
|
366
164
|
resourceType?: ResourceType | string;
|
|
367
165
|
}
|
|
368
166
|
export declare namespace ServiceQuotaExceededException {
|
|
369
|
-
|
|
370
|
-
* @internal
|
|
371
|
-
*/
|
|
167
|
+
|
|
372
168
|
const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
|
|
373
169
|
}
|
|
374
|
-
|
|
375
|
-
* <p>
|
|
376
|
-
* The operation did not succeed because too many requests are sent to the service.
|
|
377
|
-
* </p>
|
|
378
|
-
*/
|
|
170
|
+
|
|
379
171
|
export interface ThrottlingException extends __SmithyException, $MetadataBearer {
|
|
380
172
|
name: "ThrottlingException";
|
|
381
173
|
$fault: "client";
|
|
382
174
|
message: string | undefined;
|
|
383
|
-
|
|
384
|
-
* <p>
|
|
385
|
-
* The time period, in seconds, to wait before retrying the request.
|
|
386
|
-
* </p>
|
|
387
|
-
*/
|
|
175
|
+
|
|
388
176
|
retryAfterSeconds?: number;
|
|
389
177
|
}
|
|
390
178
|
export declare namespace ThrottlingException {
|
|
391
|
-
|
|
392
|
-
* @internal
|
|
393
|
-
*/
|
|
179
|
+
|
|
394
180
|
const filterSensitiveLog: (obj: ThrottlingException) => any;
|
|
395
181
|
}
|
|
396
182
|
export declare enum ValidationExceptionReason {
|
|
@@ -400,154 +186,46 @@ export declare enum ValidationExceptionReason {
|
|
|
400
186
|
OTHER = "OTHER",
|
|
401
187
|
UNKNOWN_OPERATION = "UNKNOWN_OPERATION"
|
|
402
188
|
}
|
|
403
|
-
|
|
404
|
-
* <p>
|
|
405
|
-
* The operation did not succeed because a parameter in the request was sent with an invalid value.
|
|
406
|
-
* </p>
|
|
407
|
-
*/
|
|
189
|
+
|
|
408
190
|
export interface ValidationException extends __SmithyException, $MetadataBearer {
|
|
409
191
|
name: "ValidationException";
|
|
410
192
|
$fault: "client";
|
|
411
193
|
message: string | undefined;
|
|
412
|
-
|
|
413
|
-
* <p>
|
|
414
|
-
*
|
|
415
|
-
* </p>
|
|
416
|
-
*/
|
|
194
|
+
|
|
417
195
|
reason?: ValidationExceptionReason | string;
|
|
418
196
|
}
|
|
419
197
|
export declare namespace ValidationException {
|
|
420
|
-
|
|
421
|
-
* @internal
|
|
422
|
-
*/
|
|
198
|
+
|
|
423
199
|
const filterSensitiveLog: (obj: ValidationException) => any;
|
|
424
200
|
}
|
|
425
201
|
export interface CopyPackageVersionsRequest {
|
|
426
|
-
|
|
427
|
-
* <p>
|
|
428
|
-
* The name of the domain that contains the source and destination repositories.
|
|
429
|
-
* </p>
|
|
430
|
-
*/
|
|
202
|
+
|
|
431
203
|
domain: string | undefined;
|
|
432
|
-
|
|
433
|
-
* <p>
|
|
434
|
-
* The 12-digit account number of the AWS account that owns the domain. It does not include
|
|
435
|
-
* dashes or spaces.
|
|
436
|
-
* </p>
|
|
437
|
-
*/
|
|
204
|
+
|
|
438
205
|
domainOwner?: string;
|
|
439
|
-
|
|
440
|
-
* <p>
|
|
441
|
-
* The name of the repository that contains the package versions to copy.
|
|
442
|
-
* </p>
|
|
443
|
-
*/
|
|
206
|
+
|
|
444
207
|
sourceRepository: string | undefined;
|
|
445
|
-
|
|
446
|
-
* <p>
|
|
447
|
-
* The name of the repository into which package versions are copied.
|
|
448
|
-
* </p>
|
|
449
|
-
*/
|
|
208
|
+
|
|
450
209
|
destinationRepository: string | undefined;
|
|
451
|
-
|
|
452
|
-
* <p>
|
|
453
|
-
* The format of the package that is copied. The valid package types are:
|
|
454
|
-
* </p>
|
|
455
|
-
* <ul>
|
|
456
|
-
* <li>
|
|
457
|
-
* <p>
|
|
458
|
-
* <code>npm</code>: A Node Package Manager (npm) package.
|
|
459
|
-
* </p>
|
|
460
|
-
* </li>
|
|
461
|
-
* <li>
|
|
462
|
-
* <p>
|
|
463
|
-
* <code>pypi</code>: A Python Package Index (PyPI) package.
|
|
464
|
-
* </p>
|
|
465
|
-
* </li>
|
|
466
|
-
* <li>
|
|
467
|
-
* <p>
|
|
468
|
-
* <code>maven</code>: A Maven package that contains compiled code in a distributable format, such as a JAR file.
|
|
469
|
-
* </p>
|
|
470
|
-
* </li>
|
|
471
|
-
* </ul>
|
|
472
|
-
*/
|
|
210
|
+
|
|
473
211
|
format: PackageFormat | string | undefined;
|
|
474
|
-
|
|
475
|
-
* <p>
|
|
476
|
-
* The namespace of the package. The package component that specifies its
|
|
477
|
-
* namespace depends on its type. For example:
|
|
478
|
-
* </p>
|
|
479
|
-
* <ul>
|
|
480
|
-
* <li>
|
|
481
|
-
* <p>
|
|
482
|
-
* The namespace of a Maven package is its <code>groupId</code>.
|
|
483
|
-
* </p>
|
|
484
|
-
* </li>
|
|
485
|
-
* <li>
|
|
486
|
-
* <p>
|
|
487
|
-
* The namespace of an npm package is its <code>scope</code>.
|
|
488
|
-
* </p>
|
|
489
|
-
* </li>
|
|
490
|
-
* <li>
|
|
491
|
-
* <p>
|
|
492
|
-
* A Python package does not contain a corresponding component, so
|
|
493
|
-
* Python packages do not have a namespace.
|
|
494
|
-
* </p>
|
|
495
|
-
* </li>
|
|
496
|
-
* </ul>
|
|
497
|
-
*/
|
|
212
|
+
|
|
498
213
|
namespace?: string;
|
|
499
|
-
|
|
500
|
-
* <p>
|
|
501
|
-
* The name of the package that is copied.
|
|
502
|
-
* </p>
|
|
503
|
-
*/
|
|
214
|
+
|
|
504
215
|
package: string | undefined;
|
|
505
|
-
|
|
506
|
-
* <p>
|
|
507
|
-
* The versions of the package to copy.
|
|
508
|
-
* </p>
|
|
509
|
-
* <note>
|
|
510
|
-
* <p>
|
|
511
|
-
* You must specify <code>versions</code> or <code>versionRevisions</code>. You cannot specify both.
|
|
512
|
-
* </p>
|
|
513
|
-
* </note>
|
|
514
|
-
*/
|
|
216
|
+
|
|
515
217
|
versions?: string[];
|
|
516
|
-
|
|
517
|
-
* <p>
|
|
518
|
-
* A list of key-value pairs. The keys are package versions and the values are package version revisions. A <code>CopyPackageVersion</code> operation
|
|
519
|
-
* succeeds if the specified versions in the source repository match the specified package version revision.
|
|
520
|
-
* </p>
|
|
521
|
-
* <note>
|
|
522
|
-
* <p>
|
|
523
|
-
* You must specify <code>versions</code> or <code>versionRevisions</code>. You cannot specify both.
|
|
524
|
-
* </p>
|
|
525
|
-
* </note>
|
|
526
|
-
*/
|
|
218
|
+
|
|
527
219
|
versionRevisions?: {
|
|
528
220
|
[key: string]: string;
|
|
529
221
|
};
|
|
530
|
-
|
|
531
|
-
* <p>
|
|
532
|
-
* Set to true to overwrite a package version that already exists in the destination repository.
|
|
533
|
-
* If set to false and the package version already exists in the destination repository,
|
|
534
|
-
* the package version is returned in the <code>failedVersions</code> field of the response with
|
|
535
|
-
* an <code>ALREADY_EXISTS</code> error code.
|
|
536
|
-
* </p>
|
|
537
|
-
*/
|
|
222
|
+
|
|
538
223
|
allowOverwrite?: boolean;
|
|
539
|
-
|
|
540
|
-
* <p> Set to true to copy packages from repositories that are upstream from the source
|
|
541
|
-
* repository to the destination repository. The default setting is false. For more information,
|
|
542
|
-
* see <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html">Working with
|
|
543
|
-
* upstream repositories</a>. </p>
|
|
544
|
-
*/
|
|
224
|
+
|
|
545
225
|
includeFromUpstream?: boolean;
|
|
546
226
|
}
|
|
547
227
|
export declare namespace CopyPackageVersionsRequest {
|
|
548
|
-
|
|
549
|
-
* @internal
|
|
550
|
-
*/
|
|
228
|
+
|
|
551
229
|
const filterSensitiveLog: (obj: CopyPackageVersionsRequest) => any;
|
|
552
230
|
}
|
|
553
231
|
export declare enum PackageVersionErrorCode {
|
|
@@ -558,59 +236,15 @@ export declare enum PackageVersionErrorCode {
|
|
|
558
236
|
NOT_FOUND = "NOT_FOUND",
|
|
559
237
|
SKIPPED = "SKIPPED"
|
|
560
238
|
}
|
|
561
|
-
|
|
562
|
-
* <p>
|
|
563
|
-
* An error associated with package.
|
|
564
|
-
* </p>
|
|
565
|
-
*/
|
|
239
|
+
|
|
566
240
|
export interface PackageVersionError {
|
|
567
|
-
|
|
568
|
-
* <p> The error code associated with the error. Valid error codes are: </p>
|
|
569
|
-
* <ul>
|
|
570
|
-
* <li>
|
|
571
|
-
* <p>
|
|
572
|
-
* <code>ALREADY_EXISTS</code>
|
|
573
|
-
* </p>
|
|
574
|
-
* </li>
|
|
575
|
-
* <li>
|
|
576
|
-
* <p>
|
|
577
|
-
* <code>MISMATCHED_REVISION</code>
|
|
578
|
-
* </p>
|
|
579
|
-
* </li>
|
|
580
|
-
* <li>
|
|
581
|
-
* <p>
|
|
582
|
-
* <code>MISMATCHED_STATUS</code>
|
|
583
|
-
* </p>
|
|
584
|
-
* </li>
|
|
585
|
-
* <li>
|
|
586
|
-
* <p>
|
|
587
|
-
* <code>NOT_ALLOWED</code>
|
|
588
|
-
* </p>
|
|
589
|
-
* </li>
|
|
590
|
-
* <li>
|
|
591
|
-
* <p>
|
|
592
|
-
* <code>NOT_FOUND</code>
|
|
593
|
-
* </p>
|
|
594
|
-
* </li>
|
|
595
|
-
* <li>
|
|
596
|
-
* <p>
|
|
597
|
-
* <code>SKIPPED</code>
|
|
598
|
-
* </p>
|
|
599
|
-
* </li>
|
|
600
|
-
* </ul>
|
|
601
|
-
*/
|
|
241
|
+
|
|
602
242
|
errorCode?: PackageVersionErrorCode | string;
|
|
603
|
-
|
|
604
|
-
* <p>
|
|
605
|
-
* The error message associated with the error.
|
|
606
|
-
* </p>
|
|
607
|
-
*/
|
|
243
|
+
|
|
608
244
|
errorMessage?: string;
|
|
609
245
|
}
|
|
610
246
|
export declare namespace PackageVersionError {
|
|
611
|
-
|
|
612
|
-
* @internal
|
|
613
|
-
*/
|
|
247
|
+
|
|
614
248
|
const filterSensitiveLog: (obj: PackageVersionError) => any;
|
|
615
249
|
}
|
|
616
250
|
export declare enum PackageVersionStatus {
|
|
@@ -621,3255 +255,1054 @@ export declare enum PackageVersionStatus {
|
|
|
621
255
|
UNFINISHED = "Unfinished",
|
|
622
256
|
UNLISTED = "Unlisted"
|
|
623
257
|
}
|
|
624
|
-
|
|
625
|
-
* <p>
|
|
626
|
-
* Contains the revision and status of a package version.
|
|
627
|
-
* </p>
|
|
628
|
-
*/
|
|
258
|
+
|
|
629
259
|
export interface SuccessfulPackageVersionInfo {
|
|
630
|
-
|
|
631
|
-
* <p>
|
|
632
|
-
* The revision of a package version.
|
|
633
|
-
* </p>
|
|
634
|
-
*/
|
|
260
|
+
|
|
635
261
|
revision?: string;
|
|
636
|
-
|
|
637
|
-
* <p>
|
|
638
|
-
* The status of a package version. Valid statuses are:
|
|
639
|
-
* </p>
|
|
640
|
-
* <ul>
|
|
641
|
-
* <li>
|
|
642
|
-
* <p>
|
|
643
|
-
* <code>Published</code>
|
|
644
|
-
* </p>
|
|
645
|
-
* </li>
|
|
646
|
-
* <li>
|
|
647
|
-
* <p>
|
|
648
|
-
* <code>Unfinished</code>
|
|
649
|
-
* </p>
|
|
650
|
-
* </li>
|
|
651
|
-
* <li>
|
|
652
|
-
* <p>
|
|
653
|
-
* <code>Unlisted</code>
|
|
654
|
-
* </p>
|
|
655
|
-
* </li>
|
|
656
|
-
* <li>
|
|
657
|
-
* <p>
|
|
658
|
-
* <code>Archived</code>
|
|
659
|
-
* </p>
|
|
660
|
-
* </li>
|
|
661
|
-
* <li>
|
|
662
|
-
* <p>
|
|
663
|
-
* <code>Disposed</code>
|
|
664
|
-
* </p>
|
|
665
|
-
* </li>
|
|
666
|
-
* </ul>
|
|
667
|
-
*/
|
|
262
|
+
|
|
668
263
|
status?: PackageVersionStatus | string;
|
|
669
264
|
}
|
|
670
265
|
export declare namespace SuccessfulPackageVersionInfo {
|
|
671
|
-
|
|
672
|
-
* @internal
|
|
673
|
-
*/
|
|
266
|
+
|
|
674
267
|
const filterSensitiveLog: (obj: SuccessfulPackageVersionInfo) => any;
|
|
675
268
|
}
|
|
676
269
|
export interface CopyPackageVersionsResult {
|
|
677
|
-
|
|
678
|
-
* <p>
|
|
679
|
-
* A list of the package versions that were successfully copied to your repository.
|
|
680
|
-
* </p>
|
|
681
|
-
*/
|
|
270
|
+
|
|
682
271
|
successfulVersions?: {
|
|
683
272
|
[key: string]: SuccessfulPackageVersionInfo;
|
|
684
273
|
};
|
|
685
|
-
|
|
686
|
-
* <p>
|
|
687
|
-
* A map of package versions that failed to copy and their error codes. The possible error codes are in
|
|
688
|
-
* the <code>PackageVersionError</code> data type. They are:
|
|
689
|
-
* </p>
|
|
690
|
-
* <ul>
|
|
691
|
-
* <li>
|
|
692
|
-
* <p>
|
|
693
|
-
* <code>ALREADY_EXISTS</code>
|
|
694
|
-
* </p>
|
|
695
|
-
* </li>
|
|
696
|
-
* <li>
|
|
697
|
-
* <p>
|
|
698
|
-
* <code>MISMATCHED_REVISION</code>
|
|
699
|
-
* </p>
|
|
700
|
-
* </li>
|
|
701
|
-
* <li>
|
|
702
|
-
* <p>
|
|
703
|
-
* <code>MISMATCHED_STATUS</code>
|
|
704
|
-
* </p>
|
|
705
|
-
* </li>
|
|
706
|
-
* <li>
|
|
707
|
-
* <p>
|
|
708
|
-
* <code>NOT_ALLOWED</code>
|
|
709
|
-
* </p>
|
|
710
|
-
* </li>
|
|
711
|
-
* <li>
|
|
712
|
-
* <p>
|
|
713
|
-
* <code>NOT_FOUND</code>
|
|
714
|
-
* </p>
|
|
715
|
-
* </li>
|
|
716
|
-
* <li>
|
|
717
|
-
* <p>
|
|
718
|
-
* <code>SKIPPED</code>
|
|
719
|
-
* </p>
|
|
720
|
-
* </li>
|
|
721
|
-
* </ul>
|
|
722
|
-
*/
|
|
274
|
+
|
|
723
275
|
failedVersions?: {
|
|
724
276
|
[key: string]: PackageVersionError;
|
|
725
277
|
};
|
|
726
278
|
}
|
|
727
279
|
export declare namespace CopyPackageVersionsResult {
|
|
728
|
-
|
|
729
|
-
* @internal
|
|
730
|
-
*/
|
|
280
|
+
|
|
731
281
|
const filterSensitiveLog: (obj: CopyPackageVersionsResult) => any;
|
|
732
282
|
}
|
|
733
|
-
|
|
734
|
-
* <p>A tag is a key-value pair that can be used to manage, search for, or filter resources in AWS CodeArtifact.</p>
|
|
735
|
-
*/
|
|
283
|
+
|
|
736
284
|
export interface Tag {
|
|
737
|
-
|
|
738
|
-
* <p>The tag key.</p>
|
|
739
|
-
*/
|
|
285
|
+
|
|
740
286
|
key: string | undefined;
|
|
741
|
-
|
|
742
|
-
* <p>The tag value.</p>
|
|
743
|
-
*/
|
|
287
|
+
|
|
744
288
|
value: string | undefined;
|
|
745
289
|
}
|
|
746
290
|
export declare namespace Tag {
|
|
747
|
-
|
|
748
|
-
* @internal
|
|
749
|
-
*/
|
|
291
|
+
|
|
750
292
|
const filterSensitiveLog: (obj: Tag) => any;
|
|
751
293
|
}
|
|
752
294
|
export interface CreateDomainRequest {
|
|
753
|
-
|
|
754
|
-
* <p> The name of the domain to create. All domain names in an AWS Region that are in the
|
|
755
|
-
* same AWS account must be unique. The domain name is used as the prefix in DNS hostnames. Do
|
|
756
|
-
* not use sensitive information in a domain name because it is publicly discoverable. </p>
|
|
757
|
-
*/
|
|
295
|
+
|
|
758
296
|
domain: string | undefined;
|
|
759
|
-
|
|
760
|
-
* <p> The encryption key for the domain. This is used to encrypt content stored in a domain.
|
|
761
|
-
* An encryption key can be a key ID, a key Amazon Resource Name (ARN), a key alias, or a key
|
|
762
|
-
* alias ARN. To specify an <code>encryptionKey</code>, your IAM role must have
|
|
763
|
-
* <code>kms:DescribeKey</code> and <code>kms:CreateGrant</code> permissions on the encryption
|
|
764
|
-
* key that is used. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestSyntax">DescribeKey</a> in the <i>AWS Key Management Service API Reference</i>
|
|
765
|
-
* and <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">AWS KMS API Permissions
|
|
766
|
-
* Reference</a> in the <i>AWS Key Management Service Developer Guide</i>. </p>
|
|
767
|
-
* <important>
|
|
768
|
-
* <p> CodeArtifact supports only symmetric CMKs. Do not associate an asymmetric CMK with your
|
|
769
|
-
* domain. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using symmetric and asymmetric
|
|
770
|
-
* keys</a> in the <i>AWS Key Management Service Developer Guide</i>. </p>
|
|
771
|
-
* </important>
|
|
772
|
-
*/
|
|
297
|
+
|
|
773
298
|
encryptionKey?: string;
|
|
774
|
-
|
|
775
|
-
* <p>One or more tag key-value pairs for the domain.</p>
|
|
776
|
-
*/
|
|
299
|
+
|
|
777
300
|
tags?: Tag[];
|
|
778
301
|
}
|
|
779
302
|
export declare namespace CreateDomainRequest {
|
|
780
|
-
|
|
781
|
-
* @internal
|
|
782
|
-
*/
|
|
303
|
+
|
|
783
304
|
const filterSensitiveLog: (obj: CreateDomainRequest) => any;
|
|
784
305
|
}
|
|
785
306
|
export declare enum DomainStatus {
|
|
786
307
|
ACTIVE = "Active",
|
|
787
308
|
DELETED = "Deleted"
|
|
788
309
|
}
|
|
789
|
-
|
|
790
|
-
* <p>
|
|
791
|
-
* Information about a domain. A domain is a container for repositories. When you create a domain, it is empty until you
|
|
792
|
-
* add one or more repositories.
|
|
793
|
-
* </p>
|
|
794
|
-
*/
|
|
310
|
+
|
|
795
311
|
export interface DomainDescription {
|
|
796
|
-
|
|
797
|
-
* <p>
|
|
798
|
-
* The name of the domain.
|
|
799
|
-
* </p>
|
|
800
|
-
*/
|
|
312
|
+
|
|
801
313
|
name?: string;
|
|
802
|
-
|
|
803
|
-
* <p> The AWS account ID that owns the domain. </p>
|
|
804
|
-
*/
|
|
314
|
+
|
|
805
315
|
owner?: string;
|
|
806
|
-
|
|
807
|
-
* <p> The Amazon Resource Name (ARN) of the domain. </p>
|
|
808
|
-
*/
|
|
316
|
+
|
|
809
317
|
arn?: string;
|
|
810
|
-
|
|
811
|
-
* <p> The current status of a domain. The valid values are </p>
|
|
812
|
-
* <ul>
|
|
813
|
-
* <li>
|
|
814
|
-
* <p>
|
|
815
|
-
* <code>Active</code>
|
|
816
|
-
* </p>
|
|
817
|
-
* </li>
|
|
818
|
-
* <li>
|
|
819
|
-
* <p>
|
|
820
|
-
* <code>Deleted</code>
|
|
821
|
-
* </p>
|
|
822
|
-
* </li>
|
|
823
|
-
* </ul>
|
|
824
|
-
*/
|
|
318
|
+
|
|
825
319
|
status?: DomainStatus | string;
|
|
826
|
-
|
|
827
|
-
* <p>
|
|
828
|
-
* A timestamp that represents the date and time the domain was created.
|
|
829
|
-
* </p>
|
|
830
|
-
*/
|
|
320
|
+
|
|
831
321
|
createdTime?: Date;
|
|
832
|
-
|
|
833
|
-
* <p> The ARN of an AWS Key Management Service (AWS KMS) key associated with a domain. </p>
|
|
834
|
-
*/
|
|
322
|
+
|
|
835
323
|
encryptionKey?: string;
|
|
836
|
-
|
|
837
|
-
* <p>
|
|
838
|
-
* The number of repositories in the domain.
|
|
839
|
-
* </p>
|
|
840
|
-
*/
|
|
324
|
+
|
|
841
325
|
repositoryCount?: number;
|
|
842
|
-
|
|
843
|
-
* <p>
|
|
844
|
-
* The total size of all assets in the domain.
|
|
845
|
-
* </p>
|
|
846
|
-
*/
|
|
326
|
+
|
|
847
327
|
assetSizeBytes?: number;
|
|
848
|
-
|
|
849
|
-
* <p>The Amazon Resource Name (ARN) of the Amazon S3 bucket that is used to store package assets in the domain.</p>
|
|
850
|
-
*/
|
|
328
|
+
|
|
851
329
|
s3BucketArn?: string;
|
|
852
330
|
}
|
|
853
331
|
export declare namespace DomainDescription {
|
|
854
|
-
|
|
855
|
-
* @internal
|
|
856
|
-
*/
|
|
332
|
+
|
|
857
333
|
const filterSensitiveLog: (obj: DomainDescription) => any;
|
|
858
334
|
}
|
|
859
335
|
export interface CreateDomainResult {
|
|
860
|
-
|
|
861
|
-
* <p>
|
|
862
|
-
* Contains information about the created domain after processing the request.
|
|
863
|
-
* </p>
|
|
864
|
-
*/
|
|
336
|
+
|
|
865
337
|
domain?: DomainDescription;
|
|
866
338
|
}
|
|
867
339
|
export declare namespace CreateDomainResult {
|
|
868
|
-
|
|
869
|
-
* @internal
|
|
870
|
-
*/
|
|
340
|
+
|
|
871
341
|
const filterSensitiveLog: (obj: CreateDomainResult) => any;
|
|
872
342
|
}
|
|
873
|
-
|
|
874
|
-
* <p>
|
|
875
|
-
* Information about an upstream repository. A list of <code>UpstreamRepository</code> objects is an input parameter to
|
|
876
|
-
* <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_CreateRepository.html">CreateRepository</a>
|
|
877
|
-
* and <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_UpdateRepository.html">UpdateRepository</a>.
|
|
878
|
-
* </p>
|
|
879
|
-
*/
|
|
343
|
+
|
|
880
344
|
export interface UpstreamRepository {
|
|
881
|
-
|
|
882
|
-
* <p> The name of an upstream repository. </p>
|
|
883
|
-
*/
|
|
345
|
+
|
|
884
346
|
repositoryName: string | undefined;
|
|
885
347
|
}
|
|
886
348
|
export declare namespace UpstreamRepository {
|
|
887
|
-
|
|
888
|
-
* @internal
|
|
889
|
-
*/
|
|
349
|
+
|
|
890
350
|
const filterSensitiveLog: (obj: UpstreamRepository) => any;
|
|
891
351
|
}
|
|
892
352
|
export interface CreateRepositoryRequest {
|
|
893
|
-
|
|
894
|
-
* <p>
|
|
895
|
-
* The name of the domain that contains the created repository.
|
|
896
|
-
* </p>
|
|
897
|
-
*/
|
|
353
|
+
|
|
898
354
|
domain: string | undefined;
|
|
899
|
-
|
|
900
|
-
* <p>
|
|
901
|
-
* The 12-digit account number of the AWS account that owns the domain. It does not include
|
|
902
|
-
* dashes or spaces.
|
|
903
|
-
* </p>
|
|
904
|
-
*/
|
|
355
|
+
|
|
905
356
|
domainOwner?: string;
|
|
906
|
-
|
|
907
|
-
* <p> The name of the repository to create. </p>
|
|
908
|
-
*/
|
|
357
|
+
|
|
909
358
|
repository: string | undefined;
|
|
910
|
-
|
|
911
|
-
* <p>
|
|
912
|
-
* A description of the created repository.
|
|
913
|
-
* </p>
|
|
914
|
-
*/
|
|
359
|
+
|
|
915
360
|
description?: string;
|
|
916
|
-
|
|
917
|
-
* <p> A list of upstream repositories to associate with the repository. The order of the upstream repositories
|
|
918
|
-
* in the list determines their priority order when AWS CodeArtifact looks for a requested package version. For more
|
|
919
|
-
* information, see <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html">Working with upstream repositories</a>. </p>
|
|
920
|
-
*/
|
|
361
|
+
|
|
921
362
|
upstreams?: UpstreamRepository[];
|
|
922
|
-
|
|
923
|
-
* <p>One or more tag key-value pairs for the repository.</p>
|
|
924
|
-
*/
|
|
363
|
+
|
|
925
364
|
tags?: Tag[];
|
|
926
365
|
}
|
|
927
366
|
export declare namespace CreateRepositoryRequest {
|
|
928
|
-
|
|
929
|
-
* @internal
|
|
930
|
-
*/
|
|
367
|
+
|
|
931
368
|
const filterSensitiveLog: (obj: CreateRepositoryRequest) => any;
|
|
932
369
|
}
|
|
933
370
|
export interface CreateRepositoryResult {
|
|
934
|
-
|
|
935
|
-
* <p>
|
|
936
|
-
* Information about the created repository after processing the request.
|
|
937
|
-
* </p>
|
|
938
|
-
*/
|
|
371
|
+
|
|
939
372
|
repository?: RepositoryDescription;
|
|
940
373
|
}
|
|
941
374
|
export declare namespace CreateRepositoryResult {
|
|
942
|
-
|
|
943
|
-
* @internal
|
|
944
|
-
*/
|
|
375
|
+
|
|
945
376
|
const filterSensitiveLog: (obj: CreateRepositoryResult) => any;
|
|
946
377
|
}
|
|
947
378
|
export interface DeleteDomainRequest {
|
|
948
|
-
|
|
949
|
-
* <p>
|
|
950
|
-
* The name of the domain to delete.
|
|
951
|
-
* </p>
|
|
952
|
-
*/
|
|
379
|
+
|
|
953
380
|
domain: string | undefined;
|
|
954
|
-
|
|
955
|
-
* <p>
|
|
956
|
-
* The 12-digit account number of the AWS account that owns the domain. It does not include
|
|
957
|
-
* dashes or spaces.
|
|
958
|
-
* </p>
|
|
959
|
-
*/
|
|
381
|
+
|
|
960
382
|
domainOwner?: string;
|
|
961
383
|
}
|
|
962
384
|
export declare namespace DeleteDomainRequest {
|
|
963
|
-
|
|
964
|
-
* @internal
|
|
965
|
-
*/
|
|
385
|
+
|
|
966
386
|
const filterSensitiveLog: (obj: DeleteDomainRequest) => any;
|
|
967
387
|
}
|
|
968
388
|
export interface DeleteDomainResult {
|
|
969
|
-
|
|
970
|
-
* <p>
|
|
971
|
-
* Contains information about the deleted domain after processing the request.
|
|
972
|
-
* </p>
|
|
973
|
-
*/
|
|
389
|
+
|
|
974
390
|
domain?: DomainDescription;
|
|
975
391
|
}
|
|
976
392
|
export declare namespace DeleteDomainResult {
|
|
977
|
-
|
|
978
|
-
* @internal
|
|
979
|
-
*/
|
|
393
|
+
|
|
980
394
|
const filterSensitiveLog: (obj: DeleteDomainResult) => any;
|
|
981
395
|
}
|
|
982
396
|
export interface DeleteDomainPermissionsPolicyRequest {
|
|
983
|
-
|
|
984
|
-
* <p>
|
|
985
|
-
* The name of the domain associated with the resource policy to be deleted.
|
|
986
|
-
* </p>
|
|
987
|
-
*/
|
|
397
|
+
|
|
988
398
|
domain: string | undefined;
|
|
989
|
-
|
|
990
|
-
* <p>
|
|
991
|
-
* The 12-digit account number of the AWS account that owns the domain. It does not include
|
|
992
|
-
* dashes or spaces.
|
|
993
|
-
* </p>
|
|
994
|
-
*/
|
|
399
|
+
|
|
995
400
|
domainOwner?: string;
|
|
996
|
-
|
|
997
|
-
* <p>
|
|
998
|
-
* The current revision of the resource policy to be deleted. This revision is used for optimistic locking, which
|
|
999
|
-
* prevents others from overwriting your changes to the domain's resource policy.
|
|
1000
|
-
* </p>
|
|
1001
|
-
*/
|
|
401
|
+
|
|
1002
402
|
policyRevision?: string;
|
|
1003
403
|
}
|
|
1004
404
|
export declare namespace DeleteDomainPermissionsPolicyRequest {
|
|
1005
|
-
|
|
1006
|
-
* @internal
|
|
1007
|
-
*/
|
|
405
|
+
|
|
1008
406
|
const filterSensitiveLog: (obj: DeleteDomainPermissionsPolicyRequest) => any;
|
|
1009
407
|
}
|
|
1010
|
-
|
|
1011
|
-
* <p>
|
|
1012
|
-
* An AWS CodeArtifact resource policy that contains a resource ARN, document details, and a revision.
|
|
1013
|
-
* </p>
|
|
1014
|
-
*/
|
|
408
|
+
|
|
1015
409
|
export interface ResourcePolicy {
|
|
1016
|
-
|
|
1017
|
-
* <p>
|
|
1018
|
-
* The ARN of the resource associated with the resource policy
|
|
1019
|
-
* </p>
|
|
1020
|
-
*/
|
|
410
|
+
|
|
1021
411
|
resourceArn?: string;
|
|
1022
|
-
|
|
1023
|
-
* <p>
|
|
1024
|
-
* The current revision of the resource policy.
|
|
1025
|
-
* </p>
|
|
1026
|
-
*/
|
|
412
|
+
|
|
1027
413
|
revision?: string;
|
|
1028
|
-
|
|
1029
|
-
* <p>
|
|
1030
|
-
* The resource policy formatted in JSON.
|
|
1031
|
-
* </p>
|
|
1032
|
-
*/
|
|
414
|
+
|
|
1033
415
|
document?: string;
|
|
1034
416
|
}
|
|
1035
417
|
export declare namespace ResourcePolicy {
|
|
1036
|
-
|
|
1037
|
-
* @internal
|
|
1038
|
-
*/
|
|
418
|
+
|
|
1039
419
|
const filterSensitiveLog: (obj: ResourcePolicy) => any;
|
|
1040
420
|
}
|
|
1041
421
|
export interface DeleteDomainPermissionsPolicyResult {
|
|
1042
|
-
|
|
1043
|
-
* <p>
|
|
1044
|
-
* Information about the deleted resource policy after processing the request.
|
|
1045
|
-
* </p>
|
|
1046
|
-
*/
|
|
422
|
+
|
|
1047
423
|
policy?: ResourcePolicy;
|
|
1048
424
|
}
|
|
1049
425
|
export declare namespace DeleteDomainPermissionsPolicyResult {
|
|
1050
|
-
|
|
1051
|
-
* @internal
|
|
1052
|
-
*/
|
|
426
|
+
|
|
1053
427
|
const filterSensitiveLog: (obj: DeleteDomainPermissionsPolicyResult) => any;
|
|
1054
428
|
}
|
|
1055
429
|
export interface DeletePackageVersionsRequest {
|
|
1056
|
-
|
|
1057
|
-
* <p>
|
|
1058
|
-
* The name of the domain that contains the package to delete.
|
|
1059
|
-
* </p>
|
|
1060
|
-
*/
|
|
430
|
+
|
|
1061
431
|
domain: string | undefined;
|
|
1062
|
-
|
|
1063
|
-
* <p>
|
|
1064
|
-
* The 12-digit account number of the AWS account that owns the domain. It does not include
|
|
1065
|
-
* dashes or spaces.
|
|
1066
|
-
* </p>
|
|
1067
|
-
*/
|
|
432
|
+
|
|
1068
433
|
domainOwner?: string;
|
|
1069
|
-
|
|
1070
|
-
* <p>
|
|
1071
|
-
* The name of the repository that contains the package versions to delete.
|
|
1072
|
-
* </p>
|
|
1073
|
-
*/
|
|
434
|
+
|
|
1074
435
|
repository: string | undefined;
|
|
1075
|
-
|
|
1076
|
-
* <p>
|
|
1077
|
-
* The format of the package versions to delete. The valid values are:
|
|
1078
|
-
* </p>
|
|
1079
|
-
* <ul>
|
|
1080
|
-
* <li>
|
|
1081
|
-
* <p>
|
|
1082
|
-
* <code>npm</code>
|
|
1083
|
-
* </p>
|
|
1084
|
-
* </li>
|
|
1085
|
-
* <li>
|
|
1086
|
-
* <p>
|
|
1087
|
-
* <code>pypi</code>
|
|
1088
|
-
* </p>
|
|
1089
|
-
* </li>
|
|
1090
|
-
* <li>
|
|
1091
|
-
* <p>
|
|
1092
|
-
* <code>maven</code>
|
|
1093
|
-
* </p>
|
|
1094
|
-
* </li>
|
|
1095
|
-
* </ul>
|
|
1096
|
-
*/
|
|
436
|
+
|
|
1097
437
|
format: PackageFormat | string | undefined;
|
|
1098
|
-
|
|
1099
|
-
* <p>
|
|
1100
|
-
* The namespace of the package. The package component that specifies its
|
|
1101
|
-
* namespace depends on its type. For example:
|
|
1102
|
-
* </p>
|
|
1103
|
-
* <ul>
|
|
1104
|
-
* <li>
|
|
1105
|
-
* <p>
|
|
1106
|
-
* The namespace of a Maven package is its <code>groupId</code>.
|
|
1107
|
-
* </p>
|
|
1108
|
-
* </li>
|
|
1109
|
-
* <li>
|
|
1110
|
-
* <p>
|
|
1111
|
-
* The namespace of an npm package is its <code>scope</code>.
|
|
1112
|
-
* </p>
|
|
1113
|
-
* </li>
|
|
1114
|
-
* <li>
|
|
1115
|
-
* <p>
|
|
1116
|
-
* A Python package does not contain a corresponding component, so
|
|
1117
|
-
* Python packages do not have a namespace.
|
|
1118
|
-
* </p>
|
|
1119
|
-
* </li>
|
|
1120
|
-
* </ul>
|
|
1121
|
-
*/
|
|
438
|
+
|
|
1122
439
|
namespace?: string;
|
|
1123
|
-
|
|
1124
|
-
* <p>
|
|
1125
|
-
* The name of the package with the versions to delete.
|
|
1126
|
-
* </p>
|
|
1127
|
-
*/
|
|
440
|
+
|
|
1128
441
|
package: string | undefined;
|
|
1129
|
-
|
|
1130
|
-
* <p>
|
|
1131
|
-
* An array of strings that specify the versions of the package to delete.
|
|
1132
|
-
* </p>
|
|
1133
|
-
*/
|
|
442
|
+
|
|
1134
443
|
versions: string[] | undefined;
|
|
1135
|
-
|
|
1136
|
-
* <p>
|
|
1137
|
-
* The expected status of the package version to delete. Valid values are:
|
|
1138
|
-
* </p>
|
|
1139
|
-
* <ul>
|
|
1140
|
-
* <li>
|
|
1141
|
-
* <p>
|
|
1142
|
-
* <code>Published</code>
|
|
1143
|
-
* </p>
|
|
1144
|
-
* </li>
|
|
1145
|
-
* <li>
|
|
1146
|
-
* <p>
|
|
1147
|
-
* <code>Unfinished</code>
|
|
1148
|
-
* </p>
|
|
1149
|
-
* </li>
|
|
1150
|
-
* <li>
|
|
1151
|
-
* <p>
|
|
1152
|
-
* <code>Unlisted</code>
|
|
1153
|
-
* </p>
|
|
1154
|
-
* </li>
|
|
1155
|
-
* <li>
|
|
1156
|
-
* <p>
|
|
1157
|
-
* <code>Archived</code>
|
|
1158
|
-
* </p>
|
|
1159
|
-
* </li>
|
|
1160
|
-
* <li>
|
|
1161
|
-
* <p>
|
|
1162
|
-
* <code>Disposed</code>
|
|
1163
|
-
* </p>
|
|
1164
|
-
* </li>
|
|
1165
|
-
* </ul>
|
|
1166
|
-
*/
|
|
444
|
+
|
|
1167
445
|
expectedStatus?: PackageVersionStatus | string;
|
|
1168
446
|
}
|
|
1169
447
|
export declare namespace DeletePackageVersionsRequest {
|
|
1170
|
-
|
|
1171
|
-
* @internal
|
|
1172
|
-
*/
|
|
448
|
+
|
|
1173
449
|
const filterSensitiveLog: (obj: DeletePackageVersionsRequest) => any;
|
|
1174
450
|
}
|
|
1175
451
|
export interface DeletePackageVersionsResult {
|
|
1176
|
-
|
|
1177
|
-
* <p>
|
|
1178
|
-
* A list of the package versions that were successfully deleted.
|
|
1179
|
-
* </p>
|
|
1180
|
-
*/
|
|
452
|
+
|
|
1181
453
|
successfulVersions?: {
|
|
1182
454
|
[key: string]: SuccessfulPackageVersionInfo;
|
|
1183
455
|
};
|
|
1184
|
-
|
|
1185
|
-
* <p>
|
|
1186
|
-
* A <code>PackageVersionError</code> object that contains a map of errors codes for the
|
|
1187
|
-
* deleted package that failed. The possible error codes are:
|
|
1188
|
-
* </p>
|
|
1189
|
-
* <ul>
|
|
1190
|
-
* <li>
|
|
1191
|
-
* <p>
|
|
1192
|
-
* <code>ALREADY_EXISTS</code>
|
|
1193
|
-
* </p>
|
|
1194
|
-
* </li>
|
|
1195
|
-
* <li>
|
|
1196
|
-
* <p>
|
|
1197
|
-
* <code>MISMATCHED_REVISION</code>
|
|
1198
|
-
* </p>
|
|
1199
|
-
* </li>
|
|
1200
|
-
* <li>
|
|
1201
|
-
* <p>
|
|
1202
|
-
* <code>MISMATCHED_STATUS</code>
|
|
1203
|
-
* </p>
|
|
1204
|
-
* </li>
|
|
1205
|
-
* <li>
|
|
1206
|
-
* <p>
|
|
1207
|
-
* <code>NOT_ALLOWED</code>
|
|
1208
|
-
* </p>
|
|
1209
|
-
* </li>
|
|
1210
|
-
* <li>
|
|
1211
|
-
* <p>
|
|
1212
|
-
* <code>NOT_FOUND</code>
|
|
1213
|
-
* </p>
|
|
1214
|
-
* </li>
|
|
1215
|
-
* <li>
|
|
1216
|
-
* <p>
|
|
1217
|
-
* <code>SKIPPED</code>
|
|
1218
|
-
* </p>
|
|
1219
|
-
* </li>
|
|
1220
|
-
* </ul>
|
|
1221
|
-
*/
|
|
456
|
+
|
|
1222
457
|
failedVersions?: {
|
|
1223
458
|
[key: string]: PackageVersionError;
|
|
1224
459
|
};
|
|
1225
460
|
}
|
|
1226
461
|
export declare namespace DeletePackageVersionsResult {
|
|
1227
|
-
|
|
1228
|
-
* @internal
|
|
1229
|
-
*/
|
|
462
|
+
|
|
1230
463
|
const filterSensitiveLog: (obj: DeletePackageVersionsResult) => any;
|
|
1231
464
|
}
|
|
1232
465
|
export interface DeleteRepositoryRequest {
|
|
1233
|
-
|
|
1234
|
-
* <p>
|
|
1235
|
-
* The name of the domain that contains the repository to delete.
|
|
1236
|
-
* </p>
|
|
1237
|
-
*/
|
|
466
|
+
|
|
1238
467
|
domain: string | undefined;
|
|
1239
|
-
|
|
1240
|
-
* <p>
|
|
1241
|
-
* The 12-digit account number of the AWS account that owns the domain. It does not include
|
|
1242
|
-
* dashes or spaces.
|
|
1243
|
-
* </p>
|
|
1244
|
-
*/
|
|
468
|
+
|
|
1245
469
|
domainOwner?: string;
|
|
1246
|
-
|
|
1247
|
-
* <p> The name of the repository to delete. </p>
|
|
1248
|
-
*/
|
|
470
|
+
|
|
1249
471
|
repository: string | undefined;
|
|
1250
472
|
}
|
|
1251
473
|
export declare namespace DeleteRepositoryRequest {
|
|
1252
|
-
|
|
1253
|
-
* @internal
|
|
1254
|
-
*/
|
|
474
|
+
|
|
1255
475
|
const filterSensitiveLog: (obj: DeleteRepositoryRequest) => any;
|
|
1256
476
|
}
|
|
1257
477
|
export interface DeleteRepositoryResult {
|
|
1258
|
-
|
|
1259
|
-
* <p>
|
|
1260
|
-
* Information about the deleted repository after processing the request.
|
|
1261
|
-
* </p>
|
|
1262
|
-
*/
|
|
478
|
+
|
|
1263
479
|
repository?: RepositoryDescription;
|
|
1264
480
|
}
|
|
1265
481
|
export declare namespace DeleteRepositoryResult {
|
|
1266
|
-
|
|
1267
|
-
* @internal
|
|
1268
|
-
*/
|
|
482
|
+
|
|
1269
483
|
const filterSensitiveLog: (obj: DeleteRepositoryResult) => any;
|
|
1270
484
|
}
|
|
1271
485
|
export interface DeleteRepositoryPermissionsPolicyRequest {
|
|
1272
|
-
|
|
1273
|
-
* <p>
|
|
1274
|
-
* The name of the domain that contains the repository associated with the resource policy to be deleted.
|
|
1275
|
-
* </p>
|
|
1276
|
-
*/
|
|
486
|
+
|
|
1277
487
|
domain: string | undefined;
|
|
1278
|
-
|
|
1279
|
-
* <p>
|
|
1280
|
-
* The 12-digit account number of the AWS account that owns the domain. It does not include
|
|
1281
|
-
* dashes or spaces.
|
|
1282
|
-
* </p>
|
|
1283
|
-
*/
|
|
488
|
+
|
|
1284
489
|
domainOwner?: string;
|
|
1285
|
-
|
|
1286
|
-
* <p>
|
|
1287
|
-
* The name of the repository that is associated with the resource policy to be deleted
|
|
1288
|
-
* </p>
|
|
1289
|
-
*/
|
|
490
|
+
|
|
1290
491
|
repository: string | undefined;
|
|
1291
|
-
|
|
1292
|
-
* <p>
|
|
1293
|
-
* The revision of the repository's resource policy to be deleted. This revision is used for optimistic locking, which
|
|
1294
|
-
* prevents others from accidentally overwriting your changes to the repository's resource policy.
|
|
1295
|
-
* </p>
|
|
1296
|
-
*/
|
|
492
|
+
|
|
1297
493
|
policyRevision?: string;
|
|
1298
494
|
}
|
|
1299
495
|
export declare namespace DeleteRepositoryPermissionsPolicyRequest {
|
|
1300
|
-
|
|
1301
|
-
* @internal
|
|
1302
|
-
*/
|
|
496
|
+
|
|
1303
497
|
const filterSensitiveLog: (obj: DeleteRepositoryPermissionsPolicyRequest) => any;
|
|
1304
498
|
}
|
|
1305
499
|
export interface DeleteRepositoryPermissionsPolicyResult {
|
|
1306
|
-
|
|
1307
|
-
* <p>
|
|
1308
|
-
* Information about the deleted policy after processing the request.
|
|
1309
|
-
* </p>
|
|
1310
|
-
*/
|
|
500
|
+
|
|
1311
501
|
policy?: ResourcePolicy;
|
|
1312
502
|
}
|
|
1313
503
|
export declare namespace DeleteRepositoryPermissionsPolicyResult {
|
|
1314
|
-
|
|
1315
|
-
* @internal
|
|
1316
|
-
*/
|
|
504
|
+
|
|
1317
505
|
const filterSensitiveLog: (obj: DeleteRepositoryPermissionsPolicyResult) => any;
|
|
1318
506
|
}
|
|
1319
507
|
export interface DescribeDomainRequest {
|
|
1320
|
-
|
|
1321
|
-
* <p>
|
|
1322
|
-
* A string that specifies the name of the requested domain.
|
|
1323
|
-
* </p>
|
|
1324
|
-
*/
|
|
508
|
+
|
|
1325
509
|
domain: string | undefined;
|
|
1326
|
-
|
|
1327
|
-
* <p>
|
|
1328
|
-
* The 12-digit account number of the AWS account that owns the domain. It does not include
|
|
1329
|
-
* dashes or spaces.
|
|
1330
|
-
* </p>
|
|
1331
|
-
*/
|
|
510
|
+
|
|
1332
511
|
domainOwner?: string;
|
|
1333
512
|
}
|
|
1334
513
|
export declare namespace DescribeDomainRequest {
|
|
1335
|
-
|
|
1336
|
-
* @internal
|
|
1337
|
-
*/
|
|
514
|
+
|
|
1338
515
|
const filterSensitiveLog: (obj: DescribeDomainRequest) => any;
|
|
1339
516
|
}
|
|
1340
517
|
export interface DescribeDomainResult {
|
|
1341
|
-
|
|
1342
|
-
* <p>
|
|
1343
|
-
* Information about a domain. A domain is a container for repositories. When you create a domain, it is empty until you
|
|
1344
|
-
* add one or more repositories.
|
|
1345
|
-
* </p>
|
|
1346
|
-
*/
|
|
518
|
+
|
|
1347
519
|
domain?: DomainDescription;
|
|
1348
520
|
}
|
|
1349
521
|
export declare namespace DescribeDomainResult {
|
|
1350
|
-
|
|
1351
|
-
* @internal
|
|
1352
|
-
*/
|
|
522
|
+
|
|
1353
523
|
const filterSensitiveLog: (obj: DescribeDomainResult) => any;
|
|
1354
524
|
}
|
|
1355
525
|
export interface DescribePackageVersionRequest {
|
|
1356
|
-
|
|
1357
|
-
* <p>
|
|
1358
|
-
* The name of the domain that contains the repository that contains the package version.
|
|
1359
|
-
* </p>
|
|
1360
|
-
*/
|
|
526
|
+
|
|
1361
527
|
domain: string | undefined;
|
|
1362
|
-
|
|
1363
|
-
* <p>
|
|
1364
|
-
* The 12-digit account number of the AWS account that owns the domain. It does not include
|
|
1365
|
-
* dashes or spaces.
|
|
1366
|
-
* </p>
|
|
1367
|
-
*/
|
|
528
|
+
|
|
1368
529
|
domainOwner?: string;
|
|
1369
|
-
|
|
1370
|
-
* <p> The name of the repository that contains the package version. </p>
|
|
1371
|
-
*/
|
|
530
|
+
|
|
1372
531
|
repository: string | undefined;
|
|
1373
|
-
|
|
1374
|
-
* <p>
|
|
1375
|
-
* A format that specifies the type of the requested package version. The valid values are:
|
|
1376
|
-
* </p>
|
|
1377
|
-
* <ul>
|
|
1378
|
-
* <li>
|
|
1379
|
-
* <p>
|
|
1380
|
-
* <code>npm</code>
|
|
1381
|
-
* </p>
|
|
1382
|
-
* </li>
|
|
1383
|
-
* <li>
|
|
1384
|
-
* <p>
|
|
1385
|
-
* <code>pypi</code>
|
|
1386
|
-
* </p>
|
|
1387
|
-
* </li>
|
|
1388
|
-
* <li>
|
|
1389
|
-
* <p>
|
|
1390
|
-
* <code>maven</code>
|
|
1391
|
-
* </p>
|
|
1392
|
-
* </li>
|
|
1393
|
-
* </ul>
|
|
1394
|
-
*/
|
|
532
|
+
|
|
1395
533
|
format: PackageFormat | string | undefined;
|
|
1396
|
-
|
|
1397
|
-
* <p>
|
|
1398
|
-
* The namespace of the package. The package component that specifies its
|
|
1399
|
-
* namespace depends on its type. For example:
|
|
1400
|
-
* </p>
|
|
1401
|
-
* <ul>
|
|
1402
|
-
* <li>
|
|
1403
|
-
* <p>
|
|
1404
|
-
* The namespace of a Maven package is its <code>groupId</code>.
|
|
1405
|
-
* </p>
|
|
1406
|
-
* </li>
|
|
1407
|
-
* <li>
|
|
1408
|
-
* <p>
|
|
1409
|
-
* The namespace of an npm package is its <code>scope</code>.
|
|
1410
|
-
* </p>
|
|
1411
|
-
* </li>
|
|
1412
|
-
* <li>
|
|
1413
|
-
* <p>
|
|
1414
|
-
* A Python package does not contain a corresponding component, so
|
|
1415
|
-
* Python packages do not have a namespace.
|
|
1416
|
-
* </p>
|
|
1417
|
-
* </li>
|
|
1418
|
-
* </ul>
|
|
1419
|
-
*/
|
|
534
|
+
|
|
1420
535
|
namespace?: string;
|
|
1421
|
-
|
|
1422
|
-
* <p> The name of the requested package version. </p>
|
|
1423
|
-
*/
|
|
536
|
+
|
|
1424
537
|
package: string | undefined;
|
|
1425
|
-
|
|
1426
|
-
* <p>
|
|
1427
|
-
* A string that contains the package version (for example, <code>3.5.2</code>).
|
|
1428
|
-
* </p>
|
|
1429
|
-
*/
|
|
538
|
+
|
|
1430
539
|
packageVersion: string | undefined;
|
|
1431
540
|
}
|
|
1432
541
|
export declare namespace DescribePackageVersionRequest {
|
|
1433
|
-
|
|
1434
|
-
* @internal
|
|
1435
|
-
*/
|
|
542
|
+
|
|
1436
543
|
const filterSensitiveLog: (obj: DescribePackageVersionRequest) => any;
|
|
1437
544
|
}
|
|
1438
|
-
|
|
1439
|
-
* <p>
|
|
1440
|
-
* Details of the license data.
|
|
1441
|
-
* </p>
|
|
1442
|
-
*/
|
|
545
|
+
|
|
1443
546
|
export interface LicenseInfo {
|
|
1444
|
-
|
|
1445
|
-
* <p>
|
|
1446
|
-
* Name of the license.
|
|
1447
|
-
* </p>
|
|
1448
|
-
*/
|
|
547
|
+
|
|
1449
548
|
name?: string;
|
|
1450
|
-
|
|
1451
|
-
* <p>
|
|
1452
|
-
* The URL for license data.
|
|
1453
|
-
* </p>
|
|
1454
|
-
*/
|
|
549
|
+
|
|
1455
550
|
url?: string;
|
|
1456
551
|
}
|
|
1457
552
|
export declare namespace LicenseInfo {
|
|
1458
|
-
|
|
1459
|
-
* @internal
|
|
1460
|
-
*/
|
|
553
|
+
|
|
1461
554
|
const filterSensitiveLog: (obj: LicenseInfo) => any;
|
|
1462
555
|
}
|
|
1463
|
-
|
|
1464
|
-
* <p>
|
|
1465
|
-
* Details about a package version.
|
|
1466
|
-
* </p>
|
|
1467
|
-
*/
|
|
556
|
+
|
|
1468
557
|
export interface PackageVersionDescription {
|
|
1469
|
-
|
|
1470
|
-
* <p>
|
|
1471
|
-
* The format of the package version. The valid package formats are:
|
|
1472
|
-
* </p>
|
|
1473
|
-
* <ul>
|
|
1474
|
-
* <li>
|
|
1475
|
-
* <p>
|
|
1476
|
-
* <code>npm</code>: A Node Package Manager (npm) package.
|
|
1477
|
-
* </p>
|
|
1478
|
-
* </li>
|
|
1479
|
-
* <li>
|
|
1480
|
-
* <p>
|
|
1481
|
-
* <code>pypi</code>: A Python Package Index (PyPI) package.
|
|
1482
|
-
* </p>
|
|
1483
|
-
* </li>
|
|
1484
|
-
* <li>
|
|
1485
|
-
* <p>
|
|
1486
|
-
* <code>maven</code>: A Maven package that contains compiled code in a distributable format, such as a JAR file.
|
|
1487
|
-
* </p>
|
|
1488
|
-
* </li>
|
|
1489
|
-
* </ul>
|
|
1490
|
-
*/
|
|
558
|
+
|
|
1491
559
|
format?: PackageFormat | string;
|
|
1492
|
-
|
|
1493
|
-
* <p>
|
|
1494
|
-
* The namespace of the package. The package component that specifies its
|
|
1495
|
-
* namespace depends on its type. For example:
|
|
1496
|
-
* </p>
|
|
1497
|
-
* <ul>
|
|
1498
|
-
* <li>
|
|
1499
|
-
* <p>
|
|
1500
|
-
* The namespace of a Maven package is its <code>groupId</code>.
|
|
1501
|
-
* </p>
|
|
1502
|
-
* </li>
|
|
1503
|
-
* <li>
|
|
1504
|
-
* <p>
|
|
1505
|
-
* The namespace of an npm package is its <code>scope</code>.
|
|
1506
|
-
* </p>
|
|
1507
|
-
* </li>
|
|
1508
|
-
* <li>
|
|
1509
|
-
* <p>
|
|
1510
|
-
* A Python package does not contain a corresponding component, so
|
|
1511
|
-
* Python packages do not have a namespace.
|
|
1512
|
-
* </p>
|
|
1513
|
-
* </li>
|
|
1514
|
-
* </ul>
|
|
1515
|
-
*/
|
|
560
|
+
|
|
1516
561
|
namespace?: string;
|
|
1517
|
-
|
|
1518
|
-
* <p>
|
|
1519
|
-
* The name of the requested package.
|
|
1520
|
-
* </p>
|
|
1521
|
-
*/
|
|
562
|
+
|
|
1522
563
|
packageName?: string;
|
|
1523
|
-
|
|
1524
|
-
* <p>
|
|
1525
|
-
* The name of the package that is displayed. The <code>displayName</code> varies depending
|
|
1526
|
-
* on the package version's format. For example, if an npm package is named <code>ui</code>,
|
|
1527
|
-
* is in the namespace <code>vue</code>, and has the format <code>npm</code>, then
|
|
1528
|
-
* the <code>displayName</code> is <code>@vue/ui</code>.
|
|
1529
|
-
* </p>
|
|
1530
|
-
*/
|
|
564
|
+
|
|
1531
565
|
displayName?: string;
|
|
1532
|
-
|
|
1533
|
-
* <p>
|
|
1534
|
-
* The version of the package.
|
|
1535
|
-
* </p>
|
|
1536
|
-
*/
|
|
566
|
+
|
|
1537
567
|
version?: string;
|
|
1538
|
-
|
|
1539
|
-
* <p>
|
|
1540
|
-
* A summary of the package version. The summary is extracted from the package. The information in and
|
|
1541
|
-
* detail level of the summary depends on the package version's format.
|
|
1542
|
-
* </p>
|
|
1543
|
-
*/
|
|
568
|
+
|
|
1544
569
|
summary?: string;
|
|
1545
|
-
|
|
1546
|
-
* <p>
|
|
1547
|
-
* The homepage associated with the package.
|
|
1548
|
-
* </p>
|
|
1549
|
-
*/
|
|
570
|
+
|
|
1550
571
|
homePage?: string;
|
|
1551
|
-
|
|
1552
|
-
* <p>
|
|
1553
|
-
* The repository for the source code in the package version, or the source code used to build it.
|
|
1554
|
-
* </p>
|
|
1555
|
-
*/
|
|
572
|
+
|
|
1556
573
|
sourceCodeRepository?: string;
|
|
1557
|
-
|
|
1558
|
-
* <p>
|
|
1559
|
-
* A timestamp that contains the date and time the package version was published.
|
|
1560
|
-
* </p>
|
|
1561
|
-
*/
|
|
574
|
+
|
|
1562
575
|
publishedTime?: Date;
|
|
1563
|
-
|
|
1564
|
-
* <p>
|
|
1565
|
-
* Information about licenses associated with the package version.
|
|
1566
|
-
* </p>
|
|
1567
|
-
*/
|
|
576
|
+
|
|
1568
577
|
licenses?: LicenseInfo[];
|
|
1569
|
-
|
|
1570
|
-
* <p>
|
|
1571
|
-
* The revision of the package version.
|
|
1572
|
-
* </p>
|
|
1573
|
-
*/
|
|
578
|
+
|
|
1574
579
|
revision?: string;
|
|
1575
|
-
|
|
1576
|
-
* <p>
|
|
1577
|
-
* A string that contains the status of the package version. It can be one of the following:
|
|
1578
|
-
* </p>
|
|
1579
|
-
* <ul>
|
|
1580
|
-
* <li>
|
|
1581
|
-
* <p>
|
|
1582
|
-
* <code>Published</code>
|
|
1583
|
-
* </p>
|
|
1584
|
-
* </li>
|
|
1585
|
-
* <li>
|
|
1586
|
-
* <p>
|
|
1587
|
-
* <code>Unfinished</code>
|
|
1588
|
-
* </p>
|
|
1589
|
-
* </li>
|
|
1590
|
-
* <li>
|
|
1591
|
-
* <p>
|
|
1592
|
-
* <code>Unlisted</code>
|
|
1593
|
-
* </p>
|
|
1594
|
-
* </li>
|
|
1595
|
-
* <li>
|
|
1596
|
-
* <p>
|
|
1597
|
-
* <code>Archived</code>
|
|
1598
|
-
* </p>
|
|
1599
|
-
* </li>
|
|
1600
|
-
* <li>
|
|
1601
|
-
* <p>
|
|
1602
|
-
* <code>Disposed</code>
|
|
1603
|
-
* </p>
|
|
1604
|
-
* </li>
|
|
1605
|
-
* </ul>
|
|
1606
|
-
*/
|
|
580
|
+
|
|
1607
581
|
status?: PackageVersionStatus | string;
|
|
1608
582
|
}
|
|
1609
583
|
export declare namespace PackageVersionDescription {
|
|
1610
|
-
|
|
1611
|
-
* @internal
|
|
1612
|
-
*/
|
|
584
|
+
|
|
1613
585
|
const filterSensitiveLog: (obj: PackageVersionDescription) => any;
|
|
1614
586
|
}
|
|
1615
587
|
export interface DescribePackageVersionResult {
|
|
1616
|
-
|
|
1617
|
-
* <p>
|
|
1618
|
-
* A <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionDescription.html">PackageVersionDescription</a>
|
|
1619
|
-
* object that contains information about the requested package version.
|
|
1620
|
-
* </p>
|
|
1621
|
-
*/
|
|
588
|
+
|
|
1622
589
|
packageVersion: PackageVersionDescription | undefined;
|
|
1623
590
|
}
|
|
1624
591
|
export declare namespace DescribePackageVersionResult {
|
|
1625
|
-
|
|
1626
|
-
* @internal
|
|
1627
|
-
*/
|
|
592
|
+
|
|
1628
593
|
const filterSensitiveLog: (obj: DescribePackageVersionResult) => any;
|
|
1629
594
|
}
|
|
1630
595
|
export interface DescribeRepositoryRequest {
|
|
1631
|
-
|
|
1632
|
-
* <p>
|
|
1633
|
-
* The name of the domain that contains the repository to describe.
|
|
1634
|
-
* </p>
|
|
1635
|
-
*/
|
|
596
|
+
|
|
1636
597
|
domain: string | undefined;
|
|
1637
|
-
|
|
1638
|
-
* <p>
|
|
1639
|
-
* The 12-digit account number of the AWS account that owns the domain. It does not include
|
|
1640
|
-
* dashes or spaces.
|
|
1641
|
-
* </p>
|
|
1642
|
-
*/
|
|
598
|
+
|
|
1643
599
|
domainOwner?: string;
|
|
1644
|
-
|
|
1645
|
-
* <p>
|
|
1646
|
-
* A string that specifies the name of the requested repository.
|
|
1647
|
-
* </p>
|
|
1648
|
-
*/
|
|
600
|
+
|
|
1649
601
|
repository: string | undefined;
|
|
1650
602
|
}
|
|
1651
603
|
export declare namespace DescribeRepositoryRequest {
|
|
1652
|
-
|
|
1653
|
-
* @internal
|
|
1654
|
-
*/
|
|
604
|
+
|
|
1655
605
|
const filterSensitiveLog: (obj: DescribeRepositoryRequest) => any;
|
|
1656
606
|
}
|
|
1657
607
|
export interface DescribeRepositoryResult {
|
|
1658
|
-
|
|
1659
|
-
* <p>
|
|
1660
|
-
* A <code>RepositoryDescription</code> object that contains the requested repository information.
|
|
1661
|
-
* </p>
|
|
1662
|
-
*/
|
|
608
|
+
|
|
1663
609
|
repository?: RepositoryDescription;
|
|
1664
610
|
}
|
|
1665
611
|
export declare namespace DescribeRepositoryResult {
|
|
1666
|
-
|
|
1667
|
-
* @internal
|
|
1668
|
-
*/
|
|
612
|
+
|
|
1669
613
|
const filterSensitiveLog: (obj: DescribeRepositoryResult) => any;
|
|
1670
614
|
}
|
|
1671
615
|
export interface DisassociateExternalConnectionRequest {
|
|
1672
|
-
|
|
1673
|
-
* <p>The name of the domain that contains the repository from which to remove the external
|
|
1674
|
-
* repository. </p>
|
|
1675
|
-
*/
|
|
616
|
+
|
|
1676
617
|
domain: string | undefined;
|
|
1677
|
-
|
|
1678
|
-
* <p>
|
|
1679
|
-
* The 12-digit account number of the AWS account that owns the domain. It does not include
|
|
1680
|
-
* dashes or spaces.
|
|
1681
|
-
* </p>
|
|
1682
|
-
*/
|
|
618
|
+
|
|
1683
619
|
domainOwner?: string;
|
|
1684
|
-
|
|
1685
|
-
* <p>The name of the repository from which the external connection will be removed. </p>
|
|
1686
|
-
*/
|
|
620
|
+
|
|
1687
621
|
repository: string | undefined;
|
|
1688
|
-
|
|
1689
|
-
* <p>The name of the external connection to be removed from the repository. </p>
|
|
1690
|
-
*/
|
|
622
|
+
|
|
1691
623
|
externalConnection: string | undefined;
|
|
1692
624
|
}
|
|
1693
625
|
export declare namespace DisassociateExternalConnectionRequest {
|
|
1694
|
-
|
|
1695
|
-
* @internal
|
|
1696
|
-
*/
|
|
626
|
+
|
|
1697
627
|
const filterSensitiveLog: (obj: DisassociateExternalConnectionRequest) => any;
|
|
1698
628
|
}
|
|
1699
629
|
export interface DisassociateExternalConnectionResult {
|
|
1700
|
-
|
|
1701
|
-
* <p>
|
|
1702
|
-
* The repository associated with the removed external connection.
|
|
1703
|
-
* </p>
|
|
1704
|
-
*/
|
|
630
|
+
|
|
1705
631
|
repository?: RepositoryDescription;
|
|
1706
632
|
}
|
|
1707
633
|
export declare namespace DisassociateExternalConnectionResult {
|
|
1708
|
-
|
|
1709
|
-
* @internal
|
|
1710
|
-
*/
|
|
634
|
+
|
|
1711
635
|
const filterSensitiveLog: (obj: DisassociateExternalConnectionResult) => any;
|
|
1712
636
|
}
|
|
1713
637
|
export interface DisposePackageVersionsRequest {
|
|
1714
|
-
|
|
1715
|
-
* <p>
|
|
1716
|
-
* The name of the domain that contains the repository you want to dispose.
|
|
1717
|
-
* </p>
|
|
1718
|
-
*/
|
|
638
|
+
|
|
1719
639
|
domain: string | undefined;
|
|
1720
|
-
|
|
1721
|
-
* <p>
|
|
1722
|
-
* The 12-digit account number of the AWS account that owns the domain. It does not include
|
|
1723
|
-
* dashes or spaces.
|
|
1724
|
-
* </p>
|
|
1725
|
-
*/
|
|
640
|
+
|
|
1726
641
|
domainOwner?: string;
|
|
1727
|
-
|
|
1728
|
-
* <p>
|
|
1729
|
-
* The name of the repository that contains the package versions you want to dispose.
|
|
1730
|
-
* </p>
|
|
1731
|
-
*/
|
|
642
|
+
|
|
1732
643
|
repository: string | undefined;
|
|
1733
|
-
|
|
1734
|
-
* <p>
|
|
1735
|
-
* A format that specifies the type of package versions you want to dispose. The valid values are:
|
|
1736
|
-
* </p>
|
|
1737
|
-
* <ul>
|
|
1738
|
-
* <li>
|
|
1739
|
-
* <p>
|
|
1740
|
-
* <code>npm</code>
|
|
1741
|
-
* </p>
|
|
1742
|
-
* </li>
|
|
1743
|
-
* <li>
|
|
1744
|
-
* <p>
|
|
1745
|
-
* <code>pypi</code>
|
|
1746
|
-
* </p>
|
|
1747
|
-
* </li>
|
|
1748
|
-
* <li>
|
|
1749
|
-
* <p>
|
|
1750
|
-
* <code>maven</code>
|
|
1751
|
-
* </p>
|
|
1752
|
-
* </li>
|
|
1753
|
-
* </ul>
|
|
1754
|
-
*/
|
|
644
|
+
|
|
1755
645
|
format: PackageFormat | string | undefined;
|
|
1756
|
-
|
|
1757
|
-
* <p>
|
|
1758
|
-
* The namespace of the package. The package component that specifies its
|
|
1759
|
-
* namespace depends on its type. For example:
|
|
1760
|
-
* </p>
|
|
1761
|
-
* <ul>
|
|
1762
|
-
* <li>
|
|
1763
|
-
* <p>
|
|
1764
|
-
* The namespace of a Maven package is its <code>groupId</code>.
|
|
1765
|
-
* </p>
|
|
1766
|
-
* </li>
|
|
1767
|
-
* <li>
|
|
1768
|
-
* <p>
|
|
1769
|
-
* The namespace of an npm package is its <code>scope</code>.
|
|
1770
|
-
* </p>
|
|
1771
|
-
* </li>
|
|
1772
|
-
* <li>
|
|
1773
|
-
* <p>
|
|
1774
|
-
* A Python package does not contain a corresponding component, so
|
|
1775
|
-
* Python packages do not have a namespace.
|
|
1776
|
-
* </p>
|
|
1777
|
-
* </li>
|
|
1778
|
-
* </ul>
|
|
1779
|
-
*/
|
|
646
|
+
|
|
1780
647
|
namespace?: string;
|
|
1781
|
-
|
|
1782
|
-
* <p>
|
|
1783
|
-
* The name of the package with the versions you want to dispose.
|
|
1784
|
-
* </p>
|
|
1785
|
-
*/
|
|
648
|
+
|
|
1786
649
|
package: string | undefined;
|
|
1787
|
-
|
|
1788
|
-
* <p>
|
|
1789
|
-
* The versions of the package you want to dispose.
|
|
1790
|
-
* </p>
|
|
1791
|
-
*/
|
|
650
|
+
|
|
1792
651
|
versions: string[] | undefined;
|
|
1793
|
-
|
|
1794
|
-
* <p>
|
|
1795
|
-
* The revisions of the package versions you want to dispose.
|
|
1796
|
-
* </p>
|
|
1797
|
-
*/
|
|
652
|
+
|
|
1798
653
|
versionRevisions?: {
|
|
1799
654
|
[key: string]: string;
|
|
1800
655
|
};
|
|
1801
|
-
|
|
1802
|
-
* <p>
|
|
1803
|
-
* The expected status of the package version to dispose. Valid values are:
|
|
1804
|
-
* </p>
|
|
1805
|
-
* <ul>
|
|
1806
|
-
* <li>
|
|
1807
|
-
* <p>
|
|
1808
|
-
* <code>Published</code>
|
|
1809
|
-
* </p>
|
|
1810
|
-
* </li>
|
|
1811
|
-
* <li>
|
|
1812
|
-
* <p>
|
|
1813
|
-
* <code>Unfinished</code>
|
|
1814
|
-
* </p>
|
|
1815
|
-
* </li>
|
|
1816
|
-
* <li>
|
|
1817
|
-
* <p>
|
|
1818
|
-
* <code>Unlisted</code>
|
|
1819
|
-
* </p>
|
|
1820
|
-
* </li>
|
|
1821
|
-
* <li>
|
|
1822
|
-
* <p>
|
|
1823
|
-
* <code>Archived</code>
|
|
1824
|
-
* </p>
|
|
1825
|
-
* </li>
|
|
1826
|
-
* <li>
|
|
1827
|
-
* <p>
|
|
1828
|
-
* <code>Disposed</code>
|
|
1829
|
-
* </p>
|
|
1830
|
-
* </li>
|
|
1831
|
-
* </ul>
|
|
1832
|
-
*/
|
|
656
|
+
|
|
1833
657
|
expectedStatus?: PackageVersionStatus | string;
|
|
1834
658
|
}
|
|
1835
659
|
export declare namespace DisposePackageVersionsRequest {
|
|
1836
|
-
|
|
1837
|
-
* @internal
|
|
1838
|
-
*/
|
|
660
|
+
|
|
1839
661
|
const filterSensitiveLog: (obj: DisposePackageVersionsRequest) => any;
|
|
1840
662
|
}
|
|
1841
663
|
export interface DisposePackageVersionsResult {
|
|
1842
|
-
|
|
1843
|
-
* <p>
|
|
1844
|
-
* A list of the package versions that were successfully disposed.
|
|
1845
|
-
* </p>
|
|
1846
|
-
*/
|
|
664
|
+
|
|
1847
665
|
successfulVersions?: {
|
|
1848
666
|
[key: string]: SuccessfulPackageVersionInfo;
|
|
1849
667
|
};
|
|
1850
|
-
|
|
1851
|
-
* <p>
|
|
1852
|
-
* A <code>PackageVersionError</code> object that contains a map of errors codes for the
|
|
1853
|
-
* disposed package versions that failed. The possible error codes are:
|
|
1854
|
-
* </p>
|
|
1855
|
-
* <ul>
|
|
1856
|
-
* <li>
|
|
1857
|
-
* <p>
|
|
1858
|
-
* <code>ALREADY_EXISTS</code>
|
|
1859
|
-
* </p>
|
|
1860
|
-
* </li>
|
|
1861
|
-
* <li>
|
|
1862
|
-
* <p>
|
|
1863
|
-
* <code>MISMATCHED_REVISION</code>
|
|
1864
|
-
* </p>
|
|
1865
|
-
* </li>
|
|
1866
|
-
* <li>
|
|
1867
|
-
* <p>
|
|
1868
|
-
* <code>MISMATCHED_STATUS</code>
|
|
1869
|
-
* </p>
|
|
1870
|
-
* </li>
|
|
1871
|
-
* <li>
|
|
1872
|
-
* <p>
|
|
1873
|
-
* <code>NOT_ALLOWED</code>
|
|
1874
|
-
* </p>
|
|
1875
|
-
* </li>
|
|
1876
|
-
* <li>
|
|
1877
|
-
* <p>
|
|
1878
|
-
* <code>NOT_FOUND</code>
|
|
1879
|
-
* </p>
|
|
1880
|
-
* </li>
|
|
1881
|
-
* <li>
|
|
1882
|
-
* <p>
|
|
1883
|
-
* <code>SKIPPED</code>
|
|
1884
|
-
* </p>
|
|
1885
|
-
* </li>
|
|
1886
|
-
* </ul>
|
|
1887
|
-
*/
|
|
668
|
+
|
|
1888
669
|
failedVersions?: {
|
|
1889
670
|
[key: string]: PackageVersionError;
|
|
1890
671
|
};
|
|
1891
672
|
}
|
|
1892
673
|
export declare namespace DisposePackageVersionsResult {
|
|
1893
|
-
|
|
1894
|
-
* @internal
|
|
1895
|
-
*/
|
|
674
|
+
|
|
1896
675
|
const filterSensitiveLog: (obj: DisposePackageVersionsResult) => any;
|
|
1897
676
|
}
|
|
1898
677
|
export interface GetAuthorizationTokenRequest {
|
|
1899
|
-
|
|
1900
|
-
* <p>
|
|
1901
|
-
* The name of the domain that is in scope for the generated authorization token.
|
|
1902
|
-
* </p>
|
|
1903
|
-
*/
|
|
678
|
+
|
|
1904
679
|
domain: string | undefined;
|
|
1905
|
-
|
|
1906
|
-
* <p>
|
|
1907
|
-
* The 12-digit account number of the AWS account that owns the domain. It does not include
|
|
1908
|
-
* dashes or spaces.
|
|
1909
|
-
* </p>
|
|
1910
|
-
*/
|
|
680
|
+
|
|
1911
681
|
domainOwner?: string;
|
|
1912
|
-
|
|
1913
|
-
* <p>The time, in seconds, that the generated authorization token is valid. Valid values are
|
|
1914
|
-
* <code>0</code> and any number between <code>900</code> (15 minutes) and <code>43200</code> (12 hours).
|
|
1915
|
-
* A value of <code>0</code> will set the expiration of the authorization token to the same expiration of
|
|
1916
|
-
* the user's role's temporary credentials.</p>
|
|
1917
|
-
*/
|
|
682
|
+
|
|
1918
683
|
durationSeconds?: number;
|
|
1919
684
|
}
|
|
1920
685
|
export declare namespace GetAuthorizationTokenRequest {
|
|
1921
|
-
|
|
1922
|
-
* @internal
|
|
1923
|
-
*/
|
|
686
|
+
|
|
1924
687
|
const filterSensitiveLog: (obj: GetAuthorizationTokenRequest) => any;
|
|
1925
688
|
}
|
|
1926
689
|
export interface GetAuthorizationTokenResult {
|
|
1927
|
-
|
|
1928
|
-
* <p>
|
|
1929
|
-
* The returned authentication token.
|
|
1930
|
-
* </p>
|
|
1931
|
-
*/
|
|
690
|
+
|
|
1932
691
|
authorizationToken?: string;
|
|
1933
|
-
|
|
1934
|
-
* <p>
|
|
1935
|
-
* A timestamp that specifies the date and time the authorization token expires.
|
|
1936
|
-
* </p>
|
|
1937
|
-
*/
|
|
692
|
+
|
|
1938
693
|
expiration?: Date;
|
|
1939
694
|
}
|
|
1940
695
|
export declare namespace GetAuthorizationTokenResult {
|
|
1941
|
-
|
|
1942
|
-
* @internal
|
|
1943
|
-
*/
|
|
696
|
+
|
|
1944
697
|
const filterSensitiveLog: (obj: GetAuthorizationTokenResult) => any;
|
|
1945
698
|
}
|
|
1946
699
|
export interface GetDomainPermissionsPolicyRequest {
|
|
1947
|
-
|
|
1948
|
-
* <p>
|
|
1949
|
-
* The name of the domain to which the resource policy is attached.
|
|
1950
|
-
* </p>
|
|
1951
|
-
*/
|
|
700
|
+
|
|
1952
701
|
domain: string | undefined;
|
|
1953
|
-
|
|
1954
|
-
* <p>
|
|
1955
|
-
* The 12-digit account number of the AWS account that owns the domain. It does not include
|
|
1956
|
-
* dashes or spaces.
|
|
1957
|
-
* </p>
|
|
1958
|
-
*/
|
|
702
|
+
|
|
1959
703
|
domainOwner?: string;
|
|
1960
704
|
}
|
|
1961
705
|
export declare namespace GetDomainPermissionsPolicyRequest {
|
|
1962
|
-
|
|
1963
|
-
* @internal
|
|
1964
|
-
*/
|
|
706
|
+
|
|
1965
707
|
const filterSensitiveLog: (obj: GetDomainPermissionsPolicyRequest) => any;
|
|
1966
708
|
}
|
|
1967
709
|
export interface GetDomainPermissionsPolicyResult {
|
|
1968
|
-
|
|
1969
|
-
* <p>
|
|
1970
|
-
* The returned resource policy.
|
|
1971
|
-
* </p>
|
|
1972
|
-
*/
|
|
710
|
+
|
|
1973
711
|
policy?: ResourcePolicy;
|
|
1974
712
|
}
|
|
1975
713
|
export declare namespace GetDomainPermissionsPolicyResult {
|
|
1976
|
-
|
|
1977
|
-
* @internal
|
|
1978
|
-
*/
|
|
714
|
+
|
|
1979
715
|
const filterSensitiveLog: (obj: GetDomainPermissionsPolicyResult) => any;
|
|
1980
716
|
}
|
|
1981
717
|
export interface GetPackageVersionAssetRequest {
|
|
1982
|
-
|
|
1983
|
-
* <p>
|
|
1984
|
-
* The name of the domain that contains the repository that contains the package version with the requested asset.
|
|
1985
|
-
* </p>
|
|
1986
|
-
*/
|
|
718
|
+
|
|
1987
719
|
domain: string | undefined;
|
|
1988
|
-
|
|
1989
|
-
* <p>
|
|
1990
|
-
* The 12-digit account number of the AWS account that owns the domain. It does not include
|
|
1991
|
-
* dashes or spaces.
|
|
1992
|
-
* </p>
|
|
1993
|
-
*/
|
|
720
|
+
|
|
1994
721
|
domainOwner?: string;
|
|
1995
|
-
|
|
1996
|
-
* <p>
|
|
1997
|
-
* The repository that contains the package version with the requested asset.
|
|
1998
|
-
* </p>
|
|
1999
|
-
*/
|
|
722
|
+
|
|
2000
723
|
repository: string | undefined;
|
|
2001
|
-
|
|
2002
|
-
* <p>
|
|
2003
|
-
* A format that specifies the type of the package version with the requested asset file. The valid values are:
|
|
2004
|
-
* </p>
|
|
2005
|
-
* <ul>
|
|
2006
|
-
* <li>
|
|
2007
|
-
* <p>
|
|
2008
|
-
* <code>npm</code>
|
|
2009
|
-
* </p>
|
|
2010
|
-
* </li>
|
|
2011
|
-
* <li>
|
|
2012
|
-
* <p>
|
|
2013
|
-
* <code>pypi</code>
|
|
2014
|
-
* </p>
|
|
2015
|
-
* </li>
|
|
2016
|
-
* <li>
|
|
2017
|
-
* <p>
|
|
2018
|
-
* <code>maven</code>
|
|
2019
|
-
* </p>
|
|
2020
|
-
* </li>
|
|
2021
|
-
* </ul>
|
|
2022
|
-
*/
|
|
724
|
+
|
|
2023
725
|
format: PackageFormat | string | undefined;
|
|
2024
|
-
|
|
2025
|
-
* <p>
|
|
2026
|
-
* The namespace of the package. The package component that specifies its
|
|
2027
|
-
* namespace depends on its type. For example:
|
|
2028
|
-
* </p>
|
|
2029
|
-
* <ul>
|
|
2030
|
-
* <li>
|
|
2031
|
-
* <p>
|
|
2032
|
-
* The namespace of a Maven package is its <code>groupId</code>.
|
|
2033
|
-
* </p>
|
|
2034
|
-
* </li>
|
|
2035
|
-
* <li>
|
|
2036
|
-
* <p>
|
|
2037
|
-
* The namespace of an npm package is its <code>scope</code>.
|
|
2038
|
-
* </p>
|
|
2039
|
-
* </li>
|
|
2040
|
-
* <li>
|
|
2041
|
-
* <p>
|
|
2042
|
-
* A Python package does not contain a corresponding component, so
|
|
2043
|
-
* Python packages do not have a namespace.
|
|
2044
|
-
* </p>
|
|
2045
|
-
* </li>
|
|
2046
|
-
* </ul>
|
|
2047
|
-
*/
|
|
726
|
+
|
|
2048
727
|
namespace?: string;
|
|
2049
|
-
|
|
2050
|
-
* <p>
|
|
2051
|
-
* The name of the package that contains the requested asset.
|
|
2052
|
-
* </p>
|
|
2053
|
-
*/
|
|
728
|
+
|
|
2054
729
|
package: string | undefined;
|
|
2055
|
-
|
|
2056
|
-
* <p>
|
|
2057
|
-
* A string that contains the package version (for example, <code>3.5.2</code>).
|
|
2058
|
-
* </p>
|
|
2059
|
-
*/
|
|
730
|
+
|
|
2060
731
|
packageVersion: string | undefined;
|
|
2061
|
-
|
|
2062
|
-
* <p>
|
|
2063
|
-
* The name of the requested asset.
|
|
2064
|
-
* </p>
|
|
2065
|
-
*/
|
|
732
|
+
|
|
2066
733
|
asset: string | undefined;
|
|
2067
|
-
|
|
2068
|
-
* <p>
|
|
2069
|
-
* The name of the package version revision that contains the requested asset.
|
|
2070
|
-
* </p>
|
|
2071
|
-
*/
|
|
734
|
+
|
|
2072
735
|
packageVersionRevision?: string;
|
|
2073
736
|
}
|
|
2074
737
|
export declare namespace GetPackageVersionAssetRequest {
|
|
2075
|
-
|
|
2076
|
-
* @internal
|
|
2077
|
-
*/
|
|
738
|
+
|
|
2078
739
|
const filterSensitiveLog: (obj: GetPackageVersionAssetRequest) => any;
|
|
2079
740
|
}
|
|
2080
741
|
export interface GetPackageVersionAssetResult {
|
|
2081
|
-
|
|
2082
|
-
* <p> The binary file, or asset, that is downloaded.</p>
|
|
2083
|
-
*/
|
|
742
|
+
|
|
2084
743
|
asset?: Readable | ReadableStream | Blob;
|
|
2085
|
-
|
|
2086
|
-
* <p>
|
|
2087
|
-
* The name of the asset that is downloaded.
|
|
2088
|
-
* </p>
|
|
2089
|
-
*/
|
|
744
|
+
|
|
2090
745
|
assetName?: string;
|
|
2091
|
-
|
|
2092
|
-
* <p>
|
|
2093
|
-
* A string that contains the package version (for example, <code>3.5.2</code>).
|
|
2094
|
-
* </p>
|
|
2095
|
-
*/
|
|
746
|
+
|
|
2096
747
|
packageVersion?: string;
|
|
2097
|
-
|
|
2098
|
-
* <p>
|
|
2099
|
-
* The name of the package version revision that contains the downloaded asset.
|
|
2100
|
-
* </p>
|
|
2101
|
-
*/
|
|
748
|
+
|
|
2102
749
|
packageVersionRevision?: string;
|
|
2103
750
|
}
|
|
2104
751
|
export declare namespace GetPackageVersionAssetResult {
|
|
2105
|
-
|
|
2106
|
-
* @internal
|
|
2107
|
-
*/
|
|
752
|
+
|
|
2108
753
|
const filterSensitiveLog: (obj: GetPackageVersionAssetResult) => any;
|
|
2109
754
|
}
|
|
2110
755
|
export interface GetPackageVersionReadmeRequest {
|
|
2111
|
-
|
|
2112
|
-
* <p>
|
|
2113
|
-
* The name of the domain that contains the repository that contains the package version with the requested readme file.
|
|
2114
|
-
* </p>
|
|
2115
|
-
*/
|
|
756
|
+
|
|
2116
757
|
domain: string | undefined;
|
|
2117
|
-
|
|
2118
|
-
* <p>
|
|
2119
|
-
* The 12-digit account number of the AWS account that owns the domain. It does not include
|
|
2120
|
-
* dashes or spaces.
|
|
2121
|
-
* </p>
|
|
2122
|
-
*/
|
|
758
|
+
|
|
2123
759
|
domainOwner?: string;
|
|
2124
|
-
|
|
2125
|
-
* <p>
|
|
2126
|
-
* The repository that contains the package with the requested readme file.
|
|
2127
|
-
* </p>
|
|
2128
|
-
*/
|
|
760
|
+
|
|
2129
761
|
repository: string | undefined;
|
|
2130
|
-
|
|
2131
|
-
* <p>
|
|
2132
|
-
* A format that specifies the type of the package version with the requested readme file. The valid values are:
|
|
2133
|
-
* </p>
|
|
2134
|
-
* <ul>
|
|
2135
|
-
* <li>
|
|
2136
|
-
* <p>
|
|
2137
|
-
* <code>npm</code>
|
|
2138
|
-
* </p>
|
|
2139
|
-
* </li>
|
|
2140
|
-
* <li>
|
|
2141
|
-
* <p>
|
|
2142
|
-
* <code>pypi</code>
|
|
2143
|
-
* </p>
|
|
2144
|
-
* </li>
|
|
2145
|
-
* <li>
|
|
2146
|
-
* <p>
|
|
2147
|
-
* <code>maven</code>
|
|
2148
|
-
* </p>
|
|
2149
|
-
* </li>
|
|
2150
|
-
* </ul>
|
|
2151
|
-
*/
|
|
762
|
+
|
|
2152
763
|
format: PackageFormat | string | undefined;
|
|
2153
|
-
|
|
2154
|
-
* <p>
|
|
2155
|
-
* The namespace of the package. The package component that specifies its
|
|
2156
|
-
* namespace depends on its type. For example:
|
|
2157
|
-
* </p>
|
|
2158
|
-
* <ul>
|
|
2159
|
-
* <li>
|
|
2160
|
-
* <p>
|
|
2161
|
-
* The namespace of a Maven package is its <code>groupId</code>.
|
|
2162
|
-
* </p>
|
|
2163
|
-
* </li>
|
|
2164
|
-
* <li>
|
|
2165
|
-
* <p>
|
|
2166
|
-
* The namespace of an npm package is its <code>scope</code>.
|
|
2167
|
-
* </p>
|
|
2168
|
-
* </li>
|
|
2169
|
-
* <li>
|
|
2170
|
-
* <p>
|
|
2171
|
-
* A Python package does not contain a corresponding component, so
|
|
2172
|
-
* Python packages do not have a namespace.
|
|
2173
|
-
* </p>
|
|
2174
|
-
* </li>
|
|
2175
|
-
* </ul>
|
|
2176
|
-
*/
|
|
764
|
+
|
|
2177
765
|
namespace?: string;
|
|
2178
|
-
|
|
2179
|
-
* <p>
|
|
2180
|
-
* The name of the package version that contains the requested readme file.
|
|
2181
|
-
* </p>
|
|
2182
|
-
*/
|
|
766
|
+
|
|
2183
767
|
package: string | undefined;
|
|
2184
|
-
|
|
2185
|
-
* <p>
|
|
2186
|
-
* A string that contains the package version (for example, <code>3.5.2</code>).
|
|
2187
|
-
* </p>
|
|
2188
|
-
*/
|
|
768
|
+
|
|
2189
769
|
packageVersion: string | undefined;
|
|
2190
770
|
}
|
|
2191
771
|
export declare namespace GetPackageVersionReadmeRequest {
|
|
2192
|
-
|
|
2193
|
-
* @internal
|
|
2194
|
-
*/
|
|
772
|
+
|
|
2195
773
|
const filterSensitiveLog: (obj: GetPackageVersionReadmeRequest) => any;
|
|
2196
774
|
}
|
|
2197
775
|
export interface GetPackageVersionReadmeResult {
|
|
2198
|
-
|
|
2199
|
-
* <p>
|
|
2200
|
-
* The format of the package with the requested readme file. Valid format types are:
|
|
2201
|
-
* </p>
|
|
2202
|
-
* <ul>
|
|
2203
|
-
* <li>
|
|
2204
|
-
* <p>
|
|
2205
|
-
* <code>npm</code>
|
|
2206
|
-
* </p>
|
|
2207
|
-
* </li>
|
|
2208
|
-
* <li>
|
|
2209
|
-
* <p>
|
|
2210
|
-
* <code>pypi</code>
|
|
2211
|
-
* </p>
|
|
2212
|
-
* </li>
|
|
2213
|
-
* <li>
|
|
2214
|
-
* <p>
|
|
2215
|
-
* <code>maven</code>
|
|
2216
|
-
* </p>
|
|
2217
|
-
* </li>
|
|
2218
|
-
* </ul>
|
|
2219
|
-
*/
|
|
776
|
+
|
|
2220
777
|
format?: PackageFormat | string;
|
|
2221
|
-
|
|
2222
|
-
* <p>
|
|
2223
|
-
* The namespace of the package. The package component that specifies its
|
|
2224
|
-
* namespace depends on its type. For example:
|
|
2225
|
-
* </p>
|
|
2226
|
-
* <ul>
|
|
2227
|
-
* <li>
|
|
2228
|
-
* <p>
|
|
2229
|
-
* The namespace of a Maven package is its <code>groupId</code>.
|
|
2230
|
-
* </p>
|
|
2231
|
-
* </li>
|
|
2232
|
-
* <li>
|
|
2233
|
-
* <p>
|
|
2234
|
-
* The namespace of an npm package is its <code>scope</code>.
|
|
2235
|
-
* </p>
|
|
2236
|
-
* </li>
|
|
2237
|
-
* <li>
|
|
2238
|
-
* <p>
|
|
2239
|
-
* A Python package does not contain a corresponding component, so
|
|
2240
|
-
* Python packages do not have a namespace.
|
|
2241
|
-
* </p>
|
|
2242
|
-
* </li>
|
|
2243
|
-
* </ul>
|
|
2244
|
-
*/
|
|
778
|
+
|
|
2245
779
|
namespace?: string;
|
|
2246
|
-
|
|
2247
|
-
* <p>
|
|
2248
|
-
* The name of the package that contains the returned readme file.
|
|
2249
|
-
* </p>
|
|
2250
|
-
*/
|
|
780
|
+
|
|
2251
781
|
package?: string;
|
|
2252
|
-
|
|
2253
|
-
* <p>
|
|
2254
|
-
* The version of the package with the requested readme file.
|
|
2255
|
-
* </p>
|
|
2256
|
-
*/
|
|
782
|
+
|
|
2257
783
|
version?: string;
|
|
2258
|
-
|
|
2259
|
-
* <p>
|
|
2260
|
-
* The current revision associated with the package version.
|
|
2261
|
-
* </p>
|
|
2262
|
-
*/
|
|
784
|
+
|
|
2263
785
|
versionRevision?: string;
|
|
2264
|
-
|
|
2265
|
-
* <p>
|
|
2266
|
-
* The text of the returned readme file.
|
|
2267
|
-
* </p>
|
|
2268
|
-
*/
|
|
786
|
+
|
|
2269
787
|
readme?: string;
|
|
2270
788
|
}
|
|
2271
789
|
export declare namespace GetPackageVersionReadmeResult {
|
|
2272
|
-
|
|
2273
|
-
* @internal
|
|
2274
|
-
*/
|
|
790
|
+
|
|
2275
791
|
const filterSensitiveLog: (obj: GetPackageVersionReadmeResult) => any;
|
|
2276
792
|
}
|
|
2277
793
|
export interface GetRepositoryEndpointRequest {
|
|
2278
|
-
|
|
2279
|
-
* <p>
|
|
2280
|
-
* The name of the domain that contains the repository.
|
|
2281
|
-
* </p>
|
|
2282
|
-
*/
|
|
794
|
+
|
|
2283
795
|
domain: string | undefined;
|
|
2284
|
-
|
|
2285
|
-
* <p>
|
|
2286
|
-
* The 12-digit account number of the AWS account that owns the domain that contains the repository. It does not include
|
|
2287
|
-
* dashes or spaces.
|
|
2288
|
-
* </p>
|
|
2289
|
-
*/
|
|
796
|
+
|
|
2290
797
|
domainOwner?: string;
|
|
2291
|
-
|
|
2292
|
-
* <p>
|
|
2293
|
-
* The name of the repository.
|
|
2294
|
-
* </p>
|
|
2295
|
-
*/
|
|
798
|
+
|
|
2296
799
|
repository: string | undefined;
|
|
2297
|
-
|
|
2298
|
-
* <p>
|
|
2299
|
-
* Returns which endpoint of a repository to return. A repository has one endpoint for each
|
|
2300
|
-
* package format:
|
|
2301
|
-
* </p>
|
|
2302
|
-
* <ul>
|
|
2303
|
-
* <li>
|
|
2304
|
-
* <p>
|
|
2305
|
-
* <code>npm</code>
|
|
2306
|
-
* </p>
|
|
2307
|
-
* </li>
|
|
2308
|
-
* <li>
|
|
2309
|
-
* <p>
|
|
2310
|
-
* <code>pypi</code>
|
|
2311
|
-
* </p>
|
|
2312
|
-
* </li>
|
|
2313
|
-
* <li>
|
|
2314
|
-
* <p>
|
|
2315
|
-
* <code>maven</code>
|
|
2316
|
-
* </p>
|
|
2317
|
-
* </li>
|
|
2318
|
-
* </ul>
|
|
2319
|
-
*/
|
|
800
|
+
|
|
2320
801
|
format: PackageFormat | string | undefined;
|
|
2321
802
|
}
|
|
2322
803
|
export declare namespace GetRepositoryEndpointRequest {
|
|
2323
|
-
|
|
2324
|
-
* @internal
|
|
2325
|
-
*/
|
|
804
|
+
|
|
2326
805
|
const filterSensitiveLog: (obj: GetRepositoryEndpointRequest) => any;
|
|
2327
806
|
}
|
|
2328
807
|
export interface GetRepositoryEndpointResult {
|
|
2329
|
-
|
|
2330
|
-
* <p>
|
|
2331
|
-
* A string that specifies the URL of the returned endpoint.
|
|
2332
|
-
* </p>
|
|
2333
|
-
*/
|
|
808
|
+
|
|
2334
809
|
repositoryEndpoint?: string;
|
|
2335
810
|
}
|
|
2336
811
|
export declare namespace GetRepositoryEndpointResult {
|
|
2337
|
-
|
|
2338
|
-
* @internal
|
|
2339
|
-
*/
|
|
812
|
+
|
|
2340
813
|
const filterSensitiveLog: (obj: GetRepositoryEndpointResult) => any;
|
|
2341
814
|
}
|
|
2342
815
|
export interface GetRepositoryPermissionsPolicyRequest {
|
|
2343
|
-
|
|
2344
|
-
* <p>
|
|
2345
|
-
* The name of the domain containing the repository whose associated resource policy is to be retrieved.
|
|
2346
|
-
* </p>
|
|
2347
|
-
*/
|
|
816
|
+
|
|
2348
817
|
domain: string | undefined;
|
|
2349
|
-
|
|
2350
|
-
* <p>
|
|
2351
|
-
* The 12-digit account number of the AWS account that owns the domain. It does not include
|
|
2352
|
-
* dashes or spaces.
|
|
2353
|
-
* </p>
|
|
2354
|
-
*/
|
|
818
|
+
|
|
2355
819
|
domainOwner?: string;
|
|
2356
|
-
|
|
2357
|
-
* <p>
|
|
2358
|
-
* The name of the repository whose associated resource policy is to be retrieved.
|
|
2359
|
-
* </p>
|
|
2360
|
-
*/
|
|
820
|
+
|
|
2361
821
|
repository: string | undefined;
|
|
2362
822
|
}
|
|
2363
823
|
export declare namespace GetRepositoryPermissionsPolicyRequest {
|
|
2364
|
-
|
|
2365
|
-
* @internal
|
|
2366
|
-
*/
|
|
824
|
+
|
|
2367
825
|
const filterSensitiveLog: (obj: GetRepositoryPermissionsPolicyRequest) => any;
|
|
2368
826
|
}
|
|
2369
827
|
export interface GetRepositoryPermissionsPolicyResult {
|
|
2370
|
-
|
|
2371
|
-
* <p>
|
|
2372
|
-
* The returned resource policy.
|
|
2373
|
-
* </p>
|
|
2374
|
-
*/
|
|
828
|
+
|
|
2375
829
|
policy?: ResourcePolicy;
|
|
2376
830
|
}
|
|
2377
831
|
export declare namespace GetRepositoryPermissionsPolicyResult {
|
|
2378
|
-
|
|
2379
|
-
* @internal
|
|
2380
|
-
*/
|
|
832
|
+
|
|
2381
833
|
const filterSensitiveLog: (obj: GetRepositoryPermissionsPolicyResult) => any;
|
|
2382
834
|
}
|
|
2383
835
|
export interface ListDomainsRequest {
|
|
2384
|
-
|
|
2385
|
-
* <p>
|
|
2386
|
-
* The maximum number of results to return per page.
|
|
2387
|
-
* </p>
|
|
2388
|
-
*/
|
|
836
|
+
|
|
2389
837
|
maxResults?: number;
|
|
2390
|
-
|
|
2391
|
-
* <p>
|
|
2392
|
-
* The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
|
|
2393
|
-
* </p>
|
|
2394
|
-
*/
|
|
838
|
+
|
|
2395
839
|
nextToken?: string;
|
|
2396
840
|
}
|
|
2397
841
|
export declare namespace ListDomainsRequest {
|
|
2398
|
-
|
|
2399
|
-
* @internal
|
|
2400
|
-
*/
|
|
842
|
+
|
|
2401
843
|
const filterSensitiveLog: (obj: ListDomainsRequest) => any;
|
|
2402
844
|
}
|
|
2403
|
-
|
|
2404
|
-
* <p> Information about a domain, including its name, Amazon Resource Name (ARN), and status.
|
|
2405
|
-
* The <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListDomains.html">ListDomains</a> operation returns a list of <code>DomainSummary</code>
|
|
2406
|
-
* objects. </p>
|
|
2407
|
-
*/
|
|
845
|
+
|
|
2408
846
|
export interface DomainSummary {
|
|
2409
|
-
|
|
2410
|
-
* <p>
|
|
2411
|
-
* The name of the domain.
|
|
2412
|
-
* </p>
|
|
2413
|
-
*/
|
|
847
|
+
|
|
2414
848
|
name?: string;
|
|
2415
|
-
|
|
2416
|
-
* <p>
|
|
2417
|
-
* The 12-digit account number of the AWS account that owns the domain. It does not include
|
|
2418
|
-
* dashes or spaces.
|
|
2419
|
-
* </p>
|
|
2420
|
-
*/
|
|
849
|
+
|
|
2421
850
|
owner?: string;
|
|
2422
|
-
|
|
2423
|
-
* <p>
|
|
2424
|
-
* The ARN of the domain.
|
|
2425
|
-
* </p>
|
|
2426
|
-
*/
|
|
851
|
+
|
|
2427
852
|
arn?: string;
|
|
2428
|
-
|
|
2429
|
-
* <p>
|
|
2430
|
-
* A string that contains the status of the domain. The valid values are:
|
|
2431
|
-
* </p>
|
|
2432
|
-
* <ul>
|
|
2433
|
-
* <li>
|
|
2434
|
-
* <p>
|
|
2435
|
-
* <code>Active</code>
|
|
2436
|
-
* </p>
|
|
2437
|
-
* </li>
|
|
2438
|
-
* <li>
|
|
2439
|
-
* <p>
|
|
2440
|
-
* <code>Deleted</code>
|
|
2441
|
-
* </p>
|
|
2442
|
-
* </li>
|
|
2443
|
-
* </ul>
|
|
2444
|
-
*/
|
|
853
|
+
|
|
2445
854
|
status?: DomainStatus | string;
|
|
2446
|
-
|
|
2447
|
-
* <p>
|
|
2448
|
-
* A timestamp that contains the date and time the domain was created.
|
|
2449
|
-
* </p>
|
|
2450
|
-
*/
|
|
855
|
+
|
|
2451
856
|
createdTime?: Date;
|
|
2452
|
-
|
|
2453
|
-
* <p>
|
|
2454
|
-
* The key used to encrypt the domain.
|
|
2455
|
-
* </p>
|
|
2456
|
-
*/
|
|
857
|
+
|
|
2457
858
|
encryptionKey?: string;
|
|
2458
859
|
}
|
|
2459
860
|
export declare namespace DomainSummary {
|
|
2460
|
-
|
|
2461
|
-
* @internal
|
|
2462
|
-
*/
|
|
861
|
+
|
|
2463
862
|
const filterSensitiveLog: (obj: DomainSummary) => any;
|
|
2464
863
|
}
|
|
2465
864
|
export interface ListDomainsResult {
|
|
2466
|
-
|
|
2467
|
-
* <p>
|
|
2468
|
-
* The returned list of <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_DomainSummary.html">DomainSummary</a> objects.
|
|
2469
|
-
* </p>
|
|
2470
|
-
*/
|
|
865
|
+
|
|
2471
866
|
domains?: DomainSummary[];
|
|
2472
|
-
|
|
2473
|
-
* <p>
|
|
2474
|
-
* The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
|
|
2475
|
-
* </p>
|
|
2476
|
-
*/
|
|
867
|
+
|
|
2477
868
|
nextToken?: string;
|
|
2478
869
|
}
|
|
2479
870
|
export declare namespace ListDomainsResult {
|
|
2480
|
-
|
|
2481
|
-
* @internal
|
|
2482
|
-
*/
|
|
871
|
+
|
|
2483
872
|
const filterSensitiveLog: (obj: ListDomainsResult) => any;
|
|
2484
873
|
}
|
|
2485
874
|
export interface ListPackagesRequest {
|
|
2486
|
-
|
|
2487
|
-
* <p>
|
|
2488
|
-
* The name of the domain that contains the repository that contains the requested list of packages.
|
|
2489
|
-
* </p>
|
|
2490
|
-
*/
|
|
875
|
+
|
|
2491
876
|
domain: string | undefined;
|
|
2492
|
-
|
|
2493
|
-
* <p>
|
|
2494
|
-
* The 12-digit account number of the AWS account that owns the domain. It does not include
|
|
2495
|
-
* dashes or spaces.
|
|
2496
|
-
* </p>
|
|
2497
|
-
*/
|
|
877
|
+
|
|
2498
878
|
domainOwner?: string;
|
|
2499
|
-
|
|
2500
|
-
* <p>
|
|
2501
|
-
* The name of the repository from which packages are to be listed.
|
|
2502
|
-
* </p>
|
|
2503
|
-
*/
|
|
879
|
+
|
|
2504
880
|
repository: string | undefined;
|
|
2505
|
-
|
|
2506
|
-
* <p>
|
|
2507
|
-
* The format of the packages. The valid package types are:
|
|
2508
|
-
* </p>
|
|
2509
|
-
* <ul>
|
|
2510
|
-
* <li>
|
|
2511
|
-
* <p>
|
|
2512
|
-
* <code>npm</code>: A Node Package Manager (npm) package.
|
|
2513
|
-
* </p>
|
|
2514
|
-
* </li>
|
|
2515
|
-
* <li>
|
|
2516
|
-
* <p>
|
|
2517
|
-
* <code>pypi</code>: A Python Package Index (PyPI) package.
|
|
2518
|
-
* </p>
|
|
2519
|
-
* </li>
|
|
2520
|
-
* <li>
|
|
2521
|
-
* <p>
|
|
2522
|
-
* <code>maven</code>: A Maven package that contains compiled code in a distributable format, such as a JAR file.
|
|
2523
|
-
* </p>
|
|
2524
|
-
* </li>
|
|
2525
|
-
* </ul>
|
|
2526
|
-
*/
|
|
881
|
+
|
|
2527
882
|
format?: PackageFormat | string;
|
|
2528
|
-
|
|
2529
|
-
* <p>
|
|
2530
|
-
* The namespace of the package. The package component that specifies its
|
|
2531
|
-
* namespace depends on its type. For example:
|
|
2532
|
-
* </p>
|
|
2533
|
-
* <ul>
|
|
2534
|
-
* <li>
|
|
2535
|
-
* <p>
|
|
2536
|
-
* The namespace of a Maven package is its <code>groupId</code>.
|
|
2537
|
-
* </p>
|
|
2538
|
-
* </li>
|
|
2539
|
-
* <li>
|
|
2540
|
-
* <p>
|
|
2541
|
-
* The namespace of an npm package is its <code>scope</code>.
|
|
2542
|
-
* </p>
|
|
2543
|
-
* </li>
|
|
2544
|
-
* <li>
|
|
2545
|
-
* <p>
|
|
2546
|
-
* A Python package does not contain a corresponding component, so
|
|
2547
|
-
* Python packages do not have a namespace.
|
|
2548
|
-
* </p>
|
|
2549
|
-
* </li>
|
|
2550
|
-
* </ul>
|
|
2551
|
-
*/
|
|
883
|
+
|
|
2552
884
|
namespace?: string;
|
|
2553
|
-
|
|
2554
|
-
* <p>
|
|
2555
|
-
* A prefix used to filter returned packages. Only packages with names that start with
|
|
2556
|
-
* <code>packagePrefix</code> are returned.
|
|
2557
|
-
* </p>
|
|
2558
|
-
*/
|
|
885
|
+
|
|
2559
886
|
packagePrefix?: string;
|
|
2560
|
-
|
|
2561
|
-
* <p>
|
|
2562
|
-
* The maximum number of results to return per page.
|
|
2563
|
-
* </p>
|
|
2564
|
-
*/
|
|
887
|
+
|
|
2565
888
|
maxResults?: number;
|
|
2566
|
-
|
|
2567
|
-
* <p>
|
|
2568
|
-
* The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
|
|
2569
|
-
* </p>
|
|
2570
|
-
*/
|
|
889
|
+
|
|
2571
890
|
nextToken?: string;
|
|
2572
891
|
}
|
|
2573
892
|
export declare namespace ListPackagesRequest {
|
|
2574
|
-
|
|
2575
|
-
* @internal
|
|
2576
|
-
*/
|
|
893
|
+
|
|
2577
894
|
const filterSensitiveLog: (obj: ListPackagesRequest) => any;
|
|
2578
895
|
}
|
|
2579
|
-
|
|
2580
|
-
* <p>
|
|
2581
|
-
* Details about a package, including its format, namespace, and name. The
|
|
2582
|
-
* <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListPackages.html">ListPackages</a>
|
|
2583
|
-
* operation returns a list of <code>PackageSummary</code> objects.
|
|
2584
|
-
* </p>
|
|
2585
|
-
*/
|
|
896
|
+
|
|
2586
897
|
export interface PackageSummary {
|
|
2587
|
-
|
|
2588
|
-
* <p>
|
|
2589
|
-
* The format of the package. Valid values are:
|
|
2590
|
-
* </p>
|
|
2591
|
-
* <ul>
|
|
2592
|
-
* <li>
|
|
2593
|
-
* <p>
|
|
2594
|
-
* <code>npm</code>
|
|
2595
|
-
* </p>
|
|
2596
|
-
* </li>
|
|
2597
|
-
* <li>
|
|
2598
|
-
* <p>
|
|
2599
|
-
* <code>pypi</code>
|
|
2600
|
-
* </p>
|
|
2601
|
-
* </li>
|
|
2602
|
-
* <li>
|
|
2603
|
-
* <p>
|
|
2604
|
-
* <code>maven</code>
|
|
2605
|
-
* </p>
|
|
2606
|
-
* </li>
|
|
2607
|
-
* </ul>
|
|
2608
|
-
*/
|
|
898
|
+
|
|
2609
899
|
format?: PackageFormat | string;
|
|
2610
|
-
|
|
2611
|
-
* <p>
|
|
2612
|
-
* The namespace of the package. The package component that specifies its
|
|
2613
|
-
* namespace depends on its type. For example:
|
|
2614
|
-
* </p>
|
|
2615
|
-
* <ul>
|
|
2616
|
-
* <li>
|
|
2617
|
-
* <p>
|
|
2618
|
-
* The namespace of a Maven package is its <code>groupId</code>.
|
|
2619
|
-
* </p>
|
|
2620
|
-
* </li>
|
|
2621
|
-
* <li>
|
|
2622
|
-
* <p>
|
|
2623
|
-
* The namespace of an npm package is its <code>scope</code>.
|
|
2624
|
-
* </p>
|
|
2625
|
-
* </li>
|
|
2626
|
-
* <li>
|
|
2627
|
-
* <p>
|
|
2628
|
-
* A Python package does not contain a corresponding component, so
|
|
2629
|
-
* Python packages do not have a namespace.
|
|
2630
|
-
* </p>
|
|
2631
|
-
* </li>
|
|
2632
|
-
* </ul>
|
|
2633
|
-
*/
|
|
900
|
+
|
|
2634
901
|
namespace?: string;
|
|
2635
|
-
|
|
2636
|
-
* <p>
|
|
2637
|
-
* The name of the package.
|
|
2638
|
-
* </p>
|
|
2639
|
-
*/
|
|
902
|
+
|
|
2640
903
|
package?: string;
|
|
2641
904
|
}
|
|
2642
905
|
export declare namespace PackageSummary {
|
|
2643
|
-
|
|
2644
|
-
* @internal
|
|
2645
|
-
*/
|
|
906
|
+
|
|
2646
907
|
const filterSensitiveLog: (obj: PackageSummary) => any;
|
|
2647
908
|
}
|
|
2648
909
|
export interface ListPackagesResult {
|
|
2649
|
-
|
|
2650
|
-
* <p>
|
|
2651
|
-
* The list of returned <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageSummary.html">PackageSummary</a>
|
|
2652
|
-
* objects.
|
|
2653
|
-
* </p>
|
|
2654
|
-
*/
|
|
910
|
+
|
|
2655
911
|
packages?: PackageSummary[];
|
|
2656
|
-
|
|
2657
|
-
* <p>
|
|
2658
|
-
* If there are additional results, this is the token for the next set of results.
|
|
2659
|
-
* </p>
|
|
2660
|
-
*/
|
|
912
|
+
|
|
2661
913
|
nextToken?: string;
|
|
2662
914
|
}
|
|
2663
915
|
export declare namespace ListPackagesResult {
|
|
2664
|
-
|
|
2665
|
-
* @internal
|
|
2666
|
-
*/
|
|
916
|
+
|
|
2667
917
|
const filterSensitiveLog: (obj: ListPackagesResult) => any;
|
|
2668
918
|
}
|
|
2669
919
|
export interface ListPackageVersionAssetsRequest {
|
|
2670
|
-
|
|
2671
|
-
* <p>
|
|
2672
|
-
* The name of the domain that contains the repository associated with the package version assets.
|
|
2673
|
-
* </p>
|
|
2674
|
-
*/
|
|
920
|
+
|
|
2675
921
|
domain: string | undefined;
|
|
2676
|
-
|
|
2677
|
-
* <p>
|
|
2678
|
-
* The 12-digit account number of the AWS account that owns the domain. It does not include
|
|
2679
|
-
* dashes or spaces.
|
|
2680
|
-
* </p>
|
|
2681
|
-
*/
|
|
922
|
+
|
|
2682
923
|
domainOwner?: string;
|
|
2683
|
-
|
|
2684
|
-
* <p>
|
|
2685
|
-
* The name of the repository that contains the package that contains the returned package version assets.
|
|
2686
|
-
* </p>
|
|
2687
|
-
*/
|
|
924
|
+
|
|
2688
925
|
repository: string | undefined;
|
|
2689
|
-
|
|
2690
|
-
* <p>
|
|
2691
|
-
* The format of the package that contains the returned package version assets. The valid package types are:
|
|
2692
|
-
* </p>
|
|
2693
|
-
* <ul>
|
|
2694
|
-
* <li>
|
|
2695
|
-
* <p>
|
|
2696
|
-
* <code>npm</code>: A Node Package Manager (npm) package.
|
|
2697
|
-
* </p>
|
|
2698
|
-
* </li>
|
|
2699
|
-
* <li>
|
|
2700
|
-
* <p>
|
|
2701
|
-
* <code>pypi</code>: A Python Package Index (PyPI) package.
|
|
2702
|
-
* </p>
|
|
2703
|
-
* </li>
|
|
2704
|
-
* <li>
|
|
2705
|
-
* <p>
|
|
2706
|
-
* <code>maven</code>: A Maven package that contains compiled code in a distributable format, such as a JAR file.
|
|
2707
|
-
* </p>
|
|
2708
|
-
* </li>
|
|
2709
|
-
* </ul>
|
|
2710
|
-
*/
|
|
926
|
+
|
|
2711
927
|
format: PackageFormat | string | undefined;
|
|
2712
|
-
|
|
2713
|
-
* <p>
|
|
2714
|
-
* The namespace of the package. The package component that specifies its
|
|
2715
|
-
* namespace depends on its type. For example:
|
|
2716
|
-
* </p>
|
|
2717
|
-
* <ul>
|
|
2718
|
-
* <li>
|
|
2719
|
-
* <p>
|
|
2720
|
-
* The namespace of a Maven package is its <code>groupId</code>.
|
|
2721
|
-
* </p>
|
|
2722
|
-
* </li>
|
|
2723
|
-
* <li>
|
|
2724
|
-
* <p>
|
|
2725
|
-
* The namespace of an npm package is its <code>scope</code>.
|
|
2726
|
-
* </p>
|
|
2727
|
-
* </li>
|
|
2728
|
-
* <li>
|
|
2729
|
-
* <p>
|
|
2730
|
-
* A Python package does not contain a corresponding component, so
|
|
2731
|
-
* Python packages do not have a namespace.
|
|
2732
|
-
* </p>
|
|
2733
|
-
* </li>
|
|
2734
|
-
* </ul>
|
|
2735
|
-
*/
|
|
928
|
+
|
|
2736
929
|
namespace?: string;
|
|
2737
|
-
|
|
2738
|
-
* <p>
|
|
2739
|
-
* The name of the package that contains the returned package version assets.
|
|
2740
|
-
* </p>
|
|
2741
|
-
*/
|
|
930
|
+
|
|
2742
931
|
package: string | undefined;
|
|
2743
|
-
|
|
2744
|
-
* <p>
|
|
2745
|
-
* A string that contains the package version (for example, <code>3.5.2</code>).
|
|
2746
|
-
* </p>
|
|
2747
|
-
*/
|
|
932
|
+
|
|
2748
933
|
packageVersion: string | undefined;
|
|
2749
|
-
|
|
2750
|
-
* <p>
|
|
2751
|
-
* The maximum number of results to return per page.
|
|
2752
|
-
* </p>
|
|
2753
|
-
*/
|
|
934
|
+
|
|
2754
935
|
maxResults?: number;
|
|
2755
|
-
|
|
2756
|
-
* <p>
|
|
2757
|
-
* The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
|
|
2758
|
-
* </p>
|
|
2759
|
-
*/
|
|
936
|
+
|
|
2760
937
|
nextToken?: string;
|
|
2761
938
|
}
|
|
2762
939
|
export declare namespace ListPackageVersionAssetsRequest {
|
|
2763
|
-
|
|
2764
|
-
* @internal
|
|
2765
|
-
*/
|
|
940
|
+
|
|
2766
941
|
const filterSensitiveLog: (obj: ListPackageVersionAssetsRequest) => any;
|
|
2767
942
|
}
|
|
2768
943
|
export interface ListPackageVersionAssetsResult {
|
|
2769
|
-
|
|
2770
|
-
* <p>
|
|
2771
|
-
* The format of the package that contains the returned package version assets.
|
|
2772
|
-
* </p>
|
|
2773
|
-
*/
|
|
944
|
+
|
|
2774
945
|
format?: PackageFormat | string;
|
|
2775
|
-
|
|
2776
|
-
* <p>
|
|
2777
|
-
* The namespace of the package. The package component that specifies its
|
|
2778
|
-
* namespace depends on its type. For example:
|
|
2779
|
-
* </p>
|
|
2780
|
-
* <ul>
|
|
2781
|
-
* <li>
|
|
2782
|
-
* <p>
|
|
2783
|
-
* The namespace of a Maven package is its <code>groupId</code>.
|
|
2784
|
-
* </p>
|
|
2785
|
-
* </li>
|
|
2786
|
-
* <li>
|
|
2787
|
-
* <p>
|
|
2788
|
-
* The namespace of an npm package is its <code>scope</code>.
|
|
2789
|
-
* </p>
|
|
2790
|
-
* </li>
|
|
2791
|
-
* <li>
|
|
2792
|
-
* <p>
|
|
2793
|
-
* A Python package does not contain a corresponding component, so
|
|
2794
|
-
* Python packages do not have a namespace.
|
|
2795
|
-
* </p>
|
|
2796
|
-
* </li>
|
|
2797
|
-
* </ul>
|
|
2798
|
-
*/
|
|
946
|
+
|
|
2799
947
|
namespace?: string;
|
|
2800
|
-
|
|
2801
|
-
* <p>
|
|
2802
|
-
* The name of the package that contains the returned package version assets.
|
|
2803
|
-
* </p>
|
|
2804
|
-
*/
|
|
948
|
+
|
|
2805
949
|
package?: string;
|
|
2806
|
-
|
|
2807
|
-
* <p>
|
|
2808
|
-
* The version of the package associated with the returned assets.
|
|
2809
|
-
* </p>
|
|
2810
|
-
*/
|
|
950
|
+
|
|
2811
951
|
version?: string;
|
|
2812
|
-
|
|
2813
|
-
* <p>
|
|
2814
|
-
* The current revision associated with the package version.
|
|
2815
|
-
* </p>
|
|
2816
|
-
*/
|
|
952
|
+
|
|
2817
953
|
versionRevision?: string;
|
|
2818
|
-
|
|
2819
|
-
* <p>
|
|
2820
|
-
* If there are additional results, this is the token for the next set of results.
|
|
2821
|
-
* </p>
|
|
2822
|
-
*/
|
|
954
|
+
|
|
2823
955
|
nextToken?: string;
|
|
2824
|
-
|
|
2825
|
-
* <p>
|
|
2826
|
-
* The returned list of <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_AssetSummary.html">AssetSummary</a> objects.
|
|
2827
|
-
* </p>
|
|
2828
|
-
*/
|
|
956
|
+
|
|
2829
957
|
assets?: AssetSummary[];
|
|
2830
958
|
}
|
|
2831
959
|
export declare namespace ListPackageVersionAssetsResult {
|
|
2832
|
-
|
|
2833
|
-
* @internal
|
|
2834
|
-
*/
|
|
960
|
+
|
|
2835
961
|
const filterSensitiveLog: (obj: ListPackageVersionAssetsResult) => any;
|
|
2836
962
|
}
|
|
2837
963
|
export interface ListPackageVersionDependenciesRequest {
|
|
2838
|
-
|
|
2839
|
-
* <p>
|
|
2840
|
-
* The name of the domain that contains the repository that contains the requested package version dependencies.
|
|
2841
|
-
* </p>
|
|
2842
|
-
*/
|
|
964
|
+
|
|
2843
965
|
domain: string | undefined;
|
|
2844
|
-
|
|
2845
|
-
* <p>
|
|
2846
|
-
* The 12-digit account number of the AWS account that owns the domain. It does not include
|
|
2847
|
-
* dashes or spaces.
|
|
2848
|
-
* </p>
|
|
2849
|
-
*/
|
|
966
|
+
|
|
2850
967
|
domainOwner?: string;
|
|
2851
|
-
|
|
2852
|
-
* <p>
|
|
2853
|
-
* The name of the repository that contains the requested package version.
|
|
2854
|
-
* </p>
|
|
2855
|
-
*/
|
|
968
|
+
|
|
2856
969
|
repository: string | undefined;
|
|
2857
|
-
|
|
2858
|
-
* <p>
|
|
2859
|
-
* The format of the package with the requested dependencies. The valid package types are:
|
|
2860
|
-
* </p>
|
|
2861
|
-
* <ul>
|
|
2862
|
-
* <li>
|
|
2863
|
-
* <p>
|
|
2864
|
-
* <code>npm</code>: A Node Package Manager (npm) package.
|
|
2865
|
-
* </p>
|
|
2866
|
-
* </li>
|
|
2867
|
-
* <li>
|
|
2868
|
-
* <p>
|
|
2869
|
-
* <code>pypi</code>: A Python Package Index (PyPI) package.
|
|
2870
|
-
* </p>
|
|
2871
|
-
* </li>
|
|
2872
|
-
* <li>
|
|
2873
|
-
* <p>
|
|
2874
|
-
* <code>maven</code>: A Maven package that contains compiled code in a distributable format, such as a JAR file.
|
|
2875
|
-
* </p>
|
|
2876
|
-
* </li>
|
|
2877
|
-
* </ul>
|
|
2878
|
-
*/
|
|
970
|
+
|
|
2879
971
|
format: PackageFormat | string | undefined;
|
|
2880
|
-
|
|
2881
|
-
* <p>
|
|
2882
|
-
* The namespace of the package. The package component that specifies its
|
|
2883
|
-
* namespace depends on its type. For example:
|
|
2884
|
-
* </p>
|
|
2885
|
-
* <ul>
|
|
2886
|
-
* <li>
|
|
2887
|
-
* <p>
|
|
2888
|
-
* The namespace of a Maven package is its <code>groupId</code>.
|
|
2889
|
-
* </p>
|
|
2890
|
-
* </li>
|
|
2891
|
-
* <li>
|
|
2892
|
-
* <p>
|
|
2893
|
-
* The namespace of an npm package is its <code>scope</code>.
|
|
2894
|
-
* </p>
|
|
2895
|
-
* </li>
|
|
2896
|
-
* <li>
|
|
2897
|
-
* <p>
|
|
2898
|
-
* A Python package does not contain a corresponding component, so
|
|
2899
|
-
* Python packages do not have a namespace.
|
|
2900
|
-
* </p>
|
|
2901
|
-
* </li>
|
|
2902
|
-
* </ul>
|
|
2903
|
-
*/
|
|
972
|
+
|
|
2904
973
|
namespace?: string;
|
|
2905
|
-
|
|
2906
|
-
* <p>
|
|
2907
|
-
* The name of the package versions' package.
|
|
2908
|
-
* </p>
|
|
2909
|
-
*/
|
|
974
|
+
|
|
2910
975
|
package: string | undefined;
|
|
2911
|
-
|
|
2912
|
-
* <p>
|
|
2913
|
-
* A string that contains the package version (for example, <code>3.5.2</code>).
|
|
2914
|
-
* </p>
|
|
2915
|
-
*/
|
|
976
|
+
|
|
2916
977
|
packageVersion: string | undefined;
|
|
2917
|
-
|
|
2918
|
-
* <p>
|
|
2919
|
-
* The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
|
|
2920
|
-
* </p>
|
|
2921
|
-
*/
|
|
978
|
+
|
|
2922
979
|
nextToken?: string;
|
|
2923
980
|
}
|
|
2924
981
|
export declare namespace ListPackageVersionDependenciesRequest {
|
|
2925
|
-
|
|
2926
|
-
* @internal
|
|
2927
|
-
*/
|
|
982
|
+
|
|
2928
983
|
const filterSensitiveLog: (obj: ListPackageVersionDependenciesRequest) => any;
|
|
2929
984
|
}
|
|
2930
|
-
|
|
2931
|
-
* <p>
|
|
2932
|
-
* Details about a package dependency.
|
|
2933
|
-
* </p>
|
|
2934
|
-
*/
|
|
985
|
+
|
|
2935
986
|
export interface PackageDependency {
|
|
2936
|
-
|
|
2937
|
-
* <p>
|
|
2938
|
-
* The namespace of the package. The package component that specifies its
|
|
2939
|
-
* namespace depends on its type. For example:
|
|
2940
|
-
* </p>
|
|
2941
|
-
* <ul>
|
|
2942
|
-
* <li>
|
|
2943
|
-
* <p>
|
|
2944
|
-
* The namespace of a Maven package is its <code>groupId</code>.
|
|
2945
|
-
* </p>
|
|
2946
|
-
* </li>
|
|
2947
|
-
* <li>
|
|
2948
|
-
* <p>
|
|
2949
|
-
* The namespace of an npm package is its <code>scope</code>.
|
|
2950
|
-
* </p>
|
|
2951
|
-
* </li>
|
|
2952
|
-
* <li>
|
|
2953
|
-
* <p>
|
|
2954
|
-
* A Python package does not contain a corresponding component, so
|
|
2955
|
-
* Python packages do not have a namespace.
|
|
2956
|
-
* </p>
|
|
2957
|
-
* </li>
|
|
2958
|
-
* </ul>
|
|
2959
|
-
*/
|
|
987
|
+
|
|
2960
988
|
namespace?: string;
|
|
2961
|
-
|
|
2962
|
-
* <p>
|
|
2963
|
-
* The name of the package that this package depends on.
|
|
2964
|
-
* </p>
|
|
2965
|
-
*/
|
|
989
|
+
|
|
2966
990
|
package?: string;
|
|
2967
|
-
|
|
2968
|
-
* <p> The type of a package dependency. The possible values depend on the package type.
|
|
2969
|
-
* Example types are <code>compile</code>, <code>runtime</code>, and <code>test</code> for Maven
|
|
2970
|
-
* packages, and <code>dev</code>, <code>prod</code>, and <code>optional</code> for npm packages. </p>
|
|
2971
|
-
*/
|
|
991
|
+
|
|
2972
992
|
dependencyType?: string;
|
|
2973
|
-
|
|
2974
|
-
* <p>
|
|
2975
|
-
* The required version, or version range, of the package that this package depends on. The version format
|
|
2976
|
-
* is specific to the package type. For example, the following are possible valid required versions: <code>1.2.3</code>,
|
|
2977
|
-
* <code>^2.3.4</code>, or <code>4.x</code>.
|
|
2978
|
-
* </p>
|
|
2979
|
-
*/
|
|
993
|
+
|
|
2980
994
|
versionRequirement?: string;
|
|
2981
995
|
}
|
|
2982
996
|
export declare namespace PackageDependency {
|
|
2983
|
-
|
|
2984
|
-
* @internal
|
|
2985
|
-
*/
|
|
997
|
+
|
|
2986
998
|
const filterSensitiveLog: (obj: PackageDependency) => any;
|
|
2987
999
|
}
|
|
2988
1000
|
export interface ListPackageVersionDependenciesResult {
|
|
2989
|
-
|
|
2990
|
-
* <p>
|
|
2991
|
-
* A format that specifies the type of the package that contains the returned dependencies. The valid values are:
|
|
2992
|
-
* </p>
|
|
2993
|
-
* <ul>
|
|
2994
|
-
* <li>
|
|
2995
|
-
* <p>
|
|
2996
|
-
* <code>npm</code>
|
|
2997
|
-
* </p>
|
|
2998
|
-
* </li>
|
|
2999
|
-
* <li>
|
|
3000
|
-
* <p>
|
|
3001
|
-
* <code>pypi</code>
|
|
3002
|
-
* </p>
|
|
3003
|
-
* </li>
|
|
3004
|
-
* <li>
|
|
3005
|
-
* <p>
|
|
3006
|
-
* <code>maven</code>
|
|
3007
|
-
* </p>
|
|
3008
|
-
* </li>
|
|
3009
|
-
* </ul>
|
|
3010
|
-
*/
|
|
1001
|
+
|
|
3011
1002
|
format?: PackageFormat | string;
|
|
3012
|
-
|
|
3013
|
-
* <p>
|
|
3014
|
-
* The namespace of the package. The package component that specifies its
|
|
3015
|
-
* namespace depends on its type. For example:
|
|
3016
|
-
* </p>
|
|
3017
|
-
* <ul>
|
|
3018
|
-
* <li>
|
|
3019
|
-
* <p>
|
|
3020
|
-
* The namespace of a Maven package is its <code>groupId</code>.
|
|
3021
|
-
* </p>
|
|
3022
|
-
* </li>
|
|
3023
|
-
* <li>
|
|
3024
|
-
* <p>
|
|
3025
|
-
* The namespace of an npm package is its <code>scope</code>.
|
|
3026
|
-
* </p>
|
|
3027
|
-
* </li>
|
|
3028
|
-
* <li>
|
|
3029
|
-
* <p>
|
|
3030
|
-
* A Python package does not contain a corresponding component, so
|
|
3031
|
-
* Python packages do not have a namespace.
|
|
3032
|
-
* </p>
|
|
3033
|
-
* </li>
|
|
3034
|
-
* </ul>
|
|
3035
|
-
*/
|
|
1003
|
+
|
|
3036
1004
|
namespace?: string;
|
|
3037
|
-
|
|
3038
|
-
* <p>
|
|
3039
|
-
* The name of the package that contains the returned package versions dependencies.
|
|
3040
|
-
* </p>
|
|
3041
|
-
*/
|
|
1005
|
+
|
|
3042
1006
|
package?: string;
|
|
3043
|
-
|
|
3044
|
-
* <p>
|
|
3045
|
-
* The version of the package that is specified in the request.
|
|
3046
|
-
* </p>
|
|
3047
|
-
*/
|
|
1007
|
+
|
|
3048
1008
|
version?: string;
|
|
3049
|
-
|
|
3050
|
-
* <p>
|
|
3051
|
-
* The current revision associated with the package version.
|
|
3052
|
-
* </p>
|
|
3053
|
-
*/
|
|
1009
|
+
|
|
3054
1010
|
versionRevision?: string;
|
|
3055
|
-
|
|
3056
|
-
* <p>
|
|
3057
|
-
* The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
|
|
3058
|
-
* </p>
|
|
3059
|
-
*/
|
|
1011
|
+
|
|
3060
1012
|
nextToken?: string;
|
|
3061
|
-
|
|
3062
|
-
* <p>
|
|
3063
|
-
* The returned list of <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageDependency.html">PackageDependency</a> objects.
|
|
3064
|
-
* </p>
|
|
3065
|
-
*/
|
|
1013
|
+
|
|
3066
1014
|
dependencies?: PackageDependency[];
|
|
3067
1015
|
}
|
|
3068
1016
|
export declare namespace ListPackageVersionDependenciesResult {
|
|
3069
|
-
|
|
3070
|
-
* @internal
|
|
3071
|
-
*/
|
|
1017
|
+
|
|
3072
1018
|
const filterSensitiveLog: (obj: ListPackageVersionDependenciesResult) => any;
|
|
3073
1019
|
}
|
|
3074
1020
|
export declare enum PackageVersionSortType {
|
|
3075
1021
|
PUBLISHED_TIME = "PUBLISHED_TIME"
|
|
3076
1022
|
}
|
|
3077
1023
|
export interface ListPackageVersionsRequest {
|
|
3078
|
-
|
|
3079
|
-
* <p>
|
|
3080
|
-
* The name of the domain that contains the repository that contains the returned package versions.
|
|
3081
|
-
* </p>
|
|
3082
|
-
*/
|
|
1024
|
+
|
|
3083
1025
|
domain: string | undefined;
|
|
3084
|
-
|
|
3085
|
-
* <p>
|
|
3086
|
-
* The 12-digit account number of the AWS account that owns the domain. It does not include
|
|
3087
|
-
* dashes or spaces.
|
|
3088
|
-
* </p>
|
|
3089
|
-
*/
|
|
1026
|
+
|
|
3090
1027
|
domainOwner?: string;
|
|
3091
|
-
|
|
3092
|
-
* <p>
|
|
3093
|
-
* The name of the repository that contains the package.
|
|
3094
|
-
* </p>
|
|
3095
|
-
*/
|
|
1028
|
+
|
|
3096
1029
|
repository: string | undefined;
|
|
3097
|
-
|
|
3098
|
-
* <p>
|
|
3099
|
-
* The format of the returned packages. The valid package types are:
|
|
3100
|
-
* </p>
|
|
3101
|
-
* <ul>
|
|
3102
|
-
* <li>
|
|
3103
|
-
* <p>
|
|
3104
|
-
* <code>npm</code>: A Node Package Manager (npm) package.
|
|
3105
|
-
* </p>
|
|
3106
|
-
* </li>
|
|
3107
|
-
* <li>
|
|
3108
|
-
* <p>
|
|
3109
|
-
* <code>pypi</code>: A Python Package Index (PyPI) package.
|
|
3110
|
-
* </p>
|
|
3111
|
-
* </li>
|
|
3112
|
-
* <li>
|
|
3113
|
-
* <p>
|
|
3114
|
-
* <code>maven</code>: A Maven package that contains compiled code in a distributable format, such as a JAR file.
|
|
3115
|
-
* </p>
|
|
3116
|
-
* </li>
|
|
3117
|
-
* </ul>
|
|
3118
|
-
*/
|
|
1030
|
+
|
|
3119
1031
|
format: PackageFormat | string | undefined;
|
|
3120
|
-
|
|
3121
|
-
* <p>
|
|
3122
|
-
* The namespace of the package. The package component that specifies its
|
|
3123
|
-
* namespace depends on its type. For example:
|
|
3124
|
-
* </p>
|
|
3125
|
-
* <ul>
|
|
3126
|
-
* <li>
|
|
3127
|
-
* <p>
|
|
3128
|
-
* The namespace of a Maven package is its <code>groupId</code>.
|
|
3129
|
-
* </p>
|
|
3130
|
-
* </li>
|
|
3131
|
-
* <li>
|
|
3132
|
-
* <p>
|
|
3133
|
-
* The namespace of an npm package is its <code>scope</code>.
|
|
3134
|
-
* </p>
|
|
3135
|
-
* </li>
|
|
3136
|
-
* <li>
|
|
3137
|
-
* <p>
|
|
3138
|
-
* A Python package does not contain a corresponding component, so
|
|
3139
|
-
* Python packages do not have a namespace.
|
|
3140
|
-
* </p>
|
|
3141
|
-
* </li>
|
|
3142
|
-
* </ul>
|
|
3143
|
-
*/
|
|
1032
|
+
|
|
3144
1033
|
namespace?: string;
|
|
3145
|
-
|
|
3146
|
-
* <p>
|
|
3147
|
-
* The name of the package for which you want to return a list of package versions.
|
|
3148
|
-
* </p>
|
|
3149
|
-
*/
|
|
1034
|
+
|
|
3150
1035
|
package: string | undefined;
|
|
3151
|
-
|
|
3152
|
-
* <p>
|
|
3153
|
-
* A string that specifies the status of the package versions to include in the returned list. It can be one of the following:
|
|
3154
|
-
* </p>
|
|
3155
|
-
* <ul>
|
|
3156
|
-
* <li>
|
|
3157
|
-
* <p>
|
|
3158
|
-
* <code>Published</code>
|
|
3159
|
-
* </p>
|
|
3160
|
-
* </li>
|
|
3161
|
-
* <li>
|
|
3162
|
-
* <p>
|
|
3163
|
-
* <code>Unfinished</code>
|
|
3164
|
-
* </p>
|
|
3165
|
-
* </li>
|
|
3166
|
-
* <li>
|
|
3167
|
-
* <p>
|
|
3168
|
-
* <code>Unlisted</code>
|
|
3169
|
-
* </p>
|
|
3170
|
-
* </li>
|
|
3171
|
-
* <li>
|
|
3172
|
-
* <p>
|
|
3173
|
-
* <code>Archived</code>
|
|
3174
|
-
* </p>
|
|
3175
|
-
* </li>
|
|
3176
|
-
* <li>
|
|
3177
|
-
* <p>
|
|
3178
|
-
* <code>Disposed</code>
|
|
3179
|
-
* </p>
|
|
3180
|
-
* </li>
|
|
3181
|
-
* </ul>
|
|
3182
|
-
*/
|
|
1036
|
+
|
|
3183
1037
|
status?: PackageVersionStatus | string;
|
|
3184
|
-
|
|
3185
|
-
* <p>
|
|
3186
|
-
* How to sort the returned list of package versions.
|
|
3187
|
-
* </p>
|
|
3188
|
-
*/
|
|
1038
|
+
|
|
3189
1039
|
sortBy?: PackageVersionSortType | string;
|
|
3190
|
-
|
|
3191
|
-
* <p>
|
|
3192
|
-
* The maximum number of results to return per page.
|
|
3193
|
-
* </p>
|
|
3194
|
-
*/
|
|
1040
|
+
|
|
3195
1041
|
maxResults?: number;
|
|
3196
|
-
|
|
3197
|
-
* <p>
|
|
3198
|
-
* The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
|
|
3199
|
-
* </p>
|
|
3200
|
-
*/
|
|
1042
|
+
|
|
3201
1043
|
nextToken?: string;
|
|
3202
1044
|
}
|
|
3203
1045
|
export declare namespace ListPackageVersionsRequest {
|
|
3204
|
-
|
|
3205
|
-
* @internal
|
|
3206
|
-
*/
|
|
1046
|
+
|
|
3207
1047
|
const filterSensitiveLog: (obj: ListPackageVersionsRequest) => any;
|
|
3208
1048
|
}
|
|
3209
|
-
|
|
3210
|
-
* <p>
|
|
3211
|
-
* Details about a package version, including its status, version, and revision. The
|
|
3212
|
-
* <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListPackageVersions.html">ListPackageVersions</a>
|
|
3213
|
-
* operation returns a list of <code>PackageVersionSummary</code> objects.
|
|
3214
|
-
* </p>
|
|
3215
|
-
*/
|
|
1049
|
+
|
|
3216
1050
|
export interface PackageVersionSummary {
|
|
3217
|
-
|
|
3218
|
-
* <p>
|
|
3219
|
-
* Information about a package version.
|
|
3220
|
-
* </p>
|
|
3221
|
-
*/
|
|
1051
|
+
|
|
3222
1052
|
version: string | undefined;
|
|
3223
|
-
|
|
3224
|
-
* <p>
|
|
3225
|
-
* The revision associated with a package version.
|
|
3226
|
-
* </p>
|
|
3227
|
-
*/
|
|
1053
|
+
|
|
3228
1054
|
revision?: string;
|
|
3229
|
-
|
|
3230
|
-
* <p>
|
|
3231
|
-
* A string that contains the status of the package version. It can be one of the following:
|
|
3232
|
-
* </p>
|
|
3233
|
-
* <ul>
|
|
3234
|
-
* <li>
|
|
3235
|
-
* <p>
|
|
3236
|
-
* <code>Published</code>
|
|
3237
|
-
* </p>
|
|
3238
|
-
* </li>
|
|
3239
|
-
* <li>
|
|
3240
|
-
* <p>
|
|
3241
|
-
* <code>Unfinished</code>
|
|
3242
|
-
* </p>
|
|
3243
|
-
* </li>
|
|
3244
|
-
* <li>
|
|
3245
|
-
* <p>
|
|
3246
|
-
* <code>Unlisted</code>
|
|
3247
|
-
* </p>
|
|
3248
|
-
* </li>
|
|
3249
|
-
* <li>
|
|
3250
|
-
* <p>
|
|
3251
|
-
* <code>Archived</code>
|
|
3252
|
-
* </p>
|
|
3253
|
-
* </li>
|
|
3254
|
-
* <li>
|
|
3255
|
-
* <p>
|
|
3256
|
-
* <code>Disposed</code>
|
|
3257
|
-
* </p>
|
|
3258
|
-
* </li>
|
|
3259
|
-
* </ul>
|
|
3260
|
-
*/
|
|
1055
|
+
|
|
3261
1056
|
status: PackageVersionStatus | string | undefined;
|
|
3262
1057
|
}
|
|
3263
1058
|
export declare namespace PackageVersionSummary {
|
|
3264
|
-
|
|
3265
|
-
* @internal
|
|
3266
|
-
*/
|
|
1059
|
+
|
|
3267
1060
|
const filterSensitiveLog: (obj: PackageVersionSummary) => any;
|
|
3268
1061
|
}
|
|
3269
1062
|
export interface ListPackageVersionsResult {
|
|
3270
|
-
|
|
3271
|
-
* <p>
|
|
3272
|
-
* The default package version to display. This depends on the package format:
|
|
3273
|
-
* </p>
|
|
3274
|
-
* <ul>
|
|
3275
|
-
* <li>
|
|
3276
|
-
* <p>
|
|
3277
|
-
* For Maven and PyPI packages, it's the most recently published package version.
|
|
3278
|
-
* </p>
|
|
3279
|
-
* </li>
|
|
3280
|
-
* <li>
|
|
3281
|
-
* <p>
|
|
3282
|
-
* For npm packages, it's the version referenced by the
|
|
3283
|
-
* <code>latest</code> tag. If the <code>latest</code> tag is not set, it's the most recently published package version.
|
|
3284
|
-
* </p>
|
|
3285
|
-
* </li>
|
|
3286
|
-
* </ul>
|
|
3287
|
-
*/
|
|
1063
|
+
|
|
3288
1064
|
defaultDisplayVersion?: string;
|
|
3289
|
-
|
|
3290
|
-
* <p>
|
|
3291
|
-
* A format of the package. Valid package format values are:
|
|
3292
|
-
* </p>
|
|
3293
|
-
* <ul>
|
|
3294
|
-
* <li>
|
|
3295
|
-
* <p>
|
|
3296
|
-
* <code>npm</code>
|
|
3297
|
-
* </p>
|
|
3298
|
-
* </li>
|
|
3299
|
-
* <li>
|
|
3300
|
-
* <p>
|
|
3301
|
-
* <code>pypi</code>
|
|
3302
|
-
* </p>
|
|
3303
|
-
* </li>
|
|
3304
|
-
* <li>
|
|
3305
|
-
* <p>
|
|
3306
|
-
* <code>maven</code>
|
|
3307
|
-
* </p>
|
|
3308
|
-
* </li>
|
|
3309
|
-
* </ul>
|
|
3310
|
-
*/
|
|
1065
|
+
|
|
3311
1066
|
format?: PackageFormat | string;
|
|
3312
|
-
|
|
3313
|
-
* <p>
|
|
3314
|
-
* The namespace of the package. The package component that specifies its
|
|
3315
|
-
* namespace depends on its type. For example:
|
|
3316
|
-
* </p>
|
|
3317
|
-
* <ul>
|
|
3318
|
-
* <li>
|
|
3319
|
-
* <p>
|
|
3320
|
-
* The namespace of a Maven package is its <code>groupId</code>.
|
|
3321
|
-
* </p>
|
|
3322
|
-
* </li>
|
|
3323
|
-
* <li>
|
|
3324
|
-
* <p>
|
|
3325
|
-
* The namespace of an npm package is its <code>scope</code>.
|
|
3326
|
-
* </p>
|
|
3327
|
-
* </li>
|
|
3328
|
-
* <li>
|
|
3329
|
-
* <p>
|
|
3330
|
-
* A Python package does not contain a corresponding component, so
|
|
3331
|
-
* Python packages do not have a namespace.
|
|
3332
|
-
* </p>
|
|
3333
|
-
* </li>
|
|
3334
|
-
* </ul>
|
|
3335
|
-
*/
|
|
1067
|
+
|
|
3336
1068
|
namespace?: string;
|
|
3337
|
-
|
|
3338
|
-
* <p>
|
|
3339
|
-
* The name of the package.
|
|
3340
|
-
* </p>
|
|
3341
|
-
*/
|
|
1069
|
+
|
|
3342
1070
|
package?: string;
|
|
3343
|
-
|
|
3344
|
-
* <p>
|
|
3345
|
-
* The returned list of
|
|
3346
|
-
* <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionSummary.html">PackageVersionSummary</a>
|
|
3347
|
-
* objects.
|
|
3348
|
-
* </p>
|
|
3349
|
-
*/
|
|
1071
|
+
|
|
3350
1072
|
versions?: PackageVersionSummary[];
|
|
3351
|
-
|
|
3352
|
-
* <p>
|
|
3353
|
-
* If there are additional results, this is the token for the next set of results.
|
|
3354
|
-
* </p>
|
|
3355
|
-
*/
|
|
1073
|
+
|
|
3356
1074
|
nextToken?: string;
|
|
3357
1075
|
}
|
|
3358
1076
|
export declare namespace ListPackageVersionsResult {
|
|
3359
|
-
|
|
3360
|
-
* @internal
|
|
3361
|
-
*/
|
|
1077
|
+
|
|
3362
1078
|
const filterSensitiveLog: (obj: ListPackageVersionsResult) => any;
|
|
3363
1079
|
}
|
|
3364
1080
|
export interface ListRepositoriesRequest {
|
|
3365
|
-
|
|
3366
|
-
* <p> A prefix used to filter returned repositories. Only repositories with names that start
|
|
3367
|
-
* with <code>repositoryPrefix</code> are returned.</p>
|
|
3368
|
-
*/
|
|
1081
|
+
|
|
3369
1082
|
repositoryPrefix?: string;
|
|
3370
|
-
|
|
3371
|
-
* <p>
|
|
3372
|
-
* The maximum number of results to return per page.
|
|
3373
|
-
* </p>
|
|
3374
|
-
*/
|
|
1083
|
+
|
|
3375
1084
|
maxResults?: number;
|
|
3376
|
-
|
|
3377
|
-
* <p>
|
|
3378
|
-
* The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
|
|
3379
|
-
* </p>
|
|
3380
|
-
*/
|
|
1085
|
+
|
|
3381
1086
|
nextToken?: string;
|
|
3382
1087
|
}
|
|
3383
1088
|
export declare namespace ListRepositoriesRequest {
|
|
3384
|
-
|
|
3385
|
-
* @internal
|
|
3386
|
-
*/
|
|
1089
|
+
|
|
3387
1090
|
const filterSensitiveLog: (obj: ListRepositoriesRequest) => any;
|
|
3388
1091
|
}
|
|
3389
|
-
|
|
3390
|
-
* <p> Details about a repository, including its Amazon Resource Name (ARN), description, and
|
|
3391
|
-
* domain information. The <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListRepositories.html">ListRepositories</a> operation returns a list of
|
|
3392
|
-
* <code>RepositorySummary</code> objects. </p>
|
|
3393
|
-
*/
|
|
1092
|
+
|
|
3394
1093
|
export interface RepositorySummary {
|
|
3395
|
-
|
|
3396
|
-
* <p>
|
|
3397
|
-
* The name of the repository.
|
|
3398
|
-
* </p>
|
|
3399
|
-
*/
|
|
1094
|
+
|
|
3400
1095
|
name?: string;
|
|
3401
|
-
|
|
3402
|
-
* <p>
|
|
3403
|
-
* The AWS account ID that manages the repository.
|
|
3404
|
-
* </p>
|
|
3405
|
-
*/
|
|
1096
|
+
|
|
3406
1097
|
administratorAccount?: string;
|
|
3407
|
-
|
|
3408
|
-
* <p>
|
|
3409
|
-
* The name of the domain that contains the repository.
|
|
3410
|
-
* </p>
|
|
3411
|
-
*/
|
|
1098
|
+
|
|
3412
1099
|
domainName?: string;
|
|
3413
|
-
|
|
3414
|
-
* <p>
|
|
3415
|
-
* The 12-digit account number of the AWS account that owns the domain. It does not include
|
|
3416
|
-
* dashes or spaces.
|
|
3417
|
-
* </p>
|
|
3418
|
-
*/
|
|
1100
|
+
|
|
3419
1101
|
domainOwner?: string;
|
|
3420
|
-
|
|
3421
|
-
* <p> The ARN of the repository. </p>
|
|
3422
|
-
*/
|
|
1102
|
+
|
|
3423
1103
|
arn?: string;
|
|
3424
|
-
|
|
3425
|
-
* <p>
|
|
3426
|
-
* The description of the repository.
|
|
3427
|
-
* </p>
|
|
3428
|
-
*/
|
|
1104
|
+
|
|
3429
1105
|
description?: string;
|
|
3430
1106
|
}
|
|
3431
1107
|
export declare namespace RepositorySummary {
|
|
3432
|
-
|
|
3433
|
-
* @internal
|
|
3434
|
-
*/
|
|
1108
|
+
|
|
3435
1109
|
const filterSensitiveLog: (obj: RepositorySummary) => any;
|
|
3436
1110
|
}
|
|
3437
1111
|
export interface ListRepositoriesResult {
|
|
3438
|
-
|
|
3439
|
-
* <p>
|
|
3440
|
-
* The returned list of <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_RepositorySummary.html">RepositorySummary</a>
|
|
3441
|
-
* objects.
|
|
3442
|
-
* </p>
|
|
3443
|
-
*/
|
|
1112
|
+
|
|
3444
1113
|
repositories?: RepositorySummary[];
|
|
3445
|
-
|
|
3446
|
-
* <p>
|
|
3447
|
-
* If there are additional results, this is the token for the next set of results.
|
|
3448
|
-
* </p>
|
|
3449
|
-
*/
|
|
1114
|
+
|
|
3450
1115
|
nextToken?: string;
|
|
3451
1116
|
}
|
|
3452
1117
|
export declare namespace ListRepositoriesResult {
|
|
3453
|
-
|
|
3454
|
-
* @internal
|
|
3455
|
-
*/
|
|
1118
|
+
|
|
3456
1119
|
const filterSensitiveLog: (obj: ListRepositoriesResult) => any;
|
|
3457
1120
|
}
|
|
3458
1121
|
export interface ListRepositoriesInDomainRequest {
|
|
3459
|
-
|
|
3460
|
-
* <p>
|
|
3461
|
-
* The name of the domain that contains the returned list of repositories.
|
|
3462
|
-
* </p>
|
|
3463
|
-
*/
|
|
1122
|
+
|
|
3464
1123
|
domain: string | undefined;
|
|
3465
|
-
|
|
3466
|
-
* <p>
|
|
3467
|
-
* The 12-digit account number of the AWS account that owns the domain. It does not include
|
|
3468
|
-
* dashes or spaces.
|
|
3469
|
-
* </p>
|
|
3470
|
-
*/
|
|
1124
|
+
|
|
3471
1125
|
domainOwner?: string;
|
|
3472
|
-
|
|
3473
|
-
* <p>
|
|
3474
|
-
* Filter the list of repositories to only include those that are managed by the AWS account ID.
|
|
3475
|
-
* </p>
|
|
3476
|
-
*/
|
|
1126
|
+
|
|
3477
1127
|
administratorAccount?: string;
|
|
3478
|
-
|
|
3479
|
-
* <p>
|
|
3480
|
-
* A prefix used to filter returned repositories. Only repositories with names that start with
|
|
3481
|
-
* <code>repositoryPrefix</code> are returned.
|
|
3482
|
-
* </p>
|
|
3483
|
-
*/
|
|
1128
|
+
|
|
3484
1129
|
repositoryPrefix?: string;
|
|
3485
|
-
|
|
3486
|
-
* <p>
|
|
3487
|
-
* The maximum number of results to return per page.
|
|
3488
|
-
* </p>
|
|
3489
|
-
*/
|
|
1130
|
+
|
|
3490
1131
|
maxResults?: number;
|
|
3491
|
-
|
|
3492
|
-
* <p>
|
|
3493
|
-
* The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
|
|
3494
|
-
* </p>
|
|
3495
|
-
*/
|
|
1132
|
+
|
|
3496
1133
|
nextToken?: string;
|
|
3497
1134
|
}
|
|
3498
1135
|
export declare namespace ListRepositoriesInDomainRequest {
|
|
3499
|
-
|
|
3500
|
-
* @internal
|
|
3501
|
-
*/
|
|
1136
|
+
|
|
3502
1137
|
const filterSensitiveLog: (obj: ListRepositoriesInDomainRequest) => any;
|
|
3503
1138
|
}
|
|
3504
1139
|
export interface ListRepositoriesInDomainResult {
|
|
3505
|
-
|
|
3506
|
-
* <p>
|
|
3507
|
-
* The returned list of repositories.
|
|
3508
|
-
* </p>
|
|
3509
|
-
*/
|
|
1140
|
+
|
|
3510
1141
|
repositories?: RepositorySummary[];
|
|
3511
|
-
|
|
3512
|
-
* <p>
|
|
3513
|
-
* If there are additional results, this is the token for the next set of results.
|
|
3514
|
-
* </p>
|
|
3515
|
-
*/
|
|
1142
|
+
|
|
3516
1143
|
nextToken?: string;
|
|
3517
1144
|
}
|
|
3518
1145
|
export declare namespace ListRepositoriesInDomainResult {
|
|
3519
|
-
|
|
3520
|
-
* @internal
|
|
3521
|
-
*/
|
|
1146
|
+
|
|
3522
1147
|
const filterSensitiveLog: (obj: ListRepositoriesInDomainResult) => any;
|
|
3523
1148
|
}
|
|
3524
1149
|
export interface ListTagsForResourceRequest {
|
|
3525
|
-
|
|
3526
|
-
* <p>The Amazon Resource Name (ARN) of the resource to get tags for.</p>
|
|
3527
|
-
*/
|
|
1150
|
+
|
|
3528
1151
|
resourceArn: string | undefined;
|
|
3529
1152
|
}
|
|
3530
1153
|
export declare namespace ListTagsForResourceRequest {
|
|
3531
|
-
|
|
3532
|
-
* @internal
|
|
3533
|
-
*/
|
|
1154
|
+
|
|
3534
1155
|
const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
|
|
3535
1156
|
}
|
|
3536
1157
|
export interface ListTagsForResourceResult {
|
|
3537
|
-
|
|
3538
|
-
* <p>A list of tag key and value pairs associated with the specified resource.</p>
|
|
3539
|
-
*/
|
|
1158
|
+
|
|
3540
1159
|
tags?: Tag[];
|
|
3541
1160
|
}
|
|
3542
1161
|
export declare namespace ListTagsForResourceResult {
|
|
3543
|
-
|
|
3544
|
-
* @internal
|
|
3545
|
-
*/
|
|
1162
|
+
|
|
3546
1163
|
const filterSensitiveLog: (obj: ListTagsForResourceResult) => any;
|
|
3547
1164
|
}
|
|
3548
1165
|
export interface PutDomainPermissionsPolicyRequest {
|
|
3549
|
-
|
|
3550
|
-
* <p>
|
|
3551
|
-
* The name of the domain on which to set the resource policy.
|
|
3552
|
-
* </p>
|
|
3553
|
-
*/
|
|
1166
|
+
|
|
3554
1167
|
domain: string | undefined;
|
|
3555
|
-
|
|
3556
|
-
* <p>
|
|
3557
|
-
* The 12-digit account number of the AWS account that owns the domain. It does not include
|
|
3558
|
-
* dashes or spaces.
|
|
3559
|
-
* </p>
|
|
3560
|
-
*/
|
|
1168
|
+
|
|
3561
1169
|
domainOwner?: string;
|
|
3562
|
-
|
|
3563
|
-
* <p>
|
|
3564
|
-
* The current revision of the resource policy to be set. This revision is used for optimistic locking, which
|
|
3565
|
-
* prevents others from overwriting your changes to the domain's resource policy.
|
|
3566
|
-
* </p>
|
|
3567
|
-
*/
|
|
1170
|
+
|
|
3568
1171
|
policyRevision?: string;
|
|
3569
|
-
|
|
3570
|
-
* <p> A valid displayable JSON Aspen policy string to be set as the access control resource
|
|
3571
|
-
* policy on the provided domain. </p>
|
|
3572
|
-
*/
|
|
1172
|
+
|
|
3573
1173
|
policyDocument: string | undefined;
|
|
3574
1174
|
}
|
|
3575
1175
|
export declare namespace PutDomainPermissionsPolicyRequest {
|
|
3576
|
-
|
|
3577
|
-
* @internal
|
|
3578
|
-
*/
|
|
1176
|
+
|
|
3579
1177
|
const filterSensitiveLog: (obj: PutDomainPermissionsPolicyRequest) => any;
|
|
3580
1178
|
}
|
|
3581
1179
|
export interface PutDomainPermissionsPolicyResult {
|
|
3582
|
-
|
|
3583
|
-
* <p> The resource policy that was set after processing the request. </p>
|
|
3584
|
-
*/
|
|
1180
|
+
|
|
3585
1181
|
policy?: ResourcePolicy;
|
|
3586
1182
|
}
|
|
3587
1183
|
export declare namespace PutDomainPermissionsPolicyResult {
|
|
3588
|
-
|
|
3589
|
-
* @internal
|
|
3590
|
-
*/
|
|
1184
|
+
|
|
3591
1185
|
const filterSensitiveLog: (obj: PutDomainPermissionsPolicyResult) => any;
|
|
3592
1186
|
}
|
|
3593
1187
|
export interface PutRepositoryPermissionsPolicyRequest {
|
|
3594
|
-
|
|
3595
|
-
* <p>
|
|
3596
|
-
* The name of the domain containing the repository to set the resource policy on.
|
|
3597
|
-
* </p>
|
|
3598
|
-
*/
|
|
1188
|
+
|
|
3599
1189
|
domain: string | undefined;
|
|
3600
|
-
|
|
3601
|
-
* <p>
|
|
3602
|
-
* The 12-digit account number of the AWS account that owns the domain. It does not include
|
|
3603
|
-
* dashes or spaces.
|
|
3604
|
-
* </p>
|
|
3605
|
-
*/
|
|
1190
|
+
|
|
3606
1191
|
domainOwner?: string;
|
|
3607
|
-
|
|
3608
|
-
* <p> The name of the repository to set the resource policy on. </p>
|
|
3609
|
-
*/
|
|
1192
|
+
|
|
3610
1193
|
repository: string | undefined;
|
|
3611
|
-
|
|
3612
|
-
* <p>
|
|
3613
|
-
* Sets the revision of the resource policy that specifies permissions to access the repository.
|
|
3614
|
-
* This revision is used for optimistic locking, which prevents others from overwriting your
|
|
3615
|
-
* changes to the repository's resource policy.
|
|
3616
|
-
* </p>
|
|
3617
|
-
*/
|
|
1194
|
+
|
|
3618
1195
|
policyRevision?: string;
|
|
3619
|
-
|
|
3620
|
-
* <p> A valid displayable JSON Aspen policy string to be set as the access control resource
|
|
3621
|
-
* policy on the provided repository. </p>
|
|
3622
|
-
*/
|
|
1196
|
+
|
|
3623
1197
|
policyDocument: string | undefined;
|
|
3624
1198
|
}
|
|
3625
1199
|
export declare namespace PutRepositoryPermissionsPolicyRequest {
|
|
3626
|
-
|
|
3627
|
-
* @internal
|
|
3628
|
-
*/
|
|
1200
|
+
|
|
3629
1201
|
const filterSensitiveLog: (obj: PutRepositoryPermissionsPolicyRequest) => any;
|
|
3630
1202
|
}
|
|
3631
1203
|
export interface PutRepositoryPermissionsPolicyResult {
|
|
3632
|
-
|
|
3633
|
-
* <p> The resource policy that was set after processing the request. </p>
|
|
3634
|
-
*/
|
|
1204
|
+
|
|
3635
1205
|
policy?: ResourcePolicy;
|
|
3636
1206
|
}
|
|
3637
1207
|
export declare namespace PutRepositoryPermissionsPolicyResult {
|
|
3638
|
-
|
|
3639
|
-
* @internal
|
|
3640
|
-
*/
|
|
1208
|
+
|
|
3641
1209
|
const filterSensitiveLog: (obj: PutRepositoryPermissionsPolicyResult) => any;
|
|
3642
1210
|
}
|
|
3643
1211
|
export interface TagResourceRequest {
|
|
3644
|
-
|
|
3645
|
-
* <p>The Amazon Resource Name (ARN) of the resource that you want to add or update tags for.</p>
|
|
3646
|
-
*/
|
|
1212
|
+
|
|
3647
1213
|
resourceArn: string | undefined;
|
|
3648
|
-
|
|
3649
|
-
* <p>The tags you want to modify or add to the resource.</p>
|
|
3650
|
-
*/
|
|
1214
|
+
|
|
3651
1215
|
tags: Tag[] | undefined;
|
|
3652
1216
|
}
|
|
3653
1217
|
export declare namespace TagResourceRequest {
|
|
3654
|
-
|
|
3655
|
-
* @internal
|
|
3656
|
-
*/
|
|
1218
|
+
|
|
3657
1219
|
const filterSensitiveLog: (obj: TagResourceRequest) => any;
|
|
3658
1220
|
}
|
|
3659
1221
|
export interface TagResourceResult {
|
|
3660
1222
|
}
|
|
3661
1223
|
export declare namespace TagResourceResult {
|
|
3662
|
-
|
|
3663
|
-
* @internal
|
|
3664
|
-
*/
|
|
1224
|
+
|
|
3665
1225
|
const filterSensitiveLog: (obj: TagResourceResult) => any;
|
|
3666
1226
|
}
|
|
3667
1227
|
export interface UntagResourceRequest {
|
|
3668
|
-
|
|
3669
|
-
* <p>The Amazon Resource Name (ARN) of the resource that you want to remove tags from.</p>
|
|
3670
|
-
*/
|
|
1228
|
+
|
|
3671
1229
|
resourceArn: string | undefined;
|
|
3672
|
-
|
|
3673
|
-
* <p>The tag key for each tag that you want to remove from the resource.</p>
|
|
3674
|
-
*/
|
|
1230
|
+
|
|
3675
1231
|
tagKeys: string[] | undefined;
|
|
3676
1232
|
}
|
|
3677
1233
|
export declare namespace UntagResourceRequest {
|
|
3678
|
-
|
|
3679
|
-
* @internal
|
|
3680
|
-
*/
|
|
1234
|
+
|
|
3681
1235
|
const filterSensitiveLog: (obj: UntagResourceRequest) => any;
|
|
3682
1236
|
}
|
|
3683
1237
|
export interface UntagResourceResult {
|
|
3684
1238
|
}
|
|
3685
1239
|
export declare namespace UntagResourceResult {
|
|
3686
|
-
|
|
3687
|
-
* @internal
|
|
3688
|
-
*/
|
|
1240
|
+
|
|
3689
1241
|
const filterSensitiveLog: (obj: UntagResourceResult) => any;
|
|
3690
1242
|
}
|
|
3691
1243
|
export interface UpdatePackageVersionsStatusRequest {
|
|
3692
|
-
|
|
3693
|
-
* <p>
|
|
3694
|
-
* The name of the domain that contains the repository that contains the package versions with a status to be updated.
|
|
3695
|
-
* </p>
|
|
3696
|
-
*/
|
|
1244
|
+
|
|
3697
1245
|
domain: string | undefined;
|
|
3698
|
-
|
|
3699
|
-
* <p>
|
|
3700
|
-
* The 12-digit account number of the AWS account that owns the domain. It does not include
|
|
3701
|
-
* dashes or spaces.
|
|
3702
|
-
* </p>
|
|
3703
|
-
*/
|
|
1246
|
+
|
|
3704
1247
|
domainOwner?: string;
|
|
3705
|
-
|
|
3706
|
-
* <p>
|
|
3707
|
-
* The repository that contains the package versions with the status you want to update.
|
|
3708
|
-
* </p>
|
|
3709
|
-
*/
|
|
1248
|
+
|
|
3710
1249
|
repository: string | undefined;
|
|
3711
|
-
|
|
3712
|
-
* <p>
|
|
3713
|
-
* A format that specifies the type of the package with the statuses to update. The valid values are:
|
|
3714
|
-
* </p>
|
|
3715
|
-
* <ul>
|
|
3716
|
-
* <li>
|
|
3717
|
-
* <p>
|
|
3718
|
-
* <code>npm</code>
|
|
3719
|
-
* </p>
|
|
3720
|
-
* </li>
|
|
3721
|
-
* <li>
|
|
3722
|
-
* <p>
|
|
3723
|
-
* <code>pypi</code>
|
|
3724
|
-
* </p>
|
|
3725
|
-
* </li>
|
|
3726
|
-
* <li>
|
|
3727
|
-
* <p>
|
|
3728
|
-
* <code>maven</code>
|
|
3729
|
-
* </p>
|
|
3730
|
-
* </li>
|
|
3731
|
-
* </ul>
|
|
3732
|
-
*/
|
|
1250
|
+
|
|
3733
1251
|
format: PackageFormat | string | undefined;
|
|
3734
|
-
|
|
3735
|
-
* <p>
|
|
3736
|
-
* The namespace of the package. The package component that specifies its
|
|
3737
|
-
* namespace depends on its type. For example:
|
|
3738
|
-
* </p>
|
|
3739
|
-
* <ul>
|
|
3740
|
-
* <li>
|
|
3741
|
-
* <p>
|
|
3742
|
-
* The namespace of a Maven package is its <code>groupId</code>.
|
|
3743
|
-
* </p>
|
|
3744
|
-
* </li>
|
|
3745
|
-
* <li>
|
|
3746
|
-
* <p>
|
|
3747
|
-
* The namespace of an npm package is its <code>scope</code>.
|
|
3748
|
-
* </p>
|
|
3749
|
-
* </li>
|
|
3750
|
-
* <li>
|
|
3751
|
-
* <p>
|
|
3752
|
-
* A Python package does not contain a corresponding component, so
|
|
3753
|
-
* Python packages do not have a namespace.
|
|
3754
|
-
* </p>
|
|
3755
|
-
* </li>
|
|
3756
|
-
* </ul>
|
|
3757
|
-
*/
|
|
1252
|
+
|
|
3758
1253
|
namespace?: string;
|
|
3759
|
-
|
|
3760
|
-
* <p>
|
|
3761
|
-
* The name of the package with the version statuses to update.
|
|
3762
|
-
* </p>
|
|
3763
|
-
*/
|
|
1254
|
+
|
|
3764
1255
|
package: string | undefined;
|
|
3765
|
-
|
|
3766
|
-
* <p>
|
|
3767
|
-
* An array of strings that specify the versions of the package with the statuses to update.
|
|
3768
|
-
* </p>
|
|
3769
|
-
*/
|
|
1256
|
+
|
|
3770
1257
|
versions: string[] | undefined;
|
|
3771
|
-
|
|
3772
|
-
* <p> A map of package versions and package version revisions. The map <code>key</code> is the
|
|
3773
|
-
* package version (for example, <code>3.5.2</code>), and the map <code>value</code> is the
|
|
3774
|
-
* package version revision. </p>
|
|
3775
|
-
*/
|
|
1258
|
+
|
|
3776
1259
|
versionRevisions?: {
|
|
3777
1260
|
[key: string]: string;
|
|
3778
1261
|
};
|
|
3779
|
-
|
|
3780
|
-
* <p> The package version’s expected status before it is updated. If
|
|
3781
|
-
* <code>expectedStatus</code> is provided, the package version's status is updated only if its
|
|
3782
|
-
* status at the time <code>UpdatePackageVersionsStatus</code> is called matches
|
|
3783
|
-
* <code>expectedStatus</code>. </p>
|
|
3784
|
-
*/
|
|
1262
|
+
|
|
3785
1263
|
expectedStatus?: PackageVersionStatus | string;
|
|
3786
|
-
|
|
3787
|
-
* <p>
|
|
3788
|
-
* The status you want to change the package version status to.
|
|
3789
|
-
* </p>
|
|
3790
|
-
*/
|
|
1264
|
+
|
|
3791
1265
|
targetStatus: PackageVersionStatus | string | undefined;
|
|
3792
1266
|
}
|
|
3793
1267
|
export declare namespace UpdatePackageVersionsStatusRequest {
|
|
3794
|
-
|
|
3795
|
-
* @internal
|
|
3796
|
-
*/
|
|
1268
|
+
|
|
3797
1269
|
const filterSensitiveLog: (obj: UpdatePackageVersionsStatusRequest) => any;
|
|
3798
1270
|
}
|
|
3799
1271
|
export interface UpdatePackageVersionsStatusResult {
|
|
3800
|
-
|
|
3801
|
-
* <p>
|
|
3802
|
-
* A list of <code>PackageVersionError</code> objects, one for each package version with
|
|
3803
|
-
* a status that failed to update.
|
|
3804
|
-
* </p>
|
|
3805
|
-
*/
|
|
1272
|
+
|
|
3806
1273
|
successfulVersions?: {
|
|
3807
1274
|
[key: string]: SuccessfulPackageVersionInfo;
|
|
3808
1275
|
};
|
|
3809
|
-
|
|
3810
|
-
* <p> A list of <code>SuccessfulPackageVersionInfo</code> objects, one for each package version
|
|
3811
|
-
* with a status that successfully updated. </p>
|
|
3812
|
-
*/
|
|
1276
|
+
|
|
3813
1277
|
failedVersions?: {
|
|
3814
1278
|
[key: string]: PackageVersionError;
|
|
3815
1279
|
};
|
|
3816
1280
|
}
|
|
3817
1281
|
export declare namespace UpdatePackageVersionsStatusResult {
|
|
3818
|
-
|
|
3819
|
-
* @internal
|
|
3820
|
-
*/
|
|
1282
|
+
|
|
3821
1283
|
const filterSensitiveLog: (obj: UpdatePackageVersionsStatusResult) => any;
|
|
3822
1284
|
}
|
|
3823
1285
|
export interface UpdateRepositoryRequest {
|
|
3824
|
-
|
|
3825
|
-
* <p>
|
|
3826
|
-
* The name of the domain associated with the repository to update.
|
|
3827
|
-
* </p>
|
|
3828
|
-
*/
|
|
1286
|
+
|
|
3829
1287
|
domain: string | undefined;
|
|
3830
|
-
|
|
3831
|
-
* <p>
|
|
3832
|
-
* The 12-digit account number of the AWS account that owns the domain. It does not include
|
|
3833
|
-
* dashes or spaces.
|
|
3834
|
-
* </p>
|
|
3835
|
-
*/
|
|
1288
|
+
|
|
3836
1289
|
domainOwner?: string;
|
|
3837
|
-
|
|
3838
|
-
* <p>
|
|
3839
|
-
* The name of the repository to update.
|
|
3840
|
-
* </p>
|
|
3841
|
-
*/
|
|
1290
|
+
|
|
3842
1291
|
repository: string | undefined;
|
|
3843
|
-
|
|
3844
|
-
* <p>
|
|
3845
|
-
* An updated repository description.
|
|
3846
|
-
* </p>
|
|
3847
|
-
*/
|
|
1292
|
+
|
|
3848
1293
|
description?: string;
|
|
3849
|
-
|
|
3850
|
-
* <p> A list of upstream repositories to associate with the repository. The order of the upstream repositories
|
|
3851
|
-
* in the list determines their priority order when AWS CodeArtifact looks for a requested package version. For more
|
|
3852
|
-
* information, see <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html">Working with upstream repositories</a>. </p>
|
|
3853
|
-
*/
|
|
1294
|
+
|
|
3854
1295
|
upstreams?: UpstreamRepository[];
|
|
3855
1296
|
}
|
|
3856
1297
|
export declare namespace UpdateRepositoryRequest {
|
|
3857
|
-
|
|
3858
|
-
* @internal
|
|
3859
|
-
*/
|
|
1298
|
+
|
|
3860
1299
|
const filterSensitiveLog: (obj: UpdateRepositoryRequest) => any;
|
|
3861
1300
|
}
|
|
3862
1301
|
export interface UpdateRepositoryResult {
|
|
3863
|
-
|
|
3864
|
-
* <p>
|
|
3865
|
-
* The updated repository.
|
|
3866
|
-
* </p>
|
|
3867
|
-
*/
|
|
1302
|
+
|
|
3868
1303
|
repository?: RepositoryDescription;
|
|
3869
1304
|
}
|
|
3870
1305
|
export declare namespace UpdateRepositoryResult {
|
|
3871
|
-
|
|
3872
|
-
* @internal
|
|
3873
|
-
*/
|
|
1306
|
+
|
|
3874
1307
|
const filterSensitiveLog: (obj: UpdateRepositoryResult) => any;
|
|
3875
1308
|
}
|