@aws-sdk/client-cloudfront 3.696.0 → 3.698.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.
Files changed (70) hide show
  1. package/README.md +88 -0
  2. package/dist-cjs/index.js +988 -197
  3. package/dist-es/CloudFront.js +22 -0
  4. package/dist-es/commands/CreateAnycastIpListCommand.js +22 -0
  5. package/dist-es/commands/CreateVpcOriginCommand.js +22 -0
  6. package/dist-es/commands/DeleteAnycastIpListCommand.js +22 -0
  7. package/dist-es/commands/DeleteVpcOriginCommand.js +22 -0
  8. package/dist-es/commands/GetAnycastIpListCommand.js +22 -0
  9. package/dist-es/commands/GetVpcOriginCommand.js +22 -0
  10. package/dist-es/commands/ListAnycastIpListsCommand.js +22 -0
  11. package/dist-es/commands/ListDistributionsByAnycastIpListIdCommand.js +23 -0
  12. package/dist-es/commands/ListDistributionsByVpcOriginIdCommand.js +22 -0
  13. package/dist-es/commands/ListVpcOriginsCommand.js +22 -0
  14. package/dist-es/commands/UpdateVpcOriginCommand.js +22 -0
  15. package/dist-es/commands/index.js +11 -0
  16. package/dist-es/models/models_0.js +82 -52
  17. package/dist-es/models/models_1.js +3 -13
  18. package/dist-es/protocols/Aws_restXml.js +648 -66
  19. package/dist-types/CloudFront.d.ts +79 -0
  20. package/dist-types/CloudFrontClient.d.ts +13 -2
  21. package/dist-types/commands/CopyDistributionCommand.d.ts +15 -4
  22. package/dist-types/commands/CreateAnycastIpListCommand.d.ts +110 -0
  23. package/dist-types/commands/CreateDistributionCommand.d.ts +33 -8
  24. package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +33 -8
  25. package/dist-types/commands/CreateKeyValueStoreCommand.d.ts +4 -4
  26. package/dist-types/commands/CreateVpcOriginCommand.d.ts +186 -0
  27. package/dist-types/commands/DeleteAnycastIpListCommand.d.ts +95 -0
  28. package/dist-types/commands/DeleteCachePolicyCommand.d.ts +1 -1
  29. package/dist-types/commands/DeleteKeyValueStoreCommand.d.ts +2 -2
  30. package/dist-types/commands/DeleteOriginRequestPolicyCommand.d.ts +1 -1
  31. package/dist-types/commands/DeleteResponseHeadersPolicyCommand.d.ts +1 -1
  32. package/dist-types/commands/DeleteVpcOriginCommand.d.ts +155 -0
  33. package/dist-types/commands/DescribeKeyValueStoreCommand.d.ts +1 -1
  34. package/dist-types/commands/GetAnycastIpListCommand.d.ts +94 -0
  35. package/dist-types/commands/GetDistributionCommand.d.ts +15 -4
  36. package/dist-types/commands/GetDistributionConfigCommand.d.ts +15 -4
  37. package/dist-types/commands/GetVpcOriginCommand.d.ts +140 -0
  38. package/dist-types/commands/ListAnycastIpListsCommand.d.ts +100 -0
  39. package/dist-types/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +393 -0
  40. package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +11 -0
  41. package/dist-types/commands/ListDistributionsByVpcOriginIdCommand.d.ts +116 -0
  42. package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +11 -0
  43. package/dist-types/commands/ListDistributionsCommand.d.ts +11 -0
  44. package/dist-types/commands/ListVpcOriginsCommand.d.ts +131 -0
  45. package/dist-types/commands/UpdateDistributionCommand.d.ts +33 -8
  46. package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +18 -4
  47. package/dist-types/commands/UpdateKeyValueStoreCommand.d.ts +1 -1
  48. package/dist-types/commands/UpdateVpcOriginCommand.d.ts +193 -0
  49. package/dist-types/commands/index.d.ts +11 -0
  50. package/dist-types/models/models_0.d.ts +361 -383
  51. package/dist-types/models/models_1.d.ts +733 -25
  52. package/dist-types/protocols/Aws_restXml.d.ts +99 -0
  53. package/dist-types/ts3.4/CloudFront.d.ts +195 -0
  54. package/dist-types/ts3.4/CloudFrontClient.d.ts +68 -2
  55. package/dist-types/ts3.4/commands/CreateAnycastIpListCommand.d.ts +51 -0
  56. package/dist-types/ts3.4/commands/CreateVpcOriginCommand.d.ts +50 -0
  57. package/dist-types/ts3.4/commands/DeleteAnycastIpListCommand.d.ts +46 -0
  58. package/dist-types/ts3.4/commands/DeleteVpcOriginCommand.d.ts +50 -0
  59. package/dist-types/ts3.4/commands/GetAnycastIpListCommand.d.ts +50 -0
  60. package/dist-types/ts3.4/commands/GetVpcOriginCommand.d.ts +47 -0
  61. package/dist-types/ts3.4/commands/ListAnycastIpListsCommand.d.ts +51 -0
  62. package/dist-types/ts3.4/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +51 -0
  63. package/dist-types/ts3.4/commands/ListDistributionsByVpcOriginIdCommand.d.ts +51 -0
  64. package/dist-types/ts3.4/commands/ListVpcOriginsCommand.d.ts +50 -0
  65. package/dist-types/ts3.4/commands/UpdateVpcOriginCommand.d.ts +50 -0
  66. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  67. package/dist-types/ts3.4/models/models_0.d.ts +106 -93
  68. package/dist-types/ts3.4/models/models_1.d.ts +171 -13
  69. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +132 -0
  70. package/package.json +1 -1
@@ -3,8 +3,8 @@ import { XmlNode as __XmlNode } from "@aws-sdk/xml-builder";
3
3
  import { requestBuilder as rb } from "@smithy/core";
4
4
  import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, getArrayIfSingleItem as __getArrayIfSingleItem, isSerializableHeaderValue, map, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@smithy/smithy-client";
5
5
  import { CloudFrontServiceException as __BaseException } from "../models/CloudFrontServiceException";
