@aws-sdk/client-codeartifact 3.928.0 → 3.929.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/index.js +3137 -2149
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/CodeartifactClient.js +2 -0
- package/dist-es/commands/AssociateExternalConnectionCommand.js +3 -9
- package/dist-es/commands/CopyPackageVersionsCommand.js +3 -9
- package/dist-es/commands/CreateDomainCommand.js +3 -9
- package/dist-es/commands/CreatePackageGroupCommand.js +3 -9
- package/dist-es/commands/CreateRepositoryCommand.js +3 -9
- package/dist-es/commands/DeleteDomainCommand.js +3 -9
- package/dist-es/commands/DeleteDomainPermissionsPolicyCommand.js +3 -9
- package/dist-es/commands/DeletePackageCommand.js +3 -9
- package/dist-es/commands/DeletePackageGroupCommand.js +3 -9
- package/dist-es/commands/DeletePackageVersionsCommand.js +3 -9
- package/dist-es/commands/DeleteRepositoryCommand.js +3 -9
- package/dist-es/commands/DeleteRepositoryPermissionsPolicyCommand.js +3 -9
- package/dist-es/commands/DescribeDomainCommand.js +3 -9
- package/dist-es/commands/DescribePackageCommand.js +3 -9
- package/dist-es/commands/DescribePackageGroupCommand.js +3 -9
- package/dist-es/commands/DescribePackageVersionCommand.js +3 -9
- package/dist-es/commands/DescribeRepositoryCommand.js +3 -9
- package/dist-es/commands/DisassociateExternalConnectionCommand.js +3 -9
- package/dist-es/commands/DisposePackageVersionsCommand.js +3 -9
- package/dist-es/commands/GetAssociatedPackageGroupCommand.js +3 -9
- package/dist-es/commands/GetAuthorizationTokenCommand.js +3 -10
- package/dist-es/commands/GetDomainPermissionsPolicyCommand.js +3 -9
- package/dist-es/commands/GetPackageVersionAssetCommand.js +3 -10
- package/dist-es/commands/GetPackageVersionReadmeCommand.js +3 -9
- package/dist-es/commands/GetRepositoryEndpointCommand.js +3 -9
- package/dist-es/commands/GetRepositoryPermissionsPolicyCommand.js +3 -9
- package/dist-es/commands/ListAllowedRepositoriesForGroupCommand.js +3 -9
- package/dist-es/commands/ListAssociatedPackagesCommand.js +3 -9
- package/dist-es/commands/ListDomainsCommand.js +3 -9
- package/dist-es/commands/ListPackageGroupsCommand.js +3 -9
- package/dist-es/commands/ListPackageVersionAssetsCommand.js +3 -9
- package/dist-es/commands/ListPackageVersionDependenciesCommand.js +3 -9
- package/dist-es/commands/ListPackageVersionsCommand.js +3 -9
- package/dist-es/commands/ListPackagesCommand.js +3 -9
- package/dist-es/commands/ListRepositoriesCommand.js +3 -9
- package/dist-es/commands/ListRepositoriesInDomainCommand.js +3 -9
- package/dist-es/commands/ListSubPackageGroupsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/PublishPackageVersionCommand.js +3 -10
- package/dist-es/commands/PutDomainPermissionsPolicyCommand.js +3 -9
- package/dist-es/commands/PutPackageOriginConfigurationCommand.js +3 -9
- package/dist-es/commands/PutRepositoryPermissionsPolicyCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdatePackageGroupCommand.js +3 -9
- package/dist-es/commands/UpdatePackageGroupOriginConfigurationCommand.js +3 -9
- package/dist-es/commands/UpdatePackageVersionsStatusCommand.js +3 -9
- package/dist-es/commands/UpdateRepositoryCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +3078 -0
- package/dist-types/CodeartifactClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -12
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +209 -0
- package/dist-types/ts3.4/CodeartifactClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -9
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +216 -0
- package/package.json +2 -2
- package/dist-es/protocols/Aws_restJson1.js +0 -1825
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -434
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -584
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdatePackageGroupOriginConfiguration } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdatePackageGroupOriginConfigurationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("CodeArtifactControlPlaneService", "UpdatePackageGroupOriginConfiguration", {})
|
|
17
13
|
.n("CodeartifactClient", "UpdatePackageGroupOriginConfigurationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdatePackageGroupOriginConfigurationCommand)
|
|
20
|
-
.de(de_UpdatePackageGroupOriginConfigurationCommand)
|
|
14
|
+
.sc(UpdatePackageGroupOriginConfiguration)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdatePackageVersionsStatus } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdatePackageVersionsStatusCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("CodeArtifactControlPlaneService", "UpdatePackageVersionsStatus", {})
|
|
17
13
|
.n("CodeartifactClient", "UpdatePackageVersionsStatusCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdatePackageVersionsStatusCommand)
|
|
20
|
-
.de(de_UpdatePackageVersionsStatusCommand)
|
|
14
|
+
.sc(UpdatePackageVersionsStatus)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateRepository } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateRepositoryCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("CodeArtifactControlPlaneService", "UpdateRepository", {})
|
|
17
13
|
.n("CodeartifactClient", "UpdateRepositoryCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateRepositoryCommand)
|
|
20
|
-
.de(de_UpdateRepositoryCommand)
|
|
14
|
+
.sc(UpdateRepository)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -191,12 +191,3 @@ export const PackageGroupAllowedRepositoryUpdateType = {
|
|
|
191
191
|
ADDED: "ADDED",
|
|
192
192
|
REMOVED: "REMOVED",
|
|
193
193
|
};
|
|
194
|
-
export const GetAuthorizationTokenResultFilterSensitiveLog = (obj) => ({
|
|
195
|
-
...obj,
|
|
196
|
-
});
|
|
197
|
-
export const GetPackageVersionAssetResultFilterSensitiveLog = (obj) => ({
|
|
198
|
-
...obj,
|
|
199
|
-
});
|
|
200
|
-
export const PublishPackageVersionRequestFilterSensitiveLog = (obj) => ({
|
|
201
|
-
...obj,
|
|
202
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -23,6 +24,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
24
|
},
|
|
24
25
|
],
|
|
25
26
|
logger: config?.logger ?? new NoOpLogger(),
|
|
27
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.codeartifact" }),
|
|
26
28
|
sdkStreamMixin: config?.sdkStreamMixin ?? sdkStreamMixin,
|
|
27
29
|
serviceId: config?.serviceId ?? "codeartifact",
|
|
28
30
|
urlParser: config?.urlParser ?? parseUrl,
|