@aws-sdk/client-codeartifact 3.413.0 → 3.417.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/dist-cjs/models/models_0.js +1 -0
- package/dist-cjs/runtimeExtensions.js +3 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/runtimeExtensions.js +3 -0
- package/dist-types/commands/AssociateExternalConnectionCommand.d.ts +1 -1
- package/dist-types/commands/CopyPackageVersionsCommand.d.ts +1 -1
- package/dist-types/commands/CreateRepositoryCommand.d.ts +1 -1
- package/dist-types/commands/DeletePackageCommand.d.ts +2 -2
- package/dist-types/commands/DeletePackageVersionsCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRepositoryCommand.d.ts +1 -1
- package/dist-types/commands/DescribePackageCommand.d.ts +2 -2
- package/dist-types/commands/DescribePackageVersionCommand.d.ts +2 -2
- package/dist-types/commands/DescribeRepositoryCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateExternalConnectionCommand.d.ts +1 -1
- package/dist-types/commands/DisposePackageVersionsCommand.d.ts +1 -1
- package/dist-types/commands/GetPackageVersionAssetCommand.d.ts +1 -1
- package/dist-types/commands/GetPackageVersionReadmeCommand.d.ts +2 -2
- package/dist-types/commands/GetRepositoryEndpointCommand.d.ts +1 -1
- package/dist-types/commands/ListPackageVersionAssetsCommand.d.ts +2 -2
- package/dist-types/commands/ListPackageVersionDependenciesCommand.d.ts +2 -2
- package/dist-types/commands/ListPackageVersionsCommand.d.ts +2 -2
- package/dist-types/commands/ListPackagesCommand.d.ts +2 -2
- package/dist-types/commands/PublishPackageVersionCommand.d.ts +2 -2
- package/dist-types/commands/PutPackageOriginConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePackageVersionsStatusCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRepositoryCommand.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +4 -3
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveRuntimeExtensions = void 0;
|
|
4
|
+
const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
|
|
4
5
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
5
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
7
|
const asPartial = (t) => t;
|
|
7
8
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
8
9
|
const extensionConfiguration = {
|
|
10
|
+
...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
9
11
|
...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
10
12
|
...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
|
|
11
13
|
};
|
|
12
14
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
13
15
|
return {
|
|
14
16
|
...runtimeConfig,
|
|
17
|
+
...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
15
18
|
...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
16
19
|
...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
17
20
|
};
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
+
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
|
|
1
2
|
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
|
|
2
3
|
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
|
3
4
|
const asPartial = (t) => t;
|
|
4
5
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
5
6
|
const extensionConfiguration = {
|
|
7
|
+
...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
|
|
6
8
|
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
|
7
9
|
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
|
|
8
10
|
};
|
|
9
11
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
10
12
|
return {
|
|
11
13
|
...runtimeConfig,
|
|
14
|
+
...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
|
|
12
15
|
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
13
16
|
...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
|
|
14
17
|
};
|
|
@@ -58,7 +58,7 @@ export interface AssociateExternalConnectionCommandOutput extends AssociateExter
|
|
|
58
58
|
* // externalConnections: [ // RepositoryExternalConnectionInfoList
|
|
59
59
|
* // { // RepositoryExternalConnectionInfo
|
|
60
60
|
* // externalConnectionName: "STRING_VALUE",
|
|
61
|
-
* // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic",
|
|
61
|
+
* // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift",
|
|
62
62
|
* // status: "Available",
|
|
63
63
|
* // },
|
|
64
64
|
* // ],
|
|
@@ -42,7 +42,7 @@ export interface CopyPackageVersionsCommandOutput extends CopyPackageVersionsRes
|
|
|
42
42
|
* domainOwner: "STRING_VALUE",
|
|
43
43
|
* sourceRepository: "STRING_VALUE", // required
|
|
44
44
|
* destinationRepository: "STRING_VALUE", // required
|
|
45
|
-
* format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required
|
|
45
|
+
* format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required
|
|
46
46
|
* namespace: "STRING_VALUE",
|
|
47
47
|
* package: "STRING_VALUE", // required
|
|
48
48
|
* versions: [ // PackageVersionList
|
|
@@ -67,7 +67,7 @@ export interface CreateRepositoryCommandOutput extends CreateRepositoryResult, _
|
|
|
67
67
|
* // externalConnections: [ // RepositoryExternalConnectionInfoList
|
|
68
68
|
* // { // RepositoryExternalConnectionInfo
|
|
69
69
|
* // externalConnectionName: "STRING_VALUE",
|
|
70
|
-
* // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic",
|
|
70
|
+
* // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift",
|
|
71
71
|
* // status: "Available",
|
|
72
72
|
* // },
|
|
73
73
|
* // ],
|
|
@@ -35,7 +35,7 @@ export interface DeletePackageCommandOutput extends DeletePackageResult, __Metad
|
|
|
35
35
|
* domain: "STRING_VALUE", // required
|
|
36
36
|
* domainOwner: "STRING_VALUE",
|
|
37
37
|
* repository: "STRING_VALUE", // required
|
|
38
|
-
* format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required
|
|
38
|
+
* format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required
|
|
39
39
|
* namespace: "STRING_VALUE",
|
|
40
40
|
* package: "STRING_VALUE", // required
|
|
41
41
|
* };
|
|
@@ -43,7 +43,7 @@ export interface DeletePackageCommandOutput extends DeletePackageResult, __Metad
|
|
|
43
43
|
* const response = await client.send(command);
|
|
44
44
|
* // { // DeletePackageResult
|
|
45
45
|
* // deletedPackage: { // PackageSummary
|
|
46
|
-
* // format: "npm" || "pypi" || "maven" || "nuget" || "generic",
|
|
46
|
+
* // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift",
|
|
47
47
|
* // namespace: "STRING_VALUE",
|
|
48
48
|
* // package: "STRING_VALUE",
|
|
49
49
|
* // originConfiguration: { // PackageOriginConfiguration
|
|
@@ -38,7 +38,7 @@ export interface DeletePackageVersionsCommandOutput extends DeletePackageVersion
|
|
|
38
38
|
* domain: "STRING_VALUE", // required
|
|
39
39
|
* domainOwner: "STRING_VALUE",
|
|
40
40
|
* repository: "STRING_VALUE", // required
|
|
41
|
-
* format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required
|
|
41
|
+
* format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required
|
|
42
42
|
* namespace: "STRING_VALUE",
|
|
43
43
|
* package: "STRING_VALUE", // required
|
|
44
44
|
* versions: [ // PackageVersionList // required
|
|
@@ -55,7 +55,7 @@ export interface DeleteRepositoryCommandOutput extends DeleteRepositoryResult, _
|
|
|
55
55
|
* // externalConnections: [ // RepositoryExternalConnectionInfoList
|
|
56
56
|
* // { // RepositoryExternalConnectionInfo
|
|
57
57
|
* // externalConnectionName: "STRING_VALUE",
|
|
58
|
-
* // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic",
|
|
58
|
+
* // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift",
|
|
59
59
|
* // status: "Available",
|
|
60
60
|
* // },
|
|
61
61
|
* // ],
|
|
@@ -36,7 +36,7 @@ export interface DescribePackageCommandOutput extends DescribePackageResult, __M
|
|
|
36
36
|
* domain: "STRING_VALUE", // required
|
|
37
37
|
* domainOwner: "STRING_VALUE",
|
|
38
38
|
* repository: "STRING_VALUE", // required
|
|
39
|
-
* format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required
|
|
39
|
+
* format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required
|
|
40
40
|
* namespace: "STRING_VALUE",
|
|
41
41
|
* package: "STRING_VALUE", // required
|
|
42
42
|
* };
|
|
@@ -44,7 +44,7 @@ export interface DescribePackageCommandOutput extends DescribePackageResult, __M
|
|
|
44
44
|
* const response = await client.send(command);
|
|
45
45
|
* // { // DescribePackageResult
|
|
46
46
|
* // package: { // PackageDescription
|
|
47
|
-
* // format: "npm" || "pypi" || "maven" || "nuget" || "generic",
|
|
47
|
+
* // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift",
|
|
48
48
|
* // namespace: "STRING_VALUE",
|
|
49
49
|
* // name: "STRING_VALUE",
|
|
50
50
|
* // originConfiguration: { // PackageOriginConfiguration
|
|
@@ -38,7 +38,7 @@ export interface DescribePackageVersionCommandOutput extends DescribePackageVers
|
|
|
38
38
|
* domain: "STRING_VALUE", // required
|
|
39
39
|
* domainOwner: "STRING_VALUE",
|
|
40
40
|
* repository: "STRING_VALUE", // required
|
|
41
|
-
* format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required
|
|
41
|
+
* format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required
|
|
42
42
|
* namespace: "STRING_VALUE",
|
|
43
43
|
* package: "STRING_VALUE", // required
|
|
44
44
|
* packageVersion: "STRING_VALUE", // required
|
|
@@ -47,7 +47,7 @@ export interface DescribePackageVersionCommandOutput extends DescribePackageVers
|
|
|
47
47
|
* const response = await client.send(command);
|
|
48
48
|
* // { // DescribePackageVersionResult
|
|
49
49
|
* // packageVersion: { // PackageVersionDescription
|
|
50
|
-
* // format: "npm" || "pypi" || "maven" || "nuget" || "generic",
|
|
50
|
+
* // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift",
|
|
51
51
|
* // namespace: "STRING_VALUE",
|
|
52
52
|
* // packageName: "STRING_VALUE",
|
|
53
53
|
* // displayName: "STRING_VALUE",
|
|
@@ -56,7 +56,7 @@ export interface DescribeRepositoryCommandOutput extends DescribeRepositoryResul
|
|
|
56
56
|
* // externalConnections: [ // RepositoryExternalConnectionInfoList
|
|
57
57
|
* // { // RepositoryExternalConnectionInfo
|
|
58
58
|
* // externalConnectionName: "STRING_VALUE",
|
|
59
|
-
* // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic",
|
|
59
|
+
* // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift",
|
|
60
60
|
* // status: "Available",
|
|
61
61
|
* // },
|
|
62
62
|
* // ],
|
|
@@ -56,7 +56,7 @@ export interface DisassociateExternalConnectionCommandOutput extends Disassociat
|
|
|
56
56
|
* // externalConnections: [ // RepositoryExternalConnectionInfoList
|
|
57
57
|
* // { // RepositoryExternalConnectionInfo
|
|
58
58
|
* // externalConnectionName: "STRING_VALUE",
|
|
59
|
-
* // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic",
|
|
59
|
+
* // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift",
|
|
60
60
|
* // status: "Available",
|
|
61
61
|
* // },
|
|
62
62
|
* // ],
|
|
@@ -45,7 +45,7 @@ export interface DisposePackageVersionsCommandOutput extends DisposePackageVersi
|
|
|
45
45
|
* domain: "STRING_VALUE", // required
|
|
46
46
|
* domainOwner: "STRING_VALUE",
|
|
47
47
|
* repository: "STRING_VALUE", // required
|
|
48
|
-
* format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required
|
|
48
|
+
* format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required
|
|
49
49
|
* namespace: "STRING_VALUE",
|
|
50
50
|
* package: "STRING_VALUE", // required
|
|
51
51
|
* versions: [ // PackageVersionList // required
|
|
@@ -39,7 +39,7 @@ export interface GetPackageVersionAssetCommandOutput extends Omit<GetPackageVers
|
|
|
39
39
|
* domain: "STRING_VALUE", // required
|
|
40
40
|
* domainOwner: "STRING_VALUE",
|
|
41
41
|
* repository: "STRING_VALUE", // required
|
|
42
|
-
* format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required
|
|
42
|
+
* format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required
|
|
43
43
|
* namespace: "STRING_VALUE",
|
|
44
44
|
* package: "STRING_VALUE", // required
|
|
45
45
|
* packageVersion: "STRING_VALUE", // required
|
|
@@ -39,7 +39,7 @@ export interface GetPackageVersionReadmeCommandOutput extends GetPackageVersionR
|
|
|
39
39
|
* domain: "STRING_VALUE", // required
|
|
40
40
|
* domainOwner: "STRING_VALUE",
|
|
41
41
|
* repository: "STRING_VALUE", // required
|
|
42
|
-
* format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required
|
|
42
|
+
* format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required
|
|
43
43
|
* namespace: "STRING_VALUE",
|
|
44
44
|
* package: "STRING_VALUE", // required
|
|
45
45
|
* packageVersion: "STRING_VALUE", // required
|
|
@@ -47,7 +47,7 @@ export interface GetPackageVersionReadmeCommandOutput extends GetPackageVersionR
|
|
|
47
47
|
* const command = new GetPackageVersionReadmeCommand(input);
|
|
48
48
|
* const response = await client.send(command);
|
|
49
49
|
* // { // GetPackageVersionReadmeResult
|
|
50
|
-
* // format: "npm" || "pypi" || "maven" || "nuget" || "generic",
|
|
50
|
+
* // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift",
|
|
51
51
|
* // namespace: "STRING_VALUE",
|
|
52
52
|
* // package: "STRING_VALUE",
|
|
53
53
|
* // version: "STRING_VALUE",
|
|
@@ -59,7 +59,7 @@ export interface GetRepositoryEndpointCommandOutput extends GetRepositoryEndpoin
|
|
|
59
59
|
* domain: "STRING_VALUE", // required
|
|
60
60
|
* domainOwner: "STRING_VALUE",
|
|
61
61
|
* repository: "STRING_VALUE", // required
|
|
62
|
-
* format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required
|
|
62
|
+
* format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required
|
|
63
63
|
* };
|
|
64
64
|
* const command = new GetRepositoryEndpointCommand(input);
|
|
65
65
|
* const response = await client.send(command);
|
|
@@ -38,7 +38,7 @@ export interface ListPackageVersionAssetsCommandOutput extends ListPackageVersio
|
|
|
38
38
|
* domain: "STRING_VALUE", // required
|
|
39
39
|
* domainOwner: "STRING_VALUE",
|
|
40
40
|
* repository: "STRING_VALUE", // required
|
|
41
|
-
* format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required
|
|
41
|
+
* format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required
|
|
42
42
|
* namespace: "STRING_VALUE",
|
|
43
43
|
* package: "STRING_VALUE", // required
|
|
44
44
|
* packageVersion: "STRING_VALUE", // required
|
|
@@ -48,7 +48,7 @@ export interface ListPackageVersionAssetsCommandOutput extends ListPackageVersio
|
|
|
48
48
|
* const command = new ListPackageVersionAssetsCommand(input);
|
|
49
49
|
* const response = await client.send(command);
|
|
50
50
|
* // { // ListPackageVersionAssetsResult
|
|
51
|
-
* // format: "npm" || "pypi" || "maven" || "nuget" || "generic",
|
|
51
|
+
* // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift",
|
|
52
52
|
* // namespace: "STRING_VALUE",
|
|
53
53
|
* // package: "STRING_VALUE",
|
|
54
54
|
* // version: "STRING_VALUE",
|
|
@@ -40,7 +40,7 @@ export interface ListPackageVersionDependenciesCommandOutput extends ListPackage
|
|
|
40
40
|
* domain: "STRING_VALUE", // required
|
|
41
41
|
* domainOwner: "STRING_VALUE",
|
|
42
42
|
* repository: "STRING_VALUE", // required
|
|
43
|
-
* format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required
|
|
43
|
+
* format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required
|
|
44
44
|
* namespace: "STRING_VALUE",
|
|
45
45
|
* package: "STRING_VALUE", // required
|
|
46
46
|
* packageVersion: "STRING_VALUE", // required
|
|
@@ -49,7 +49,7 @@ export interface ListPackageVersionDependenciesCommandOutput extends ListPackage
|
|
|
49
49
|
* const command = new ListPackageVersionDependenciesCommand(input);
|
|
50
50
|
* const response = await client.send(command);
|
|
51
51
|
* // { // ListPackageVersionDependenciesResult
|
|
52
|
-
* // format: "npm" || "pypi" || "maven" || "nuget" || "generic",
|
|
52
|
+
* // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift",
|
|
53
53
|
* // namespace: "STRING_VALUE",
|
|
54
54
|
* // package: "STRING_VALUE",
|
|
55
55
|
* // version: "STRING_VALUE",
|
|
@@ -38,7 +38,7 @@ export interface ListPackageVersionsCommandOutput extends ListPackageVersionsRes
|
|
|
38
38
|
* domain: "STRING_VALUE", // required
|
|
39
39
|
* domainOwner: "STRING_VALUE",
|
|
40
40
|
* repository: "STRING_VALUE", // required
|
|
41
|
-
* format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required
|
|
41
|
+
* format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required
|
|
42
42
|
* namespace: "STRING_VALUE",
|
|
43
43
|
* package: "STRING_VALUE", // required
|
|
44
44
|
* status: "Published" || "Unfinished" || "Unlisted" || "Archived" || "Disposed" || "Deleted",
|
|
@@ -51,7 +51,7 @@ export interface ListPackageVersionsCommandOutput extends ListPackageVersionsRes
|
|
|
51
51
|
* const response = await client.send(command);
|
|
52
52
|
* // { // ListPackageVersionsResult
|
|
53
53
|
* // defaultDisplayVersion: "STRING_VALUE",
|
|
54
|
-
* // format: "npm" || "pypi" || "maven" || "nuget" || "generic",
|
|
54
|
+
* // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift",
|
|
55
55
|
* // namespace: "STRING_VALUE",
|
|
56
56
|
* // package: "STRING_VALUE",
|
|
57
57
|
* // versions: [ // PackageVersionSummaryList
|
|
@@ -38,7 +38,7 @@ export interface ListPackagesCommandOutput extends ListPackagesResult, __Metadat
|
|
|
38
38
|
* domain: "STRING_VALUE", // required
|
|
39
39
|
* domainOwner: "STRING_VALUE",
|
|
40
40
|
* repository: "STRING_VALUE", // required
|
|
41
|
-
* format: "npm" || "pypi" || "maven" || "nuget" || "generic",
|
|
41
|
+
* format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift",
|
|
42
42
|
* namespace: "STRING_VALUE",
|
|
43
43
|
* packagePrefix: "STRING_VALUE",
|
|
44
44
|
* maxResults: Number("int"),
|
|
@@ -51,7 +51,7 @@ export interface ListPackagesCommandOutput extends ListPackagesResult, __Metadat
|
|
|
51
51
|
* // { // ListPackagesResult
|
|
52
52
|
* // packages: [ // PackageSummaryList
|
|
53
53
|
* // { // PackageSummary
|
|
54
|
-
* // format: "npm" || "pypi" || "maven" || "nuget" || "generic",
|
|
54
|
+
* // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift",
|
|
55
55
|
* // namespace: "STRING_VALUE",
|
|
56
56
|
* // package: "STRING_VALUE",
|
|
57
57
|
* // originConfiguration: { // PackageOriginConfiguration
|
|
@@ -44,7 +44,7 @@ export interface PublishPackageVersionCommandOutput extends PublishPackageVersio
|
|
|
44
44
|
* domain: "STRING_VALUE", // required
|
|
45
45
|
* domainOwner: "STRING_VALUE",
|
|
46
46
|
* repository: "STRING_VALUE", // required
|
|
47
|
-
* format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required
|
|
47
|
+
* format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required
|
|
48
48
|
* namespace: "STRING_VALUE",
|
|
49
49
|
* package: "STRING_VALUE", // required
|
|
50
50
|
* packageVersion: "STRING_VALUE", // required
|
|
@@ -56,7 +56,7 @@ export interface PublishPackageVersionCommandOutput extends PublishPackageVersio
|
|
|
56
56
|
* const command = new PublishPackageVersionCommand(input);
|
|
57
57
|
* const response = await client.send(command);
|
|
58
58
|
* // { // PublishPackageVersionResult
|
|
59
|
-
* // format: "npm" || "pypi" || "maven" || "nuget" || "generic",
|
|
59
|
+
* // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift",
|
|
60
60
|
* // namespace: "STRING_VALUE",
|
|
61
61
|
* // package: "STRING_VALUE",
|
|
62
62
|
* // version: "STRING_VALUE",
|
|
@@ -42,7 +42,7 @@ export interface PutPackageOriginConfigurationCommandOutput extends PutPackageOr
|
|
|
42
42
|
* domain: "STRING_VALUE", // required
|
|
43
43
|
* domainOwner: "STRING_VALUE",
|
|
44
44
|
* repository: "STRING_VALUE", // required
|
|
45
|
-
* format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required
|
|
45
|
+
* format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required
|
|
46
46
|
* namespace: "STRING_VALUE",
|
|
47
47
|
* package: "STRING_VALUE", // required
|
|
48
48
|
* restrictions: { // PackageOriginRestrictions
|
|
@@ -39,7 +39,7 @@ export interface UpdatePackageVersionsStatusCommandOutput extends UpdatePackageV
|
|
|
39
39
|
* domain: "STRING_VALUE", // required
|
|
40
40
|
* domainOwner: "STRING_VALUE",
|
|
41
41
|
* repository: "STRING_VALUE", // required
|
|
42
|
-
* format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required
|
|
42
|
+
* format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required
|
|
43
43
|
* namespace: "STRING_VALUE",
|
|
44
44
|
* package: "STRING_VALUE", // required
|
|
45
45
|
* versions: [ // PackageVersionList // required
|
|
@@ -61,7 +61,7 @@ export interface UpdateRepositoryCommandOutput extends UpdateRepositoryResult, _
|
|
|
61
61
|
* // externalConnections: [ // RepositoryExternalConnectionInfoList
|
|
62
62
|
* // { // RepositoryExternalConnectionInfo
|
|
63
63
|
* // externalConnectionName: "STRING_VALUE",
|
|
64
|
-
* // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic",
|
|
64
|
+
* // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift",
|
|
65
65
|
* // status: "Available",
|
|
66
66
|
* // },
|
|
67
67
|
* // ],
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
1
2
|
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
2
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
3
4
|
/**
|
|
4
5
|
* @internal
|
|
5
6
|
*/
|
|
6
|
-
export interface CodeartifactExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration {
|
|
7
|
+
export interface CodeartifactExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {
|
|
7
8
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
1
2
|
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
2
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
3
4
|
export interface CodeartifactExtensionConfiguration
|
|
4
5
|
extends HttpHandlerExtensionConfiguration,
|
|
5
|
-
DefaultExtensionConfiguration
|
|
6
|
+
DefaultExtensionConfiguration,
|
|
7
|
+
AwsRegionExtensionConfiguration {}
|
|
@@ -42,6 +42,7 @@ export declare const PackageFormat: {
|
|
|
42
42
|
readonly NPM: "npm";
|
|
43
43
|
readonly NUGET: "nuget";
|
|
44
44
|
readonly PYPI: "pypi";
|
|
45
|
+
readonly SWIFT: "swift";
|
|
45
46
|
};
|
|
46
47
|
export type PackageFormat = (typeof PackageFormat)[keyof typeof PackageFormat];
|
|
47
48
|
export declare const ExternalConnectionStatus: {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codeartifact",
|
|
3
3
|
"description": "AWS SDK for JavaScript Codeartifact Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.417.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,13 +21,14 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.414.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.414.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.413.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.413.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.413.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.413.0",
|
|
30
30
|
"@aws-sdk/middleware-user-agent": "3.413.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.413.0",
|
|
31
32
|
"@aws-sdk/types": "3.413.0",
|
|
32
33
|
"@aws-sdk/util-endpoints": "3.413.0",
|
|
33
34
|
"@aws-sdk/util-user-agent-browser": "3.413.0",
|