@aws-sdk/client-mgn 3.72.0 → 3.74.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 CHANGED
@@ -3,6 +3,17 @@
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.74.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.73.0...v3.74.0) (2022-04-20)
7
+
8
+
9
+ ### Features
10
+
11
+ * **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))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.72.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.71.0...v3.72.0) (2022-04-15)
7
18
 
8
19
  **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: DescribeJobsRequestFilters | undefined;
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: string[] | undefined;
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: DescribeSourceServersRequestFilters | undefined;
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: DescribeJobsRequestFilters | undefined;
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: string[] | undefined;
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: DescribeSourceServersRequestFilters | undefined;
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.72.0",
4
+ "version": "3.74.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,9 +18,9 @@
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.72.0",
21
+ "@aws-sdk/client-sts": "3.74.0",
22
22
  "@aws-sdk/config-resolver": "3.58.0",
23
- "@aws-sdk/credential-provider-node": "3.72.0",
23
+ "@aws-sdk/credential-provider-node": "3.74.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",
@@ -33,7 +33,7 @@
33
33
  "@aws-sdk/middleware-stack": "3.55.0",
34
34
  "@aws-sdk/middleware-user-agent": "3.58.0",
35
35
  "@aws-sdk/node-config-provider": "3.58.0",
36
- "@aws-sdk/node-http-handler": "3.58.0",
36
+ "@aws-sdk/node-http-handler": "3.74.0",
37
37
  "@aws-sdk/protocol-http": "3.58.0",
38
38
  "@aws-sdk/smithy-client": "3.72.0",
39
39
  "@aws-sdk/types": "3.55.0",