@aws-sdk/client-ecr-public 3.183.0 → 3.185.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 (40) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/ECRPUBLIC.js +101 -94
  4. package/dist-es/ECRPUBLICClient.js +28 -22
  5. package/dist-es/commands/BatchCheckLayerAvailabilityCommand.js +28 -21
  6. package/dist-es/commands/BatchDeleteImageCommand.js +28 -21
  7. package/dist-es/commands/CompleteLayerUploadCommand.js +28 -21
  8. package/dist-es/commands/CreateRepositoryCommand.js +28 -21
  9. package/dist-es/commands/DeleteRepositoryCommand.js +28 -21
  10. package/dist-es/commands/DeleteRepositoryPolicyCommand.js +28 -21
  11. package/dist-es/commands/DescribeImageTagsCommand.js +28 -21
  12. package/dist-es/commands/DescribeImagesCommand.js +28 -21
  13. package/dist-es/commands/DescribeRegistriesCommand.js +28 -21
  14. package/dist-es/commands/DescribeRepositoriesCommand.js +28 -21
  15. package/dist-es/commands/GetAuthorizationTokenCommand.js +28 -21
  16. package/dist-es/commands/GetRegistryCatalogDataCommand.js +28 -21
  17. package/dist-es/commands/GetRepositoryCatalogDataCommand.js +28 -21
  18. package/dist-es/commands/GetRepositoryPolicyCommand.js +28 -21
  19. package/dist-es/commands/InitiateLayerUploadCommand.js +28 -21
  20. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  21. package/dist-es/commands/PutImageCommand.js +28 -21
  22. package/dist-es/commands/PutRegistryCatalogDataCommand.js +28 -21
  23. package/dist-es/commands/PutRepositoryCatalogDataCommand.js +28 -21
  24. package/dist-es/commands/SetRepositoryPolicyCommand.js +28 -21
  25. package/dist-es/commands/TagResourceCommand.js +28 -21
  26. package/dist-es/commands/UntagResourceCommand.js +28 -21
  27. package/dist-es/commands/UploadLayerPartCommand.js +28 -21
  28. package/dist-es/endpoints.js +8 -8
  29. package/dist-es/models/ECRPUBLICServiceException.js +10 -5
  30. package/dist-es/models/models_0.js +320 -443
  31. package/dist-es/pagination/DescribeImageTagsPaginator.js +68 -25
  32. package/dist-es/pagination/DescribeImagesPaginator.js +68 -25
  33. package/dist-es/pagination/DescribeRegistriesPaginator.js +68 -25
  34. package/dist-es/pagination/DescribeRepositoriesPaginator.js +68 -25
  35. package/dist-es/protocols/Aws_json1_1.js +2211 -1747
  36. package/dist-es/runtimeConfig.browser.js +12 -26
  37. package/dist-es/runtimeConfig.js +12 -30
  38. package/dist-es/runtimeConfig.native.js +5 -8
  39. package/dist-es/runtimeConfig.shared.js +11 -8
  40. package/package.json +5 -5
