@aws-sdk/client-codeartifact 3.54.1 → 3.58.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 +24 -0
- package/dist-cjs/CodeartifactClient.js +13 -13
- package/dist-cjs/commands/AssociateExternalConnectionCommand.js +3 -3
- package/dist-cjs/commands/CopyPackageVersionsCommand.js +3 -3
- package/dist-cjs/commands/CreateDomainCommand.js +3 -3
- package/dist-cjs/commands/CreateRepositoryCommand.js +3 -3
- package/dist-cjs/commands/DeleteDomainCommand.js +3 -3
- package/dist-cjs/commands/DeleteDomainPermissionsPolicyCommand.js +3 -3
- package/dist-cjs/commands/DeletePackageVersionsCommand.js +3 -3
- package/dist-cjs/commands/DeleteRepositoryCommand.js +3 -3
- package/dist-cjs/commands/DeleteRepositoryPermissionsPolicyCommand.js +3 -3
- package/dist-cjs/commands/DescribeDomainCommand.js +3 -3
- package/dist-cjs/commands/DescribePackageVersionCommand.js +3 -3
- package/dist-cjs/commands/DescribeRepositoryCommand.js +3 -3
- package/dist-cjs/commands/DisassociateExternalConnectionCommand.js +3 -3
- package/dist-cjs/commands/DisposePackageVersionsCommand.js +3 -3
- package/dist-cjs/commands/GetAuthorizationTokenCommand.js +3 -3
- package/dist-cjs/commands/GetDomainPermissionsPolicyCommand.js +3 -3
- package/dist-cjs/commands/GetPackageVersionAssetCommand.js +3 -3
- package/dist-cjs/commands/GetPackageVersionReadmeCommand.js +3 -3
- package/dist-cjs/commands/GetRepositoryEndpointCommand.js +3 -3
- package/dist-cjs/commands/GetRepositoryPermissionsPolicyCommand.js +3 -3
- package/dist-cjs/commands/ListDomainsCommand.js +3 -3
- package/dist-cjs/commands/ListPackageVersionAssetsCommand.js +3 -3
- package/dist-cjs/commands/ListPackageVersionDependenciesCommand.js +3 -3
- package/dist-cjs/commands/ListPackageVersionsCommand.js +3 -3
- package/dist-cjs/commands/ListPackagesCommand.js +3 -3
- package/dist-cjs/commands/ListRepositoriesCommand.js +3 -3
- package/dist-cjs/commands/ListRepositoriesInDomainCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/PutDomainPermissionsPolicyCommand.js +3 -3
- package/dist-cjs/commands/PutRepositoryPermissionsPolicyCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdatePackageVersionsStatusCommand.js +3 -3
- package/dist-cjs/commands/UpdateRepositoryCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +183 -183
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/Codeartifact.js +34 -34
- package/dist-es/pagination/ListDomainsPaginator.js +4 -4
- package/dist-es/pagination/ListPackageVersionAssetsPaginator.js +4 -4
- package/dist-es/pagination/ListPackageVersionsPaginator.js +4 -4
- package/dist-es/pagination/ListPackagesPaginator.js +4 -4
- package/dist-es/pagination/ListRepositoriesInDomainPaginator.js +4 -4
- package/dist-es/pagination/ListRepositoriesPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +34 -34
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -11,7 +11,7 @@ class ListPackagesCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CodeartifactClient";
|
|
@@ -27,10 +27,10 @@ class ListPackagesCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1ListPackagesCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1ListPackagesCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1ListPackagesCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1ListPackagesCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ListPackagesCommand = ListPackagesCommand;
|
|
@@ -11,7 +11,7 @@ class ListRepositoriesCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CodeartifactClient";
|
|
@@ -27,10 +27,10 @@ class ListRepositoriesCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1ListRepositoriesCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1ListRepositoriesCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1ListRepositoriesCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1ListRepositoriesCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ListRepositoriesCommand = ListRepositoriesCommand;
|
|
@@ -11,7 +11,7 @@ class ListRepositoriesInDomainCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CodeartifactClient";
|
|
@@ -27,10 +27,10 @@ class ListRepositoriesInDomainCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1ListRepositoriesInDomainCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1ListRepositoriesInDomainCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1ListRepositoriesInDomainCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1ListRepositoriesInDomainCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ListRepositoriesInDomainCommand = ListRepositoriesInDomainCommand;
|
|
@@ -11,7 +11,7 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CodeartifactClient";
|
|
@@ -27,10 +27,10 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1ListTagsForResourceCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1ListTagsForResourceCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1ListTagsForResourceCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1ListTagsForResourceCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
@@ -11,7 +11,7 @@ class PutDomainPermissionsPolicyCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CodeartifactClient";
|
|
@@ -27,10 +27,10 @@ class PutDomainPermissionsPolicyCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1PutDomainPermissionsPolicyCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1PutDomainPermissionsPolicyCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1PutDomainPermissionsPolicyCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1PutDomainPermissionsPolicyCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.PutDomainPermissionsPolicyCommand = PutDomainPermissionsPolicyCommand;
|
|
@@ -11,7 +11,7 @@ class PutRepositoryPermissionsPolicyCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CodeartifactClient";
|
|
@@ -27,10 +27,10 @@ class PutRepositoryPermissionsPolicyCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1PutRepositoryPermissionsPolicyCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1PutRepositoryPermissionsPolicyCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1PutRepositoryPermissionsPolicyCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1PutRepositoryPermissionsPolicyCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.PutRepositoryPermissionsPolicyCommand = PutRepositoryPermissionsPolicyCommand;
|
|
@@ -11,7 +11,7 @@ class TagResourceCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CodeartifactClient";
|
|
@@ -27,10 +27,10 @@ class TagResourceCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1TagResourceCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1TagResourceCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1TagResourceCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1TagResourceCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.TagResourceCommand = TagResourceCommand;
|
|
@@ -11,7 +11,7 @@ class UntagResourceCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CodeartifactClient";
|
|
@@ -27,10 +27,10 @@ class UntagResourceCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1UntagResourceCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UntagResourceCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1UntagResourceCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UntagResourceCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
@@ -11,7 +11,7 @@ class UpdatePackageVersionsStatusCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CodeartifactClient";
|
|
@@ -27,10 +27,10 @@ class UpdatePackageVersionsStatusCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1UpdatePackageVersionsStatusCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdatePackageVersionsStatusCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1UpdatePackageVersionsStatusCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdatePackageVersionsStatusCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdatePackageVersionsStatusCommand = UpdatePackageVersionsStatusCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateRepositoryCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CodeartifactClient";
|
|
@@ -27,10 +27,10 @@ class UpdateRepositoryCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1UpdateRepositoryCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdateRepositoryCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1UpdateRepositoryCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateRepositoryCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateRepositoryCommand = UpdateRepositoryCommand;
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -122,7 +122,7 @@ const partitionHash = {
|
|
|
122
122
|
],
|
|
123
123
|
},
|
|
124
124
|
};
|
|
125
|
-
const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
|
|
125
|
+
const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
|
|
126
126
|
...options,
|
|
127
127
|
signingService: "codeartifact",
|
|
128
128
|
regionHash,
|