@aws-sdk/client-drs 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_restJson1.js +2 -2
- package/dist-es/Drs.js +137 -130
- package/dist-es/DrsClient.js +28 -22
- package/dist-es/commands/CreateExtendedSourceServerCommand.js +28 -21
- package/dist-es/commands/CreateReplicationConfigurationTemplateCommand.js +28 -21
- package/dist-es/commands/DeleteJobCommand.js +28 -21
- package/dist-es/commands/DeleteRecoveryInstanceCommand.js +29 -22
- package/dist-es/commands/DeleteReplicationConfigurationTemplateCommand.js +28 -21
- package/dist-es/commands/DeleteSourceServerCommand.js +28 -21
- package/dist-es/commands/DescribeJobLogItemsCommand.js +28 -21
- package/dist-es/commands/DescribeJobsCommand.js +28 -21
- package/dist-es/commands/DescribeRecoveryInstancesCommand.js +28 -21
- package/dist-es/commands/DescribeRecoverySnapshotsCommand.js +28 -21
- package/dist-es/commands/DescribeReplicationConfigurationTemplatesCommand.js +28 -21
- package/dist-es/commands/DescribeSourceServersCommand.js +28 -21
- package/dist-es/commands/DisconnectRecoveryInstanceCommand.js +29 -22
- package/dist-es/commands/DisconnectSourceServerCommand.js +28 -21
- package/dist-es/commands/GetFailbackReplicationConfigurationCommand.js +28 -21
- package/dist-es/commands/GetLaunchConfigurationCommand.js +28 -21
- package/dist-es/commands/GetReplicationConfigurationCommand.js +28 -21
- package/dist-es/commands/InitializeServiceCommand.js +28 -21
- package/dist-es/commands/ListExtensibleSourceServersCommand.js +28 -21
- package/dist-es/commands/ListStagingAccountsCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/RetryDataReplicationCommand.js +28 -21
- package/dist-es/commands/StartFailbackLaunchCommand.js +28 -21
- package/dist-es/commands/StartRecoveryCommand.js +28 -21
- package/dist-es/commands/StopFailbackCommand.js +29 -22
- package/dist-es/commands/TagResourceCommand.js +29 -22
- package/dist-es/commands/TerminateRecoveryInstancesCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +29 -22
- package/dist-es/commands/UpdateFailbackReplicationConfigurationCommand.js +29 -22
- package/dist-es/commands/UpdateLaunchConfigurationCommand.js +28 -21
- package/dist-es/commands/UpdateReplicationConfigurationCommand.js +28 -21
- package/dist-es/commands/UpdateReplicationConfigurationTemplateCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/DrsServiceException.js +10 -5
- package/dist-es/models/models_0.js +204 -419
- package/dist-es/pagination/DescribeJobLogItemsPaginator.js +68 -25
- package/dist-es/pagination/DescribeJobsPaginator.js +68 -25
- package/dist-es/pagination/DescribeRecoveryInstancesPaginator.js +68 -25
- package/dist-es/pagination/DescribeRecoverySnapshotsPaginator.js +68 -25
- package/dist-es/pagination/DescribeReplicationConfigurationTemplatesPaginator.js +68 -25
- package/dist-es/pagination/DescribeSourceServersPaginator.js +68 -25
- package/dist-es/pagination/ListExtensibleSourceServersPaginator.js +68 -25
- package/dist-es/pagination/ListStagingAccountsPaginator.js +68 -25
- package/dist-es/protocols/Aws_restJson1.js +3774 -2882
- 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/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 { LaunchConfigurationFilterSensitiveLog, UpdateLaunchConfigurationRequestFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1UpdateLaunchConfigurationCommand, serializeAws_restJson1UpdateLaunchConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateLaunchConfigurationCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateLaunchConfigurationCommand, _super);
|
|
8
|
+
function UpdateLaunchConfigurationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateLaunchConfigurationCommand.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 = "DrsClient";
|
|
18
|
+
var commandName = "UpdateLaunchConfigurationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateLaunchConfigurationRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: LaunchConfigurationFilterSensitiveLog,
|
|
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
|
+
UpdateLaunchConfigurationCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1UpdateLaunchConfigurationCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateLaunchConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UpdateLaunchConfigurationCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateLaunchConfigurationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateLaunchConfigurationCommand };
|
|
@@ -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 { ReplicationConfigurationFilterSensitiveLog, UpdateReplicationConfigurationRequestFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1UpdateReplicationConfigurationCommand, serializeAws_restJson1UpdateReplicationConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateReplicationConfigurationCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateReplicationConfigurationCommand, _super);
|
|
8
|
+
function UpdateReplicationConfigurationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateReplicationConfigurationCommand.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 = "DrsClient";
|
|
18
|
+
var commandName = "UpdateReplicationConfigurationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateReplicationConfigurationRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ReplicationConfigurationFilterSensitiveLog,
|
|
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
|
+
UpdateReplicationConfigurationCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1UpdateReplicationConfigurationCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateReplicationConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UpdateReplicationConfigurationCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateReplicationConfigurationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateReplicationConfigurationCommand };
|
|
@@ -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 { ReplicationConfigurationTemplateFilterSensitiveLog, UpdateReplicationConfigurationTemplateRequestFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1UpdateReplicationConfigurationTemplateCommand, serializeAws_restJson1UpdateReplicationConfigurationTemplateCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateReplicationConfigurationTemplateCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateReplicationConfigurationTemplateCommand, _super);
|
|
8
|
+
function UpdateReplicationConfigurationTemplateCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateReplicationConfigurationTemplateCommand.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 = "DrsClient";
|
|
18
|
+
var commandName = "UpdateReplicationConfigurationTemplateCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateReplicationConfigurationTemplateRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ReplicationConfigurationTemplateFilterSensitiveLog,
|
|
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
|
+
UpdateReplicationConfigurationTemplateCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1UpdateReplicationConfigurationTemplateCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateReplicationConfigurationTemplateCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UpdateReplicationConfigurationTemplateCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateReplicationConfigurationTemplateCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateReplicationConfigurationTemplateCommand };
|
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: "drs", 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 DrsServiceException = (function (_super) {
|
|
4
|
+
__extends(DrsServiceException, _super);
|
|
5
|
+
function DrsServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, DrsServiceException.prototype);
|
|
8
|
+
return _this;
|
|
6
9
|
}
|
|
7
|
-
|
|
10
|
+
return DrsServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { DrsServiceException };
|