@@ -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 { GetRepositoryCatalogDataRequestFilterSensitiveLog, GetRepositoryCatalogDataResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetRepositoryCatalogDataCommand, serializeAws_json1_1GetRepositoryCatalogDataCommand, } from "../protocols/Aws_json1_1";
5
- export class GetRepositoryCatalogDataCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetRepositoryCatalogDataCommand = (function (_super) {
7
+ __extends(GetRepositoryCatalogDataCommand, _super);
8
+ function GetRepositoryCatalogDataCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetRepositoryCatalogDataCommand.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 = "ECRPUBLICClient";
15
- const commandName = "GetRepositoryCatalogDataCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ECRPUBLICClient";
18
+ var commandName = "GetRepositoryCatalogDataCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetRepositoryCatalogDataRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetRepositoryCatalogDataResponseFilterSensitiveLog,
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
+ GetRepositoryCatalogDataCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetRepositoryCatalogDataCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetRepositoryCatalogDataCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetRepositoryCatalogDataCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetRepositoryCatalogDataCommand;
38
+ }($Command));
39
+ export { GetRepositoryCatalogDataCommand };
@@ -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 { GetRepositoryPolicyRequestFilterSensitiveLog, GetRepositoryPolicyResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetRepositoryPolicyCommand, serializeAws_json1_1GetRepositoryPolicyCommand, } from "../protocols/Aws_json1_1";
5
- export class GetRepositoryPolicyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetRepositoryPolicyCommand = (function (_super) {
7
+ __extends(GetRepositoryPolicyCommand, _super);
8
+ function GetRepositoryPolicyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetRepositoryPolicyCommand.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 = "ECRPUBLICClient";
15
- const commandName = "GetRepositoryPolicyCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ECRPUBLICClient";
18
+ var commandName = "GetRepositoryPolicyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetRepositoryPolicyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetRepositoryPolicyResponseFilterSensitiveLog,
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
+ GetRepositoryPolicyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetRepositoryPolicyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetRepositoryPolicyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetRepositoryPolicyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetRepositoryPolicyCommand;
38
+ }($Command));
39
+ export { GetRepositoryPolicyCommand };
@@ -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 { InitiateLayerUploadRequestFilterSensitiveLog, InitiateLayerUploadResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1InitiateLayerUploadCommand, serializeAws_json1_1InitiateLayerUploadCommand, } from "../protocols/Aws_json1_1";
5
- export class InitiateLayerUploadCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var InitiateLayerUploadCommand = (function (_super) {
7
+ __extends(InitiateLayerUploadCommand, _super);
8
+ function InitiateLayerUploadCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ InitiateLayerUploadCommand.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 = "ECRPUBLICClient";
15
- const commandName = "InitiateLayerUploadCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ECRPUBLICClient";
18
+ var commandName = "InitiateLayerUploadCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: InitiateLayerUploadRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: InitiateLayerUploadResponseFilterSensitiveLog,
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
+ InitiateLayerUploadCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1InitiateLayerUploadCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ InitiateLayerUploadCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1InitiateLayerUploadCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return InitiateLayerUploadCommand;
38
+ }($Command));
39
+ export { InitiateLayerUploadCommand };
@@ -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, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListTagsForResourceCommand, serializeAws_json1_1ListTagsForResourceCommand, } from "../protocols/Aws_json1_1";
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 = "ECRPUBLICClient";
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 = "ECRPUBLICClient";
18
+ var commandName = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
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_json1_1ListTagsForResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListTagsForResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsForResourceCommand;
38
+ }($Command));
39
+ export { ListTagsForResourceCommand };
@@ -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 { PutImageRequestFilterSensitiveLog, PutImageResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1PutImageCommand, serializeAws_json1_1PutImageCommand } from "../protocols/Aws_json1_1";
5
- export class PutImageCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PutImageCommand = (function (_super) {
7
+ __extends(PutImageCommand, _super);
8
+ function PutImageCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PutImageCommand.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 = "ECRPUBLICClient";
15
- const commandName = "PutImageCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ECRPUBLICClient";
18
+ var commandName = "PutImageCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PutImageRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PutImageResponseFilterSensitiveLog,
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
+ PutImageCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1PutImageCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PutImageCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1PutImageCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PutImageCommand;
38
+ }($Command));
39
+ export { PutImageCommand };
@@ -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 { PutRegistryCatalogDataRequestFilterSensitiveLog, PutRegistryCatalogDataResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1PutRegistryCatalogDataCommand, serializeAws_json1_1PutRegistryCatalogDataCommand, } from "../protocols/Aws_json1_1";
5
- export class PutRegistryCatalogDataCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PutRegistryCatalogDataCommand = (function (_super) {
7
+ __extends(PutRegistryCatalogDataCommand, _super);
8
+ function PutRegistryCatalogDataCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PutRegistryCatalogDataCommand.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 = "ECRPUBLICClient";
15
- const commandName = "PutRegistryCatalogDataCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ECRPUBLICClient";
18
+ var commandName = "PutRegistryCatalogDataCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PutRegistryCatalogDataRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PutRegistryCatalogDataResponseFilterSensitiveLog,
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
+ PutRegistryCatalogDataCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1PutRegistryCatalogDataCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PutRegistryCatalogDataCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1PutRegistryCatalogDataCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PutRegistryCatalogDataCommand;
38
+ }($Command));
39
+ export { PutRegistryCatalogDataCommand };
@@ -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 { PutRepositoryCatalogDataRequestFilterSensitiveLog, PutRepositoryCatalogDataResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1PutRepositoryCatalogDataCommand, serializeAws_json1_1PutRepositoryCatalogDataCommand, } from "../protocols/Aws_json1_1";
5
- export class PutRepositoryCatalogDataCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PutRepositoryCatalogDataCommand = (function (_super) {
7
+ __extends(PutRepositoryCatalogDataCommand, _super);
8
+ function PutRepositoryCatalogDataCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PutRepositoryCatalogDataCommand.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 = "ECRPUBLICClient";
15
- const commandName = "PutRepositoryCatalogDataCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ECRPUBLICClient";
18
+ var commandName = "PutRepositoryCatalogDataCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PutRepositoryCatalogDataRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PutRepositoryCatalogDataResponseFilterSensitiveLog,
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
+ PutRepositoryCatalogDataCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1PutRepositoryCatalogDataCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PutRepositoryCatalogDataCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1PutRepositoryCatalogDataCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PutRepositoryCatalogDataCommand;
38
+ }($Command));
39
+ export { PutRepositoryCatalogDataCommand };
@@ -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 { SetRepositoryPolicyRequestFilterSensitiveLog, SetRepositoryPolicyResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1SetRepositoryPolicyCommand, serializeAws_json1_1SetRepositoryPolicyCommand, } from "../protocols/Aws_json1_1";
5
- export class SetRepositoryPolicyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var SetRepositoryPolicyCommand = (function (_super) {
7
+ __extends(SetRepositoryPolicyCommand, _super);
8
+ function SetRepositoryPolicyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ SetRepositoryPolicyCommand.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 = "ECRPUBLICClient";
15
- const commandName = "SetRepositoryPolicyCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ECRPUBLICClient";
18
+ var commandName = "SetRepositoryPolicyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: SetRepositoryPolicyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: SetRepositoryPolicyResponseFilterSensitiveLog,
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
+ SetRepositoryPolicyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1SetRepositoryPolicyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ SetRepositoryPolicyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1SetRepositoryPolicyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return SetRepositoryPolicyCommand;
38
+ }($Command));
39
+ export { SetRepositoryPolicyCommand };
@@ -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 { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1TagResourceCommand, serializeAws_json1_1TagResourceCommand, } from "../protocols/Aws_json1_1";
5
- export class TagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var TagResourceCommand = (function (_super) {
7
+ __extends(TagResourceCommand, _super);
8
+ function TagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ TagResourceCommand.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 = "ECRPUBLICClient";
15
- const commandName = "TagResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ECRPUBLICClient";
18
+ var commandName = "TagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: TagResourceResponseFilterSensitiveLog,
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
+ TagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1TagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ TagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1TagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return TagResourceCommand;
38
+ }($Command));
39
+ export { TagResourceCommand };
@@ -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 { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UntagResourceCommand, serializeAws_json1_1UntagResourceCommand, } from "../protocols/Aws_json1_1";
5
- export class UntagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UntagResourceCommand = (function (_super) {
7
+ __extends(UntagResourceCommand, _super);
8
+ function UntagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UntagResourceCommand.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 = "ECRPUBLICClient";
15
- const commandName = "UntagResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ECRPUBLICClient";
18
+ var commandName = "UntagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UntagResourceResponseFilterSensitiveLog,
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
+ UntagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UntagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UntagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UntagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UntagResourceCommand;
38
+ }($Command));
39
+ export { UntagResourceCommand };