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