6
- import { AccessDenied, BatchTooLarge, CachePolicyAlreadyExists, CachePolicyInUse, CannotChangeImmutablePublicKeyFields, CannotDeleteEntityWhileInUse, CloudFrontOriginAccessIdentityAlreadyExists, CNAMEAlreadyExists, ContinuousDeploymentPolicyAlreadyExists, ContinuousDeploymentPolicyInUse, DistributionAlreadyExists, EntityAlreadyExists, EntityLimitExceeded, EntitySizeLimitExceeded, FieldLevelEncryptionConfigAlreadyExists, FieldLevelEncryptionProfileAlreadyExists, FieldLevelEncryptionProfileSizeExceeded, FunctionAlreadyExists, FunctionSizeLimitExceeded, IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior, IllegalOriginAccessConfiguration, IllegalUpdate, InconsistentQuantities, InvalidArgument, InvalidDefaultRootObject, InvalidDomainNameForOriginAccessControl, InvalidErrorCode, InvalidForwardCookies, InvalidFunctionAssociation, InvalidGeoRestrictionParameter, InvalidHeadersForS3Origin, InvalidIfMatchVersion, InvalidLambdaFunctionAssociation, InvalidLocationCode, InvalidMinimumProtocolVersion, InvalidOrigin, InvalidOriginAccessControl, InvalidOriginAccessIdentity, InvalidOriginKeepaliveTimeout, InvalidOriginReadTimeout, InvalidProtocolSettings, InvalidQueryStringParameters, InvalidRelativePath, InvalidRequiredProtocol, InvalidResponseCode, InvalidTagging, InvalidTTLOrder, InvalidViewerCertificate, InvalidWebACLId, KeyGroupAlreadyExists, MissingBody, MonitoringSubscriptionAlreadyExists, NoSuchCachePolicy, NoSuchContinuousDeploymentPolicy, NoSuchDistribution, NoSuchFieldLevelEncryptionConfig, NoSuchFieldLevelEncryptionProfile, NoSuchOrigin, NoSuchOriginRequestPolicy, NoSuchPublicKey, NoSuchRealtimeLogConfig, NoSuchResponseHeadersPolicy, OriginAccessControlAlreadyExists, OriginRequestPolicyAlreadyExists, PreconditionFailed, PublicKeyAlreadyExists, QueryArgProfileEmpty, RealtimeLogConfigAlreadyExists, RealtimeLogConfigOwnerMismatch, StagingDistributionInUse, TooManyCacheBehaviors, TooManyCachePolicies, TooManyCertificates, TooManyCloudFrontOriginAccessIdentities, TooManyContinuousDeploymentPolicies, TooManyCookieNamesInWhiteList, TooManyCookiesInCachePolicy, TooManyCookiesInOriginRequestPolicy, TooManyDistributionCNAMEs, TooManyDistributions, TooManyDistributionsAssociatedToCachePolicy, TooManyDistributionsAssociatedToFieldLevelEncryptionConfig, TooManyDistributionsAssociatedToKeyGroup, TooManyDistributionsAssociatedToOriginAccessControl, TooManyDistributionsAssociatedToOriginRequestPolicy, TooManyDistributionsAssociatedToResponseHeadersPolicy, TooManyDistributionsWithFunctionAssociations, TooManyDistributionsWithLambdaAssociations, TooManyDistributionsWithSingleFunctionARN, TooManyFieldLevelEncryptionConfigs, TooManyFieldLevelEncryptionContentTypeProfiles, TooManyFieldLevelEncryptionEncryptionEntities, TooManyFieldLevelEncryptionFieldPatterns, TooManyFieldLevelEncryptionProfiles, TooManyFieldLevelEncryptionQueryArgProfiles, TooManyFunctionAssociations, TooManyFunctions, TooManyHeadersInCachePolicy, TooManyHeadersInForwardedValues, TooManyHeadersInOriginRequestPolicy, TooManyInvalidationsInProgress, TooManyKeyGroups, TooManyKeyGroupsAssociatedToDistribution, TooManyLambdaFunctionAssociations, TooManyOriginAccessControls, TooManyOriginCustomHeaders, TooManyOriginGroupsPerDistribution, TooManyOriginRequestPolicies, TooManyOrigins, TooManyPublicKeys, TooManyPublicKeysInKeyGroup, TooManyQueryStringParameters, TooManyQueryStringsInCachePolicy, TooManyQueryStringsInOriginRequestPolicy, TooManyRealtimeLogConfigs, TooManyTrustedSigners, TrustedKeyGroupDoesNotExist, TrustedSignerDoesNotExist, UnsupportedOperation, } from "../models/models_0";
7
- import { CloudFrontOriginAccessIdentityInUse, DistributionNotDisabled, EntityNotFound, FieldLevelEncryptionConfigInUse, FieldLevelEncryptionProfileInUse, FunctionInUse, IllegalDelete, NoSuchCloudFrontOriginAccessIdentity, NoSuchFunctionExists, NoSuchInvalidation, NoSuchMonitoringSubscription, NoSuchOriginAccessControl, NoSuchResource, NoSuchStreamingDistribution, OriginAccessControlInUse, OriginRequestPolicyInUse, PublicKeyInUse, RealtimeLogConfigInUse, ResourceInUse, ResponseHeadersPolicyAlreadyExists, ResponseHeadersPolicyInUse, StreamingDistributionAlreadyExists, StreamingDistributionNotDisabled, TestFunctionFailed, TooLongCSPInResponseHeadersPolicy, TooManyCustomHeadersInResponseHeadersPolicy, TooManyRemoveHeadersInResponseHeadersPolicy, TooManyResponseHeadersPolicies, TooManyStreamingDistributionCNAMEs, TooManyStreamingDistributions, } from "../models/models_1";
6
+ import { AccessDenied, BatchTooLarge, CachePolicyAlreadyExists, CachePolicyInUse, CannotChangeImmutablePublicKeyFields, CannotDeleteEntityWhileInUse, CannotUpdateEntityWhileInUse, CloudFrontOriginAccessIdentityAlreadyExists, CNAMEAlreadyExists, ContinuousDeploymentPolicyAlreadyExists, ContinuousDeploymentPolicyInUse, DistributionAlreadyExists, EntityAlreadyExists, EntityLimitExceeded, EntityNotFound, EntitySizeLimitExceeded, FieldLevelEncryptionConfigAlreadyExists, FieldLevelEncryptionProfileAlreadyExists, FieldLevelEncryptionProfileSizeExceeded, FunctionAlreadyExists, FunctionSizeLimitExceeded, IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior, IllegalOriginAccessConfiguration, IllegalUpdate, InconsistentQuantities, InvalidArgument, InvalidDefaultRootObject, InvalidDomainNameForOriginAccessControl, InvalidErrorCode, InvalidForwardCookies, InvalidFunctionAssociation, InvalidGeoRestrictionParameter, InvalidHeadersForS3Origin, InvalidIfMatchVersion, InvalidLambdaFunctionAssociation, InvalidLocationCode, InvalidMinimumProtocolVersion, InvalidOrigin, InvalidOriginAccessControl, InvalidOriginAccessIdentity, InvalidOriginKeepaliveTimeout, InvalidOriginReadTimeout, InvalidProtocolSettings, InvalidQueryStringParameters, InvalidRelativePath, InvalidRequiredProtocol, InvalidResponseCode, InvalidTagging, InvalidTTLOrder, InvalidViewerCertificate, InvalidWebACLId, KeyGroupAlreadyExists, MissingBody, MonitoringSubscriptionAlreadyExists, NoSuchCachePolicy, NoSuchContinuousDeploymentPolicy, NoSuchDistribution, NoSuchFieldLevelEncryptionConfig, NoSuchFieldLevelEncryptionProfile, NoSuchOrigin, NoSuchOriginRequestPolicy, NoSuchPublicKey, NoSuchRealtimeLogConfig, NoSuchResponseHeadersPolicy, OriginAccessControlAlreadyExists, OriginRequestPolicyAlreadyExists, PreconditionFailed, PublicKeyAlreadyExists, QueryArgProfileEmpty, RealtimeLogConfigAlreadyExists, RealtimeLogConfigOwnerMismatch, StagingDistributionInUse, TooManyCacheBehaviors, TooManyCachePolicies, TooManyCertificates, TooManyCloudFrontOriginAccessIdentities, TooManyContinuousDeploymentPolicies, TooManyCookieNamesInWhiteList, TooManyCookiesInCachePolicy, TooManyCookiesInOriginRequestPolicy, TooManyDistributionCNAMEs, TooManyDistributions, TooManyDistributionsAssociatedToCachePolicy, TooManyDistributionsAssociatedToFieldLevelEncryptionConfig, TooManyDistributionsAssociatedToKeyGroup, TooManyDistributionsAssociatedToOriginAccessControl, TooManyDistributionsAssociatedToOriginRequestPolicy, TooManyDistributionsAssociatedToResponseHeadersPolicy, TooManyDistributionsWithFunctionAssociations, TooManyDistributionsWithLambdaAssociations, TooManyDistributionsWithSingleFunctionARN, TooManyFieldLevelEncryptionConfigs, TooManyFieldLevelEncryptionContentTypeProfiles, TooManyFieldLevelEncryptionEncryptionEntities, TooManyFieldLevelEncryptionFieldPatterns, TooManyFieldLevelEncryptionProfiles, TooManyFieldLevelEncryptionQueryArgProfiles, TooManyFunctionAssociations, TooManyFunctions, TooManyHeadersInCachePolicy, TooManyHeadersInForwardedValues, TooManyHeadersInOriginRequestPolicy, TooManyInvalidationsInProgress, TooManyKeyGroups, TooManyKeyGroupsAssociatedToDistribution, TooManyLambdaFunctionAssociations, TooManyOriginAccessControls, TooManyOriginCustomHeaders, TooManyOriginGroupsPerDistribution, TooManyOriginRequestPolicies, TooManyOrigins, TooManyPublicKeys, TooManyPublicKeysInKeyGroup, TooManyQueryStringParameters, TooManyQueryStringsInCachePolicy, TooManyQueryStringsInOriginRequestPolicy, TooManyRealtimeLogConfigs, TooManyTrustedSigners, TrustedKeyGroupDoesNotExist, TrustedSignerDoesNotExist, UnsupportedOperation, } from "../models/models_0";
7
+ import { CloudFrontOriginAccessIdentityInUse, DistributionNotDisabled, FieldLevelEncryptionConfigInUse, FieldLevelEncryptionProfileInUse, FunctionInUse, IllegalDelete, NoSuchCloudFrontOriginAccessIdentity, NoSuchFunctionExists, NoSuchInvalidation, NoSuchMonitoringSubscription, NoSuchOriginAccessControl, NoSuchResource, NoSuchStreamingDistribution, OriginAccessControlInUse, OriginRequestPolicyInUse, PublicKeyInUse, RealtimeLogConfigInUse, ResourceInUse, ResponseHeadersPolicyAlreadyExists, ResponseHeadersPolicyInUse, StreamingDistributionAlreadyExists, StreamingDistributionNotDisabled, TestFunctionFailed, TooLongCSPInResponseHeadersPolicy, TooManyCustomHeadersInResponseHeadersPolicy, TooManyRemoveHeadersInResponseHeadersPolicy, TooManyResponseHeadersPolicies, TooManyStreamingDistributionCNAMEs, TooManyStreamingDistributions, } from "../models/models_1";
8
8
  export const se_AssociateAliasCommand = async (input, context) => {
9
9
  const b = rb(input, context);
10
10
  const headers = {};
@@ -40,6 +40,29 @@ export const se_CopyDistributionCommand = async (input, context) => {
40
40
  b.m("POST").h(headers).b(body);
41
41
  return b.build();
42
42
  };
43
+ export const se_CreateAnycastIpListCommand = async (input, context) => {
44
+ const b = rb(input, context);
45
+ const headers = {
46
+ "content-type": "application/xml",
47
+ };
48
+ b.bp("/2020-05-31/anycast-ip-list");
49
+ let body;
50
+ body = _ve;
51
+ const bn = new __XmlNode(_CAILR);
52
+ bn.a("xmlns", "http://cloudfront.amazonaws.com/doc/2020-05-31/");
53
+ if (input[_IC] != null) {
54
+ bn.c(__XmlNode.of(_i, String(input[_IC])).n(_IC));
55
+ }
56
+ if (input[_N] != null) {
57
+ bn.c(__XmlNode.of(_AILN, input[_N]).n(_N));
58
+ }
59
+ if (input[_T] != null) {
60
+ bn.c(se_Tags(input[_T], context).n(_T));
61
+ }
62
+ body += bn.toString();
63
+ b.m("POST").h(headers).b(body);
64
+ return b.build();
65
+ };
43
66
  export const se_CreateCachePolicyCommand = async (input, context) => {
44
67
  const b = rb(input, context);
45
68
  const headers = {
@@ -388,6 +411,37 @@ export const se_CreateStreamingDistributionWithTagsCommand = async (input, conte
388
411
  b.m("POST").h(headers).q(query).b(body);
389
412
  return b.build();
390
413
  };
414
+ export const se_CreateVpcOriginCommand = async (input, context) => {
415
+ const b = rb(input, context);
416
+ const headers = {
417
+ "content-type": "application/xml",
418
+ };
419
+ b.bp("/2020-05-31/vpc-origin");
420
+ let body;
421
+ body = _ve;
422
+ const bn = new __XmlNode(_CVOR);
423
+ bn.a("xmlns", "http://cloudfront.amazonaws.com/doc/2020-05-31/");
424
+ if (input[_T] != null) {
425
+ bn.c(se_Tags(input[_T], context).n(_T));
426
+ }
427
+ if (input[_VOEC] != null) {
428
+ bn.c(se_VpcOriginEndpointConfig(input[_VOEC], context).n(_VOEC));
429
+ }
430
+ body += bn.toString();
431
+ b.m("POST").h(headers).b(body);
432
+ return b.build();
433
+ };
434
+ export const se_DeleteAnycastIpListCommand = async (input, context) => {
435
+ const b = rb(input, context);
436
+ const headers = map({}, isSerializableHeaderValue, {
437
+ [_im]: input[_IM],
438
+ });
439
+ b.bp("/2020-05-31/anycast-ip-list/{Id}");
440
+ b.p("Id", () => input.Id, "{Id}", false);
441
+ let body;
442
+ b.m("DELETE").h(headers).b(body);
443
+ return b.build();
444
+ };
391
445
  export const se_DeleteCachePolicyCommand = async (input, context) => {
392
446
  const b = rb(input, context);
393
447
  const headers = map({}, isSerializableHeaderValue, {
@@ -571,6 +625,17 @@ export const se_DeleteStreamingDistributionCommand = async (input, context) => {
571
625
  b.m("DELETE").h(headers).b(body);
572
626
  return b.build();
573
627
  };
628
+ export const se_DeleteVpcOriginCommand = async (input, context) => {
629
+ const b = rb(input, context);
630
+ const headers = map({}, isSerializableHeaderValue, {
631
+ [_im]: input[_IM],
632
+ });
633
+ b.bp("/2020-05-31/vpc-origin/{Id}");
634
+ b.p("Id", () => input.Id, "{Id}", false);
635
+ let body;
636
+ b.m("DELETE").h(headers).b(body);
637
+ return b.build();
638
+ };
574
639
  export const se_DescribeFunctionCommand = async (input, context) => {
575
640
  const b = rb(input, context);
576
641
  const headers = {};
@@ -592,6 +657,15 @@ export const se_DescribeKeyValueStoreCommand = async (input, context) => {
592
657
  b.m("GET").h(headers).b(body);
593
658
  return b.build();
594
659
  };
660
+ export const se_GetAnycastIpListCommand = async (input, context) => {
661
+ const b = rb(input, context);
662
+ const headers = {};
663
+ b.bp("/2020-05-31/anycast-ip-list/{Id}");
664
+ b.p("Id", () => input.Id, "{Id}", false);
665
+ let body;
666
+ b.m("GET").h(headers).b(body);
667
+ return b.build();
668
+ };
595
669
  export const se_GetCachePolicyCommand = async (input, context) => {
596
670
  const b = rb(input, context);
597
671
  const headers = {};
@@ -859,12 +933,33 @@ export const se_GetStreamingDistributionConfigCommand = async (input, context) =
859
933
  b.m("GET").h(headers).b(body);
860
934
  return b.build();
861
935
  };
936
+ export const se_GetVpcOriginCommand = async (input, context) => {
937
+ const b = rb(input, context);
938
+ const headers = {};
939
+ b.bp("/2020-05-31/vpc-origin/{Id}");
940
+ b.p("Id", () => input.Id, "{Id}", false);
941
+ let body;
942
+ b.m("GET").h(headers).b(body);
943
+ return b.build();
944
+ };
945
+ export const se_ListAnycastIpListsCommand = async (input, context) => {
946
+ const b = rb(input, context);
947
+ const headers = {};
948
+ b.bp("/2020-05-31/anycast-ip-list");
949
+ const query = map({
950
+ [_M]: [, input[_M]],
951
+ [_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
952
+ });
953
+ let body;
954
+ b.m("GET").h(headers).q(query).b(body);
955
+ return b.build();
956
+ };
862
957
  export const se_ListCachePoliciesCommand = async (input, context) => {
863
958
  const b = rb(input, context);
864
959
  const headers = {};
865
960
  b.bp("/2020-05-31/cache-policy");
866
961
  const query = map({
867
- [_T]: [, input[_T]],
962
+ [_Ty]: [, input[_Ty]],
868
963
  [_M]: [, input[_M]],
869
964
  [_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
870
965
  });
@@ -922,6 +1017,19 @@ export const se_ListDistributionsCommand = async (input, context) => {
922
1017
  b.m("GET").h(headers).q(query).b(body);
923
1018
  return b.build();
924
1019
  };
1020
+ export const se_ListDistributionsByAnycastIpListIdCommand = async (input, context) => {
1021
+ const b = rb(input, context);
1022
+ const headers = {};
1023
+ b.bp("/2020-05-31/distributionsByAnycastIpListId/{AnycastIpListId}");
1024
+ b.p("AnycastIpListId", () => input.AnycastIpListId, "{AnycastIpListId}", false);
1025
+ const query = map({
1026
+ [_M]: [, input[_M]],
1027
+ [_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
1028
+ });
1029
+ let body;
1030
+ b.m("GET").h(headers).q(query).b(body);
1031
+ return b.build();
1032
+ };
925
1033
  export const se_ListDistributionsByCachePolicyIdCommand = async (input, context) => {
926
1034
  const b = rb(input, context);
927
1035
  const headers = {};
@@ -1000,6 +1108,19 @@ export const se_ListDistributionsByResponseHeadersPolicyIdCommand = async (input
1000
1108
  b.m("GET").h(headers).q(query).b(body);
1001
1109
  return b.build();
1002
1110
  };
1111
+ export const se_ListDistributionsByVpcOriginIdCommand = async (input, context) => {
1112
+ const b = rb(input, context);
1113
+ const headers = {};
1114
+ b.bp("/2020-05-31/distributionsByVpcOriginId/{VpcOriginId}");
1115
+ b.p("VpcOriginId", () => input.VpcOriginId, "{VpcOriginId}", false);
1116
+ const query = map({
1117
+ [_M]: [, input[_M]],
1118
+ [_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
1119
+ });
1120
+ let body;
1121
+ b.m("GET").h(headers).q(query).b(body);
1122
+ return b.build();
1123
+ };
1003
1124
  export const se_ListDistributionsByWebACLIdCommand = async (input, context) => {
1004
1125
  const b = rb(input, context);
1005
1126
  const headers = {};
@@ -1105,7 +1226,7 @@ export const se_ListOriginRequestPoliciesCommand = async (input, context) => {
1105
1226
  const headers = {};
1106
1227
  b.bp("/2020-05-31/origin-request-policy");
1107
1228
  const query = map({
1108
- [_T]: [, input[_T]],
1229
+ [_Ty]: [, input[_Ty]],
1109
1230
  [_M]: [, input[_M]],
1110
1231
  [_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
1111
1232
  });
@@ -1142,7 +1263,7 @@ export const se_ListResponseHeadersPoliciesCommand = async (input, context) => {
1142
1263
  const headers = {};
1143
1264
  b.bp("/2020-05-31/response-headers-policy");
1144
1265
  const query = map({
1145
- [_T]: [, input[_T]],
1266
+ [_Ty]: [, input[_Ty]],
1146
1267
  [_M]: [, input[_M]],
1147
1268
  [_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
1148
1269
  });
@@ -1173,6 +1294,18 @@ export const se_ListTagsForResourceCommand = async (input, context) => {
1173
1294
  b.m("GET").h(headers).q(query).b(body);
1174
1295
  return b.build();
1175
1296
  };
1297
+ export const se_ListVpcOriginsCommand = async (input, context) => {
1298
+ const b = rb(input, context);
1299
+ const headers = {};
1300
+ b.bp("/2020-05-31/vpc-origin");
1301
+ const query = map({
1302
+ [_M]: [, input[_M]],
1303
+ [_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
1304
+ });
1305
+ let body;
1306
+ b.m("GET").h(headers).q(query).b(body);
1307
+ return b.build();
1308
+ };
1176
1309
  export const se_PublishFunctionCommand = async (input, context) => {
1177
1310
  const b = rb(input, context);
1178
1311
  const headers = map({}, isSerializableHeaderValue, {
@@ -1556,6 +1689,25 @@ export const se_UpdateStreamingDistributionCommand = async (input, context) => {
1556
1689
  b.m("PUT").h(headers).b(body);
1557
1690
  return b.build();
1558
1691
  };
1692
+ export const se_UpdateVpcOriginCommand = async (input, context) => {
1693
+ const b = rb(input, context);
1694
+ const headers = map({}, isSerializableHeaderValue, {
1695
+ "content-type": "application/xml",
1696
+ [_im]: input[_IM],
1697
+ });
1698
+ b.bp("/2020-05-31/vpc-origin/{Id}");
1699
+ b.p("Id", () => input.Id, "{Id}", false);
1700
+ let body;
1701
+ let contents;
1702
+ if (input.VpcOriginEndpointConfig !== undefined) {
1703
+ contents = se_VpcOriginEndpointConfig(input.VpcOriginEndpointConfig, context);
1704
+ body = _ve;
1705
+ contents.a("xmlns", "http://cloudfront.amazonaws.com/doc/2020-05-31/");
1706
+ body += contents.toString();
1707
+ }
1708
+ b.m("PUT").h(headers).b(body);
1709
+ return b.build();
1710
+ };
1559
1711
  export const de_AssociateAliasCommand = async (output, context) => {
1560
1712
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1561
1713
  return de_CommandError(output, context);
@@ -1579,6 +1731,18 @@ export const de_CopyDistributionCommand = async (output, context) => {
1579
1731
  contents.Distribution = de_Distribution(data, context);
1580
1732
  return contents;
1581
1733
  };
1734
+ export const de_CreateAnycastIpListCommand = async (output, context) => {
1735
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
1736
+ return de_CommandError(output, context);
1737
+ }
1738
+ const contents = map({
1739
+ $metadata: deserializeMetadata(output),
1740
+ [_ET]: [, output.headers[_e]],
1741
+ });
1742
+ const data = __expectObject(await parseBody(output.body, context));
1743
+ contents.AnycastIpList = de_AnycastIpList(data, context);
1744
+ return contents;
1745
+ };
1582
1746
  export const de_CreateCachePolicyCommand = async (output, context) => {
1583
1747
  if (output.statusCode !== 201 && output.statusCode >= 300) {
1584
1748
  return de_CommandError(output, context);
@@ -1823,6 +1987,29 @@ export const de_CreateStreamingDistributionWithTagsCommand = async (output, cont
1823
1987
  contents.StreamingDistribution = de_StreamingDistribution(data, context);
1824
1988
  return contents;
1825
1989
  };
1990
+ export const de_CreateVpcOriginCommand = async (output, context) => {
1991
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
1992
+ return de_CommandError(output, context);
1993
+ }
1994
+ const contents = map({
1995
+ $metadata: deserializeMetadata(output),
1996
+ [_L]: [, output.headers[_lo]],
1997
+ [_ET]: [, output.headers[_e]],
1998
+ });
1999
+ const data = __expectObject(await parseBody(output.body, context));
2000
+ contents.VpcOrigin = de_VpcOrigin(data, context);
2001
+ return contents;
2002
+ };
2003
+ export const de_DeleteAnycastIpListCommand = async (output, context) => {
2004
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
2005
+ return de_CommandError(output, context);
2006
+ }
2007
+ const contents = map({
2008
+ $metadata: deserializeMetadata(output),
2009
+ });
2010
+ await collectBody(output.body, context);
2011
+ return contents;
2012
+ };
1826
2013
  export const de_DeleteCachePolicyCommand = async (output, context) => {
1827
2014
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1828
2015
  return de_CommandError(output, context);
@@ -1983,6 +2170,18 @@ export const de_DeleteStreamingDistributionCommand = async (output, context) =>
1983
2170
  await collectBody(output.body, context);
1984
2171
  return contents;
1985
2172
  };
2173
+ export const de_DeleteVpcOriginCommand = async (output, context) => {
2174
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
2175
+ return de_CommandError(output, context);
2176
+ }
2177
+ const contents = map({
2178
+ $metadata: deserializeMetadata(output),
2179
+ [_ET]: [, output.headers[_e]],
2180
+ });
2181
+ const data = __expectObject(await parseBody(output.body, context));
2182
+ contents.VpcOrigin = de_VpcOrigin(data, context);
2183
+ return contents;
2184
+ };
1986
2185
  export const de_DescribeFunctionCommand = async (output, context) => {
1987
2186
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1988
2187
  return de_CommandError(output, context);
@@ -2007,6 +2206,18 @@ export const de_DescribeKeyValueStoreCommand = async (output, context) => {
2007
2206
  contents.KeyValueStore = de_KeyValueStore(data, context);
2008
2207
  return contents;
2009
2208
  };
2209
+ export const de_GetAnycastIpListCommand = async (output, context) => {
2210
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2211
+ return de_CommandError(output, context);
2212
+ }
2213
+ const contents = map({
2214
+ $metadata: deserializeMetadata(output),
2215
+ [_ET]: [, output.headers[_e]],
2216
+ });
2217
+ const data = __expectObject(await parseBody(output.body, context));
2218
+ contents.AnycastIpList = de_AnycastIpList(data, context);
2219
+ return contents;
2220
+ };
2010
2221
  export const de_GetCachePolicyCommand = async (output, context) => {
2011
2222
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2012
2223
  return de_CommandError(output, context);
@@ -2343,6 +2554,29 @@ export const de_GetStreamingDistributionConfigCommand = async (output, context)
2343
2554
  contents.StreamingDistributionConfig = de_StreamingDistributionConfig(data, context);
2344
2555
  return contents;
2345
2556
  };
2557
+ export const de_GetVpcOriginCommand = async (output, context) => {
2558
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2559
+ return de_CommandError(output, context);
2560
+ }
2561
+ const contents = map({
2562
+ $metadata: deserializeMetadata(output),
2563
+ [_ET]: [, output.headers[_e]],
2564
+ });
2565
+ const data = __expectObject(await parseBody(output.body, context));
2566
+ contents.VpcOrigin = de_VpcOrigin(data, context);
2567
+ return contents;
2568
+ };
2569
+ export const de_ListAnycastIpListsCommand = async (output, context) => {
2570
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2571
+ return de_CommandError(output, context);
2572
+ }
2573
+ const contents = map({
2574
+ $metadata: deserializeMetadata(output),
2575
+ });
2576
+ const data = __expectObject(await parseBody(output.body, context));
2577
+ contents.AnycastIpLists = de_AnycastIpListCollection(data, context);
2578
+ return contents;
2579
+ };
2346
2580
  export const de_ListCachePoliciesCommand = async (output, context) => {
2347
2581
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2348
2582
  return de_CommandError(output, context);
@@ -2398,6 +2632,17 @@ export const de_ListDistributionsCommand = async (output, context) => {
2398
2632
  contents.DistributionList = de_DistributionList(data, context);
2399
2633
  return contents;
2400
2634
  };
2635
+ export const de_ListDistributionsByAnycastIpListIdCommand = async (output, context) => {
2636
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2637
+ return de_CommandError(output, context);
2638
+ }
2639
+ const contents = map({
2640
+ $metadata: deserializeMetadata(output),
2641
+ });
2642
+ const data = __expectObject(await parseBody(output.body, context));
2643
+ contents.DistributionList = de_DistributionList(data, context);
2644
+ return contents;
2645
+ };
2401
2646
  export const de_ListDistributionsByCachePolicyIdCommand = async (output, context) => {
2402
2647
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2403
2648
  return de_CommandError(output, context);
@@ -2453,6 +2698,17 @@ export const de_ListDistributionsByResponseHeadersPolicyIdCommand = async (outpu
2453
2698
  contents.DistributionIdList = de_DistributionIdList(data, context);
2454
2699
  return contents;
2455
2700
  };
2701
+ export const de_ListDistributionsByVpcOriginIdCommand = async (output, context) => {
2702
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2703
+ return de_CommandError(output, context);
2704
+ }
2705
+ const contents = map({
2706
+ $metadata: deserializeMetadata(output),
2707
+ });
2708
+ const data = __expectObject(await parseBody(output.body, context));
2709
+ contents.DistributionIdList = de_DistributionIdList(data, context);
2710
+ return contents;
2711
+ };
2456
2712
  export const de_ListDistributionsByWebACLIdCommand = async (output, context) => {
2457
2713
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2458
2714
  return de_CommandError(output, context);
@@ -2607,6 +2863,17 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
2607
2863
  contents.Tags = de_Tags(data, context);
2608
2864
  return contents;
2609
2865
  };
2866
+ export const de_ListVpcOriginsCommand = async (output, context) => {
2867
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2868
+ return de_CommandError(output, context);
2869
+ }
2870
+ const contents = map({
2871
+ $metadata: deserializeMetadata(output),
2872
+ });
2873
+ const data = __expectObject(await parseBody(output.body, context));
2874
+ contents.VpcOriginList = de_VpcOriginList(data, context);
2875
+ return contents;
2876
+ };
2610
2877
  export const de_PublishFunctionCommand = async (output, context) => {
2611
2878
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2612
2879
  return de_CommandError(output, context);
@@ -2842,6 +3109,18 @@ export const de_UpdateStreamingDistributionCommand = async (output, context) =>
2842
3109
  contents.StreamingDistribution = de_StreamingDistribution(data, context);
2843
3110
  return contents;
2844
3111
  };
3112
+ export const de_UpdateVpcOriginCommand = async (output, context) => {
3113
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
3114
+ return de_CommandError(output, context);
3115
+ }
3116
+ const contents = map({
3117
+ $metadata: deserializeMetadata(output),
3118
+ [_ET]: [, output.headers[_e]],
3119
+ });
3120
+ const data = __expectObject(await parseBody(output.body, context));
3121
+ contents.VpcOrigin = de_VpcOrigin(data, context);
3122
+ return contents;
3123
+ };
2845
3124
  const de_CommandError = async (output, context) => {
2846
3125
  const parsedOutput = {
2847
3126
  ...output,
@@ -3044,6 +3323,18 @@ const de_CommandError = async (output, context) => {
3044
3323
  case "TrustedSignerDoesNotExist":
3045
3324
  case "com.amazonaws.cloudfront#TrustedSignerDoesNotExist":
3046
3325
  throw await de_TrustedSignerDoesNotExistRes(parsedOutput, context);
3326
+ case "EntityAlreadyExists":
3327
+ case "com.amazonaws.cloudfront#EntityAlreadyExists":
3328
+ throw await de_EntityAlreadyExistsRes(parsedOutput, context);
3329
+ case "EntityLimitExceeded":
3330
+ case "com.amazonaws.cloudfront#EntityLimitExceeded":
3331
+ throw await de_EntityLimitExceededRes(parsedOutput, context);
3332
+ case "InvalidTagging":
3333
+ case "com.amazonaws.cloudfront#InvalidTagging":
3334
+ throw await de_InvalidTaggingRes(parsedOutput, context);
3335
+ case "UnsupportedOperation":
3336
+ case "com.amazonaws.cloudfront#UnsupportedOperation":
3337
+ throw await de_UnsupportedOperationRes(parsedOutput, context);
3047
3338
  case "CachePolicyAlreadyExists":
3048
3339
  case "com.amazonaws.cloudfront#CachePolicyAlreadyExists":
3049
3340
  throw await de_CachePolicyAlreadyExistsRes(parsedOutput, context);
@@ -3077,6 +3368,9 @@ const de_CommandError = async (output, context) => {
3077
3368
  case "ContinuousDeploymentPolicyInUse":
3078
3369
  case "com.amazonaws.cloudfront#ContinuousDeploymentPolicyInUse":
3079
3370
  throw await de_ContinuousDeploymentPolicyInUseRes(parsedOutput, context);
3371
+ case "EntityNotFound":
3372
+ case "com.amazonaws.cloudfront#EntityNotFound":
3373
+ throw await de_EntityNotFoundRes(parsedOutput, context);
3080
3374
  case "IllegalOriginAccessConfiguration":
3081
3375
  case "com.amazonaws.cloudfront#IllegalOriginAccessConfiguration":
3082
3376
  throw await de_IllegalOriginAccessConfigurationRes(parsedOutput, context);
@@ -3086,9 +3380,6 @@ const de_CommandError = async (output, context) => {
3086
3380
  case "NoSuchContinuousDeploymentPolicy":
3087
3381
  case "com.amazonaws.cloudfront#NoSuchContinuousDeploymentPolicy":
3088
3382
  throw await de_NoSuchContinuousDeploymentPolicyRes(parsedOutput, context);
3089
- case "InvalidTagging":
3090
- case "com.amazonaws.cloudfront#InvalidTagging":
3091
- throw await de_InvalidTaggingRes(parsedOutput, context);
3092
3383
  case "FieldLevelEncryptionConfigAlreadyExists":
3093
3384
  case "com.amazonaws.cloudfront#FieldLevelEncryptionConfigAlreadyExists":
3094
3385
  throw await de_FieldLevelEncryptionConfigAlreadyExistsRes(parsedOutput, context);
@@ -3134,9 +3425,6 @@ const de_CommandError = async (output, context) => {
3134
3425
  case "TooManyFunctions":
3135
3426
  case "com.amazonaws.cloudfront#TooManyFunctions":
3136
3427
  throw await de_TooManyFunctionsRes(parsedOutput, context);
3137
- case "UnsupportedOperation":
3138
- case "com.amazonaws.cloudfront#UnsupportedOperation":
3139
- throw await de_UnsupportedOperationRes(parsedOutput, context);
3140
3428
  case "BatchTooLarge":
3141
3429
  case "com.amazonaws.cloudfront#BatchTooLarge":
3142
3430
  throw await de_BatchTooLargeRes(parsedOutput, context);
@@ -3152,12 +3440,6 @@ const de_CommandError = async (output, context) => {
3152
3440
  case "TooManyPublicKeysInKeyGroup":
3153
3441
  case "com.amazonaws.cloudfront#TooManyPublicKeysInKeyGroup":
3154
3442
  throw await de_TooManyPublicKeysInKeyGroupRes(parsedOutput, context);
3155
- case "EntityAlreadyExists":
3156
- case "com.amazonaws.cloudfront#EntityAlreadyExists":
3157
- throw await de_EntityAlreadyExistsRes(parsedOutput, context);
3158
- case "EntityLimitExceeded":
3159
- case "com.amazonaws.cloudfront#EntityLimitExceeded":
3160
- throw await de_EntityLimitExceededRes(parsedOutput, context);
3161
3443
  case "EntitySizeLimitExceeded":
3162
3444
  case "com.amazonaws.cloudfront#EntitySizeLimitExceeded":
3163
3445
  throw await de_EntitySizeLimitExceededRes(parsedOutput, context);
@@ -3221,12 +3503,15 @@ const de_CommandError = async (output, context) => {
3221
3503
  case "TooManyStreamingDistributions":
3222
3504
  case "com.amazonaws.cloudfront#TooManyStreamingDistributions":
3223
3505
  throw await de_TooManyStreamingDistributionsRes(parsedOutput, context);
3224
- case "CachePolicyInUse":
3225
- case "com.amazonaws.cloudfront#CachePolicyInUse":
3226
- throw await de_CachePolicyInUseRes(parsedOutput, context);
3506
+ case "CannotDeleteEntityWhileInUse":
3507
+ case "com.amazonaws.cloudfront#CannotDeleteEntityWhileInUse":
3508
+ throw await de_CannotDeleteEntityWhileInUseRes(parsedOutput, context);
3227
3509
  case "IllegalDelete":
3228
3510
  case "com.amazonaws.cloudfront#IllegalDelete":
3229
3511
  throw await de_IllegalDeleteRes(parsedOutput, context);
3512
+ case "CachePolicyInUse":
3513
+ case "com.amazonaws.cloudfront#CachePolicyInUse":
3514
+ throw await de_CachePolicyInUseRes(parsedOutput, context);
3230
3515
  case "CloudFrontOriginAccessIdentityInUse":
3231
3516
  case "com.amazonaws.cloudfront#CloudFrontOriginAccessIdentityInUse":
3232
3517
  throw await de_CloudFrontOriginAccessIdentityInUseRes(parsedOutput, context);
@@ -3254,12 +3539,6 @@ const de_CommandError = async (output, context) => {
3254
3539
  case "ResourceInUse":
3255
3540
  case "com.amazonaws.cloudfront#ResourceInUse":
3256
3541
  throw await de_ResourceInUseRes(parsedOutput, context);
3257
- case "CannotDeleteEntityWhileInUse":
3258
- case "com.amazonaws.cloudfront#CannotDeleteEntityWhileInUse":
3259
- throw await de_CannotDeleteEntityWhileInUseRes(parsedOutput, context);
3260
- case "EntityNotFound":
3261
- case "com.amazonaws.cloudfront#EntityNotFound":
3262
- throw await de_EntityNotFoundRes(parsedOutput, context);
3263
3542
  case "NoSuchMonitoringSubscription":
3264
3543
  case "com.amazonaws.cloudfront#NoSuchMonitoringSubscription":
3265
3544
  throw await de_NoSuchMonitoringSubscriptionRes(parsedOutput, context);
@@ -3296,6 +3575,9 @@ const de_CommandError = async (output, context) => {
3296
3575
  case "CannotChangeImmutablePublicKeyFields":
3297
3576
  case "com.amazonaws.cloudfront#CannotChangeImmutablePublicKeyFields":
3298
3577
  throw await de_CannotChangeImmutablePublicKeyFieldsRes(parsedOutput, context);
3578
+ case "CannotUpdateEntityWhileInUse":
3579
+ case "com.amazonaws.cloudfront#CannotUpdateEntityWhileInUse":
3580
+ throw await de_CannotUpdateEntityWhileInUseRes(parsedOutput, context);
3299
3581
  default:
3300
3582
  const parsedBody = parsedOutput.body;
3301
3583
  return throwDefaultError({
@@ -3378,6 +3660,18 @@ const de_CannotDeleteEntityWhileInUseRes = async (parsedOutput, context) => {
3378
3660
  });
3379
3661
  return __decorateServiceException(exception, parsedOutput.body.Error);
3380
3662
  };
3663
+ const de_CannotUpdateEntityWhileInUseRes = async (parsedOutput, context) => {
3664
+ const contents = map({});
3665
+ const data = parsedOutput.body.Error;
3666
+ if (data[_Me] != null) {
3667
+ contents[_Me] = __expectString(data[_Me]);
3668
+ }
3669
+ const exception = new CannotUpdateEntityWhileInUse({
3670
+ $metadata: deserializeMetadata(parsedOutput),
3671
+ ...contents,
3672
+ });
3673
+ return __decorateServiceException(exception, parsedOutput.body.Error);
3674
+ };
3381
3675
  const de_CloudFrontOriginAccessIdentityAlreadyExistsRes = async (parsedOutput, context) => {
3382
3676
  const contents = map({});
3383
3677
  const data = parsedOutput.body.Error;
@@ -5206,6 +5500,9 @@ const se_CacheBehavior = (input, context) => {
5206
5500
  if (input[_RHPI] != null) {
5207
5501
  bn.c(__XmlNode.of(_st, input[_RHPI]).n(_RHPI));
5208
5502
  }
5503
+ if (input[_GC] != null) {
5504
+ bn.c(se_GrpcConfig(input[_GC], context).n(_GC));
5505
+ }
5209
5506
  if (input[_FV] != null) {
5210
5507
  bn.c(se_ForwardedValues(input[_FV], context).n(_FV));
5211
5508
  }
@@ -5504,6 +5801,9 @@ const se_DefaultCacheBehavior = (input, context) => {
5504
5801
  if (input[_RHPI] != null) {
5505
5802
  bn.c(__XmlNode.of(_st, input[_RHPI]).n(_RHPI));
5506
5803
  }
5804
+ if (input[_GC] != null) {
5805
+ bn.c(se_GrpcConfig(input[_GC], context).n(_GC));
5806
+ }
5507
5807
  if (input[_FV] != null) {
5508
5808
  bn.c(se_ForwardedValues(input[_FV], context).n(_FV));
5509
5809
  }
@@ -5573,6 +5873,9 @@ const se_DistributionConfig = (input, context) => {
5573
5873
  if (input[_S] != null) {
5574
5874
  bn.c(__XmlNode.of(_b, String(input[_S])).n(_S));
5575
5875
  }
5876
+ if (input[_AILI] != null) {
5877
+ bn.c(__XmlNode.of(_st, input[_AILI]).n(_AILI));
5878
+ }
5576
5879
  return bn;
5577
5880
  };
5578
5881
  const se_DistributionConfigWithTags = (input, context) => {
@@ -5580,8 +5883,8 @@ const se_DistributionConfigWithTags = (input, context) => {
5580
5883
  if (input[_DC] != null) {
5581
5884
  bn.c(se_DistributionConfig(input[_DC], context).n(_DC));
5582
5885
  }
5583
- if (input[_Ta] != null) {
5584
- bn.c(se_Tags(input[_Ta], context).n(_Ta));
5886
+ if (input[_T] != null) {
5887
+ bn.c(se_Tags(input[_T], context).n(_T));
5585
5888
  }
5586
5889
  return bn;
5587
5890
  };
@@ -5750,6 +6053,13 @@ const se_GeoRestriction = (input, context) => {
5750
6053
  bn.lc(input, "Items", "Items", () => se_LocationList(input[_I], context));
5751
6054
  return bn;
5752
6055
  };
6056
+ const se_GrpcConfig = (input, context) => {
6057
+ const bn = new __XmlNode(_GC);
6058
+ if (input[_E] != null) {
6059
+ bn.c(__XmlNode.of(_b, String(input[_E])).n(_E));
6060
+ }
6061
+ return bn;
6062
+ };
5753
6063
  const se_HeaderList = (input, context) => {
5754
6064
  return input
5755
6065
  .filter((e) => e != null)
@@ -5866,8 +6176,8 @@ const se_LoggingConfig = (input, context) => {
5866
6176
  if (input[_E] != null) {
5867
6177
  bn.c(__XmlNode.of(_b, String(input[_E])).n(_E));
5868
6178
  }
5869
- if (input[_IC] != null) {
5870
- bn.c(__XmlNode.of(_b, String(input[_IC])).n(_IC));
6179
+ if (input[_ICn] != null) {
6180
+ bn.c(__XmlNode.of(_b, String(input[_ICn])).n(_ICn));
5871
6181
  }
5872
6182
  if (input[_B] != null) {
5873
6183
  bn.c(__XmlNode.of(_st, input[_B]).n(_B));
@@ -5912,6 +6222,9 @@ const se_Origin = (input, context) => {
5912
6222
  if (input[_COC] != null) {
5913
6223
  bn.c(se_CustomOriginConfig(input[_COC], context).n(_COC));
5914
6224
  }
6225
+ if (input[_VOC] != null) {
6226
+ bn.c(se_VpcOriginConfig(input[_VOC], context).n(_VOC));
6227
+ }
5915
6228
  if (input[_CA] != null) {
5916
6229
  bn.c(__XmlNode.of(_i, String(input[_CA])).n(_CA));
5917
6230
  }
@@ -5974,12 +6287,15 @@ const se_OriginGroup = (input, context) => {
5974
6287
  if (input[_Mem] != null) {
5975
6288
  bn.c(se_OriginGroupMembers(input[_Mem], context).n(_Mem));
5976
6289
  }
6290
+ if (input[_SC] != null) {
6291
+ bn.c(__XmlNode.of(_OGSC, input[_SC]).n(_SC));
6292
+ }
5977
6293
  return bn;
5978
6294
  };
5979
6295
  const se_OriginGroupFailoverCriteria = (input, context) => {
5980
6296
  const bn = new __XmlNode(_OGFC);
5981
- if (input[_SC] != null) {
5982
- bn.c(se_StatusCodes(input[_SC], context).n(_SC));
6297
+ if (input[_SCt] != null) {
6298
+ bn.c(se_StatusCodes(input[_SCt], context).n(_SCt));
5983
6299
  }
5984
6300
  return bn;
5985
6301
  };
@@ -6533,11 +6849,11 @@ const se_StatusCodeList = (input, context) => {
6533
6849
  .filter((e) => e != null)
6534
6850
  .map((entry) => {
6535
6851
  const n = __XmlNode.of(_i, String(entry));
6536
- return n.n(_SCt);
6852
+ return n.n(_SCta);
6537
6853
  });
6538
6854
  };
6539
6855
  const se_StatusCodes = (input, context) => {
6540
- const bn = new __XmlNode(_SC);
6856
+ const bn = new __XmlNode(_SCt);
6541
6857
  if (input[_Q] != null) {
6542
6858
  bn.c(__XmlNode.of(_i, String(input[_Q])).n(_Q));
6543
6859
  }
@@ -6575,8 +6891,8 @@ const se_StreamingDistributionConfigWithTags = (input, context) => {
6575
6891
  if (input[_SDC] != null) {
6576
6892
  bn.c(se_StreamingDistributionConfig(input[_SDC], context).n(_SDC));
6577
6893
  }
6578
- if (input[_Ta] != null) {
6579
- bn.c(se_Tags(input[_Ta], context).n(_Ta));
6894
+ if (input[_T] != null) {
6895
+ bn.c(se_Tags(input[_T], context).n(_T));
6580
6896
  }
6581
6897
  return bn;
6582
6898
  };
@@ -6594,7 +6910,7 @@ const se_StreamingLoggingConfig = (input, context) => {
6594
6910
  return bn;
6595
6911
  };
6596
6912
  const se_Tag = (input, context) => {
6597
- const bn = new __XmlNode(_Tag);
6913
+ const bn = new __XmlNode(_Ta);
6598
6914
  if (input[_K] != null) {
6599
6915
  bn.c(__XmlNode.of(_TK, input[_K]).n(_K));
6600
6916
  }
@@ -6621,11 +6937,11 @@ const se_TagList = (input, context) => {
6621
6937
  .filter((e) => e != null)
6622
6938
  .map((entry) => {
6623
6939
  const n = se_Tag(entry, context);
6624
- return n.n(_Tag);
6940
+ return n.n(_Ta);
6625
6941
  });
6626
6942
  };
6627
6943
  const se_Tags = (input, context) => {
6628
- const bn = new __XmlNode(_Ta);
6944
+ const bn = new __XmlNode(_T);
6629
6945
  bn.lc(input, "Items", "Items", () => se_TagList(input[_I], context));
6630
6946
  return bn;
6631
6947
  };
@@ -6637,8 +6953,8 @@ const se_TrafficConfig = (input, context) => {
6637
6953
  if (input[_SHCi] != null) {
6638
6954
  bn.c(se_ContinuousDeploymentSingleHeaderConfig(input[_SHCi], context).n(_SHCi));
6639
6955
  }
6640
- if (input[_T] != null) {
6641
- bn.c(__XmlNode.of(_CDPT, input[_T]).n(_T));
6956
+ if (input[_Ty] != null) {
6957
+ bn.c(__XmlNode.of(_CDPT, input[_Ty]).n(_Ty));
6642
6958
  }
6643
6959
  return bn;
6644
6960
  };
@@ -6691,6 +7007,33 @@ const se_ViewerCertificate = (input, context) => {
6691
7007
  bn.cc(input, _CS);
6692
7008
  return bn;
6693
7009
  };
7010
+ const se_VpcOriginConfig = (input, context) => {
7011
+ const bn = new __XmlNode(_VOC);
7012
+ if (input[_VOI] != null) {
7013
+ bn.c(__XmlNode.of(_st, input[_VOI]).n(_VOI));
7014
+ }
7015
+ return bn;
7016
+ };
7017
+ const se_VpcOriginEndpointConfig = (input, context) => {
7018
+ const bn = new __XmlNode(_VOEC);
7019
+ if (input[_N] != null) {
7020
+ bn.c(__XmlNode.of(_st, input[_N]).n(_N));
7021
+ }
7022
+ if (input[_Ar] != null) {
7023
+ bn.c(__XmlNode.of(_st, input[_Ar]).n(_Ar));
7024
+ }
7025
+ if (input[_HTTPP] != null) {
7026
+ bn.c(__XmlNode.of(_i, String(input[_HTTPP])).n(_HTTPP));
7027
+ }
7028
+ if (input[_HTTPSP] != null) {
7029
+ bn.c(__XmlNode.of(_i, String(input[_HTTPSP])).n(_HTTPSP));
7030
+ }
7031
+ bn.cc(input, _OPP);
7032
+ if (input[_OSP] != null) {
7033
+ bn.c(se_OriginSslProtocols(input[_OSP], context).n(_OSP));
7034
+ }
7035
+ return bn;
7036
+ };
6694
7037
  const de_AccessControlAllowHeadersList = (output, context) => {
6695
7038
  return (output || [])
6696
7039
  .filter((e) => e != null)
@@ -6804,6 +7147,95 @@ const de_AllowedMethods = (output, context) => {
6804
7147
  }
6805
7148
  return contents;
6806
7149
  };
7150
+ const de_AnycastIpList = (output, context) => {
7151
+ const contents = {};
7152
+ if (output[_Id] != null) {
7153
+ contents[_Id] = __expectString(output[_Id]);
7154
+ }
7155
+ if (output[_N] != null) {
7156
+ contents[_N] = __expectString(output[_N]);
7157
+ }
7158
+ if (output[_Sta] != null) {
7159
+ contents[_Sta] = __expectString(output[_Sta]);
7160
+ }
7161
+ if (output[_Ar] != null) {
7162
+ contents[_Ar] = __expectString(output[_Ar]);
7163
+ }
7164
+ if (output.AnycastIps === "") {
7165
+ contents[_AI] = [];
7166
+ }
7167
+ else if (output[_AI] != null && output[_AI][_AIn] != null) {
7168
+ contents[_AI] = de_AnycastIps(__getArrayIfSingleItem(output[_AI][_AIn]), context);
7169
+ }
7170
+ if (output[_IC] != null) {
7171
+ contents[_IC] = __strictParseInt32(output[_IC]);
7172
+ }
7173
+ if (output[_LMT] != null) {
7174
+ contents[_LMT] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_LMT]));
7175
+ }
7176
+ return contents;
7177
+ };
7178
+ const de_AnycastIpListCollection = (output, context) => {
7179
+ const contents = {};
7180
+ if (output.Items === "") {
7181
+ contents[_I] = [];
7182
+ }
7183
+ else if (output[_I] != null && output[_I][_AILS] != null) {
7184
+ contents[_I] = de_AnycastIpListSummaries(__getArrayIfSingleItem(output[_I][_AILS]), context);
7185
+ }
7186
+ if (output[_M] != null) {
7187
+ contents[_M] = __expectString(output[_M]);
7188
+ }
7189
+ if (output[_NM] != null) {
7190
+ contents[_NM] = __expectString(output[_NM]);
7191
+ }
7192
+ if (output[_MI] != null) {
7193
+ contents[_MI] = __strictParseInt32(output[_MI]);
7194
+ }
7195
+ if (output[_IT] != null) {
7196
+ contents[_IT] = __parseBoolean(output[_IT]);
7197
+ }
7198
+ if (output[_Q] != null) {
7199
+ contents[_Q] = __strictParseInt32(output[_Q]);
7200
+ }
7201
+ return contents;
7202
+ };
7203
+ const de_AnycastIpListSummaries = (output, context) => {
7204
+ return (output || [])
7205
+ .filter((e) => e != null)
7206
+ .map((entry) => {
7207
+ return de_AnycastIpListSummary(entry, context);
7208
+ });
7209
+ };
7210
+ const de_AnycastIpListSummary = (output, context) => {
7211
+ const contents = {};
7212
+ if (output[_Id] != null) {
7213
+ contents[_Id] = __expectString(output[_Id]);
7214
+ }
7215
+ if (output[_N] != null) {
7216
+ contents[_N] = __expectString(output[_N]);
7217
+ }
7218
+ if (output[_Sta] != null) {
7219
+ contents[_Sta] = __expectString(output[_Sta]);
7220
+ }
7221
+ if (output[_Ar] != null) {
7222
+ contents[_Ar] = __expectString(output[_Ar]);
7223
+ }
7224
+ if (output[_IC] != null) {
7225
+ contents[_IC] = __strictParseInt32(output[_IC]);
7226
+ }
7227
+ if (output[_LMT] != null) {
7228
+ contents[_LMT] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_LMT]));
7229
+ }
7230
+ return contents;
7231
+ };
7232
+ const de_AnycastIps = (output, context) => {
7233
+ return (output || [])
7234
+ .filter((e) => e != null)
7235
+ .map((entry) => {
7236
+ return __expectString(entry);
7237
+ });
7238
+ };
6807
7239
  const de_AwsAccountNumberList = (output, context) => {
6808
7240
  return (output || [])
6809
7241
  .filter((e) => e != null)
@@ -6858,6 +7290,9 @@ const de_CacheBehavior = (output, context) => {
6858
7290
  if (output[_RHPI] != null) {
6859
7291
  contents[_RHPI] = __expectString(output[_RHPI]);
6860
7292
  }
7293
+ if (output[_GC] != null) {
7294
+ contents[_GC] = de_GrpcConfig(output[_GC], context);
7295
+ }
6861
7296
  if (output[_FV] != null) {
6862
7297
  contents[_FV] = de_ForwardedValues(output[_FV], context);
6863
7298
  }
@@ -6991,8 +7426,8 @@ const de_CachePolicyQueryStringsConfig = (output, context) => {
6991
7426
  };
6992
7427
  const de_CachePolicySummary = (output, context) => {
6993
7428
  const contents = {};
6994
- if (output[_T] != null) {
6995
- contents[_T] = __expectString(output[_T]);
7429
+ if (output[_Ty] != null) {
7430
+ contents[_Ty] = __expectString(output[_Ty]);
6996
7431
  }
6997
7432
  if (output[_CPa] != null) {
6998
7433
  contents[_CPa] = de_CachePolicy(output[_CPa], context);
@@ -7082,8 +7517,8 @@ const de_ConflictingAlias = (output, context) => {
7082
7517
  if (output[_DI] != null) {
7083
7518
  contents[_DI] = __expectString(output[_DI]);
7084
7519
  }
7085
- if (output[_AI] != null) {
7086
- contents[_AI] = __expectString(output[_AI]);
7520
+ if (output[_AIc] != null) {
7521
+ contents[_AIc] = __expectString(output[_AIc]);
7087
7522
  }
7088
7523
  return contents;
7089
7524
  };
@@ -7380,6 +7815,9 @@ const de_DefaultCacheBehavior = (output, context) => {
7380
7815
  if (output[_RHPI] != null) {
7381
7816
  contents[_RHPI] = __expectString(output[_RHPI]);
7382
7817
  }
7818
+ if (output[_GC] != null) {
7819
+ contents[_GC] = de_GrpcConfig(output[_GC], context);
7820
+ }
7383
7821
  if (output[_FV] != null) {
7384
7822
  contents[_FV] = de_ForwardedValues(output[_FV], context);
7385
7823
  }
@@ -7490,6 +7928,9 @@ const de_DistributionConfig = (output, context) => {
7490
7928
  if (output[_S] != null) {
7491
7929
  contents[_S] = __parseBoolean(output[_S]);
7492
7930
  }
7931
+ if (output[_AILI] != null) {
7932
+ contents[_AILI] = __expectString(output[_AILI]);
7933
+ }
7493
7934
  return contents;
7494
7935
  };
7495
7936
  const de_DistributionIdList = (output, context) => {
@@ -7617,6 +8058,9 @@ const de_DistributionSummary = (output, context) => {
7617
8058
  if (output[_S] != null) {
7618
8059
  contents[_S] = __parseBoolean(output[_S]);
7619
8060
  }
8061
+ if (output[_AILI] != null) {
8062
+ contents[_AILI] = __expectString(output[_AILI]);
8063
+ }
7620
8064
  return contents;
7621
8065
  };
7622
8066
  const de_DistributionSummaryList = (output, context) => {
@@ -7991,6 +8435,13 @@ const de_GeoRestriction = (output, context) => {
7991
8435
  }
7992
8436
  return contents;
7993
8437
  };
8438
+ const de_GrpcConfig = (output, context) => {
8439
+ const contents = {};
8440
+ if (output[_E] != null) {
8441
+ contents[_E] = __parseBoolean(output[_E]);
8442
+ }
8443
+ return contents;
8444
+ };
7994
8445
  const de_HeaderList = (output, context) => {
7995
8446
  return (output || [])
7996
8447
  .filter((e) => e != null)
@@ -8311,8 +8762,8 @@ const de_LoggingConfig = (output, context) => {
8311
8762
  if (output[_E] != null) {
8312
8763
  contents[_E] = __parseBoolean(output[_E]);
8313
8764
  }
8314
- if (output[_IC] != null) {
8315
- contents[_IC] = __parseBoolean(output[_IC]);
8765
+ if (output[_ICn] != null) {
8766
+ contents[_ICn] = __parseBoolean(output[_ICn]);
8316
8767
  }
8317
8768
  if (output[_B] != null) {
8318
8769
  contents[_B] = __expectString(output[_B]);
@@ -8356,6 +8807,9 @@ const de_Origin = (output, context) => {
8356
8807
  if (output[_COC] != null) {
8357
8808
  contents[_COC] = de_CustomOriginConfig(output[_COC], context);
8358
8809
  }
8810
+ if (output[_VOC] != null) {
8811
+ contents[_VOC] = de_VpcOriginConfig(output[_VOC], context);
8812
+ }
8359
8813
  if (output[_CA] != null) {
8360
8814
  contents[_CA] = __strictParseInt32(output[_CA]);
8361
8815
  }
@@ -8481,12 +8935,15 @@ const de_OriginGroup = (output, context) => {
8481
8935
  if (output[_Mem] != null) {
8482
8936
  contents[_Mem] = de_OriginGroupMembers(output[_Mem], context);
8483
8937
  }
8938
+ if (output[_SC] != null) {
8939
+ contents[_SC] = __expectString(output[_SC]);
8940
+ }
8484
8941
  return contents;
8485
8942
  };
8486
8943
  const de_OriginGroupFailoverCriteria = (output, context) => {
8487
8944
  const contents = {};
8488
- if (output[_SC] != null) {
8489
- contents[_SC] = de_StatusCodes(output[_SC], context);
8945
+ if (output[_SCt] != null) {
8946
+ contents[_SCt] = de_StatusCodes(output[_SCt], context);
8490
8947
  }
8491
8948
  return contents;
8492
8949
  };
@@ -8627,8 +9084,8 @@ const de_OriginRequestPolicyQueryStringsConfig = (output, context) => {
8627
9084
  };
8628
9085
  const de_OriginRequestPolicySummary = (output, context) => {
8629
9086
  const contents = {};
8630
- if (output[_T] != null) {
8631
- contents[_T] = __expectString(output[_T]);
9087
+ if (output[_Ty] != null) {
9088
+ contents[_Ty] = __expectString(output[_Ty]);
8632
9089
  }
8633
9090
  if (output[_ORP] != null) {
8634
9091
  contents[_ORP] = de_OriginRequestPolicy(output[_ORP], context);
@@ -9220,8 +9677,8 @@ const de_ResponseHeadersPolicyStrictTransportSecurity = (output, context) => {
9220
9677
  };
9221
9678
  const de_ResponseHeadersPolicySummary = (output, context) => {
9222
9679
  const contents = {};
9223
- if (output[_T] != null) {
9224
- contents[_T] = __expectString(output[_T]);
9680
+ if (output[_Ty] != null) {
9681
+ contents[_Ty] = __expectString(output[_Ty]);
9225
9682
  }
9226
9683
  if (output[_RHP] != null) {
9227
9684
  contents[_RHP] = de_ResponseHeadersPolicy(output[_RHP], context);
@@ -9344,8 +9801,8 @@ const de_StatusCodes = (output, context) => {
9344
9801
  if (output.Items === "") {
9345
9802
  contents[_I] = [];
9346
9803
  }
9347
- else if (output[_I] != null && output[_I][_SCt] != null) {
9348
- contents[_I] = de_StatusCodeList(__getArrayIfSingleItem(output[_I][_SCt]), context);
9804
+ else if (output[_I] != null && output[_I][_SCta] != null) {
9805
+ contents[_I] = de_StatusCodeList(__getArrayIfSingleItem(output[_I][_SCta]), context);
9349
9806
  }
9350
9807
  return contents;
9351
9808
  };
@@ -9506,8 +9963,8 @@ const de_Tags = (output, context) => {
9506
9963
  if (output.Items === "") {
9507
9964
  contents[_I] = [];
9508
9965
  }
9509
- else if (output[_I] != null && output[_I][_Tag] != null) {
9510
- contents[_I] = de_TagList(__getArrayIfSingleItem(output[_I][_Tag]), context);
9966
+ else if (output[_I] != null && output[_I][_Ta] != null) {
9967
+ contents[_I] = de_TagList(__getArrayIfSingleItem(output[_I][_Ta]), context);
9511
9968
  }
9512
9969
  return contents;
9513
9970
  };
@@ -9541,8 +9998,8 @@ const de_TrafficConfig = (output, context) => {
9541
9998
  if (output[_SHCi] != null) {
9542
9999
  contents[_SHCi] = de_ContinuousDeploymentSingleHeaderConfig(output[_SHCi], context);
9543
10000
  }
9544
- if (output[_T] != null) {
9545
- contents[_T] = __expectString(output[_T]);
10001
+ if (output[_Ty] != null) {
10002
+ contents[_Ty] = __expectString(output[_Ty]);
9546
10003
  }
9547
10004
  return contents;
9548
10005
  };
@@ -9610,6 +10067,114 @@ const de_ViewerCertificate = (output, context) => {
9610
10067
  }
9611
10068
  return contents;
9612
10069
  };
10070
+ const de_VpcOrigin = (output, context) => {
10071
+ const contents = {};
10072
+ if (output[_Id] != null) {
10073
+ contents[_Id] = __expectString(output[_Id]);
10074
+ }
10075
+ if (output[_Ar] != null) {
10076
+ contents[_Ar] = __expectString(output[_Ar]);
10077
+ }
10078
+ if (output[_Sta] != null) {
10079
+ contents[_Sta] = __expectString(output[_Sta]);
10080
+ }
10081
+ if (output[_CTr] != null) {
10082
+ contents[_CTr] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_CTr]));
10083
+ }
10084
+ if (output[_LMT] != null) {
10085
+ contents[_LMT] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_LMT]));
10086
+ }
10087
+ if (output[_VOEC] != null) {
10088
+ contents[_VOEC] = de_VpcOriginEndpointConfig(output[_VOEC], context);
10089
+ }
10090
+ return contents;
10091
+ };
10092
+ const de_VpcOriginConfig = (output, context) => {
10093
+ const contents = {};
10094
+ if (output[_VOI] != null) {
10095
+ contents[_VOI] = __expectString(output[_VOI]);
10096
+ }
10097
+ return contents;
10098
+ };
10099
+ const de_VpcOriginEndpointConfig = (output, context) => {
10100
+ const contents = {};
10101
+ if (output[_N] != null) {
10102
+ contents[_N] = __expectString(output[_N]);
10103
+ }
10104
+ if (output[_Ar] != null) {
10105
+ contents[_Ar] = __expectString(output[_Ar]);
10106
+ }
10107
+ if (output[_HTTPP] != null) {
10108
+ contents[_HTTPP] = __strictParseInt32(output[_HTTPP]);
10109
+ }
10110
+ if (output[_HTTPSP] != null) {
10111
+ contents[_HTTPSP] = __strictParseInt32(output[_HTTPSP]);
10112
+ }
10113
+ if (output[_OPP] != null) {
10114
+ contents[_OPP] = __expectString(output[_OPP]);
10115
+ }
10116
+ if (output[_OSP] != null) {
10117
+ contents[_OSP] = de_OriginSslProtocols(output[_OSP], context);
10118
+ }
10119
+ return contents;
10120
+ };
10121
+ const de_VpcOriginList = (output, context) => {
10122
+ const contents = {};
10123
+ if (output[_M] != null) {
10124
+ contents[_M] = __expectString(output[_M]);
10125
+ }
10126
+ if (output[_NM] != null) {
10127
+ contents[_NM] = __expectString(output[_NM]);
10128
+ }
10129
+ if (output[_MI] != null) {
10130
+ contents[_MI] = __strictParseInt32(output[_MI]);
10131
+ }
10132
+ if (output[_IT] != null) {
10133
+ contents[_IT] = __parseBoolean(output[_IT]);
10134
+ }
10135
+ if (output[_Q] != null) {
10136
+ contents[_Q] = __strictParseInt32(output[_Q]);
10137
+ }
10138
+ if (output.Items === "") {
10139
+ contents[_I] = [];
10140
+ }
10141
+ else if (output[_I] != null && output[_I][_VOS] != null) {
10142
+ contents[_I] = de_VpcOriginSummaryList(__getArrayIfSingleItem(output[_I][_VOS]), context);
10143
+ }
10144
+ return contents;
10145
+ };
10146
+ const de_VpcOriginSummary = (output, context) => {
10147
+ const contents = {};
10148
+ if (output[_Id] != null) {
10149
+ contents[_Id] = __expectString(output[_Id]);
10150
+ }
10151
+ if (output[_N] != null) {
10152
+ contents[_N] = __expectString(output[_N]);
10153
+ }
10154
+ if (output[_Sta] != null) {
10155
+ contents[_Sta] = __expectString(output[_Sta]);
10156
+ }
10157
+ if (output[_CTr] != null) {
10158
+ contents[_CTr] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_CTr]));
10159
+ }
10160
+ if (output[_LMT] != null) {
10161
+ contents[_LMT] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_LMT]));
10162
+ }
10163
+ if (output[_Ar] != null) {
10164
+ contents[_Ar] = __expectString(output[_Ar]);
10165
+ }
10166
+ if (output[_OEA] != null) {
10167
+ contents[_OEA] = __expectString(output[_OEA]);
10168
+ }
10169
+ return contents;
10170
+ };
10171
+ const de_VpcOriginSummaryList = (output, context) => {
10172
+ return (output || [])
10173
+ .filter((e) => e != null)
10174
+ .map((entry) => {
10175
+ return de_VpcOriginSummary(entry, context);
10176
+ });
10177
+ };
9613
10178
  const deserializeMetadata = (output) => ({
9614
10179
  httpStatusCode: output.statusCode,
9615
10180
  requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
@@ -9626,17 +10191,24 @@ const _ACAO = "AccessControlAllowOrigins";
9626
10191
  const _ACEH = "AccessControlExposeHeaders";
9627
10192
  const _ACMAS = "AccessControlMaxAgeSec";
9628
10193
  const _ACMCA = "ACMCertificateArn";
9629
- const _AI = "AccountId";
10194
+ const _AI = "AnycastIps";
9630
10195
  const _AICPR = "AliasICPRecordals";
9631
10196
  const _AICPRl = "AliasICPRecordal";
10197
+ const _AILI = "AnycastIpListId";
10198
+ const _AILN = "AnycastIpListName";
10199
+ const _AILS = "AnycastIpListSummary";
10200
+ const _AIc = "AccountId";
10201
+ const _AIn = "AnycastIp";
9632
10202
  const _AM = "AllowedMethods";
9633
10203
  const _ARN = "ARN";
9634
10204
  const _ATKG = "ActiveTrustedKeyGroups";
9635
10205
  const _ATS = "ActiveTrustedSigners";
9636
10206
  const _Al = "Aliases";
10207
+ const _Ar = "Arn";
9637
10208
  const _B = "Bucket";
9638
10209
  const _C = "Comment";
9639
10210
  const _CA = "ConnectionAttempts";
10211
+ const _CAILR = "CreateAnycastIpListRequest";
9640
10212
  const _CAo = "ConflictingAlias";
9641
10213
  const _CB = "CacheBehavior";
9642
10214
  const _CBa = "CacheBehaviors";
@@ -9689,6 +10261,7 @@ const _CTon = "ConnectionTimeout";
9689
10261
  const _CTr = "CreatedTime";
9690
10262
  const _CTre = "CreateTime";
9691
10263
  const _CU = "ComputeUtilization";
10264
+ const _CVOR = "CreateVpcOriginRequest";
9692
10265
  const _Ce = "Certificate";
9693
10266
  const _Co = "Compress";
9694
10267
  const _Coo = "Cookies";
@@ -9749,6 +10322,7 @@ const _FWQAPIU = "ForwardWhenQueryArgProfileIsUnknown";
9749
10322
  const _Fi = "Field";
9750
10323
  const _Fo = "Format";
9751
10324
  const _For = "Forward";
10325
+ const _GC = "GrpcConfig";
9752
10326
  const _GR = "GeoRestriction";
9753
10327
  const _GRLCR = "GetRealtimeLogConfigRequest";
9754
10328
  const _GRT = "GeoRestrictionType";
@@ -9765,8 +10339,9 @@ const _I = "Items";
9765
10339
  const _IAMCI = "IAMCertificateId";
9766
10340
  const _IB = "InvalidationBatch";
9767
10341
  const _IBn = "IncludeBody";
9768
- const _IC = "IncludeCookies";
10342
+ const _IC = "IpCount";
9769
10343
  const _ICPRS = "ICPRecordalStatus";
10344
+ const _ICn = "IncludeCookies";
9770
10345
  const _IIPVE = "IsIPV6Enabled";
9771
10346
  const _IM = "IfMatch";
9772
10347
  const _IPIB = "InProgressInvalidationBatches";
@@ -9823,10 +10398,12 @@ const _OACSB = "OriginAccessControlSigningBehaviors";
9823
10398
  const _OACSP = "OriginAccessControlSigningProtocols";
9824
10399
  const _OAI = "OriginAccessIdentity";
9825
10400
  const _OCH = "OriginCustomHeader";
10401
+ const _OEA = "OriginEndpointArn";
9826
10402
  const _OG = "OriginGroups";
9827
10403
  const _OGFC = "OriginGroupFailoverCriteria";
9828
10404
  const _OGM = "OriginGroupMember";
9829
10405
  const _OGMr = "OriginGroupMembers";
10406
+ const _OGSC = "OriginGroupSelectionCriteria";
9830
10407
  const _OGr = "OriginGroup";
9831
10408
  const _OI = "OriginId";
9832
10409
  const _OKT = "OriginKeepaliveTimeout";
@@ -9917,9 +10494,10 @@ const _S = "Staging";
9917
10494
  const _SARN = "SourceARN";
9918
10495
  const _SARNt = "StreamARN";
9919
10496
  const _SB = "SigningBehavior";
9920
- const _SC = "StatusCodes";
10497
+ const _SC = "SelectionCriteria";
9921
10498
  const _SCUI = "S3CanonicalUserId";
9922
- const _SCt = "StatusCode";
10499
+ const _SCt = "StatusCodes";
10500
+ const _SCta = "StatusCode";
9923
10501
  const _SDC = "StreamingDistributionConfig";
9924
10502
  const _SDCWT = "StreamingDistributionConfigWithTags";
9925
10503
  const _SDDN = "StagingDistributionDnsNames";
@@ -9944,7 +10522,7 @@ const _SWC = "SingleWeightConfig";
9944
10522
  const _Si = "Signer";
9945
10523
  const _St = "Stage";
9946
10524
  const _Sta = "Status";
9947
- const _T = "Type";
10525
+ const _T = "Tags";
9948
10526
  const _TC = "TrafficConfig";
9949
10527
  const _TFR = "TestFunctionRequest";
9950
10528
  const _TK = "TagKey";
@@ -9953,13 +10531,17 @@ const _TKa = "TagKeys";
9953
10531
  const _TOI = "TargetOriginId";
9954
10532
  const _TS = "TrustedSigners";
9955
10533
  const _TV = "TagValue";
9956
- const _Ta = "Tags";
9957
- const _Tag = "Tag";
10534
+ const _Ta = "Tag";
10535
+ const _Ty = "Type";
9958
10536
  const _UFR = "UpdateFunctionRequest";
9959
10537
  const _UKVSR = "UpdateKeyValueStoreRequest";
9960
10538
  const _URLCR = "UpdateRealtimeLogConfigRequest";
9961
10539
  const _V = "Value";
9962
10540
  const _VC = "ViewerCertificate";
10541
+ const _VOC = "VpcOriginConfig";
10542
+ const _VOEC = "VpcOriginEndpointConfig";
10543
+ const _VOI = "VpcOriginId";
10544
+ const _VOS = "VpcOriginSummary";
9963
10545
  const _VPP = "ViewerProtocolPolicy";
9964
10546
  const _W = "Weight";
9965
10547
  const _WACLI = "WebACLId";