@aws-sdk/client-proton 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.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/protocols/Aws_json1_0.js +2 -2
- package/dist-es/Proton.js +309 -302
- package/dist-es/ProtonClient.js +28 -22
- package/dist-es/commands/AcceptEnvironmentAccountConnectionCommand.js +28 -21
- package/dist-es/commands/CancelComponentDeploymentCommand.js +28 -21
- package/dist-es/commands/CancelEnvironmentDeploymentCommand.js +28 -21
- package/dist-es/commands/CancelServiceInstanceDeploymentCommand.js +28 -21
- package/dist-es/commands/CancelServicePipelineDeploymentCommand.js +28 -21
- package/dist-es/commands/CreateComponentCommand.js +28 -21
- package/dist-es/commands/CreateEnvironmentAccountConnectionCommand.js +28 -21
- package/dist-es/commands/CreateEnvironmentCommand.js +28 -21
- package/dist-es/commands/CreateEnvironmentTemplateCommand.js +28 -21
- package/dist-es/commands/CreateEnvironmentTemplateVersionCommand.js +28 -21
- package/dist-es/commands/CreateRepositoryCommand.js +28 -21
- package/dist-es/commands/CreateServiceCommand.js +28 -21
- package/dist-es/commands/CreateServiceTemplateCommand.js +28 -21
- package/dist-es/commands/CreateServiceTemplateVersionCommand.js +28 -21
- package/dist-es/commands/CreateTemplateSyncConfigCommand.js +28 -21
- package/dist-es/commands/DeleteComponentCommand.js +28 -21
- package/dist-es/commands/DeleteEnvironmentAccountConnectionCommand.js +28 -21
- package/dist-es/commands/DeleteEnvironmentCommand.js +28 -21
- package/dist-es/commands/DeleteEnvironmentTemplateCommand.js +28 -21
- package/dist-es/commands/DeleteEnvironmentTemplateVersionCommand.js +28 -21
- package/dist-es/commands/DeleteRepositoryCommand.js +28 -21
- package/dist-es/commands/DeleteServiceCommand.js +28 -21
- package/dist-es/commands/DeleteServiceTemplateCommand.js +28 -21
- package/dist-es/commands/DeleteServiceTemplateVersionCommand.js +28 -21
- package/dist-es/commands/DeleteTemplateSyncConfigCommand.js +28 -21
- package/dist-es/commands/GetAccountSettingsCommand.js +28 -21
- package/dist-es/commands/GetComponentCommand.js +28 -21
- package/dist-es/commands/GetEnvironmentAccountConnectionCommand.js +28 -21
- package/dist-es/commands/GetEnvironmentCommand.js +28 -21
- package/dist-es/commands/GetEnvironmentTemplateCommand.js +28 -21
- package/dist-es/commands/GetEnvironmentTemplateVersionCommand.js +28 -21
- package/dist-es/commands/GetRepositoryCommand.js +28 -21
- package/dist-es/commands/GetRepositorySyncStatusCommand.js +28 -21
- package/dist-es/commands/GetServiceCommand.js +28 -21
- package/dist-es/commands/GetServiceInstanceCommand.js +28 -21
- package/dist-es/commands/GetServiceTemplateCommand.js +28 -21
- package/dist-es/commands/GetServiceTemplateVersionCommand.js +28 -21
- package/dist-es/commands/GetTemplateSyncConfigCommand.js +28 -21
- package/dist-es/commands/GetTemplateSyncStatusCommand.js +28 -21
- package/dist-es/commands/ListComponentOutputsCommand.js +28 -21
- package/dist-es/commands/ListComponentProvisionedResourcesCommand.js +28 -21
- package/dist-es/commands/ListComponentsCommand.js +28 -21
- package/dist-es/commands/ListEnvironmentAccountConnectionsCommand.js +28 -21
- package/dist-es/commands/ListEnvironmentOutputsCommand.js +28 -21
- package/dist-es/commands/ListEnvironmentProvisionedResourcesCommand.js +28 -21
- package/dist-es/commands/ListEnvironmentTemplateVersionsCommand.js +28 -21
- package/dist-es/commands/ListEnvironmentTemplatesCommand.js +28 -21
- package/dist-es/commands/ListEnvironmentsCommand.js +28 -21
- package/dist-es/commands/ListRepositoriesCommand.js +28 -21
- package/dist-es/commands/ListRepositorySyncDefinitionsCommand.js +28 -21
- package/dist-es/commands/ListServiceInstanceOutputsCommand.js +28 -21
- package/dist-es/commands/ListServiceInstanceProvisionedResourcesCommand.js +28 -21
- package/dist-es/commands/ListServiceInstancesCommand.js +28 -21
- package/dist-es/commands/ListServicePipelineOutputsCommand.js +28 -21
- package/dist-es/commands/ListServicePipelineProvisionedResourcesCommand.js +28 -21
- package/dist-es/commands/ListServiceTemplateVersionsCommand.js +28 -21
- package/dist-es/commands/ListServiceTemplatesCommand.js +28 -21
- package/dist-es/commands/ListServicesCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/NotifyResourceDeploymentStatusChangeCommand.js +28 -21
- package/dist-es/commands/RejectEnvironmentAccountConnectionCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateAccountSettingsCommand.js +28 -21
- package/dist-es/commands/UpdateComponentCommand.js +28 -21
- package/dist-es/commands/UpdateEnvironmentAccountConnectionCommand.js +28 -21
- package/dist-es/commands/UpdateEnvironmentCommand.js +28 -21
- package/dist-es/commands/UpdateEnvironmentTemplateCommand.js +28 -21
- package/dist-es/commands/UpdateEnvironmentTemplateVersionCommand.js +28 -21
- package/dist-es/commands/UpdateServiceCommand.js +28 -21
- package/dist-es/commands/UpdateServiceInstanceCommand.js +28 -21
- package/dist-es/commands/UpdateServicePipelineCommand.js +28 -21
- package/dist-es/commands/UpdateServiceTemplateCommand.js +28 -21
- package/dist-es/commands/UpdateServiceTemplateVersionCommand.js +28 -21
- package/dist-es/commands/UpdateTemplateSyncConfigCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/ProtonServiceException.js +10 -5
- package/dist-es/models/models_0.js +302 -794
- package/dist-es/pagination/ListComponentOutputsPaginator.js +67 -24
- package/dist-es/pagination/ListComponentProvisionedResourcesPaginator.js +67 -24
- package/dist-es/pagination/ListComponentsPaginator.js +68 -25
- package/dist-es/pagination/ListEnvironmentAccountConnectionsPaginator.js +68 -25
- package/dist-es/pagination/ListEnvironmentOutputsPaginator.js +67 -24
- package/dist-es/pagination/ListEnvironmentProvisionedResourcesPaginator.js +67 -24
- package/dist-es/pagination/ListEnvironmentTemplateVersionsPaginator.js +68 -25
- package/dist-es/pagination/ListEnvironmentTemplatesPaginator.js +68 -25
- package/dist-es/pagination/ListEnvironmentsPaginator.js +68 -25
- package/dist-es/pagination/ListRepositoriesPaginator.js +68 -25
- package/dist-es/pagination/ListRepositorySyncDefinitionsPaginator.js +67 -24
- package/dist-es/pagination/ListServiceInstanceOutputsPaginator.js +67 -24
- package/dist-es/pagination/ListServiceInstanceProvisionedResourcesPaginator.js +67 -24
- package/dist-es/pagination/ListServiceInstancesPaginator.js +68 -25
- package/dist-es/pagination/ListServicePipelineOutputsPaginator.js +67 -24
- package/dist-es/pagination/ListServicePipelineProvisionedResourcesPaginator.js +67 -24
- package/dist-es/pagination/ListServiceTemplateVersionsPaginator.js +68 -25
- package/dist-es/pagination/ListServiceTemplatesPaginator.js +68 -25
- package/dist-es/pagination/ListServicesPaginator.js +68 -25
- package/dist-es/pagination/ListTagsForResourcePaginator.js +68 -25
- package/dist-es/protocols/Aws_json1_0.js +6546 -5018
- 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/waitForComponentDeleted.js +50 -30
- package/dist-es/waiters/waitForComponentDeployed.js +56 -36
- package/dist-es/waiters/waitForEnvironmentDeployed.js +56 -36
- package/dist-es/waiters/waitForEnvironmentTemplateVersionRegistered.js +65 -45
- package/dist-es/waiters/waitForServiceCreated.js +74 -54
- package/dist-es/waiters/waitForServiceDeleted.js +50 -30
- package/dist-es/waiters/waitForServiceInstanceDeployed.js +56 -36
- package/dist-es/waiters/waitForServicePipelineDeployed.js +56 -36
- package/dist-es/waiters/waitForServiceTemplateVersionRegistered.js +65 -45
- package/dist-es/waiters/waitForServiceUpdated.js +83 -63
- 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 { UpdateServiceInputFilterSensitiveLog, UpdateServiceOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0UpdateServiceCommand, serializeAws_json1_0UpdateServiceCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateServiceCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateServiceCommand, _super);
|
|
8
|
+
function UpdateServiceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateServiceCommand.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 = "ProtonClient";
|
|
18
|
+
var commandName = "UpdateServiceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateServiceInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateServiceOutputFilterSensitiveLog,
|
|
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
|
+
UpdateServiceCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0UpdateServiceCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateServiceCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0UpdateServiceCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateServiceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateServiceCommand };
|
|
@@ -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 { UpdateServiceInstanceInputFilterSensitiveLog, UpdateServiceInstanceOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0UpdateServiceInstanceCommand, serializeAws_json1_0UpdateServiceInstanceCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateServiceInstanceCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateServiceInstanceCommand, _super);
|
|
8
|
+
function UpdateServiceInstanceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateServiceInstanceCommand.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 = "ProtonClient";
|
|
18
|
+
var commandName = "UpdateServiceInstanceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateServiceInstanceInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateServiceInstanceOutputFilterSensitiveLog,
|
|
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
|
+
UpdateServiceInstanceCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0UpdateServiceInstanceCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateServiceInstanceCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0UpdateServiceInstanceCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateServiceInstanceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateServiceInstanceCommand };
|
|
@@ -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 { UpdateServicePipelineInputFilterSensitiveLog, UpdateServicePipelineOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0UpdateServicePipelineCommand, serializeAws_json1_0UpdateServicePipelineCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateServicePipelineCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateServicePipelineCommand, _super);
|
|
8
|
+
function UpdateServicePipelineCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateServicePipelineCommand.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 = "ProtonClient";
|
|
18
|
+
var commandName = "UpdateServicePipelineCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateServicePipelineInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateServicePipelineOutputFilterSensitiveLog,
|
|
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
|
+
UpdateServicePipelineCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0UpdateServicePipelineCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateServicePipelineCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0UpdateServicePipelineCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateServicePipelineCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateServicePipelineCommand };
|
|
@@ -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 { UpdateServiceTemplateInputFilterSensitiveLog, UpdateServiceTemplateOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0UpdateServiceTemplateCommand, serializeAws_json1_0UpdateServiceTemplateCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateServiceTemplateCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateServiceTemplateCommand, _super);
|
|
8
|
+
function UpdateServiceTemplateCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateServiceTemplateCommand.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 = "ProtonClient";
|
|
18
|
+
var commandName = "UpdateServiceTemplateCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateServiceTemplateInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateServiceTemplateOutputFilterSensitiveLog,
|
|
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
|
+
UpdateServiceTemplateCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0UpdateServiceTemplateCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateServiceTemplateCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0UpdateServiceTemplateCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateServiceTemplateCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateServiceTemplateCommand };
|
|
@@ -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 { UpdateServiceTemplateVersionInputFilterSensitiveLog, UpdateServiceTemplateVersionOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0UpdateServiceTemplateVersionCommand, serializeAws_json1_0UpdateServiceTemplateVersionCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateServiceTemplateVersionCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateServiceTemplateVersionCommand, _super);
|
|
8
|
+
function UpdateServiceTemplateVersionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateServiceTemplateVersionCommand.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 = "ProtonClient";
|
|
18
|
+
var commandName = "UpdateServiceTemplateVersionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateServiceTemplateVersionInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateServiceTemplateVersionOutputFilterSensitiveLog,
|
|
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
|
+
UpdateServiceTemplateVersionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0UpdateServiceTemplateVersionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateServiceTemplateVersionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0UpdateServiceTemplateVersionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateServiceTemplateVersionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateServiceTemplateVersionCommand };
|
|
@@ -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 { UpdateTemplateSyncConfigInputFilterSensitiveLog, UpdateTemplateSyncConfigOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0UpdateTemplateSyncConfigCommand, serializeAws_json1_0UpdateTemplateSyncConfigCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateTemplateSyncConfigCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateTemplateSyncConfigCommand, _super);
|
|
8
|
+
function UpdateTemplateSyncConfigCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateTemplateSyncConfigCommand.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 = "ProtonClient";
|
|
18
|
+
var commandName = "UpdateTemplateSyncConfigCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateTemplateSyncConfigInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateTemplateSyncConfigOutputFilterSensitiveLog,
|
|
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
|
+
UpdateTemplateSyncConfigCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0UpdateTemplateSyncConfigCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateTemplateSyncConfigCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0UpdateTemplateSyncConfigCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateTemplateSyncConfigCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateTemplateSyncConfigCommand };
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
2
|
-
|
|
3
|
-
|
|
3
|
+
var regionHash = {};
|
|
4
|
+
var partitionHash = {
|
|
4
5
|
aws: {
|
|
5
6
|
regions: [
|
|
6
7
|
"af-south-1",
|
|
@@ -120,9 +121,8 @@ const partitionHash = {
|
|
|
120
121
|
],
|
|
121
122
|
},
|
|
122
123
|
};
|
|
123
|
-
export
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
});
|
|
124
|
+
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
125
|
+
return __generator(this, function (_a) {
|
|
126
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "proton", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
127
|
+
});
|
|
128
|
+
}); };
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
var ProtonServiceException = (function (_super) {
|
|
4
|
+
__extends(ProtonServiceException, _super);
|
|
5
|
+
function ProtonServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, ProtonServiceException.prototype);
|
|
8
|
+
return _this;
|
|
6
9
|
}
|
|
7
|
-
|
|
10
|
+
return ProtonServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { ProtonServiceException };
|