@aws-sdk/client-codeartifact 3.183.0 → 3.186.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.
Files changed (55) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/Codeartifact.js +153 -146
  4. package/dist-es/CodeartifactClient.js +28 -22
  5. package/dist-es/commands/AssociateExternalConnectionCommand.js +28 -21
  6. package/dist-es/commands/CopyPackageVersionsCommand.js +28 -21
  7. package/dist-es/commands/CreateDomainCommand.js +28 -21
  8. package/dist-es/commands/CreateRepositoryCommand.js +28 -21
  9. package/dist-es/commands/DeleteDomainCommand.js +28 -21
  10. package/dist-es/commands/DeleteDomainPermissionsPolicyCommand.js +28 -21
  11. package/dist-es/commands/DeletePackageVersionsCommand.js +28 -21
  12. package/dist-es/commands/DeleteRepositoryCommand.js +28 -21
  13. package/dist-es/commands/DeleteRepositoryPermissionsPolicyCommand.js +28 -21
  14. package/dist-es/commands/DescribeDomainCommand.js +28 -21
  15. package/dist-es/commands/DescribePackageCommand.js +28 -21
  16. package/dist-es/commands/DescribePackageVersionCommand.js +28 -21
  17. package/dist-es/commands/DescribeRepositoryCommand.js +28 -21
  18. package/dist-es/commands/DisassociateExternalConnectionCommand.js +28 -21
  19. package/dist-es/commands/DisposePackageVersionsCommand.js +28 -21
  20. package/dist-es/commands/GetAuthorizationTokenCommand.js +28 -21
  21. package/dist-es/commands/GetDomainPermissionsPolicyCommand.js +28 -21
  22. package/dist-es/commands/GetPackageVersionAssetCommand.js +28 -21
  23. package/dist-es/commands/GetPackageVersionReadmeCommand.js +28 -21
  24. package/dist-es/commands/GetRepositoryEndpointCommand.js +28 -21
  25. package/dist-es/commands/GetRepositoryPermissionsPolicyCommand.js +28 -21
  26. package/dist-es/commands/ListDomainsCommand.js +28 -21
  27. package/dist-es/commands/ListPackageVersionAssetsCommand.js +28 -21
  28. package/dist-es/commands/ListPackageVersionDependenciesCommand.js +28 -21
  29. package/dist-es/commands/ListPackageVersionsCommand.js +28 -21
  30. package/dist-es/commands/ListPackagesCommand.js +28 -21
  31. package/dist-es/commands/ListRepositoriesCommand.js +28 -21
  32. package/dist-es/commands/ListRepositoriesInDomainCommand.js +28 -21
  33. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  34. package/dist-es/commands/PutDomainPermissionsPolicyCommand.js +28 -21
  35. package/dist-es/commands/PutPackageOriginConfigurationCommand.js +28 -21
  36. package/dist-es/commands/PutRepositoryPermissionsPolicyCommand.js +28 -21
  37. package/dist-es/commands/TagResourceCommand.js +28 -21
  38. package/dist-es/commands/UntagResourceCommand.js +28 -21
  39. package/dist-es/commands/UpdatePackageVersionsStatusCommand.js +28 -21
  40. package/dist-es/commands/UpdateRepositoryCommand.js +28 -21
  41. package/dist-es/endpoints.js +8 -8
  42. package/dist-es/models/CodeartifactServiceException.js +10 -5
  43. package/dist-es/models/models_0.js +180 -367
  44. package/dist-es/pagination/ListDomainsPaginator.js +68 -25
  45. package/dist-es/pagination/ListPackageVersionAssetsPaginator.js +68 -25
  46. package/dist-es/pagination/ListPackageVersionsPaginator.js +68 -25
  47. package/dist-es/pagination/ListPackagesPaginator.js +68 -25
  48. package/dist-es/pagination/ListRepositoriesInDomainPaginator.js +68 -25
  49. package/dist-es/pagination/ListRepositoriesPaginator.js +68 -25
  50. package/dist-es/protocols/Aws_restJson1.js +3994 -2834
  51. package/dist-es/runtimeConfig.browser.js +12 -26
  52. package/dist-es/runtimeConfig.js +12 -30
  53. package/dist-es/runtimeConfig.native.js +5 -8
  54. package/dist-es/runtimeConfig.shared.js +11 -8
  55. package/package.json +33 -33
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetRepositoryEndpointRequestFilterSensitiveLog, GetRepositoryEndpointResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetRepositoryEndpointCommand, serializeAws_restJson1GetRepositoryEndpointCommand, } from "../protocols/Aws_restJson1";
5
- export class GetRepositoryEndpointCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetRepositoryEndpointCommand = (function (_super) {
7
+ __extends(GetRepositoryEndpointCommand, _super);
8
+ function GetRepositoryEndpointCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetRepositoryEndpointCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CodeartifactClient";
15
- const commandName = "GetRepositoryEndpointCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CodeartifactClient";
18
+ var commandName = "GetRepositoryEndpointCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetRepositoryEndpointRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetRepositoryEndpointResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetRepositoryEndpointCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetRepositoryEndpointCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetRepositoryEndpointCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetRepositoryEndpointCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetRepositoryEndpointCommand;
38
+ }($Command));
39
+ export { GetRepositoryEndpointCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetRepositoryPermissionsPolicyRequestFilterSensitiveLog, GetRepositoryPermissionsPolicyResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetRepositoryPermissionsPolicyCommand, serializeAws_restJson1GetRepositoryPermissionsPolicyCommand, } from "../protocols/Aws_restJson1";
5
- export class GetRepositoryPermissionsPolicyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetRepositoryPermissionsPolicyCommand = (function (_super) {
7
+ __extends(GetRepositoryPermissionsPolicyCommand, _super);
8
+ function GetRepositoryPermissionsPolicyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetRepositoryPermissionsPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CodeartifactClient";
15
- const commandName = "GetRepositoryPermissionsPolicyCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CodeartifactClient";
18
+ var commandName = "GetRepositoryPermissionsPolicyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetRepositoryPermissionsPolicyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetRepositoryPermissionsPolicyResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetRepositoryPermissionsPolicyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetRepositoryPermissionsPolicyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetRepositoryPermissionsPolicyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetRepositoryPermissionsPolicyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetRepositoryPermissionsPolicyCommand;
38
+ }($Command));
39
+ export { GetRepositoryPermissionsPolicyCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListDomainsRequestFilterSensitiveLog, ListDomainsResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListDomainsCommand, serializeAws_restJson1ListDomainsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListDomainsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListDomainsCommand = (function (_super) {
7
+ __extends(ListDomainsCommand, _super);
8
+ function ListDomainsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListDomainsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CodeartifactClient";
15
- const commandName = "ListDomainsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CodeartifactClient";
18
+ var commandName = "ListDomainsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListDomainsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListDomainsResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListDomainsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListDomainsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListDomainsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListDomainsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListDomainsCommand;
38
+ }($Command));
39
+ export { ListDomainsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListPackageVersionAssetsRequestFilterSensitiveLog, ListPackageVersionAssetsResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListPackageVersionAssetsCommand, serializeAws_restJson1ListPackageVersionAssetsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListPackageVersionAssetsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListPackageVersionAssetsCommand = (function (_super) {
7
+ __extends(ListPackageVersionAssetsCommand, _super);
8
+ function ListPackageVersionAssetsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListPackageVersionAssetsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CodeartifactClient";
15
- const commandName = "ListPackageVersionAssetsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CodeartifactClient";
18
+ var commandName = "ListPackageVersionAssetsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListPackageVersionAssetsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListPackageVersionAssetsResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListPackageVersionAssetsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListPackageVersionAssetsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListPackageVersionAssetsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListPackageVersionAssetsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListPackageVersionAssetsCommand;
38
+ }($Command));
39
+ export { ListPackageVersionAssetsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListPackageVersionDependenciesRequestFilterSensitiveLog, ListPackageVersionDependenciesResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListPackageVersionDependenciesCommand, serializeAws_restJson1ListPackageVersionDependenciesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListPackageVersionDependenciesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListPackageVersionDependenciesCommand = (function (_super) {
7
+ __extends(ListPackageVersionDependenciesCommand, _super);
8
+ function ListPackageVersionDependenciesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListPackageVersionDependenciesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CodeartifactClient";
15
- const commandName = "ListPackageVersionDependenciesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CodeartifactClient";
18
+ var commandName = "ListPackageVersionDependenciesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListPackageVersionDependenciesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListPackageVersionDependenciesResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListPackageVersionDependenciesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListPackageVersionDependenciesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListPackageVersionDependenciesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListPackageVersionDependenciesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListPackageVersionDependenciesCommand;
38
+ }($Command));
39
+ export { ListPackageVersionDependenciesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListPackageVersionsRequestFilterSensitiveLog, ListPackageVersionsResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListPackageVersionsCommand, serializeAws_restJson1ListPackageVersionsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListPackageVersionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListPackageVersionsCommand = (function (_super) {
7
+ __extends(ListPackageVersionsCommand, _super);
8
+ function ListPackageVersionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListPackageVersionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CodeartifactClient";
15
- const commandName = "ListPackageVersionsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CodeartifactClient";
18
+ var commandName = "ListPackageVersionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListPackageVersionsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListPackageVersionsResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListPackageVersionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListPackageVersionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListPackageVersionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListPackageVersionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListPackageVersionsCommand;
38
+ }($Command));
39
+ export { ListPackageVersionsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListPackagesRequestFilterSensitiveLog, ListPackagesResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListPackagesCommand, serializeAws_restJson1ListPackagesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListPackagesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListPackagesCommand = (function (_super) {
7
+ __extends(ListPackagesCommand, _super);
8
+ function ListPackagesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListPackagesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CodeartifactClient";
15
- const commandName = "ListPackagesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CodeartifactClient";
18
+ var commandName = "ListPackagesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListPackagesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListPackagesResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListPackagesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListPackagesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListPackagesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListPackagesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListPackagesCommand;
38
+ }($Command));
39
+ export { ListPackagesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListRepositoriesRequestFilterSensitiveLog, ListRepositoriesResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListRepositoriesCommand, serializeAws_restJson1ListRepositoriesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListRepositoriesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListRepositoriesCommand = (function (_super) {
7
+ __extends(ListRepositoriesCommand, _super);
8
+ function ListRepositoriesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListRepositoriesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CodeartifactClient";
15
- const commandName = "ListRepositoriesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CodeartifactClient";
18
+ var commandName = "ListRepositoriesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListRepositoriesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListRepositoriesResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListRepositoriesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListRepositoriesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListRepositoriesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListRepositoriesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListRepositoriesCommand;
38
+ }($Command));
39
+ export { ListRepositoriesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListRepositoriesInDomainRequestFilterSensitiveLog, ListRepositoriesInDomainResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListRepositoriesInDomainCommand, serializeAws_restJson1ListRepositoriesInDomainCommand, } from "../protocols/Aws_restJson1";
5
- export class ListRepositoriesInDomainCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListRepositoriesInDomainCommand = (function (_super) {
7
+ __extends(ListRepositoriesInDomainCommand, _super);
8
+ function ListRepositoriesInDomainCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListRepositoriesInDomainCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CodeartifactClient";
15
- const commandName = "ListRepositoriesInDomainCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CodeartifactClient";
18
+ var commandName = "ListRepositoriesInDomainCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListRepositoriesInDomainRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListRepositoriesInDomainResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListRepositoriesInDomainCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListRepositoriesInDomainCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListRepositoriesInDomainCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListRepositoriesInDomainCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListRepositoriesInDomainCommand;
38
+ }($Command));
39
+ export { ListRepositoriesInDomainCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class ListTagsForResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTagsForResourceCommand = (function (_super) {
7
+ __extends(ListTagsForResourceCommand, _super);
8
+ function ListTagsForResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CodeartifactClient";
15
- const commandName = "ListTagsForResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CodeartifactClient";
18
+ var commandName = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTagsForResourceResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListTagsForResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListTagsForResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsForResourceCommand;
38
+ }($Command));
39
+ export { ListTagsForResourceCommand };