@aws-sdk/client-mgn 3.67.0 → 3.75.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 +27 -0
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +3 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +4 -1
- package/dist-types/models/models_0.d.ts +7 -3
- package/dist-types/ts3.4/models/models_0.d.ts +5 -3
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.75.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.74.0...v3.75.0) (2022-04-21)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-mgn
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.74.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.73.0...v3.74.0) (2022-04-20)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **client-mgn:** Removed required annotation from input fields in Describe operations requests. Added quotaValue to ServiceQuotaExceededException ([ee4defd](https://github.com/aws/aws-sdk-js-v3/commit/ee4defdb9c6cc74419b819c143bbdf4f383383c8))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.72.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.71.0...v3.72.0) (2022-04-15)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-mgn
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.67.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.66.0...v3.67.0) (2022-04-08)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-mgn
|
|
@@ -704,6 +704,7 @@ class ServiceQuotaExceededException extends MgnServiceException_1.MgnServiceExce
|
|
|
704
704
|
this.resourceType = opts.resourceType;
|
|
705
705
|
this.serviceCode = opts.serviceCode;
|
|
706
706
|
this.quotaCode = opts.quotaCode;
|
|
707
|
+
this.quotaValue = opts.quotaValue;
|
|
707
708
|
}
|
|
708
709
|
}
|
|
709
710
|
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
@@ -2702,6 +2702,9 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
|
|
|
2702
2702
|
if (data.quotaCode !== undefined && data.quotaCode !== null) {
|
|
2703
2703
|
contents.quotaCode = (0, smithy_client_1.expectString)(data.quotaCode);
|
|
2704
2704
|
}
|
|
2705
|
+
if (data.quotaValue !== undefined && data.quotaValue !== null) {
|
|
2706
|
+
contents.quotaValue = (0, smithy_client_1.expectInt32)(data.quotaValue);
|
|
2707
|
+
}
|
|
2705
2708
|
if (data.resourceId !== undefined && data.resourceId !== null) {
|
|
2706
2709
|
contents.resourceId = (0, smithy_client_1.expectString)(data.resourceId);
|
|
2707
2710
|
}
|
|
@@ -548,6 +548,7 @@ var ServiceQuotaExceededException = (function (_super) {
|
|
|
548
548
|
_this.resourceType = opts.resourceType;
|
|
549
549
|
_this.serviceCode = opts.serviceCode;
|
|
550
550
|
_this.quotaCode = opts.quotaCode;
|
|
551
|
+
_this.quotaValue = opts.quotaValue;
|
|
551
552
|
return _this;
|
|
552
553
|
}
|
|
553
554
|
return ServiceQuotaExceededException;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator, __read } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, strictParseLong as __strictParseLong, } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, strictParseLong as __strictParseLong, } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { MgnServiceException as __BaseException } from "../models/MgnServiceException";
|
|
5
5
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, UninitializedAccountException, ValidationException, } from "../models/models_0";
|
|
6
6
|
export var serializeAws_restJson1ChangeServerLifeCycleStateCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -3336,6 +3336,9 @@ var deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = function (pa
|
|
|
3336
3336
|
if (data.quotaCode !== undefined && data.quotaCode !== null) {
|
|
3337
3337
|
contents.quotaCode = __expectString(data.quotaCode);
|
|
3338
3338
|
}
|
|
3339
|
+
if (data.quotaValue !== undefined && data.quotaValue !== null) {
|
|
3340
|
+
contents.quotaValue = __expectInt32(data.quotaValue);
|
|
3341
|
+
}
|
|
3339
3342
|
if (data.resourceId !== undefined && data.resourceId !== null) {
|
|
3340
3343
|
contents.resourceId = __expectString(data.resourceId);
|
|
3341
3344
|
}
|
|
@@ -276,7 +276,7 @@ export interface DescribeJobsRequest {
|
|
|
276
276
|
/**
|
|
277
277
|
* <p>Request to describe Job log filters.</p>
|
|
278
278
|
*/
|
|
279
|
-
filters
|
|
279
|
+
filters?: DescribeJobsRequestFilters;
|
|
280
280
|
/**
|
|
281
281
|
* <p>Request to describe job log items by max results.</p>
|
|
282
282
|
*/
|
|
@@ -635,7 +635,7 @@ export interface DescribeReplicationConfigurationTemplatesRequest {
|
|
|
635
635
|
/**
|
|
636
636
|
* <p>Request to describe Replication Configuration template by template IDs.</p>
|
|
637
637
|
*/
|
|
638
|
-
replicationConfigurationTemplateIDs
|
|
638
|
+
replicationConfigurationTemplateIDs?: string[];
|
|
639
639
|
/**
|
|
640
640
|
* <p>Request to describe Replication Configuration template by max results.</p>
|
|
641
641
|
*/
|
|
@@ -1430,7 +1430,7 @@ export interface DescribeSourceServersRequest {
|
|
|
1430
1430
|
/**
|
|
1431
1431
|
* <p>Request to filter Source Servers list.</p>
|
|
1432
1432
|
*/
|
|
1433
|
-
filters
|
|
1433
|
+
filters?: DescribeSourceServersRequestFilters;
|
|
1434
1434
|
/**
|
|
1435
1435
|
* <p>Request to filter Source Servers list by maximum results.</p>
|
|
1436
1436
|
*/
|
|
@@ -1769,6 +1769,10 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
1769
1769
|
* <p>Exceeded the service quota code.</p>
|
|
1770
1770
|
*/
|
|
1771
1771
|
quotaCode?: string;
|
|
1772
|
+
/**
|
|
1773
|
+
* <p>Exceeded the service quota value.</p>
|
|
1774
|
+
*/
|
|
1775
|
+
quotaValue?: number;
|
|
1772
1776
|
/**
|
|
1773
1777
|
* @internal
|
|
1774
1778
|
*/
|
|
@@ -178,7 +178,7 @@ export declare namespace DescribeJobsRequestFilters {
|
|
|
178
178
|
}
|
|
179
179
|
export interface DescribeJobsRequest {
|
|
180
180
|
|
|
181
|
-
filters
|
|
181
|
+
filters?: DescribeJobsRequestFilters;
|
|
182
182
|
|
|
183
183
|
maxResults?: number;
|
|
184
184
|
|
|
@@ -403,7 +403,7 @@ export declare namespace DeleteReplicationConfigurationTemplateResponse {
|
|
|
403
403
|
}
|
|
404
404
|
export interface DescribeReplicationConfigurationTemplatesRequest {
|
|
405
405
|
|
|
406
|
-
replicationConfigurationTemplateIDs
|
|
406
|
+
replicationConfigurationTemplateIDs?: string[];
|
|
407
407
|
|
|
408
408
|
maxResults?: number;
|
|
409
409
|
|
|
@@ -890,7 +890,7 @@ export declare namespace DescribeSourceServersRequestFilters {
|
|
|
890
890
|
}
|
|
891
891
|
export interface DescribeSourceServersRequest {
|
|
892
892
|
|
|
893
|
-
filters
|
|
893
|
+
filters?: DescribeSourceServersRequestFilters;
|
|
894
894
|
|
|
895
895
|
maxResults?: number;
|
|
896
896
|
|
|
@@ -1102,6 +1102,8 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
1102
1102
|
|
|
1103
1103
|
quotaCode?: string;
|
|
1104
1104
|
|
|
1105
|
+
quotaValue?: number;
|
|
1106
|
+
|
|
1105
1107
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
1106
1108
|
}
|
|
1107
1109
|
export interface StartReplicationRequest {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mgn",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mgn Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.75.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,34 +18,34 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.75.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.75.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.75.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.58.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.55.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.55.0",
|
|
27
27
|
"@aws-sdk/middleware-content-length": "3.58.0",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.58.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.55.0",
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.75.0",
|
|
31
31
|
"@aws-sdk/middleware-serde": "3.55.0",
|
|
32
32
|
"@aws-sdk/middleware-signing": "3.58.0",
|
|
33
33
|
"@aws-sdk/middleware-stack": "3.55.0",
|
|
34
34
|
"@aws-sdk/middleware-user-agent": "3.58.0",
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.75.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.74.0",
|
|
37
37
|
"@aws-sdk/protocol-http": "3.58.0",
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
38
|
+
"@aws-sdk/smithy-client": "3.72.0",
|
|
39
39
|
"@aws-sdk/types": "3.55.0",
|
|
40
40
|
"@aws-sdk/url-parser": "3.55.0",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.58.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.72.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.75.0",
|
|
47
47
|
"@aws-sdk/util-user-agent-browser": "3.58.0",
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.75.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.55.0",
|
|
50
50
|
"@aws-sdk/util-utf8-node": "3.55.0",
|
|
51
51
|
"tslib": "^2.3.1"
|