@aws-sdk/client-service-quotas 3.121.0 → 3.127.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 +8 -0
- package/dist-cjs/protocols/Aws_json1_1.js +65 -92
- package/dist-es/protocols/Aws_json1_1.js +36 -63
- package/package.json +26 -26
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-service-quotas
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
|
|
7
15
|
|
|
8
16
|
|
|
@@ -1389,9 +1389,9 @@ const serializeAws_json1_1AssociateServiceQuotaTemplateRequest = (input, context
|
|
|
1389
1389
|
};
|
|
1390
1390
|
const serializeAws_json1_1DeleteServiceQuotaIncreaseRequestFromTemplateRequest = (input, context) => {
|
|
1391
1391
|
return {
|
|
1392
|
-
...(input.AwsRegion
|
|
1393
|
-
...(input.QuotaCode
|
|
1394
|
-
...(input.ServiceCode
|
|
1392
|
+
...(input.AwsRegion != null && { AwsRegion: input.AwsRegion }),
|
|
1393
|
+
...(input.QuotaCode != null && { QuotaCode: input.QuotaCode }),
|
|
1394
|
+
...(input.ServiceCode != null && { ServiceCode: input.ServiceCode }),
|
|
1395
1395
|
};
|
|
1396
1396
|
};
|
|
1397
1397
|
const serializeAws_json1_1DisassociateServiceQuotaTemplateRequest = (input, context) => {
|
|
@@ -1402,26 +1402,26 @@ const serializeAws_json1_1GetAssociationForServiceQuotaTemplateRequest = (input,
|
|
|
1402
1402
|
};
|
|
1403
1403
|
const serializeAws_json1_1GetAWSDefaultServiceQuotaRequest = (input, context) => {
|
|
1404
1404
|
return {
|
|
1405
|
-
...(input.QuotaCode
|
|
1406
|
-
...(input.ServiceCode
|
|
1405
|
+
...(input.QuotaCode != null && { QuotaCode: input.QuotaCode }),
|
|
1406
|
+
...(input.ServiceCode != null && { ServiceCode: input.ServiceCode }),
|
|
1407
1407
|
};
|
|
1408
1408
|
};
|
|
1409
1409
|
const serializeAws_json1_1GetRequestedServiceQuotaChangeRequest = (input, context) => {
|
|
1410
1410
|
return {
|
|
1411
|
-
...(input.RequestId
|
|
1411
|
+
...(input.RequestId != null && { RequestId: input.RequestId }),
|
|
1412
1412
|
};
|
|
1413
1413
|
};
|
|
1414
1414
|
const serializeAws_json1_1GetServiceQuotaIncreaseRequestFromTemplateRequest = (input, context) => {
|
|
1415
1415
|
return {
|
|
1416
|
-
...(input.AwsRegion
|
|
1417
|
-
...(input.QuotaCode
|
|
1418
|
-
...(input.ServiceCode
|
|
1416
|
+
...(input.AwsRegion != null && { AwsRegion: input.AwsRegion }),
|
|
1417
|
+
...(input.QuotaCode != null && { QuotaCode: input.QuotaCode }),
|
|
1418
|
+
...(input.ServiceCode != null && { ServiceCode: input.ServiceCode }),
|
|
1419
1419
|
};
|
|
1420
1420
|
};
|
|
1421
1421
|
const serializeAws_json1_1GetServiceQuotaRequest = (input, context) => {
|
|
1422
1422
|
return {
|
|
1423
|
-
...(input.QuotaCode
|
|
1424
|
-
...(input.ServiceCode
|
|
1423
|
+
...(input.QuotaCode != null && { QuotaCode: input.QuotaCode }),
|
|
1424
|
+
...(input.ServiceCode != null && { ServiceCode: input.ServiceCode }),
|
|
1425
1425
|
};
|
|
1426
1426
|
};
|
|
1427
1427
|
const serializeAws_json1_1InputTagKeys = (input, context) => {
|
|
@@ -1446,89 +1446,85 @@ const serializeAws_json1_1InputTags = (input, context) => {
|
|
|
1446
1446
|
};
|
|
1447
1447
|
const serializeAws_json1_1ListAWSDefaultServiceQuotasRequest = (input, context) => {
|
|
1448
1448
|
return {
|
|
1449
|
-
...(input.MaxResults
|
|
1450
|
-
...(input.NextToken
|
|
1451
|
-
...(input.ServiceCode
|
|
1449
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1450
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1451
|
+
...(input.ServiceCode != null && { ServiceCode: input.ServiceCode }),
|
|
1452
1452
|
};
|
|
1453
1453
|
};
|
|
1454
1454
|
const serializeAws_json1_1ListRequestedServiceQuotaChangeHistoryByQuotaRequest = (input, context) => {
|
|
1455
1455
|
return {
|
|
1456
|
-
...(input.MaxResults
|
|
1457
|
-
...(input.NextToken
|
|
1458
|
-
...(input.QuotaCode
|
|
1459
|
-
...(input.ServiceCode
|
|
1460
|
-
...(input.Status
|
|
1456
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1457
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1458
|
+
...(input.QuotaCode != null && { QuotaCode: input.QuotaCode }),
|
|
1459
|
+
...(input.ServiceCode != null && { ServiceCode: input.ServiceCode }),
|
|
1460
|
+
...(input.Status != null && { Status: input.Status }),
|
|
1461
1461
|
};
|
|
1462
1462
|
};
|
|
1463
1463
|
const serializeAws_json1_1ListRequestedServiceQuotaChangeHistoryRequest = (input, context) => {
|
|
1464
1464
|
return {
|
|
1465
|
-
...(input.MaxResults
|
|
1466
|
-
...(input.NextToken
|
|
1467
|
-
...(input.ServiceCode
|
|
1468
|
-
...(input.Status
|
|
1465
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1466
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1467
|
+
...(input.ServiceCode != null && { ServiceCode: input.ServiceCode }),
|
|
1468
|
+
...(input.Status != null && { Status: input.Status }),
|
|
1469
1469
|
};
|
|
1470
1470
|
};
|
|
1471
1471
|
const serializeAws_json1_1ListServiceQuotaIncreaseRequestsInTemplateRequest = (input, context) => {
|
|
1472
1472
|
return {
|
|
1473
|
-
...(input.AwsRegion
|
|
1474
|
-
...(input.MaxResults
|
|
1475
|
-
...(input.NextToken
|
|
1476
|
-
...(input.ServiceCode
|
|
1473
|
+
...(input.AwsRegion != null && { AwsRegion: input.AwsRegion }),
|
|
1474
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1475
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1476
|
+
...(input.ServiceCode != null && { ServiceCode: input.ServiceCode }),
|
|
1477
1477
|
};
|
|
1478
1478
|
};
|
|
1479
1479
|
const serializeAws_json1_1ListServiceQuotasRequest = (input, context) => {
|
|
1480
1480
|
return {
|
|
1481
|
-
...(input.MaxResults
|
|
1482
|
-
...(input.NextToken
|
|
1483
|
-
...(input.ServiceCode
|
|
1481
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1482
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1483
|
+
...(input.ServiceCode != null && { ServiceCode: input.ServiceCode }),
|
|
1484
1484
|
};
|
|
1485
1485
|
};
|
|
1486
1486
|
const serializeAws_json1_1ListServicesRequest = (input, context) => {
|
|
1487
1487
|
return {
|
|
1488
|
-
...(input.MaxResults
|
|
1489
|
-
...(input.NextToken
|
|
1488
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1489
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1490
1490
|
};
|
|
1491
1491
|
};
|
|
1492
1492
|
const serializeAws_json1_1ListTagsForResourceRequest = (input, context) => {
|
|
1493
1493
|
return {
|
|
1494
|
-
...(input.ResourceARN
|
|
1494
|
+
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1495
1495
|
};
|
|
1496
1496
|
};
|
|
1497
1497
|
const serializeAws_json1_1PutServiceQuotaIncreaseRequestIntoTemplateRequest = (input, context) => {
|
|
1498
1498
|
return {
|
|
1499
|
-
...(input.AwsRegion
|
|
1500
|
-
...(input.DesiredValue
|
|
1501
|
-
|
|
1502
|
-
...(input.
|
|
1503
|
-
...(input.ServiceCode !== undefined && input.ServiceCode !== null && { ServiceCode: input.ServiceCode }),
|
|
1499
|
+
...(input.AwsRegion != null && { AwsRegion: input.AwsRegion }),
|
|
1500
|
+
...(input.DesiredValue != null && { DesiredValue: (0, smithy_client_1.serializeFloat)(input.DesiredValue) }),
|
|
1501
|
+
...(input.QuotaCode != null && { QuotaCode: input.QuotaCode }),
|
|
1502
|
+
...(input.ServiceCode != null && { ServiceCode: input.ServiceCode }),
|
|
1504
1503
|
};
|
|
1505
1504
|
};
|
|
1506
1505
|
const serializeAws_json1_1RequestServiceQuotaIncreaseRequest = (input, context) => {
|
|
1507
1506
|
return {
|
|
1508
|
-
...(input.DesiredValue
|
|
1509
|
-
|
|
1510
|
-
...(input.
|
|
1511
|
-
...(input.ServiceCode !== undefined && input.ServiceCode !== null && { ServiceCode: input.ServiceCode }),
|
|
1507
|
+
...(input.DesiredValue != null && { DesiredValue: (0, smithy_client_1.serializeFloat)(input.DesiredValue) }),
|
|
1508
|
+
...(input.QuotaCode != null && { QuotaCode: input.QuotaCode }),
|
|
1509
|
+
...(input.ServiceCode != null && { ServiceCode: input.ServiceCode }),
|
|
1512
1510
|
};
|
|
1513
1511
|
};
|
|
1514
1512
|
const serializeAws_json1_1Tag = (input, context) => {
|
|
1515
1513
|
return {
|
|
1516
|
-
...(input.Key
|
|
1517
|
-
...(input.Value
|
|
1514
|
+
...(input.Key != null && { Key: input.Key }),
|
|
1515
|
+
...(input.Value != null && { Value: input.Value }),
|
|
1518
1516
|
};
|
|
1519
1517
|
};
|
|
1520
1518
|
const serializeAws_json1_1TagResourceRequest = (input, context) => {
|
|
1521
1519
|
return {
|
|
1522
|
-
...(input.ResourceARN
|
|
1523
|
-
...(input.Tags
|
|
1524
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTags(input.Tags, context) }),
|
|
1520
|
+
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1521
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1InputTags(input.Tags, context) }),
|
|
1525
1522
|
};
|
|
1526
1523
|
};
|
|
1527
1524
|
const serializeAws_json1_1UntagResourceRequest = (input, context) => {
|
|
1528
1525
|
return {
|
|
1529
|
-
...(input.ResourceARN
|
|
1530
|
-
...(input.TagKeys
|
|
1531
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1InputTagKeys(input.TagKeys, context) }),
|
|
1526
|
+
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1527
|
+
...(input.TagKeys != null && { TagKeys: serializeAws_json1_1InputTagKeys(input.TagKeys, context) }),
|
|
1532
1528
|
};
|
|
1533
1529
|
};
|
|
1534
1530
|
const deserializeAws_json1_1AccessDeniedException = (output, context) => {
|
|
@@ -1568,31 +1564,26 @@ const deserializeAws_json1_1GetAssociationForServiceQuotaTemplateResponse = (out
|
|
|
1568
1564
|
};
|
|
1569
1565
|
const deserializeAws_json1_1GetAWSDefaultServiceQuotaResponse = (output, context) => {
|
|
1570
1566
|
return {
|
|
1571
|
-
Quota: output.Quota
|
|
1572
|
-
? deserializeAws_json1_1ServiceQuota(output.Quota, context)
|
|
1573
|
-
: undefined,
|
|
1567
|
+
Quota: output.Quota != null ? deserializeAws_json1_1ServiceQuota(output.Quota, context) : undefined,
|
|
1574
1568
|
};
|
|
1575
1569
|
};
|
|
1576
1570
|
const deserializeAws_json1_1GetRequestedServiceQuotaChangeResponse = (output, context) => {
|
|
1577
1571
|
return {
|
|
1578
|
-
RequestedQuota: output.RequestedQuota
|
|
1572
|
+
RequestedQuota: output.RequestedQuota != null
|
|
1579
1573
|
? deserializeAws_json1_1RequestedServiceQuotaChange(output.RequestedQuota, context)
|
|
1580
1574
|
: undefined,
|
|
1581
1575
|
};
|
|
1582
1576
|
};
|
|
1583
1577
|
const deserializeAws_json1_1GetServiceQuotaIncreaseRequestFromTemplateResponse = (output, context) => {
|
|
1584
1578
|
return {
|
|
1585
|
-
ServiceQuotaIncreaseRequestInTemplate: output.ServiceQuotaIncreaseRequestInTemplate
|
|
1586
|
-
output.ServiceQuotaIncreaseRequestInTemplate !== null
|
|
1579
|
+
ServiceQuotaIncreaseRequestInTemplate: output.ServiceQuotaIncreaseRequestInTemplate != null
|
|
1587
1580
|
? deserializeAws_json1_1ServiceQuotaIncreaseRequestInTemplate(output.ServiceQuotaIncreaseRequestInTemplate, context)
|
|
1588
1581
|
: undefined,
|
|
1589
1582
|
};
|
|
1590
1583
|
};
|
|
1591
1584
|
const deserializeAws_json1_1GetServiceQuotaResponse = (output, context) => {
|
|
1592
1585
|
return {
|
|
1593
|
-
Quota: output.Quota
|
|
1594
|
-
? deserializeAws_json1_1ServiceQuota(output.Quota, context)
|
|
1595
|
-
: undefined,
|
|
1586
|
+
Quota: output.Quota != null ? deserializeAws_json1_1ServiceQuota(output.Quota, context) : undefined,
|
|
1596
1587
|
};
|
|
1597
1588
|
};
|
|
1598
1589
|
const deserializeAws_json1_1IllegalArgumentException = (output, context) => {
|
|
@@ -1613,15 +1604,13 @@ const deserializeAws_json1_1InvalidResourceStateException = (output, context) =>
|
|
|
1613
1604
|
const deserializeAws_json1_1ListAWSDefaultServiceQuotasResponse = (output, context) => {
|
|
1614
1605
|
return {
|
|
1615
1606
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1616
|
-
Quotas: output.Quotas
|
|
1617
|
-
? deserializeAws_json1_1ServiceQuotaListDefinition(output.Quotas, context)
|
|
1618
|
-
: undefined,
|
|
1607
|
+
Quotas: output.Quotas != null ? deserializeAws_json1_1ServiceQuotaListDefinition(output.Quotas, context) : undefined,
|
|
1619
1608
|
};
|
|
1620
1609
|
};
|
|
1621
1610
|
const deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryByQuotaResponse = (output, context) => {
|
|
1622
1611
|
return {
|
|
1623
1612
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1624
|
-
RequestedQuotas: output.RequestedQuotas
|
|
1613
|
+
RequestedQuotas: output.RequestedQuotas != null
|
|
1625
1614
|
? deserializeAws_json1_1RequestedServiceQuotaChangeHistoryListDefinition(output.RequestedQuotas, context)
|
|
1626
1615
|
: undefined,
|
|
1627
1616
|
};
|
|
@@ -1629,7 +1618,7 @@ const deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryByQuotaRespons
|
|
|
1629
1618
|
const deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryResponse = (output, context) => {
|
|
1630
1619
|
return {
|
|
1631
1620
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1632
|
-
RequestedQuotas: output.RequestedQuotas
|
|
1621
|
+
RequestedQuotas: output.RequestedQuotas != null
|
|
1633
1622
|
? deserializeAws_json1_1RequestedServiceQuotaChangeHistoryListDefinition(output.RequestedQuotas, context)
|
|
1634
1623
|
: undefined,
|
|
1635
1624
|
};
|
|
@@ -1637,8 +1626,7 @@ const deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryResponse = (ou
|
|
|
1637
1626
|
const deserializeAws_json1_1ListServiceQuotaIncreaseRequestsInTemplateResponse = (output, context) => {
|
|
1638
1627
|
return {
|
|
1639
1628
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1640
|
-
ServiceQuotaIncreaseRequestInTemplateList: output.ServiceQuotaIncreaseRequestInTemplateList
|
|
1641
|
-
output.ServiceQuotaIncreaseRequestInTemplateList !== null
|
|
1629
|
+
ServiceQuotaIncreaseRequestInTemplateList: output.ServiceQuotaIncreaseRequestInTemplateList != null
|
|
1642
1630
|
? deserializeAws_json1_1ServiceQuotaIncreaseRequestInTemplateList(output.ServiceQuotaIncreaseRequestInTemplateList, context)
|
|
1643
1631
|
: undefined,
|
|
1644
1632
|
};
|
|
@@ -1646,24 +1634,18 @@ const deserializeAws_json1_1ListServiceQuotaIncreaseRequestsInTemplateResponse =
|
|
|
1646
1634
|
const deserializeAws_json1_1ListServiceQuotasResponse = (output, context) => {
|
|
1647
1635
|
return {
|
|
1648
1636
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1649
|
-
Quotas: output.Quotas
|
|
1650
|
-
? deserializeAws_json1_1ServiceQuotaListDefinition(output.Quotas, context)
|
|
1651
|
-
: undefined,
|
|
1637
|
+
Quotas: output.Quotas != null ? deserializeAws_json1_1ServiceQuotaListDefinition(output.Quotas, context) : undefined,
|
|
1652
1638
|
};
|
|
1653
1639
|
};
|
|
1654
1640
|
const deserializeAws_json1_1ListServicesResponse = (output, context) => {
|
|
1655
1641
|
return {
|
|
1656
1642
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1657
|
-
Services: output.Services
|
|
1658
|
-
? deserializeAws_json1_1ServiceInfoListDefinition(output.Services, context)
|
|
1659
|
-
: undefined,
|
|
1643
|
+
Services: output.Services != null ? deserializeAws_json1_1ServiceInfoListDefinition(output.Services, context) : undefined,
|
|
1660
1644
|
};
|
|
1661
1645
|
};
|
|
1662
1646
|
const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
|
|
1663
1647
|
return {
|
|
1664
|
-
Tags: output.Tags
|
|
1665
|
-
? deserializeAws_json1_1OutputTags(output.Tags, context)
|
|
1666
|
-
: undefined,
|
|
1648
|
+
Tags: output.Tags != null ? deserializeAws_json1_1OutputTags(output.Tags, context) : undefined,
|
|
1667
1649
|
};
|
|
1668
1650
|
};
|
|
1669
1651
|
const deserializeAws_json1_1MetricDimensionsMapDefinition = (output, context) => {
|
|
@@ -1679,7 +1661,7 @@ const deserializeAws_json1_1MetricDimensionsMapDefinition = (output, context) =>
|
|
|
1679
1661
|
};
|
|
1680
1662
|
const deserializeAws_json1_1MetricInfo = (output, context) => {
|
|
1681
1663
|
return {
|
|
1682
|
-
MetricDimensions: output.MetricDimensions
|
|
1664
|
+
MetricDimensions: output.MetricDimensions != null
|
|
1683
1665
|
? deserializeAws_json1_1MetricDimensionsMapDefinition(output.MetricDimensions, context)
|
|
1684
1666
|
: undefined,
|
|
1685
1667
|
MetricName: (0, smithy_client_1.expectString)(output.MetricName),
|
|
@@ -1715,8 +1697,7 @@ const deserializeAws_json1_1OutputTags = (output, context) => {
|
|
|
1715
1697
|
};
|
|
1716
1698
|
const deserializeAws_json1_1PutServiceQuotaIncreaseRequestIntoTemplateResponse = (output, context) => {
|
|
1717
1699
|
return {
|
|
1718
|
-
ServiceQuotaIncreaseRequestInTemplate: output.ServiceQuotaIncreaseRequestInTemplate
|
|
1719
|
-
output.ServiceQuotaIncreaseRequestInTemplate !== null
|
|
1700
|
+
ServiceQuotaIncreaseRequestInTemplate: output.ServiceQuotaIncreaseRequestInTemplate != null
|
|
1720
1701
|
? deserializeAws_json1_1ServiceQuotaIncreaseRequestInTemplate(output.ServiceQuotaIncreaseRequestInTemplate, context)
|
|
1721
1702
|
: undefined,
|
|
1722
1703
|
};
|
|
@@ -1735,13 +1716,11 @@ const deserializeAws_json1_1QuotaPeriod = (output, context) => {
|
|
|
1735
1716
|
const deserializeAws_json1_1RequestedServiceQuotaChange = (output, context) => {
|
|
1736
1717
|
return {
|
|
1737
1718
|
CaseId: (0, smithy_client_1.expectString)(output.CaseId),
|
|
1738
|
-
Created: output.Created
|
|
1739
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Created)))
|
|
1740
|
-
: undefined,
|
|
1719
|
+
Created: output.Created != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Created))) : undefined,
|
|
1741
1720
|
DesiredValue: (0, smithy_client_1.limitedParseDouble)(output.DesiredValue),
|
|
1742
1721
|
GlobalQuota: (0, smithy_client_1.expectBoolean)(output.GlobalQuota),
|
|
1743
1722
|
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
1744
|
-
LastUpdated: output.LastUpdated
|
|
1723
|
+
LastUpdated: output.LastUpdated != null
|
|
1745
1724
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdated)))
|
|
1746
1725
|
: undefined,
|
|
1747
1726
|
QuotaArn: (0, smithy_client_1.expectString)(output.QuotaArn),
|
|
@@ -1767,7 +1746,7 @@ const deserializeAws_json1_1RequestedServiceQuotaChangeHistoryListDefinition = (
|
|
|
1767
1746
|
};
|
|
1768
1747
|
const deserializeAws_json1_1RequestServiceQuotaIncreaseResponse = (output, context) => {
|
|
1769
1748
|
return {
|
|
1770
|
-
RequestedQuota: output.RequestedQuota
|
|
1749
|
+
RequestedQuota: output.RequestedQuota != null
|
|
1771
1750
|
? deserializeAws_json1_1RequestedServiceQuotaChange(output.RequestedQuota, context)
|
|
1772
1751
|
: undefined,
|
|
1773
1752
|
};
|
|
@@ -1802,22 +1781,16 @@ const deserializeAws_json1_1ServiceInfoListDefinition = (output, context) => {
|
|
|
1802
1781
|
const deserializeAws_json1_1ServiceQuota = (output, context) => {
|
|
1803
1782
|
return {
|
|
1804
1783
|
Adjustable: (0, smithy_client_1.expectBoolean)(output.Adjustable),
|
|
1805
|
-
ErrorReason: output.ErrorReason
|
|
1806
|
-
? deserializeAws_json1_1ErrorReason(output.ErrorReason, context)
|
|
1807
|
-
: undefined,
|
|
1784
|
+
ErrorReason: output.ErrorReason != null ? deserializeAws_json1_1ErrorReason(output.ErrorReason, context) : undefined,
|
|
1808
1785
|
GlobalQuota: (0, smithy_client_1.expectBoolean)(output.GlobalQuota),
|
|
1809
|
-
Period: output.Period
|
|
1810
|
-
? deserializeAws_json1_1QuotaPeriod(output.Period, context)
|
|
1811
|
-
: undefined,
|
|
1786
|
+
Period: output.Period != null ? deserializeAws_json1_1QuotaPeriod(output.Period, context) : undefined,
|
|
1812
1787
|
QuotaArn: (0, smithy_client_1.expectString)(output.QuotaArn),
|
|
1813
1788
|
QuotaCode: (0, smithy_client_1.expectString)(output.QuotaCode),
|
|
1814
1789
|
QuotaName: (0, smithy_client_1.expectString)(output.QuotaName),
|
|
1815
1790
|
ServiceCode: (0, smithy_client_1.expectString)(output.ServiceCode),
|
|
1816
1791
|
ServiceName: (0, smithy_client_1.expectString)(output.ServiceName),
|
|
1817
1792
|
Unit: (0, smithy_client_1.expectString)(output.Unit),
|
|
1818
|
-
UsageMetric: output.UsageMetric
|
|
1819
|
-
? deserializeAws_json1_1MetricInfo(output.UsageMetric, context)
|
|
1820
|
-
: undefined,
|
|
1793
|
+
UsageMetric: output.UsageMetric != null ? deserializeAws_json1_1MetricInfo(output.UsageMetric, context) : undefined,
|
|
1821
1794
|
Value: (0, smithy_client_1.limitedParseDouble)(output.Value),
|
|
1822
1795
|
};
|
|
1823
1796
|
};
|
|
@@ -1782,7 +1782,7 @@ var serializeAws_json1_1AssociateServiceQuotaTemplateRequest = function (input,
|
|
|
1782
1782
|
return {};
|
|
1783
1783
|
};
|
|
1784
1784
|
var serializeAws_json1_1DeleteServiceQuotaIncreaseRequestFromTemplateRequest = function (input, context) {
|
|
1785
|
-
return __assign(__assign(__assign({}, (input.AwsRegion
|
|
1785
|
+
return __assign(__assign(__assign({}, (input.AwsRegion != null && { AwsRegion: input.AwsRegion })), (input.QuotaCode != null && { QuotaCode: input.QuotaCode })), (input.ServiceCode != null && { ServiceCode: input.ServiceCode }));
|
|
1786
1786
|
};
|
|
1787
1787
|
var serializeAws_json1_1DisassociateServiceQuotaTemplateRequest = function (input, context) {
|
|
1788
1788
|
return {};
|
|
@@ -1791,16 +1791,16 @@ var serializeAws_json1_1GetAssociationForServiceQuotaTemplateRequest = function
|
|
|
1791
1791
|
return {};
|
|
1792
1792
|
};
|
|
1793
1793
|
var serializeAws_json1_1GetAWSDefaultServiceQuotaRequest = function (input, context) {
|
|
1794
|
-
return __assign(__assign({}, (input.QuotaCode
|
|
1794
|
+
return __assign(__assign({}, (input.QuotaCode != null && { QuotaCode: input.QuotaCode })), (input.ServiceCode != null && { ServiceCode: input.ServiceCode }));
|
|
1795
1795
|
};
|
|
1796
1796
|
var serializeAws_json1_1GetRequestedServiceQuotaChangeRequest = function (input, context) {
|
|
1797
|
-
return __assign({}, (input.RequestId
|
|
1797
|
+
return __assign({}, (input.RequestId != null && { RequestId: input.RequestId }));
|
|
1798
1798
|
};
|
|
1799
1799
|
var serializeAws_json1_1GetServiceQuotaIncreaseRequestFromTemplateRequest = function (input, context) {
|
|
1800
|
-
return __assign(__assign(__assign({}, (input.AwsRegion
|
|
1800
|
+
return __assign(__assign(__assign({}, (input.AwsRegion != null && { AwsRegion: input.AwsRegion })), (input.QuotaCode != null && { QuotaCode: input.QuotaCode })), (input.ServiceCode != null && { ServiceCode: input.ServiceCode }));
|
|
1801
1801
|
};
|
|
1802
1802
|
var serializeAws_json1_1GetServiceQuotaRequest = function (input, context) {
|
|
1803
|
-
return __assign(__assign({}, (input.QuotaCode
|
|
1803
|
+
return __assign(__assign({}, (input.QuotaCode != null && { QuotaCode: input.QuotaCode })), (input.ServiceCode != null && { ServiceCode: input.ServiceCode }));
|
|
1804
1804
|
};
|
|
1805
1805
|
var serializeAws_json1_1InputTagKeys = function (input, context) {
|
|
1806
1806
|
return input
|
|
@@ -1823,44 +1823,40 @@ var serializeAws_json1_1InputTags = function (input, context) {
|
|
|
1823
1823
|
});
|
|
1824
1824
|
};
|
|
1825
1825
|
var serializeAws_json1_1ListAWSDefaultServiceQuotasRequest = function (input, context) {
|
|
1826
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
1826
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ServiceCode != null && { ServiceCode: input.ServiceCode }));
|
|
1827
1827
|
};
|
|
1828
1828
|
var serializeAws_json1_1ListRequestedServiceQuotaChangeHistoryByQuotaRequest = function (input, context) {
|
|
1829
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.MaxResults
|
|
1829
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.QuotaCode != null && { QuotaCode: input.QuotaCode })), (input.ServiceCode != null && { ServiceCode: input.ServiceCode })), (input.Status != null && { Status: input.Status }));
|
|
1830
1830
|
};
|
|
1831
1831
|
var serializeAws_json1_1ListRequestedServiceQuotaChangeHistoryRequest = function (input, context) {
|
|
1832
|
-
return __assign(__assign(__assign(__assign({}, (input.MaxResults
|
|
1832
|
+
return __assign(__assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ServiceCode != null && { ServiceCode: input.ServiceCode })), (input.Status != null && { Status: input.Status }));
|
|
1833
1833
|
};
|
|
1834
1834
|
var serializeAws_json1_1ListServiceQuotaIncreaseRequestsInTemplateRequest = function (input, context) {
|
|
1835
|
-
return __assign(__assign(__assign(__assign({}, (input.AwsRegion
|
|
1835
|
+
return __assign(__assign(__assign(__assign({}, (input.AwsRegion != null && { AwsRegion: input.AwsRegion })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ServiceCode != null && { ServiceCode: input.ServiceCode }));
|
|
1836
1836
|
};
|
|
1837
1837
|
var serializeAws_json1_1ListServiceQuotasRequest = function (input, context) {
|
|
1838
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
1838
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ServiceCode != null && { ServiceCode: input.ServiceCode }));
|
|
1839
1839
|
};
|
|
1840
1840
|
var serializeAws_json1_1ListServicesRequest = function (input, context) {
|
|
1841
|
-
return __assign(__assign({}, (input.MaxResults
|
|
1841
|
+
return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
1842
1842
|
};
|
|
1843
1843
|
var serializeAws_json1_1ListTagsForResourceRequest = function (input, context) {
|
|
1844
|
-
return __assign({}, (input.ResourceARN
|
|
1844
|
+
return __assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN }));
|
|
1845
1845
|
};
|
|
1846
1846
|
var serializeAws_json1_1PutServiceQuotaIncreaseRequestIntoTemplateRequest = function (input, context) {
|
|
1847
|
-
return __assign(__assign(__assign(__assign({}, (input.AwsRegion
|
|
1848
|
-
input.DesiredValue !== null && { DesiredValue: __serializeFloat(input.DesiredValue) })), (input.QuotaCode !== undefined && input.QuotaCode !== null && { QuotaCode: input.QuotaCode })), (input.ServiceCode !== undefined && input.ServiceCode !== null && { ServiceCode: input.ServiceCode }));
|
|
1847
|
+
return __assign(__assign(__assign(__assign({}, (input.AwsRegion != null && { AwsRegion: input.AwsRegion })), (input.DesiredValue != null && { DesiredValue: __serializeFloat(input.DesiredValue) })), (input.QuotaCode != null && { QuotaCode: input.QuotaCode })), (input.ServiceCode != null && { ServiceCode: input.ServiceCode }));
|
|
1849
1848
|
};
|
|
1850
1849
|
var serializeAws_json1_1RequestServiceQuotaIncreaseRequest = function (input, context) {
|
|
1851
|
-
return __assign(__assign(__assign({}, (input.DesiredValue
|
|
1852
|
-
input.DesiredValue !== null && { DesiredValue: __serializeFloat(input.DesiredValue) })), (input.QuotaCode !== undefined && input.QuotaCode !== null && { QuotaCode: input.QuotaCode })), (input.ServiceCode !== undefined && input.ServiceCode !== null && { ServiceCode: input.ServiceCode }));
|
|
1850
|
+
return __assign(__assign(__assign({}, (input.DesiredValue != null && { DesiredValue: __serializeFloat(input.DesiredValue) })), (input.QuotaCode != null && { QuotaCode: input.QuotaCode })), (input.ServiceCode != null && { ServiceCode: input.ServiceCode }));
|
|
1853
1851
|
};
|
|
1854
1852
|
var serializeAws_json1_1Tag = function (input, context) {
|
|
1855
|
-
return __assign(__assign({}, (input.Key
|
|
1853
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
1856
1854
|
};
|
|
1857
1855
|
var serializeAws_json1_1TagResourceRequest = function (input, context) {
|
|
1858
|
-
return __assign(__assign({}, (input.ResourceARN
|
|
1859
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTags(input.Tags, context) }));
|
|
1856
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.Tags != null && { Tags: serializeAws_json1_1InputTags(input.Tags, context) }));
|
|
1860
1857
|
};
|
|
1861
1858
|
var serializeAws_json1_1UntagResourceRequest = function (input, context) {
|
|
1862
|
-
return __assign(__assign({}, (input.ResourceARN
|
|
1863
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1InputTagKeys(input.TagKeys, context) }));
|
|
1859
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.TagKeys != null && { TagKeys: serializeAws_json1_1InputTagKeys(input.TagKeys, context) }));
|
|
1864
1860
|
};
|
|
1865
1861
|
var deserializeAws_json1_1AccessDeniedException = function (output, context) {
|
|
1866
1862
|
return {
|
|
@@ -1899,31 +1895,26 @@ var deserializeAws_json1_1GetAssociationForServiceQuotaTemplateResponse = functi
|
|
|
1899
1895
|
};
|
|
1900
1896
|
var deserializeAws_json1_1GetAWSDefaultServiceQuotaResponse = function (output, context) {
|
|
1901
1897
|
return {
|
|
1902
|
-
Quota: output.Quota
|
|
1903
|
-
? deserializeAws_json1_1ServiceQuota(output.Quota, context)
|
|
1904
|
-
: undefined,
|
|
1898
|
+
Quota: output.Quota != null ? deserializeAws_json1_1ServiceQuota(output.Quota, context) : undefined,
|
|
1905
1899
|
};
|
|
1906
1900
|
};
|
|
1907
1901
|
var deserializeAws_json1_1GetRequestedServiceQuotaChangeResponse = function (output, context) {
|
|
1908
1902
|
return {
|
|
1909
|
-
RequestedQuota: output.RequestedQuota
|
|
1903
|
+
RequestedQuota: output.RequestedQuota != null
|
|
1910
1904
|
? deserializeAws_json1_1RequestedServiceQuotaChange(output.RequestedQuota, context)
|
|
1911
1905
|
: undefined,
|
|
1912
1906
|
};
|
|
1913
1907
|
};
|
|
1914
1908
|
var deserializeAws_json1_1GetServiceQuotaIncreaseRequestFromTemplateResponse = function (output, context) {
|
|
1915
1909
|
return {
|
|
1916
|
-
ServiceQuotaIncreaseRequestInTemplate: output.ServiceQuotaIncreaseRequestInTemplate
|
|
1917
|
-
output.ServiceQuotaIncreaseRequestInTemplate !== null
|
|
1910
|
+
ServiceQuotaIncreaseRequestInTemplate: output.ServiceQuotaIncreaseRequestInTemplate != null
|
|
1918
1911
|
? deserializeAws_json1_1ServiceQuotaIncreaseRequestInTemplate(output.ServiceQuotaIncreaseRequestInTemplate, context)
|
|
1919
1912
|
: undefined,
|
|
1920
1913
|
};
|
|
1921
1914
|
};
|
|
1922
1915
|
var deserializeAws_json1_1GetServiceQuotaResponse = function (output, context) {
|
|
1923
1916
|
return {
|
|
1924
|
-
Quota: output.Quota
|
|
1925
|
-
? deserializeAws_json1_1ServiceQuota(output.Quota, context)
|
|
1926
|
-
: undefined,
|
|
1917
|
+
Quota: output.Quota != null ? deserializeAws_json1_1ServiceQuota(output.Quota, context) : undefined,
|
|
1927
1918
|
};
|
|
1928
1919
|
};
|
|
1929
1920
|
var deserializeAws_json1_1IllegalArgumentException = function (output, context) {
|
|
@@ -1944,15 +1935,13 @@ var deserializeAws_json1_1InvalidResourceStateException = function (output, cont
|
|
|
1944
1935
|
var deserializeAws_json1_1ListAWSDefaultServiceQuotasResponse = function (output, context) {
|
|
1945
1936
|
return {
|
|
1946
1937
|
NextToken: __expectString(output.NextToken),
|
|
1947
|
-
Quotas: output.Quotas
|
|
1948
|
-
? deserializeAws_json1_1ServiceQuotaListDefinition(output.Quotas, context)
|
|
1949
|
-
: undefined,
|
|
1938
|
+
Quotas: output.Quotas != null ? deserializeAws_json1_1ServiceQuotaListDefinition(output.Quotas, context) : undefined,
|
|
1950
1939
|
};
|
|
1951
1940
|
};
|
|
1952
1941
|
var deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryByQuotaResponse = function (output, context) {
|
|
1953
1942
|
return {
|
|
1954
1943
|
NextToken: __expectString(output.NextToken),
|
|
1955
|
-
RequestedQuotas: output.RequestedQuotas
|
|
1944
|
+
RequestedQuotas: output.RequestedQuotas != null
|
|
1956
1945
|
? deserializeAws_json1_1RequestedServiceQuotaChangeHistoryListDefinition(output.RequestedQuotas, context)
|
|
1957
1946
|
: undefined,
|
|
1958
1947
|
};
|
|
@@ -1960,7 +1949,7 @@ var deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryByQuotaResponse
|
|
|
1960
1949
|
var deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryResponse = function (output, context) {
|
|
1961
1950
|
return {
|
|
1962
1951
|
NextToken: __expectString(output.NextToken),
|
|
1963
|
-
RequestedQuotas: output.RequestedQuotas
|
|
1952
|
+
RequestedQuotas: output.RequestedQuotas != null
|
|
1964
1953
|
? deserializeAws_json1_1RequestedServiceQuotaChangeHistoryListDefinition(output.RequestedQuotas, context)
|
|
1965
1954
|
: undefined,
|
|
1966
1955
|
};
|
|
@@ -1968,8 +1957,7 @@ var deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryResponse = funct
|
|
|
1968
1957
|
var deserializeAws_json1_1ListServiceQuotaIncreaseRequestsInTemplateResponse = function (output, context) {
|
|
1969
1958
|
return {
|
|
1970
1959
|
NextToken: __expectString(output.NextToken),
|
|
1971
|
-
ServiceQuotaIncreaseRequestInTemplateList: output.ServiceQuotaIncreaseRequestInTemplateList
|
|
1972
|
-
output.ServiceQuotaIncreaseRequestInTemplateList !== null
|
|
1960
|
+
ServiceQuotaIncreaseRequestInTemplateList: output.ServiceQuotaIncreaseRequestInTemplateList != null
|
|
1973
1961
|
? deserializeAws_json1_1ServiceQuotaIncreaseRequestInTemplateList(output.ServiceQuotaIncreaseRequestInTemplateList, context)
|
|
1974
1962
|
: undefined,
|
|
1975
1963
|
};
|
|
@@ -1977,24 +1965,18 @@ var deserializeAws_json1_1ListServiceQuotaIncreaseRequestsInTemplateResponse = f
|
|
|
1977
1965
|
var deserializeAws_json1_1ListServiceQuotasResponse = function (output, context) {
|
|
1978
1966
|
return {
|
|
1979
1967
|
NextToken: __expectString(output.NextToken),
|
|
1980
|
-
Quotas: output.Quotas
|
|
1981
|
-
? deserializeAws_json1_1ServiceQuotaListDefinition(output.Quotas, context)
|
|
1982
|
-
: undefined,
|
|
1968
|
+
Quotas: output.Quotas != null ? deserializeAws_json1_1ServiceQuotaListDefinition(output.Quotas, context) : undefined,
|
|
1983
1969
|
};
|
|
1984
1970
|
};
|
|
1985
1971
|
var deserializeAws_json1_1ListServicesResponse = function (output, context) {
|
|
1986
1972
|
return {
|
|
1987
1973
|
NextToken: __expectString(output.NextToken),
|
|
1988
|
-
Services: output.Services
|
|
1989
|
-
? deserializeAws_json1_1ServiceInfoListDefinition(output.Services, context)
|
|
1990
|
-
: undefined,
|
|
1974
|
+
Services: output.Services != null ? deserializeAws_json1_1ServiceInfoListDefinition(output.Services, context) : undefined,
|
|
1991
1975
|
};
|
|
1992
1976
|
};
|
|
1993
1977
|
var deserializeAws_json1_1ListTagsForResourceResponse = function (output, context) {
|
|
1994
1978
|
return {
|
|
1995
|
-
Tags: output.Tags
|
|
1996
|
-
? deserializeAws_json1_1OutputTags(output.Tags, context)
|
|
1997
|
-
: undefined,
|
|
1979
|
+
Tags: output.Tags != null ? deserializeAws_json1_1OutputTags(output.Tags, context) : undefined,
|
|
1998
1980
|
};
|
|
1999
1981
|
};
|
|
2000
1982
|
var deserializeAws_json1_1MetricDimensionsMapDefinition = function (output, context) {
|
|
@@ -2009,7 +1991,7 @@ var deserializeAws_json1_1MetricDimensionsMapDefinition = function (output, cont
|
|
|
2009
1991
|
};
|
|
2010
1992
|
var deserializeAws_json1_1MetricInfo = function (output, context) {
|
|
2011
1993
|
return {
|
|
2012
|
-
MetricDimensions: output.MetricDimensions
|
|
1994
|
+
MetricDimensions: output.MetricDimensions != null
|
|
2013
1995
|
? deserializeAws_json1_1MetricDimensionsMapDefinition(output.MetricDimensions, context)
|
|
2014
1996
|
: undefined,
|
|
2015
1997
|
MetricName: __expectString(output.MetricName),
|
|
@@ -2045,8 +2027,7 @@ var deserializeAws_json1_1OutputTags = function (output, context) {
|
|
|
2045
2027
|
};
|
|
2046
2028
|
var deserializeAws_json1_1PutServiceQuotaIncreaseRequestIntoTemplateResponse = function (output, context) {
|
|
2047
2029
|
return {
|
|
2048
|
-
ServiceQuotaIncreaseRequestInTemplate: output.ServiceQuotaIncreaseRequestInTemplate
|
|
2049
|
-
output.ServiceQuotaIncreaseRequestInTemplate !== null
|
|
2030
|
+
ServiceQuotaIncreaseRequestInTemplate: output.ServiceQuotaIncreaseRequestInTemplate != null
|
|
2050
2031
|
? deserializeAws_json1_1ServiceQuotaIncreaseRequestInTemplate(output.ServiceQuotaIncreaseRequestInTemplate, context)
|
|
2051
2032
|
: undefined,
|
|
2052
2033
|
};
|
|
@@ -2065,13 +2046,11 @@ var deserializeAws_json1_1QuotaPeriod = function (output, context) {
|
|
|
2065
2046
|
var deserializeAws_json1_1RequestedServiceQuotaChange = function (output, context) {
|
|
2066
2047
|
return {
|
|
2067
2048
|
CaseId: __expectString(output.CaseId),
|
|
2068
|
-
Created: output.Created
|
|
2069
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Created)))
|
|
2070
|
-
: undefined,
|
|
2049
|
+
Created: output.Created != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Created))) : undefined,
|
|
2071
2050
|
DesiredValue: __limitedParseDouble(output.DesiredValue),
|
|
2072
2051
|
GlobalQuota: __expectBoolean(output.GlobalQuota),
|
|
2073
2052
|
Id: __expectString(output.Id),
|
|
2074
|
-
LastUpdated: output.LastUpdated
|
|
2053
|
+
LastUpdated: output.LastUpdated != null
|
|
2075
2054
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdated)))
|
|
2076
2055
|
: undefined,
|
|
2077
2056
|
QuotaArn: __expectString(output.QuotaArn),
|
|
@@ -2097,7 +2076,7 @@ var deserializeAws_json1_1RequestedServiceQuotaChangeHistoryListDefinition = fun
|
|
|
2097
2076
|
};
|
|
2098
2077
|
var deserializeAws_json1_1RequestServiceQuotaIncreaseResponse = function (output, context) {
|
|
2099
2078
|
return {
|
|
2100
|
-
RequestedQuota: output.RequestedQuota
|
|
2079
|
+
RequestedQuota: output.RequestedQuota != null
|
|
2101
2080
|
? deserializeAws_json1_1RequestedServiceQuotaChange(output.RequestedQuota, context)
|
|
2102
2081
|
: undefined,
|
|
2103
2082
|
};
|
|
@@ -2132,22 +2111,16 @@ var deserializeAws_json1_1ServiceInfoListDefinition = function (output, context)
|
|
|
2132
2111
|
var deserializeAws_json1_1ServiceQuota = function (output, context) {
|
|
2133
2112
|
return {
|
|
2134
2113
|
Adjustable: __expectBoolean(output.Adjustable),
|
|
2135
|
-
ErrorReason: output.ErrorReason
|
|
2136
|
-
? deserializeAws_json1_1ErrorReason(output.ErrorReason, context)
|
|
2137
|
-
: undefined,
|
|
2114
|
+
ErrorReason: output.ErrorReason != null ? deserializeAws_json1_1ErrorReason(output.ErrorReason, context) : undefined,
|
|
2138
2115
|
GlobalQuota: __expectBoolean(output.GlobalQuota),
|
|
2139
|
-
Period: output.Period
|
|
2140
|
-
? deserializeAws_json1_1QuotaPeriod(output.Period, context)
|
|
2141
|
-
: undefined,
|
|
2116
|
+
Period: output.Period != null ? deserializeAws_json1_1QuotaPeriod(output.Period, context) : undefined,
|
|
2142
2117
|
QuotaArn: __expectString(output.QuotaArn),
|
|
2143
2118
|
QuotaCode: __expectString(output.QuotaCode),
|
|
2144
2119
|
QuotaName: __expectString(output.QuotaName),
|
|
2145
2120
|
ServiceCode: __expectString(output.ServiceCode),
|
|
2146
2121
|
ServiceName: __expectString(output.ServiceName),
|
|
2147
2122
|
Unit: __expectString(output.Unit),
|
|
2148
|
-
UsageMetric: output.UsageMetric
|
|
2149
|
-
? deserializeAws_json1_1MetricInfo(output.UsageMetric, context)
|
|
2150
|
-
: undefined,
|
|
2123
|
+
UsageMetric: output.UsageMetric != null ? deserializeAws_json1_1MetricInfo(output.UsageMetric, context) : undefined,
|
|
2151
2124
|
Value: __limitedParseDouble(output.Value),
|
|
2152
2125
|
};
|
|
2153
2126
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-service-quotas",
|
|
3
3
|
"description": "AWS SDK for JavaScript Service Quotas Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.127.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,35 +18,35 @@
|
|
|
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.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
31
|
-
"@aws-sdk/middleware-retry": "3.
|
|
32
|
-
"@aws-sdk/middleware-serde": "3.
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
34
|
-
"@aws-sdk/middleware-stack": "3.
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
-
"@aws-sdk/node-config-provider": "3.
|
|
37
|
-
"@aws-sdk/node-http-handler": "3.
|
|
38
|
-
"@aws-sdk/protocol-http": "3.
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
40
|
-
"@aws-sdk/types": "3.
|
|
41
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.127.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.127.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.127.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.127.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.127.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.127.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.127.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.127.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.127.0",
|
|
31
|
+
"@aws-sdk/middleware-retry": "3.127.0",
|
|
32
|
+
"@aws-sdk/middleware-serde": "3.127.0",
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.127.0",
|
|
34
|
+
"@aws-sdk/middleware-stack": "3.127.0",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.127.0",
|
|
36
|
+
"@aws-sdk/node-config-provider": "3.127.0",
|
|
37
|
+
"@aws-sdk/node-http-handler": "3.127.0",
|
|
38
|
+
"@aws-sdk/protocol-http": "3.127.0",
|
|
39
|
+
"@aws-sdk/smithy-client": "3.127.0",
|
|
40
|
+
"@aws-sdk/types": "3.127.0",
|
|
41
|
+
"@aws-sdk/url-parser": "3.127.0",
|
|
42
42
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.127.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.127.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
51
51
|
"@aws-sdk/util-utf8-node": "3.109.0",
|
|
52
52
|
"tslib": "^2.3.1"
|