@aws-sdk/client-ecr 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.
- package/CHANGELOG.md +19 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2 -2
- package/dist-es/ECR.js +173 -166
- package/dist-es/ECRClient.js +28 -22
- package/dist-es/commands/BatchCheckLayerAvailabilityCommand.js +28 -21
- package/dist-es/commands/BatchDeleteImageCommand.js +28 -21
- package/dist-es/commands/BatchGetImageCommand.js +28 -21
- package/dist-es/commands/BatchGetRepositoryScanningConfigurationCommand.js +28 -21
- package/dist-es/commands/CompleteLayerUploadCommand.js +28 -21
- package/dist-es/commands/CreatePullThroughCacheRuleCommand.js +28 -21
- package/dist-es/commands/CreateRepositoryCommand.js +28 -21
- package/dist-es/commands/DeleteLifecyclePolicyCommand.js +28 -21
- package/dist-es/commands/DeletePullThroughCacheRuleCommand.js +28 -21
- package/dist-es/commands/DeleteRegistryPolicyCommand.js +28 -21
- package/dist-es/commands/DeleteRepositoryCommand.js +28 -21
- package/dist-es/commands/DeleteRepositoryPolicyCommand.js +28 -21
- package/dist-es/commands/DescribeImageReplicationStatusCommand.js +28 -21
- package/dist-es/commands/DescribeImageScanFindingsCommand.js +28 -21
- package/dist-es/commands/DescribeImagesCommand.js +28 -21
- package/dist-es/commands/DescribePullThroughCacheRulesCommand.js +28 -21
- package/dist-es/commands/DescribeRegistryCommand.js +28 -21
- package/dist-es/commands/DescribeRepositoriesCommand.js +28 -21
- package/dist-es/commands/GetAuthorizationTokenCommand.js +28 -21
- package/dist-es/commands/GetDownloadUrlForLayerCommand.js +28 -21
- package/dist-es/commands/GetLifecyclePolicyCommand.js +28 -21
- package/dist-es/commands/GetLifecyclePolicyPreviewCommand.js +28 -21
- package/dist-es/commands/GetRegistryPolicyCommand.js +28 -21
- package/dist-es/commands/GetRegistryScanningConfigurationCommand.js +28 -21
- package/dist-es/commands/GetRepositoryPolicyCommand.js +28 -21
- package/dist-es/commands/InitiateLayerUploadCommand.js +28 -21
- package/dist-es/commands/ListImagesCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/PutImageCommand.js +28 -21
- package/dist-es/commands/PutImageScanningConfigurationCommand.js +28 -21
- package/dist-es/commands/PutImageTagMutabilityCommand.js +28 -21
- package/dist-es/commands/PutLifecyclePolicyCommand.js +28 -21
- package/dist-es/commands/PutRegistryPolicyCommand.js +28 -21
- package/dist-es/commands/PutRegistryScanningConfigurationCommand.js +28 -21
- package/dist-es/commands/PutReplicationConfigurationCommand.js +28 -21
- package/dist-es/commands/SetRepositoryPolicyCommand.js +28 -21
- package/dist-es/commands/StartImageScanCommand.js +28 -21
- package/dist-es/commands/StartLifecyclePolicyPreviewCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UploadLayerPartCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/ECRServiceException.js +10 -5
- package/dist-es/models/models_0.js +529 -782
- package/dist-es/pagination/DescribeImageScanFindingsPaginator.js +68 -25
- package/dist-es/pagination/DescribeImagesPaginator.js +68 -25
- package/dist-es/pagination/DescribePullThroughCacheRulesPaginator.js +68 -25
- package/dist-es/pagination/DescribeRepositoriesPaginator.js +68 -25
- package/dist-es/pagination/GetLifecyclePolicyPreviewPaginator.js +68 -25
- package/dist-es/pagination/ListImagesPaginator.js +68 -25
- package/dist-es/protocols/Aws_json1_1.js +3875 -3083
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/dist-es/waiters/waitForImageScanComplete.js +56 -36
- package/dist-es/waiters/waitForLifecyclePolicyPreviewComplete.js +56 -36
- package/package.json +34 -34
|
@@ -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 { GetDownloadUrlForLayerRequestFilterSensitiveLog, GetDownloadUrlForLayerResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetDownloadUrlForLayerCommand, serializeAws_json1_1GetDownloadUrlForLayerCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetDownloadUrlForLayerCommand = (function (_super) {
|
|
7
|
+
__extends(GetDownloadUrlForLayerCommand, _super);
|
|
8
|
+
function GetDownloadUrlForLayerCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetDownloadUrlForLayerCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ECRClient";
|
|
18
|
+
var commandName = "GetDownloadUrlForLayerCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetDownloadUrlForLayerRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetDownloadUrlForLayerResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetDownloadUrlForLayerCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetDownloadUrlForLayerCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetDownloadUrlForLayerCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetDownloadUrlForLayerCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetDownloadUrlForLayerCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetDownloadUrlForLayerCommand };
|
|
@@ -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 { GetLifecyclePolicyRequestFilterSensitiveLog, GetLifecyclePolicyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetLifecyclePolicyCommand, serializeAws_json1_1GetLifecyclePolicyCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetLifecyclePolicyCommand = (function (_super) {
|
|
7
|
+
__extends(GetLifecyclePolicyCommand, _super);
|
|
8
|
+
function GetLifecyclePolicyCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetLifecyclePolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ECRClient";
|
|
18
|
+
var commandName = "GetLifecyclePolicyCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetLifecyclePolicyRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetLifecyclePolicyResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetLifecyclePolicyCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetLifecyclePolicyCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetLifecyclePolicyCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetLifecyclePolicyCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetLifecyclePolicyCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetLifecyclePolicyCommand };
|
|
@@ -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 { GetLifecyclePolicyPreviewRequestFilterSensitiveLog, GetLifecyclePolicyPreviewResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetLifecyclePolicyPreviewCommand, serializeAws_json1_1GetLifecyclePolicyPreviewCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetLifecyclePolicyPreviewCommand = (function (_super) {
|
|
7
|
+
__extends(GetLifecyclePolicyPreviewCommand, _super);
|
|
8
|
+
function GetLifecyclePolicyPreviewCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetLifecyclePolicyPreviewCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ECRClient";
|
|
18
|
+
var commandName = "GetLifecyclePolicyPreviewCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetLifecyclePolicyPreviewRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetLifecyclePolicyPreviewResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetLifecyclePolicyPreviewCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetLifecyclePolicyPreviewCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetLifecyclePolicyPreviewCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetLifecyclePolicyPreviewCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetLifecyclePolicyPreviewCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetLifecyclePolicyPreviewCommand };
|
|
@@ -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 { GetRegistryPolicyRequestFilterSensitiveLog, GetRegistryPolicyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetRegistryPolicyCommand, serializeAws_json1_1GetRegistryPolicyCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetRegistryPolicyCommand = (function (_super) {
|
|
7
|
+
__extends(GetRegistryPolicyCommand, _super);
|
|
8
|
+
function GetRegistryPolicyCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetRegistryPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ECRClient";
|
|
18
|
+
var commandName = "GetRegistryPolicyCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetRegistryPolicyRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetRegistryPolicyResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetRegistryPolicyCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetRegistryPolicyCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetRegistryPolicyCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetRegistryPolicyCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetRegistryPolicyCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetRegistryPolicyCommand };
|
|
@@ -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 { GetRegistryScanningConfigurationRequestFilterSensitiveLog, GetRegistryScanningConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetRegistryScanningConfigurationCommand, serializeAws_json1_1GetRegistryScanningConfigurationCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetRegistryScanningConfigurationCommand = (function (_super) {
|
|
7
|
+
__extends(GetRegistryScanningConfigurationCommand, _super);
|
|
8
|
+
function GetRegistryScanningConfigurationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetRegistryScanningConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ECRClient";
|
|
18
|
+
var commandName = "GetRegistryScanningConfigurationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetRegistryScanningConfigurationRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetRegistryScanningConfigurationResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetRegistryScanningConfigurationCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetRegistryScanningConfigurationCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetRegistryScanningConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetRegistryScanningConfigurationCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetRegistryScanningConfigurationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetRegistryScanningConfigurationCommand };
|
|
@@ -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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ECRClient";
|
|
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
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ECRClient";
|
|
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
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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 { ListImagesRequestFilterSensitiveLog, ListImagesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListImagesCommand, serializeAws_json1_1ListImagesCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListImagesCommand = (function (_super) {
|
|
7
|
+
__extends(ListImagesCommand, _super);
|
|
8
|
+
function ListImagesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListImagesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ECRClient";
|
|
18
|
+
var commandName = "ListImagesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListImagesRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListImagesResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListImagesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ListImagesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListImagesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListImagesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListImagesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListImagesCommand };
|
|
@@ -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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ECRClient";
|
|
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
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ECRClient";
|
|
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
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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 };
|