@aws-sdk/client-codeartifact 3.121.0 → 3.130.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 +32 -0
- package/README.md +10 -0
- package/dist-cjs/Codeartifact.js +30 -0
- package/dist-cjs/commands/DescribePackageCommand.js +36 -0
- package/dist-cjs/commands/PutPackageOriginConfigurationCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +73 -3
- package/dist-cjs/protocols/Aws_restJson1.js +253 -69
- package/dist-es/Codeartifact.js +30 -0
- package/dist-es/commands/DescribePackageCommand.js +39 -0
- package/dist-es/commands/PutPackageOriginConfigurationCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +52 -0
- package/dist-es/protocols/Aws_restJson1.js +271 -53
- package/dist-types/Codeartifact.d.ts +37 -1
- package/dist-types/CodeartifactClient.d.ts +14 -2
- package/dist-types/commands/DescribePackageCommand.d.ts +37 -0
- package/dist-types/commands/GetPackageVersionReadmeCommand.d.ts +3 -1
- package/dist-types/commands/PutPackageOriginConfigurationCommand.d.ts +43 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +466 -177
- package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
- package/dist-types/ts3.4/Codeartifact.d.ts +10 -0
- package/dist-types/ts3.4/CodeartifactClient.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribePackageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutPackageOriginConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +136 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
- package/package.json +26 -26
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { PutPackageOriginConfigurationRequest, PutPackageOriginConfigurationResult } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1PutPackageOriginConfigurationCommand, serializeAws_restJson1PutPackageOriginConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var PutPackageOriginConfigurationCommand = (function (_super) {
|
|
7
|
+
__extends(PutPackageOriginConfigurationCommand, _super);
|
|
8
|
+
function PutPackageOriginConfigurationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
PutPackageOriginConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CodeartifactClient";
|
|
18
|
+
var commandName = "PutPackageOriginConfigurationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: PutPackageOriginConfigurationRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: PutPackageOriginConfigurationResult.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
PutPackageOriginConfigurationCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1PutPackageOriginConfigurationCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
PutPackageOriginConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1PutPackageOriginConfigurationCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return PutPackageOriginConfigurationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { PutPackageOriginConfigurationCommand };
|
|
@@ -8,6 +8,7 @@ export * from "./DeletePackageVersionsCommand";
|
|
|
8
8
|
export * from "./DeleteRepositoryCommand";
|
|
9
9
|
export * from "./DeleteRepositoryPermissionsPolicyCommand";
|
|
10
10
|
export * from "./DescribeDomainCommand";
|
|
11
|
+
export * from "./DescribePackageCommand";
|
|
11
12
|
export * from "./DescribePackageVersionCommand";
|
|
12
13
|
export * from "./DescribeRepositoryCommand";
|
|
13
14
|
export * from "./DisassociateExternalConnectionCommand";
|
|
@@ -27,6 +28,7 @@ export * from "./ListRepositoriesCommand";
|
|
|
27
28
|
export * from "./ListRepositoriesInDomainCommand";
|
|
28
29
|
export * from "./ListTagsForResourceCommand";
|
|
29
30
|
export * from "./PutDomainPermissionsPolicyCommand";
|
|
31
|
+
export * from "./PutPackageOriginConfigurationCommand";
|
|
30
32
|
export * from "./PutRepositoryPermissionsPolicyCommand";
|
|
31
33
|
export * from "./TagResourceCommand";
|
|
32
34
|
export * from "./UntagResourceCommand";
|
|
@@ -12,6 +12,16 @@ var AccessDeniedException = (function (_super) {
|
|
|
12
12
|
return AccessDeniedException;
|
|
13
13
|
}(__BaseException));
|
|
14
14
|
export { AccessDeniedException };
|
|
15
|
+
export var AllowPublish;
|
|
16
|
+
(function (AllowPublish) {
|
|
17
|
+
AllowPublish["ALLOW"] = "ALLOW";
|
|
18
|
+
AllowPublish["BLOCK"] = "BLOCK";
|
|
19
|
+
})(AllowPublish || (AllowPublish = {}));
|
|
20
|
+
export var AllowUpstream;
|
|
21
|
+
(function (AllowUpstream) {
|
|
22
|
+
AllowUpstream["ALLOW"] = "ALLOW";
|
|
23
|
+
AllowUpstream["BLOCK"] = "BLOCK";
|
|
24
|
+
})(AllowUpstream || (AllowUpstream = {}));
|
|
15
25
|
export var HashAlgorithm;
|
|
16
26
|
(function (HashAlgorithm) {
|
|
17
27
|
HashAlgorithm["MD5"] = "MD5";
|
|
@@ -269,6 +279,26 @@ export var DescribeDomainResult;
|
|
|
269
279
|
(function (DescribeDomainResult) {
|
|
270
280
|
DescribeDomainResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
271
281
|
})(DescribeDomainResult || (DescribeDomainResult = {}));
|
|
282
|
+
export var DescribePackageRequest;
|
|
283
|
+
(function (DescribePackageRequest) {
|
|
284
|
+
DescribePackageRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
285
|
+
})(DescribePackageRequest || (DescribePackageRequest = {}));
|
|
286
|
+
export var PackageOriginRestrictions;
|
|
287
|
+
(function (PackageOriginRestrictions) {
|
|
288
|
+
PackageOriginRestrictions.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
289
|
+
})(PackageOriginRestrictions || (PackageOriginRestrictions = {}));
|
|
290
|
+
export var PackageOriginConfiguration;
|
|
291
|
+
(function (PackageOriginConfiguration) {
|
|
292
|
+
PackageOriginConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
293
|
+
})(PackageOriginConfiguration || (PackageOriginConfiguration = {}));
|
|
294
|
+
export var PackageDescription;
|
|
295
|
+
(function (PackageDescription) {
|
|
296
|
+
PackageDescription.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
297
|
+
})(PackageDescription || (PackageDescription = {}));
|
|
298
|
+
export var DescribePackageResult;
|
|
299
|
+
(function (DescribePackageResult) {
|
|
300
|
+
DescribePackageResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
301
|
+
})(DescribePackageResult || (DescribePackageResult = {}));
|
|
272
302
|
export var DescribePackageVersionRequest;
|
|
273
303
|
(function (DescribePackageVersionRequest) {
|
|
274
304
|
DescribePackageVersionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -277,6 +307,20 @@ export var LicenseInfo;
|
|
|
277
307
|
(function (LicenseInfo) {
|
|
278
308
|
LicenseInfo.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
279
309
|
})(LicenseInfo || (LicenseInfo = {}));
|
|
310
|
+
export var DomainEntryPoint;
|
|
311
|
+
(function (DomainEntryPoint) {
|
|
312
|
+
DomainEntryPoint.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
313
|
+
})(DomainEntryPoint || (DomainEntryPoint = {}));
|
|
314
|
+
export var PackageVersionOriginType;
|
|
315
|
+
(function (PackageVersionOriginType) {
|
|
316
|
+
PackageVersionOriginType["EXTERNAL"] = "EXTERNAL";
|
|
317
|
+
PackageVersionOriginType["INTERNAL"] = "INTERNAL";
|
|
318
|
+
PackageVersionOriginType["UNKNOWN"] = "UNKNOWN";
|
|
319
|
+
})(PackageVersionOriginType || (PackageVersionOriginType = {}));
|
|
320
|
+
export var PackageVersionOrigin;
|
|
321
|
+
(function (PackageVersionOrigin) {
|
|
322
|
+
PackageVersionOrigin.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
323
|
+
})(PackageVersionOrigin || (PackageVersionOrigin = {}));
|
|
280
324
|
export var PackageVersionDescription;
|
|
281
325
|
(function (PackageVersionDescription) {
|
|
282
326
|
PackageVersionDescription.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -453,6 +497,14 @@ export var PutDomainPermissionsPolicyResult;
|
|
|
453
497
|
(function (PutDomainPermissionsPolicyResult) {
|
|
454
498
|
PutDomainPermissionsPolicyResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
455
499
|
})(PutDomainPermissionsPolicyResult || (PutDomainPermissionsPolicyResult = {}));
|
|
500
|
+
export var PutPackageOriginConfigurationRequest;
|
|
501
|
+
(function (PutPackageOriginConfigurationRequest) {
|
|
502
|
+
PutPackageOriginConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
503
|
+
})(PutPackageOriginConfigurationRequest || (PutPackageOriginConfigurationRequest = {}));
|
|
504
|
+
export var PutPackageOriginConfigurationResult;
|
|
505
|
+
(function (PutPackageOriginConfigurationResult) {
|
|
506
|
+
PutPackageOriginConfigurationResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
507
|
+
})(PutPackageOriginConfigurationResult || (PutPackageOriginConfigurationResult = {}));
|
|
456
508
|
export var PutRepositoryPermissionsPolicyRequest;
|
|
457
509
|
(function (PutRepositoryPermissionsPolicyRequest) {
|
|
458
510
|
PutRepositoryPermissionsPolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|