@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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,53 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
|
|
12
|
+
* **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Bug Fixes
|
|
33
|
+
|
|
34
|
+
* **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
### Features
|
|
44
|
+
|
|
45
|
+
* publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
|
|
46
|
+
* **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
|
|
47
|
+
* **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
6
53
|
# [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
|
|
7
54
|
|
|
8
55
|
|
package/dist-cjs/Codeartifact.js
CHANGED
|
@@ -36,262 +36,6 @@ const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
|
36
36
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
37
37
|
const UpdatePackageVersionsStatusCommand_1 = require("./commands/UpdatePackageVersionsStatusCommand");
|
|
38
38
|
const UpdateRepositoryCommand_1 = require("./commands/UpdateRepositoryCommand");
|
|
39
|
-
/**
|
|
40
|
-
* <p> AWS CodeArtifact is a fully managed artifact repository compatible with language-native
|
|
41
|
-
* package managers and build tools such as npm, Apache Maven, and pip. You can use CodeArtifact to
|
|
42
|
-
* share packages with development teams and pull packages. Packages can be pulled from both
|
|
43
|
-
* public and CodeArtifact repositories. You can also create an upstream relationship between a CodeArtifact
|
|
44
|
-
* repository and another repository, which effectively merges their contents from the point of
|
|
45
|
-
* view of a package manager client. </p>
|
|
46
|
-
*
|
|
47
|
-
* <p>
|
|
48
|
-
* <b>AWS CodeArtifact Components</b>
|
|
49
|
-
* </p>
|
|
50
|
-
* <p>Use the information in this guide to help you work with the following CodeArtifact components:</p>
|
|
51
|
-
*
|
|
52
|
-
* <ul>
|
|
53
|
-
* <li>
|
|
54
|
-
* <p>
|
|
55
|
-
* <b>Repository</b>: A CodeArtifact repository contains a set of <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/welcome.html#welcome-concepts-package-version">package
|
|
56
|
-
* versions</a>, each of which maps to a set of assets, or files. Repositories are
|
|
57
|
-
* polyglot, so a single repository can contain packages of any supported type. Each
|
|
58
|
-
* repository exposes endpoints for fetching and publishing packages using tools like the
|
|
59
|
-
* <b>
|
|
60
|
-
* <code>npm</code>
|
|
61
|
-
* </b> CLI, the Maven CLI (<b>
|
|
62
|
-
* <code>mvn</code>
|
|
63
|
-
* </b>), and <b>
|
|
64
|
-
* <code>pip</code>
|
|
65
|
-
* </b>.</p>
|
|
66
|
-
* </li>
|
|
67
|
-
* <li>
|
|
68
|
-
* <p>
|
|
69
|
-
* <b>Domain</b>: Repositories are aggregated into a higher-level entity known as a
|
|
70
|
-
* <i>domain</i>. All package assets and metadata are stored in the domain,
|
|
71
|
-
* but are consumed through repositories. A given package asset, such as a Maven JAR file, is
|
|
72
|
-
* stored once per domain, no matter how many repositories it's present in. All of the assets
|
|
73
|
-
* and metadata in a domain are encrypted with the same customer master key (CMK) stored in
|
|
74
|
-
* AWS Key Management Service (AWS KMS).</p>
|
|
75
|
-
* <p>Each repository is a member of a single domain and can't be moved to a
|
|
76
|
-
* different domain.</p>
|
|
77
|
-
* <p>The domain allows organizational policy to be applied across multiple
|
|
78
|
-
* repositories, such as which accounts can access repositories in the domain, and
|
|
79
|
-
* which public repositories can be used as sources of packages.</p>
|
|
80
|
-
* <p>Although an organization can have multiple domains, we recommend a single production
|
|
81
|
-
* domain that contains all published artifacts so that teams can find and share packages
|
|
82
|
-
* across their organization.</p>
|
|
83
|
-
* </li>
|
|
84
|
-
* <li>
|
|
85
|
-
* <p>
|
|
86
|
-
* <b>Package</b>: A <i>package</i> is a bundle of software and the metadata required to
|
|
87
|
-
* resolve dependencies and install the software. CodeArtifact supports <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-npm.html">npm</a>, <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-python.html">PyPI</a>, and <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-maven">Maven</a> package formats.</p>
|
|
88
|
-
* <p>In CodeArtifact, a package consists of:</p>
|
|
89
|
-
* <ul>
|
|
90
|
-
* <li>
|
|
91
|
-
* <p>A <i>name</i> (for example, <code>webpack</code> is the name of a
|
|
92
|
-
* popular npm package)</p>
|
|
93
|
-
* </li>
|
|
94
|
-
* <li>
|
|
95
|
-
* <p>An optional namespace (for example, <code>@types</code> in <code>@types/node</code>)</p>
|
|
96
|
-
* </li>
|
|
97
|
-
* <li>
|
|
98
|
-
* <p>A set of versions (for example, <code>1.0.0</code>, <code>1.0.1</code>,
|
|
99
|
-
* <code>1.0.2</code>, etc.)</p>
|
|
100
|
-
* </li>
|
|
101
|
-
* <li>
|
|
102
|
-
* <p> Package-level metadata (for example, npm tags)</p>
|
|
103
|
-
* </li>
|
|
104
|
-
* </ul>
|
|
105
|
-
* </li>
|
|
106
|
-
* <li>
|
|
107
|
-
* <p>
|
|
108
|
-
* <b>Package version</b>: A version of a package, such as <code>@types/node 12.6.9</code>. The version number
|
|
109
|
-
* format and semantics vary for different package formats. For example, npm package versions
|
|
110
|
-
* must conform to the <a href="https://semver.org/">Semantic Versioning
|
|
111
|
-
* specification</a>. In CodeArtifact, a package version consists of the version identifier,
|
|
112
|
-
* metadata at the package version level, and a set of assets.</p>
|
|
113
|
-
* </li>
|
|
114
|
-
* <li>
|
|
115
|
-
* <p>
|
|
116
|
-
* <b>Upstream repository</b>: One repository is <i>upstream</i> of another when the package versions in
|
|
117
|
-
* it can be accessed from the repository endpoint of the downstream repository, effectively
|
|
118
|
-
* merging the contents of the two repositories from the point of view of a client. CodeArtifact
|
|
119
|
-
* allows creating an upstream relationship between two repositories.</p>
|
|
120
|
-
* </li>
|
|
121
|
-
* <li>
|
|
122
|
-
* <p>
|
|
123
|
-
* <b>Asset</b>: An individual file stored in CodeArtifact associated with a package version, such as an npm
|
|
124
|
-
* <code>.tgz</code> file or Maven POM and JAR files.</p>
|
|
125
|
-
* </li>
|
|
126
|
-
* </ul>
|
|
127
|
-
*
|
|
128
|
-
* <p>CodeArtifact supports these operations:</p>
|
|
129
|
-
* <ul>
|
|
130
|
-
* <li>
|
|
131
|
-
* <p>
|
|
132
|
-
* <code>AssociateExternalConnection</code>: Adds an existing external
|
|
133
|
-
* connection to a repository.
|
|
134
|
-
* </p>
|
|
135
|
-
* </li>
|
|
136
|
-
* <li>
|
|
137
|
-
* <p>
|
|
138
|
-
* <code>CopyPackageVersions</code>: Copies package versions from one
|
|
139
|
-
* repository to another repository in the same domain.</p>
|
|
140
|
-
* </li>
|
|
141
|
-
* <li>
|
|
142
|
-
* <p>
|
|
143
|
-
* <code>CreateDomain</code>: Creates a domain</p>
|
|
144
|
-
* </li>
|
|
145
|
-
* <li>
|
|
146
|
-
* <p>
|
|
147
|
-
* <code>CreateRepository</code>: Creates a CodeArtifact repository in a domain. </p>
|
|
148
|
-
* </li>
|
|
149
|
-
* <li>
|
|
150
|
-
* <p>
|
|
151
|
-
* <code>DeleteDomain</code>: Deletes a domain. You cannot delete a domain that contains
|
|
152
|
-
* repositories. </p>
|
|
153
|
-
* </li>
|
|
154
|
-
* <li>
|
|
155
|
-
* <p>
|
|
156
|
-
* <code>DeleteDomainPermissionsPolicy</code>: Deletes the resource policy that is set on a domain.</p>
|
|
157
|
-
* </li>
|
|
158
|
-
* <li>
|
|
159
|
-
* <p>
|
|
160
|
-
* <code>DeletePackageVersions</code>: Deletes versions of a package. After a package has
|
|
161
|
-
* been deleted, it can be republished, but its assets and metadata cannot be restored
|
|
162
|
-
* because they have been permanently removed from storage.</p>
|
|
163
|
-
* </li>
|
|
164
|
-
* <li>
|
|
165
|
-
* <p>
|
|
166
|
-
* <code>DeleteRepository</code>: Deletes a repository.
|
|
167
|
-
* </p>
|
|
168
|
-
* </li>
|
|
169
|
-
* <li>
|
|
170
|
-
* <p>
|
|
171
|
-
* <code>DeleteRepositoryPermissionsPolicy</code>: Deletes the resource policy that is set on a repository.</p>
|
|
172
|
-
* </li>
|
|
173
|
-
* <li>
|
|
174
|
-
* <p>
|
|
175
|
-
* <code>DescribeDomain</code>: Returns a <code>DomainDescription</code> object that
|
|
176
|
-
* contains information about the requested domain.</p>
|
|
177
|
-
* </li>
|
|
178
|
-
* <li>
|
|
179
|
-
* <p>
|
|
180
|
-
* <code>DescribePackageVersion</code>: Returns a <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionDescription.html">PackageVersionDescription</a>
|
|
181
|
-
* object that contains details about a package version. </p>
|
|
182
|
-
* </li>
|
|
183
|
-
* <li>
|
|
184
|
-
* <p>
|
|
185
|
-
* <code>DescribeRepository</code>: Returns a <code>RepositoryDescription</code> object
|
|
186
|
-
* that contains detailed information about the requested repository. </p>
|
|
187
|
-
* </li>
|
|
188
|
-
* <li>
|
|
189
|
-
* <p>
|
|
190
|
-
* <code>DisposePackageVersions</code>: Disposes versions of a package. A package version
|
|
191
|
-
* with the status <code>Disposed</code> cannot be restored because they have been
|
|
192
|
-
* permanently removed from storage.</p>
|
|
193
|
-
* </li>
|
|
194
|
-
* <li>
|
|
195
|
-
* <p>
|
|
196
|
-
* <code>DisassociateExternalConnection</code>: Removes an existing external connection from a repository.
|
|
197
|
-
* </p>
|
|
198
|
-
* </li>
|
|
199
|
-
* <li>
|
|
200
|
-
* <p>
|
|
201
|
-
* <code>GetAuthorizationToken</code>: Generates a temporary authorization token for accessing repositories in the domain. The token expires the authorization period has passed.
|
|
202
|
-
* The default authorization period is 12 hours and can be customized to any length with a maximum of 12 hours.</p>
|
|
203
|
-
* </li>
|
|
204
|
-
* <li>
|
|
205
|
-
* <p>
|
|
206
|
-
* <code>GetDomainPermissionsPolicy</code>: Returns the policy of a resource
|
|
207
|
-
* that is attached to the specified domain. </p>
|
|
208
|
-
* </li>
|
|
209
|
-
* <li>
|
|
210
|
-
* <p>
|
|
211
|
-
* <code>GetPackageVersionAsset</code>: Returns the contents of an asset that is in a package version. </p>
|
|
212
|
-
* </li>
|
|
213
|
-
* <li>
|
|
214
|
-
* <p>
|
|
215
|
-
* <code>GetPackageVersionReadme</code>: Gets the readme file or descriptive text for a package version.</p>
|
|
216
|
-
* </li>
|
|
217
|
-
* <li>
|
|
218
|
-
* <p>
|
|
219
|
-
* <code>GetRepositoryEndpoint</code>: Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each
|
|
220
|
-
* package format:
|
|
221
|
-
* </p>
|
|
222
|
-
* <ul>
|
|
223
|
-
* <li>
|
|
224
|
-
* <p>
|
|
225
|
-
* <code>npm</code>
|
|
226
|
-
* </p>
|
|
227
|
-
* </li>
|
|
228
|
-
* <li>
|
|
229
|
-
* <p>
|
|
230
|
-
* <code>pypi</code>
|
|
231
|
-
* </p>
|
|
232
|
-
* </li>
|
|
233
|
-
* <li>
|
|
234
|
-
* <p>
|
|
235
|
-
* <code>maven</code>
|
|
236
|
-
* </p>
|
|
237
|
-
* </li>
|
|
238
|
-
* </ul>
|
|
239
|
-
* </li>
|
|
240
|
-
* <li>
|
|
241
|
-
* <p>
|
|
242
|
-
* <code>GetRepositoryPermissionsPolicy</code>: Returns the resource policy that is set on a repository.
|
|
243
|
-
* </p>
|
|
244
|
-
* </li>
|
|
245
|
-
* <li>
|
|
246
|
-
* <p>
|
|
247
|
-
* <code>ListDomains</code>: Returns a list of <code>DomainSummary</code> objects. Each
|
|
248
|
-
* returned <code>DomainSummary</code> object contains information about a domain.</p>
|
|
249
|
-
* </li>
|
|
250
|
-
* <li>
|
|
251
|
-
* <p>
|
|
252
|
-
* <code>ListPackages</code>: Lists the packages in a repository.</p>
|
|
253
|
-
* </li>
|
|
254
|
-
* <li>
|
|
255
|
-
* <p>
|
|
256
|
-
* <code>ListPackageVersionAssets</code>: Lists the assets for a given package version.</p>
|
|
257
|
-
* </li>
|
|
258
|
-
* <li>
|
|
259
|
-
* <p>
|
|
260
|
-
* <code>ListPackageVersionDependencies</code>: Returns a list of the direct dependencies for a
|
|
261
|
-
* package version. </p>
|
|
262
|
-
* </li>
|
|
263
|
-
* <li>
|
|
264
|
-
* <p>
|
|
265
|
-
* <code>ListPackageVersions</code>: Returns a list of package versions for a specified
|
|
266
|
-
* package in a repository.</p>
|
|
267
|
-
* </li>
|
|
268
|
-
* <li>
|
|
269
|
-
* <p>
|
|
270
|
-
* <code>ListRepositories</code>: Returns a list of repositories owned by the AWS account that called this method.</p>
|
|
271
|
-
* </li>
|
|
272
|
-
* <li>
|
|
273
|
-
* <p>
|
|
274
|
-
* <code>ListRepositoriesInDomain</code>: Returns a list of the repositories in a domain.</p>
|
|
275
|
-
* </li>
|
|
276
|
-
* <li>
|
|
277
|
-
* <p>
|
|
278
|
-
* <code>PutDomainPermissionsPolicy</code>: Attaches a resource policy to a domain.</p>
|
|
279
|
-
* </li>
|
|
280
|
-
* <li>
|
|
281
|
-
* <p>
|
|
282
|
-
* <code>PutRepositoryPermissionsPolicy</code>: Sets the resource policy on a repository
|
|
283
|
-
* that specifies permissions to access it. </p>
|
|
284
|
-
* </li>
|
|
285
|
-
* <li>
|
|
286
|
-
* <p>
|
|
287
|
-
* <code>UpdatePackageVersionsStatus</code>: Updates the status of one or more versions of a package.</p>
|
|
288
|
-
* </li>
|
|
289
|
-
* <li>
|
|
290
|
-
* <p>
|
|
291
|
-
* <code>UpdateRepository</code>: Updates the properties of a repository.</p>
|
|
292
|
-
* </li>
|
|
293
|
-
* </ul>
|
|
294
|
-
*/
|
|
295
39
|
class Codeartifact extends CodeartifactClient_1.CodeartifactClient {
|
|
296
40
|
associateExternalConnection(args, optionsOrCb, cb) {
|
|
297
41
|
const command = new AssociateExternalConnectionCommand_1.AssociateExternalConnectionCommand(args);
|
|
@@ -771,4 +515,3 @@ class Codeartifact extends CodeartifactClient_1.CodeartifactClient {
|
|
|
771
515
|
}
|
|
772
516
|
}
|
|
773
517
|
exports.Codeartifact = Codeartifact;
|
|
774
|
-
//# sourceMappingURL=Codeartifact.js.map
|
|
@@ -10,262 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
|
10
10
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
11
11
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
12
12
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
|
-
/**
|
|
14
|
-
* <p> AWS CodeArtifact is a fully managed artifact repository compatible with language-native
|
|
15
|
-
* package managers and build tools such as npm, Apache Maven, and pip. You can use CodeArtifact to
|
|
16
|
-
* share packages with development teams and pull packages. Packages can be pulled from both
|
|
17
|
-
* public and CodeArtifact repositories. You can also create an upstream relationship between a CodeArtifact
|
|
18
|
-
* repository and another repository, which effectively merges their contents from the point of
|
|
19
|
-
* view of a package manager client. </p>
|
|
20
|
-
*
|
|
21
|
-
* <p>
|
|
22
|
-
* <b>AWS CodeArtifact Components</b>
|
|
23
|
-
* </p>
|
|
24
|
-
* <p>Use the information in this guide to help you work with the following CodeArtifact components:</p>
|
|
25
|
-
*
|
|
26
|
-
* <ul>
|
|
27
|
-
* <li>
|
|
28
|
-
* <p>
|
|
29
|
-
* <b>Repository</b>: A CodeArtifact repository contains a set of <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/welcome.html#welcome-concepts-package-version">package
|
|
30
|
-
* versions</a>, each of which maps to a set of assets, or files. Repositories are
|
|
31
|
-
* polyglot, so a single repository can contain packages of any supported type. Each
|
|
32
|
-
* repository exposes endpoints for fetching and publishing packages using tools like the
|
|
33
|
-
* <b>
|
|
34
|
-
* <code>npm</code>
|
|
35
|
-
* </b> CLI, the Maven CLI (<b>
|
|
36
|
-
* <code>mvn</code>
|
|
37
|
-
* </b>), and <b>
|
|
38
|
-
* <code>pip</code>
|
|
39
|
-
* </b>.</p>
|
|
40
|
-
* </li>
|
|
41
|
-
* <li>
|
|
42
|
-
* <p>
|
|
43
|
-
* <b>Domain</b>: Repositories are aggregated into a higher-level entity known as a
|
|
44
|
-
* <i>domain</i>. All package assets and metadata are stored in the domain,
|
|
45
|
-
* but are consumed through repositories. A given package asset, such as a Maven JAR file, is
|
|
46
|
-
* stored once per domain, no matter how many repositories it's present in. All of the assets
|
|
47
|
-
* and metadata in a domain are encrypted with the same customer master key (CMK) stored in
|
|
48
|
-
* AWS Key Management Service (AWS KMS).</p>
|
|
49
|
-
* <p>Each repository is a member of a single domain and can't be moved to a
|
|
50
|
-
* different domain.</p>
|
|
51
|
-
* <p>The domain allows organizational policy to be applied across multiple
|
|
52
|
-
* repositories, such as which accounts can access repositories in the domain, and
|
|
53
|
-
* which public repositories can be used as sources of packages.</p>
|
|
54
|
-
* <p>Although an organization can have multiple domains, we recommend a single production
|
|
55
|
-
* domain that contains all published artifacts so that teams can find and share packages
|
|
56
|
-
* across their organization.</p>
|
|
57
|
-
* </li>
|
|
58
|
-
* <li>
|
|
59
|
-
* <p>
|
|
60
|
-
* <b>Package</b>: A <i>package</i> is a bundle of software and the metadata required to
|
|
61
|
-
* resolve dependencies and install the software. CodeArtifact supports <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-npm.html">npm</a>, <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-python.html">PyPI</a>, and <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-maven">Maven</a> package formats.</p>
|
|
62
|
-
* <p>In CodeArtifact, a package consists of:</p>
|
|
63
|
-
* <ul>
|
|
64
|
-
* <li>
|
|
65
|
-
* <p>A <i>name</i> (for example, <code>webpack</code> is the name of a
|
|
66
|
-
* popular npm package)</p>
|
|
67
|
-
* </li>
|
|
68
|
-
* <li>
|
|
69
|
-
* <p>An optional namespace (for example, <code>@types</code> in <code>@types/node</code>)</p>
|
|
70
|
-
* </li>
|
|
71
|
-
* <li>
|
|
72
|
-
* <p>A set of versions (for example, <code>1.0.0</code>, <code>1.0.1</code>,
|
|
73
|
-
* <code>1.0.2</code>, etc.)</p>
|
|
74
|
-
* </li>
|
|
75
|
-
* <li>
|
|
76
|
-
* <p> Package-level metadata (for example, npm tags)</p>
|
|
77
|
-
* </li>
|
|
78
|
-
* </ul>
|
|
79
|
-
* </li>
|
|
80
|
-
* <li>
|
|
81
|
-
* <p>
|
|
82
|
-
* <b>Package version</b>: A version of a package, such as <code>@types/node 12.6.9</code>. The version number
|
|
83
|
-
* format and semantics vary for different package formats. For example, npm package versions
|
|
84
|
-
* must conform to the <a href="https://semver.org/">Semantic Versioning
|
|
85
|
-
* specification</a>. In CodeArtifact, a package version consists of the version identifier,
|
|
86
|
-
* metadata at the package version level, and a set of assets.</p>
|
|
87
|
-
* </li>
|
|
88
|
-
* <li>
|
|
89
|
-
* <p>
|
|
90
|
-
* <b>Upstream repository</b>: One repository is <i>upstream</i> of another when the package versions in
|
|
91
|
-
* it can be accessed from the repository endpoint of the downstream repository, effectively
|
|
92
|
-
* merging the contents of the two repositories from the point of view of a client. CodeArtifact
|
|
93
|
-
* allows creating an upstream relationship between two repositories.</p>
|
|
94
|
-
* </li>
|
|
95
|
-
* <li>
|
|
96
|
-
* <p>
|
|
97
|
-
* <b>Asset</b>: An individual file stored in CodeArtifact associated with a package version, such as an npm
|
|
98
|
-
* <code>.tgz</code> file or Maven POM and JAR files.</p>
|
|
99
|
-
* </li>
|
|
100
|
-
* </ul>
|
|
101
|
-
*
|
|
102
|
-
* <p>CodeArtifact supports these operations:</p>
|
|
103
|
-
* <ul>
|
|
104
|
-
* <li>
|
|
105
|
-
* <p>
|
|
106
|
-
* <code>AssociateExternalConnection</code>: Adds an existing external
|
|
107
|
-
* connection to a repository.
|
|
108
|
-
* </p>
|
|
109
|
-
* </li>
|
|
110
|
-
* <li>
|
|
111
|
-
* <p>
|
|
112
|
-
* <code>CopyPackageVersions</code>: Copies package versions from one
|
|
113
|
-
* repository to another repository in the same domain.</p>
|
|
114
|
-
* </li>
|
|
115
|
-
* <li>
|
|
116
|
-
* <p>
|
|
117
|
-
* <code>CreateDomain</code>: Creates a domain</p>
|
|
118
|
-
* </li>
|
|
119
|
-
* <li>
|
|
120
|
-
* <p>
|
|
121
|
-
* <code>CreateRepository</code>: Creates a CodeArtifact repository in a domain. </p>
|
|
122
|
-
* </li>
|
|
123
|
-
* <li>
|
|
124
|
-
* <p>
|
|
125
|
-
* <code>DeleteDomain</code>: Deletes a domain. You cannot delete a domain that contains
|
|
126
|
-
* repositories. </p>
|
|
127
|
-
* </li>
|
|
128
|
-
* <li>
|
|
129
|
-
* <p>
|
|
130
|
-
* <code>DeleteDomainPermissionsPolicy</code>: Deletes the resource policy that is set on a domain.</p>
|
|
131
|
-
* </li>
|
|
132
|
-
* <li>
|
|
133
|
-
* <p>
|
|
134
|
-
* <code>DeletePackageVersions</code>: Deletes versions of a package. After a package has
|
|
135
|
-
* been deleted, it can be republished, but its assets and metadata cannot be restored
|
|
136
|
-
* because they have been permanently removed from storage.</p>
|
|
137
|
-
* </li>
|
|
138
|
-
* <li>
|
|
139
|
-
* <p>
|
|
140
|
-
* <code>DeleteRepository</code>: Deletes a repository.
|
|
141
|
-
* </p>
|
|
142
|
-
* </li>
|
|
143
|
-
* <li>
|
|
144
|
-
* <p>
|
|
145
|
-
* <code>DeleteRepositoryPermissionsPolicy</code>: Deletes the resource policy that is set on a repository.</p>
|
|
146
|
-
* </li>
|
|
147
|
-
* <li>
|
|
148
|
-
* <p>
|
|
149
|
-
* <code>DescribeDomain</code>: Returns a <code>DomainDescription</code> object that
|
|
150
|
-
* contains information about the requested domain.</p>
|
|
151
|
-
* </li>
|
|
152
|
-
* <li>
|
|
153
|
-
* <p>
|
|
154
|
-
* <code>DescribePackageVersion</code>: Returns a <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionDescription.html">PackageVersionDescription</a>
|
|
155
|
-
* object that contains details about a package version. </p>
|
|
156
|
-
* </li>
|
|
157
|
-
* <li>
|
|
158
|
-
* <p>
|
|
159
|
-
* <code>DescribeRepository</code>: Returns a <code>RepositoryDescription</code> object
|
|
160
|
-
* that contains detailed information about the requested repository. </p>
|
|
161
|
-
* </li>
|
|
162
|
-
* <li>
|
|
163
|
-
* <p>
|
|
164
|
-
* <code>DisposePackageVersions</code>: Disposes versions of a package. A package version
|
|
165
|
-
* with the status <code>Disposed</code> cannot be restored because they have been
|
|
166
|
-
* permanently removed from storage.</p>
|
|
167
|
-
* </li>
|
|
168
|
-
* <li>
|
|
169
|
-
* <p>
|
|
170
|
-
* <code>DisassociateExternalConnection</code>: Removes an existing external connection from a repository.
|
|
171
|
-
* </p>
|
|
172
|
-
* </li>
|
|
173
|
-
* <li>
|
|
174
|
-
* <p>
|
|
175
|
-
* <code>GetAuthorizationToken</code>: Generates a temporary authorization token for accessing repositories in the domain. The token expires the authorization period has passed.
|
|
176
|
-
* The default authorization period is 12 hours and can be customized to any length with a maximum of 12 hours.</p>
|
|
177
|
-
* </li>
|
|
178
|
-
* <li>
|
|
179
|
-
* <p>
|
|
180
|
-
* <code>GetDomainPermissionsPolicy</code>: Returns the policy of a resource
|
|
181
|
-
* that is attached to the specified domain. </p>
|
|
182
|
-
* </li>
|
|
183
|
-
* <li>
|
|
184
|
-
* <p>
|
|
185
|
-
* <code>GetPackageVersionAsset</code>: Returns the contents of an asset that is in a package version. </p>
|
|
186
|
-
* </li>
|
|
187
|
-
* <li>
|
|
188
|
-
* <p>
|
|
189
|
-
* <code>GetPackageVersionReadme</code>: Gets the readme file or descriptive text for a package version.</p>
|
|
190
|
-
* </li>
|
|
191
|
-
* <li>
|
|
192
|
-
* <p>
|
|
193
|
-
* <code>GetRepositoryEndpoint</code>: Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each
|
|
194
|
-
* package format:
|
|
195
|
-
* </p>
|
|
196
|
-
* <ul>
|
|
197
|
-
* <li>
|
|
198
|
-
* <p>
|
|
199
|
-
* <code>npm</code>
|
|
200
|
-
* </p>
|
|
201
|
-
* </li>
|
|
202
|
-
* <li>
|
|
203
|
-
* <p>
|
|
204
|
-
* <code>pypi</code>
|
|
205
|
-
* </p>
|
|
206
|
-
* </li>
|
|
207
|
-
* <li>
|
|
208
|
-
* <p>
|
|
209
|
-
* <code>maven</code>
|
|
210
|
-
* </p>
|
|
211
|
-
* </li>
|
|
212
|
-
* </ul>
|
|
213
|
-
* </li>
|
|
214
|
-
* <li>
|
|
215
|
-
* <p>
|
|
216
|
-
* <code>GetRepositoryPermissionsPolicy</code>: Returns the resource policy that is set on a repository.
|
|
217
|
-
* </p>
|
|
218
|
-
* </li>
|
|
219
|
-
* <li>
|
|
220
|
-
* <p>
|
|
221
|
-
* <code>ListDomains</code>: Returns a list of <code>DomainSummary</code> objects. Each
|
|
222
|
-
* returned <code>DomainSummary</code> object contains information about a domain.</p>
|
|
223
|
-
* </li>
|
|
224
|
-
* <li>
|
|
225
|
-
* <p>
|
|
226
|
-
* <code>ListPackages</code>: Lists the packages in a repository.</p>
|
|
227
|
-
* </li>
|
|
228
|
-
* <li>
|
|
229
|
-
* <p>
|
|
230
|
-
* <code>ListPackageVersionAssets</code>: Lists the assets for a given package version.</p>
|
|
231
|
-
* </li>
|
|
232
|
-
* <li>
|
|
233
|
-
* <p>
|
|
234
|
-
* <code>ListPackageVersionDependencies</code>: Returns a list of the direct dependencies for a
|
|
235
|
-
* package version. </p>
|
|
236
|
-
* </li>
|
|
237
|
-
* <li>
|
|
238
|
-
* <p>
|
|
239
|
-
* <code>ListPackageVersions</code>: Returns a list of package versions for a specified
|
|
240
|
-
* package in a repository.</p>
|
|
241
|
-
* </li>
|
|
242
|
-
* <li>
|
|
243
|
-
* <p>
|
|
244
|
-
* <code>ListRepositories</code>: Returns a list of repositories owned by the AWS account that called this method.</p>
|
|
245
|
-
* </li>
|
|
246
|
-
* <li>
|
|
247
|
-
* <p>
|
|
248
|
-
* <code>ListRepositoriesInDomain</code>: Returns a list of the repositories in a domain.</p>
|
|
249
|
-
* </li>
|
|
250
|
-
* <li>
|
|
251
|
-
* <p>
|
|
252
|
-
* <code>PutDomainPermissionsPolicy</code>: Attaches a resource policy to a domain.</p>
|
|
253
|
-
* </li>
|
|
254
|
-
* <li>
|
|
255
|
-
* <p>
|
|
256
|
-
* <code>PutRepositoryPermissionsPolicy</code>: Sets the resource policy on a repository
|
|
257
|
-
* that specifies permissions to access it. </p>
|
|
258
|
-
* </li>
|
|
259
|
-
* <li>
|
|
260
|
-
* <p>
|
|
261
|
-
* <code>UpdatePackageVersionsStatus</code>: Updates the status of one or more versions of a package.</p>
|
|
262
|
-
* </li>
|
|
263
|
-
* <li>
|
|
264
|
-
* <p>
|
|
265
|
-
* <code>UpdateRepository</code>: Updates the properties of a repository.</p>
|
|
266
|
-
* </li>
|
|
267
|
-
* </ul>
|
|
268
|
-
*/
|
|
269
13
|
class CodeartifactClient extends smithy_client_1.Client {
|
|
270
14
|
constructor(configuration) {
|
|
271
15
|
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
@@ -284,14 +28,8 @@ class CodeartifactClient extends smithy_client_1.Client {
|
|
|
284
28
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
285
29
|
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
286
30
|
}
|
|
287
|
-
/**
|
|
288
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
289
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
290
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
291
|
-
*/
|
|
292
31
|
destroy() {
|
|
293
32
|
super.destroy();
|
|
294
33
|
}
|
|
295
34
|
}
|
|
296
35
|
exports.CodeartifactClient = CodeartifactClient;
|
|
297
|
-
//# sourceMappingURL=CodeartifactClient.js.map
|
|
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Adds an existing external connection to a repository. One external connection is allowed
|
|
10
|
-
* per repository.</p>
|
|
11
|
-
* <note>
|
|
12
|
-
* <p>A repository can have one or more upstream repositories, or an external connection.</p>
|
|
13
|
-
* </note>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { CodeartifactClient, AssociateExternalConnectionCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
|
|
18
|
-
* // const { CodeartifactClient, AssociateExternalConnectionCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
|
|
19
|
-
* const client = new CodeartifactClient(config);
|
|
20
|
-
* const command = new AssociateExternalConnectionCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link AssociateExternalConnectionCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link AssociateExternalConnectionCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link CodeartifactClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
8
|
class AssociateExternalConnectionCommand extends smithy_client_1.Command {
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
9
|
constructor(input) {
|
|
33
|
-
// Start section: command_constructor
|
|
34
10
|
super();
|
|
35
11
|
this.input = input;
|
|
36
|
-
// End section: command_constructor
|
|
37
12
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
42
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -62,4 +34,3 @@ class AssociateExternalConnectionCommand extends smithy_client_1.Command {
|
|
|
62
34
|
}
|
|
63
35
|
}
|
|
64
36
|
exports.AssociateExternalConnectionCommand = AssociateExternalConnectionCommand;
|
|
65
|
-
//# sourceMappingURL=AssociateExternalConnectionCommand.js.map
|