@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
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,38 @@
|
|
|
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.130.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.129.0...v3.130.0) (2022-07-14)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **codegen:** fix error code parsing when it's a number ([#3371](https://github.com/aws/aws-sdk-js-v3/issues/3371)) ([c2d8522](https://github.com/aws/aws-sdk-js-v3/commit/c2d852279a3d23958521a6ceb4f4c642b0cb1848))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* **client-codeartifact:** This release introduces Package Origin Controls, a mechanism used to counteract Dependency Confusion attacks. Adds two new APIs, PutPackageOriginConfiguration and DescribePackage, and updates the ListPackage, DescribePackageVersion and ListPackageVersion APIs in support of the feature. ([ac9d765](https://github.com/aws/aws-sdk-js-v3/commit/ac9d765c47c18635c9e98922ba9a04eb785ca0fa))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.128.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.127.0...v3.128.0) (2022-07-12)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/client-codeartifact
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# [3.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @aws-sdk/client-codeartifact
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
6
38
|
# [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
|
|
7
39
|
|
|
8
40
|
|
package/README.md
CHANGED
|
@@ -149,6 +149,11 @@ contains information about the requested domain.</p>
|
|
|
149
149
|
</li>
|
|
150
150
|
<li>
|
|
151
151
|
<p>
|
|
152
|
+
<code>DescribePackage</code>: Returns a <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageDescription.html">PackageDescription</a>
|
|
153
|
+
object that contains details about a package. </p>
|
|
154
|
+
</li>
|
|
155
|
+
<li>
|
|
156
|
+
<p>
|
|
152
157
|
<code>DescribePackageVersion</code>: Returns a <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionDescription.html">PackageVersionDescription</a>
|
|
153
158
|
object that contains details about a package version. </p>
|
|
154
159
|
</li>
|
|
@@ -256,6 +261,11 @@ package in a repository.</p>
|
|
|
256
261
|
</li>
|
|
257
262
|
<li>
|
|
258
263
|
<p>
|
|
264
|
+
<code>PutPackageOriginConfiguration</code>: Sets the package origin configuration for a package, which determine
|
|
265
|
+
how new versions of the package can be added to a specific repository.</p>
|
|
266
|
+
</li>
|
|
267
|
+
<li>
|
|
268
|
+
<p>
|
|
259
269
|
<code>PutRepositoryPermissionsPolicy</code>: Sets the resource policy on a repository
|
|
260
270
|
that specifies permissions to access it. </p>
|
|
261
271
|
</li>
|
package/dist-cjs/Codeartifact.js
CHANGED
|
@@ -12,6 +12,7 @@ const DeletePackageVersionsCommand_1 = require("./commands/DeletePackageVersions
|
|
|
12
12
|
const DeleteRepositoryCommand_1 = require("./commands/DeleteRepositoryCommand");
|
|
13
13
|
const DeleteRepositoryPermissionsPolicyCommand_1 = require("./commands/DeleteRepositoryPermissionsPolicyCommand");
|
|
14
14
|
const DescribeDomainCommand_1 = require("./commands/DescribeDomainCommand");
|
|
15
|
+
const DescribePackageCommand_1 = require("./commands/DescribePackageCommand");
|
|
15
16
|
const DescribePackageVersionCommand_1 = require("./commands/DescribePackageVersionCommand");
|
|
16
17
|
const DescribeRepositoryCommand_1 = require("./commands/DescribeRepositoryCommand");
|
|
17
18
|
const DisassociateExternalConnectionCommand_1 = require("./commands/DisassociateExternalConnectionCommand");
|
|
@@ -31,6 +32,7 @@ const ListRepositoriesCommand_1 = require("./commands/ListRepositoriesCommand");
|
|
|
31
32
|
const ListRepositoriesInDomainCommand_1 = require("./commands/ListRepositoriesInDomainCommand");
|
|
32
33
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
33
34
|
const PutDomainPermissionsPolicyCommand_1 = require("./commands/PutDomainPermissionsPolicyCommand");
|
|
35
|
+
const PutPackageOriginConfigurationCommand_1 = require("./commands/PutPackageOriginConfigurationCommand");
|
|
34
36
|
const PutRepositoryPermissionsPolicyCommand_1 = require("./commands/PutRepositoryPermissionsPolicyCommand");
|
|
35
37
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
36
38
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
@@ -177,6 +179,20 @@ class Codeartifact extends CodeartifactClient_1.CodeartifactClient {
|
|
|
177
179
|
return this.send(command, optionsOrCb);
|
|
178
180
|
}
|
|
179
181
|
}
|
|
182
|
+
describePackage(args, optionsOrCb, cb) {
|
|
183
|
+
const command = new DescribePackageCommand_1.DescribePackageCommand(args);
|
|
184
|
+
if (typeof optionsOrCb === "function") {
|
|
185
|
+
this.send(command, optionsOrCb);
|
|
186
|
+
}
|
|
187
|
+
else if (typeof cb === "function") {
|
|
188
|
+
if (typeof optionsOrCb !== "object")
|
|
189
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
190
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
191
|
+
}
|
|
192
|
+
else {
|
|
193
|
+
return this.send(command, optionsOrCb);
|
|
194
|
+
}
|
|
195
|
+
}
|
|
180
196
|
describePackageVersion(args, optionsOrCb, cb) {
|
|
181
197
|
const command = new DescribePackageVersionCommand_1.DescribePackageVersionCommand(args);
|
|
182
198
|
if (typeof optionsOrCb === "function") {
|
|
@@ -443,6 +459,20 @@ class Codeartifact extends CodeartifactClient_1.CodeartifactClient {
|
|
|
443
459
|
return this.send(command, optionsOrCb);
|
|
444
460
|
}
|
|
445
461
|
}
|
|
462
|
+
putPackageOriginConfiguration(args, optionsOrCb, cb) {
|
|
463
|
+
const command = new PutPackageOriginConfigurationCommand_1.PutPackageOriginConfigurationCommand(args);
|
|
464
|
+
if (typeof optionsOrCb === "function") {
|
|
465
|
+
this.send(command, optionsOrCb);
|
|
466
|
+
}
|
|
467
|
+
else if (typeof cb === "function") {
|
|
468
|
+
if (typeof optionsOrCb !== "object")
|
|
469
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
470
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
471
|
+
}
|
|
472
|
+
else {
|
|
473
|
+
return this.send(command, optionsOrCb);
|
|
474
|
+
}
|
|
475
|
+
}
|
|
446
476
|
putRepositoryPermissionsPolicy(args, optionsOrCb, cb) {
|
|
447
477
|
const command = new PutRepositoryPermissionsPolicyCommand_1.PutRepositoryPermissionsPolicyCommand(args);
|
|
448
478
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribePackageCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class DescribePackageCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "CodeartifactClient";
|
|
18
|
+
const commandName = "DescribePackageCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DescribePackageRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DescribePackageResult.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1DescribePackageCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1DescribePackageCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DescribePackageCommand = DescribePackageCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PutPackageOriginConfigurationCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class PutPackageOriginConfigurationCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "CodeartifactClient";
|
|
18
|
+
const commandName = "PutPackageOriginConfigurationCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.PutPackageOriginConfigurationRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.PutPackageOriginConfigurationResult.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1PutPackageOriginConfigurationCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1PutPackageOriginConfigurationCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.PutPackageOriginConfigurationCommand = PutPackageOriginConfigurationCommand;
|
|
@@ -11,6 +11,7 @@ tslib_1.__exportStar(require("./DeletePackageVersionsCommand"), exports);
|
|
|
11
11
|
tslib_1.__exportStar(require("./DeleteRepositoryCommand"), exports);
|
|
12
12
|
tslib_1.__exportStar(require("./DeleteRepositoryPermissionsPolicyCommand"), exports);
|
|
13
13
|
tslib_1.__exportStar(require("./DescribeDomainCommand"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./DescribePackageCommand"), exports);
|
|
14
15
|
tslib_1.__exportStar(require("./DescribePackageVersionCommand"), exports);
|
|
15
16
|
tslib_1.__exportStar(require("./DescribeRepositoryCommand"), exports);
|
|
16
17
|
tslib_1.__exportStar(require("./DisassociateExternalConnectionCommand"), exports);
|
|
@@ -30,6 +31,7 @@ tslib_1.__exportStar(require("./ListRepositoriesCommand"), exports);
|
|
|
30
31
|
tslib_1.__exportStar(require("./ListRepositoriesInDomainCommand"), exports);
|
|
31
32
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
32
33
|
tslib_1.__exportStar(require("./PutDomainPermissionsPolicyCommand"), exports);
|
|
34
|
+
tslib_1.__exportStar(require("./PutPackageOriginConfigurationCommand"), exports);
|
|
33
35
|
tslib_1.__exportStar(require("./PutRepositoryPermissionsPolicyCommand"), exports);
|
|
34
36
|
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
35
37
|
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.UpdateRepositoryResult = void 0;
|
|
3
|
+
exports.PackageOriginConfiguration = exports.PackageOriginRestrictions = exports.DescribePackageRequest = exports.DescribeDomainResult = exports.DescribeDomainRequest = exports.DeleteRepositoryPermissionsPolicyResult = exports.DeleteRepositoryPermissionsPolicyRequest = exports.DeleteRepositoryResult = exports.DeleteRepositoryRequest = exports.DeletePackageVersionsResult = exports.DeletePackageVersionsRequest = exports.DeleteDomainPermissionsPolicyResult = exports.ResourcePolicy = exports.DeleteDomainPermissionsPolicyRequest = exports.DeleteDomainResult = exports.DeleteDomainRequest = exports.CreateRepositoryResult = exports.CreateRepositoryRequest = exports.UpstreamRepository = exports.CreateDomainResult = exports.DomainDescription = exports.DomainStatus = exports.CreateDomainRequest = exports.Tag = exports.CopyPackageVersionsResult = exports.SuccessfulPackageVersionInfo = exports.PackageVersionStatus = exports.PackageVersionError = exports.PackageVersionErrorCode = exports.CopyPackageVersionsRequest = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.ResourceType = exports.AssociateExternalConnectionResult = exports.RepositoryDescription = exports.UpstreamRepositoryInfo = exports.RepositoryExternalConnectionInfo = exports.ExternalConnectionStatus = exports.PackageFormat = exports.AssociateExternalConnectionRequest = exports.AssetSummary = exports.HashAlgorithm = exports.AllowUpstream = exports.AllowPublish = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.PutDomainPermissionsPolicyRequest = exports.ListTagsForResourceResult = exports.ListTagsForResourceRequest = exports.ListRepositoriesInDomainResult = exports.ListRepositoriesInDomainRequest = exports.ListRepositoriesResult = exports.RepositorySummary = exports.ListRepositoriesRequest = exports.ListPackageVersionsResult = exports.PackageVersionSummary = exports.ListPackageVersionsRequest = exports.PackageVersionSortType = exports.ListPackageVersionDependenciesResult = exports.PackageDependency = exports.ListPackageVersionDependenciesRequest = exports.ListPackageVersionAssetsResult = exports.ListPackageVersionAssetsRequest = exports.ListPackagesResult = exports.PackageSummary = exports.ListPackagesRequest = exports.ListDomainsResult = exports.DomainSummary = exports.ListDomainsRequest = exports.GetRepositoryPermissionsPolicyResult = exports.GetRepositoryPermissionsPolicyRequest = exports.GetRepositoryEndpointResult = exports.GetRepositoryEndpointRequest = exports.GetPackageVersionReadmeResult = exports.GetPackageVersionReadmeRequest = exports.GetPackageVersionAssetResult = exports.GetPackageVersionAssetRequest = exports.GetDomainPermissionsPolicyResult = exports.GetDomainPermissionsPolicyRequest = exports.GetAuthorizationTokenResult = exports.GetAuthorizationTokenRequest = exports.DisposePackageVersionsResult = exports.DisposePackageVersionsRequest = exports.DisassociateExternalConnectionResult = exports.DisassociateExternalConnectionRequest = exports.DescribeRepositoryResult = exports.DescribeRepositoryRequest = exports.DescribePackageVersionResult = exports.PackageVersionDescription = exports.PackageVersionOrigin = exports.PackageVersionOriginType = exports.DomainEntryPoint = exports.LicenseInfo = exports.DescribePackageVersionRequest = exports.DescribePackageResult = exports.PackageDescription = void 0;
|
|
5
|
+
exports.UpdateRepositoryResult = exports.UpdateRepositoryRequest = exports.UpdatePackageVersionsStatusResult = exports.UpdatePackageVersionsStatusRequest = exports.UntagResourceResult = exports.UntagResourceRequest = exports.TagResourceResult = exports.TagResourceRequest = exports.PutRepositoryPermissionsPolicyResult = exports.PutRepositoryPermissionsPolicyRequest = exports.PutPackageOriginConfigurationResult = exports.PutPackageOriginConfigurationRequest = exports.PutDomainPermissionsPolicyResult = void 0;
|
|
6
6
|
const CodeartifactServiceException_1 = require("./CodeartifactServiceException");
|
|
7
7
|
class AccessDeniedException extends CodeartifactServiceException_1.CodeartifactServiceException {
|
|
8
8
|
constructor(opts) {
|
|
@@ -17,6 +17,16 @@ class AccessDeniedException extends CodeartifactServiceException_1.CodeartifactS
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
exports.AccessDeniedException = AccessDeniedException;
|
|
20
|
+
var AllowPublish;
|
|
21
|
+
(function (AllowPublish) {
|
|
22
|
+
AllowPublish["ALLOW"] = "ALLOW";
|
|
23
|
+
AllowPublish["BLOCK"] = "BLOCK";
|
|
24
|
+
})(AllowPublish = exports.AllowPublish || (exports.AllowPublish = {}));
|
|
25
|
+
var AllowUpstream;
|
|
26
|
+
(function (AllowUpstream) {
|
|
27
|
+
AllowUpstream["ALLOW"] = "ALLOW";
|
|
28
|
+
AllowUpstream["BLOCK"] = "BLOCK";
|
|
29
|
+
})(AllowUpstream = exports.AllowUpstream || (exports.AllowUpstream = {}));
|
|
20
30
|
var HashAlgorithm;
|
|
21
31
|
(function (HashAlgorithm) {
|
|
22
32
|
HashAlgorithm["MD5"] = "MD5";
|
|
@@ -340,6 +350,36 @@ var DescribeDomainResult;
|
|
|
340
350
|
...obj,
|
|
341
351
|
});
|
|
342
352
|
})(DescribeDomainResult = exports.DescribeDomainResult || (exports.DescribeDomainResult = {}));
|
|
353
|
+
var DescribePackageRequest;
|
|
354
|
+
(function (DescribePackageRequest) {
|
|
355
|
+
DescribePackageRequest.filterSensitiveLog = (obj) => ({
|
|
356
|
+
...obj,
|
|
357
|
+
});
|
|
358
|
+
})(DescribePackageRequest = exports.DescribePackageRequest || (exports.DescribePackageRequest = {}));
|
|
359
|
+
var PackageOriginRestrictions;
|
|
360
|
+
(function (PackageOriginRestrictions) {
|
|
361
|
+
PackageOriginRestrictions.filterSensitiveLog = (obj) => ({
|
|
362
|
+
...obj,
|
|
363
|
+
});
|
|
364
|
+
})(PackageOriginRestrictions = exports.PackageOriginRestrictions || (exports.PackageOriginRestrictions = {}));
|
|
365
|
+
var PackageOriginConfiguration;
|
|
366
|
+
(function (PackageOriginConfiguration) {
|
|
367
|
+
PackageOriginConfiguration.filterSensitiveLog = (obj) => ({
|
|
368
|
+
...obj,
|
|
369
|
+
});
|
|
370
|
+
})(PackageOriginConfiguration = exports.PackageOriginConfiguration || (exports.PackageOriginConfiguration = {}));
|
|
371
|
+
var PackageDescription;
|
|
372
|
+
(function (PackageDescription) {
|
|
373
|
+
PackageDescription.filterSensitiveLog = (obj) => ({
|
|
374
|
+
...obj,
|
|
375
|
+
});
|
|
376
|
+
})(PackageDescription = exports.PackageDescription || (exports.PackageDescription = {}));
|
|
377
|
+
var DescribePackageResult;
|
|
378
|
+
(function (DescribePackageResult) {
|
|
379
|
+
DescribePackageResult.filterSensitiveLog = (obj) => ({
|
|
380
|
+
...obj,
|
|
381
|
+
});
|
|
382
|
+
})(DescribePackageResult = exports.DescribePackageResult || (exports.DescribePackageResult = {}));
|
|
343
383
|
var DescribePackageVersionRequest;
|
|
344
384
|
(function (DescribePackageVersionRequest) {
|
|
345
385
|
DescribePackageVersionRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -352,6 +392,24 @@ var LicenseInfo;
|
|
|
352
392
|
...obj,
|
|
353
393
|
});
|
|
354
394
|
})(LicenseInfo = exports.LicenseInfo || (exports.LicenseInfo = {}));
|
|
395
|
+
var DomainEntryPoint;
|
|
396
|
+
(function (DomainEntryPoint) {
|
|
397
|
+
DomainEntryPoint.filterSensitiveLog = (obj) => ({
|
|
398
|
+
...obj,
|
|
399
|
+
});
|
|
400
|
+
})(DomainEntryPoint = exports.DomainEntryPoint || (exports.DomainEntryPoint = {}));
|
|
401
|
+
var PackageVersionOriginType;
|
|
402
|
+
(function (PackageVersionOriginType) {
|
|
403
|
+
PackageVersionOriginType["EXTERNAL"] = "EXTERNAL";
|
|
404
|
+
PackageVersionOriginType["INTERNAL"] = "INTERNAL";
|
|
405
|
+
PackageVersionOriginType["UNKNOWN"] = "UNKNOWN";
|
|
406
|
+
})(PackageVersionOriginType = exports.PackageVersionOriginType || (exports.PackageVersionOriginType = {}));
|
|
407
|
+
var PackageVersionOrigin;
|
|
408
|
+
(function (PackageVersionOrigin) {
|
|
409
|
+
PackageVersionOrigin.filterSensitiveLog = (obj) => ({
|
|
410
|
+
...obj,
|
|
411
|
+
});
|
|
412
|
+
})(PackageVersionOrigin = exports.PackageVersionOrigin || (exports.PackageVersionOrigin = {}));
|
|
355
413
|
var PackageVersionDescription;
|
|
356
414
|
(function (PackageVersionDescription) {
|
|
357
415
|
PackageVersionDescription.filterSensitiveLog = (obj) => ({
|
|
@@ -614,6 +672,18 @@ var PutDomainPermissionsPolicyResult;
|
|
|
614
672
|
...obj,
|
|
615
673
|
});
|
|
616
674
|
})(PutDomainPermissionsPolicyResult = exports.PutDomainPermissionsPolicyResult || (exports.PutDomainPermissionsPolicyResult = {}));
|
|
675
|
+
var PutPackageOriginConfigurationRequest;
|
|
676
|
+
(function (PutPackageOriginConfigurationRequest) {
|
|
677
|
+
PutPackageOriginConfigurationRequest.filterSensitiveLog = (obj) => ({
|
|
678
|
+
...obj,
|
|
679
|
+
});
|
|
680
|
+
})(PutPackageOriginConfigurationRequest = exports.PutPackageOriginConfigurationRequest || (exports.PutPackageOriginConfigurationRequest = {}));
|
|
681
|
+
var PutPackageOriginConfigurationResult;
|
|
682
|
+
(function (PutPackageOriginConfigurationResult) {
|
|
683
|
+
PutPackageOriginConfigurationResult.filterSensitiveLog = (obj) => ({
|
|
684
|
+
...obj,
|
|
685
|
+
});
|
|
686
|
+
})(PutPackageOriginConfigurationResult = exports.PutPackageOriginConfigurationResult || (exports.PutPackageOriginConfigurationResult = {}));
|
|
617
687
|
var PutRepositoryPermissionsPolicyRequest;
|
|
618
688
|
(function (PutRepositoryPermissionsPolicyRequest) {
|
|
619
689
|
PutRepositoryPermissionsPolicyRequest.filterSensitiveLog = (obj) => ({
|