@aws-sdk/client-cloudfront 3.654.0 → 3.658.1

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/dist-cjs/index.js CHANGED
@@ -3522,9 +3522,9 @@ var se_AssociateAliasCommand = /* @__PURE__ */ __name(async (input, context) =>
3522
3522
  }, "se_AssociateAliasCommand");
3523
3523
  var se_CopyDistributionCommand = /* @__PURE__ */ __name(async (input, context) => {
3524
3524
  const b = (0, import_core.requestBuilder)(input, context);
3525
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
3525
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
3526
3526
  "content-type": "application/xml",
3527
- [_s]: [() => isSerializableHeaderValue(input[_S]), () => input[_S].toString()],
3527
+ [_s]: [() => (0, import_smithy_client.isSerializableHeaderValue)(input[_S]), () => input[_S].toString()],
3528
3528
  [_im]: input[_IM]
3529
3529
  });
3530
3530
  b.bp("/2020-05-31/distribution/{PrimaryDistributionId}/copy");
@@ -3893,7 +3893,7 @@ var se_CreateStreamingDistributionWithTagsCommand = /* @__PURE__ */ __name(async
3893
3893
  }, "se_CreateStreamingDistributionWithTagsCommand");
3894
3894
  var se_DeleteCachePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
3895
3895
  const b = (0, import_core.requestBuilder)(input, context);
3896
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
3896
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
3897
3897
  [_im]: input[_IM]
3898
3898
  });
3899
3899
  b.bp("/2020-05-31/cache-policy/{Id}");
@@ -3904,7 +3904,7 @@ var se_DeleteCachePolicyCommand = /* @__PURE__ */ __name(async (input, context)
3904
3904
  }, "se_DeleteCachePolicyCommand");
3905
3905
  var se_DeleteCloudFrontOriginAccessIdentityCommand = /* @__PURE__ */ __name(async (input, context) => {
3906
3906
  const b = (0, import_core.requestBuilder)(input, context);
3907
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
3907
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
3908
3908
  [_im]: input[_IM]
3909
3909
  });
3910
3910
  b.bp("/2020-05-31/origin-access-identity/cloudfront/{Id}");
@@ -3915,7 +3915,7 @@ var se_DeleteCloudFrontOriginAccessIdentityCommand = /* @__PURE__ */ __name(asyn
3915
3915
  }, "se_DeleteCloudFrontOriginAccessIdentityCommand");
3916
3916
  var se_DeleteContinuousDeploymentPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
3917
3917
  const b = (0, import_core.requestBuilder)(input, context);
3918
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
3918
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
3919
3919
  [_im]: input[_IM]
3920
3920
  });
3921
3921
  b.bp("/2020-05-31/continuous-deployment-policy/{Id}");
@@ -3926,7 +3926,7 @@ var se_DeleteContinuousDeploymentPolicyCommand = /* @__PURE__ */ __name(async (i
3926
3926
  }, "se_DeleteContinuousDeploymentPolicyCommand");
3927
3927
  var se_DeleteDistributionCommand = /* @__PURE__ */ __name(async (input, context) => {
3928
3928
  const b = (0, import_core.requestBuilder)(input, context);
3929
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
3929
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
3930
3930
  [_im]: input[_IM]
3931
3931
  });
3932
3932
  b.bp("/2020-05-31/distribution/{Id}");
@@ -3937,7 +3937,7 @@ var se_DeleteDistributionCommand = /* @__PURE__ */ __name(async (input, context)
3937
3937
  }, "se_DeleteDistributionCommand");
3938
3938
  var se_DeleteFieldLevelEncryptionConfigCommand = /* @__PURE__ */ __name(async (input, context) => {
3939
3939
  const b = (0, import_core.requestBuilder)(input, context);
3940
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
3940
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
3941
3941
  [_im]: input[_IM]
3942
3942
  });
3943
3943
  b.bp("/2020-05-31/field-level-encryption/{Id}");
@@ -3948,7 +3948,7 @@ var se_DeleteFieldLevelEncryptionConfigCommand = /* @__PURE__ */ __name(async (i
3948
3948
  }, "se_DeleteFieldLevelEncryptionConfigCommand");
3949
3949
  var se_DeleteFieldLevelEncryptionProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
3950
3950
  const b = (0, import_core.requestBuilder)(input, context);
3951
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
3951
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
3952
3952
  [_im]: input[_IM]
3953
3953
  });
3954
3954
  b.bp("/2020-05-31/field-level-encryption-profile/{Id}");
@@ -3959,7 +3959,7 @@ var se_DeleteFieldLevelEncryptionProfileCommand = /* @__PURE__ */ __name(async (
3959
3959
  }, "se_DeleteFieldLevelEncryptionProfileCommand");
3960
3960
  var se_DeleteFunctionCommand = /* @__PURE__ */ __name(async (input, context) => {
3961
3961
  const b = (0, import_core.requestBuilder)(input, context);
3962
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
3962
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
3963
3963
  [_im]: input[_IM]
3964
3964
  });
3965
3965
  b.bp("/2020-05-31/function/{Name}");
@@ -3970,7 +3970,7 @@ var se_DeleteFunctionCommand = /* @__PURE__ */ __name(async (input, context) =>
3970
3970
  }, "se_DeleteFunctionCommand");
3971
3971
  var se_DeleteKeyGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
3972
3972
  const b = (0, import_core.requestBuilder)(input, context);
3973
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
3973
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
3974
3974
  [_im]: input[_IM]
3975
3975
  });
3976
3976
  b.bp("/2020-05-31/key-group/{Id}");
@@ -3981,7 +3981,7 @@ var se_DeleteKeyGroupCommand = /* @__PURE__ */ __name(async (input, context) =>
3981
3981
  }, "se_DeleteKeyGroupCommand");
3982
3982
  var se_DeleteKeyValueStoreCommand = /* @__PURE__ */ __name(async (input, context) => {
3983
3983
  const b = (0, import_core.requestBuilder)(input, context);
3984
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
3984
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
3985
3985
  [_im]: input[_IM]
3986
3986
  });
3987
3987
  b.bp("/2020-05-31/key-value-store/{Name}");
@@ -4001,7 +4001,7 @@ var se_DeleteMonitoringSubscriptionCommand = /* @__PURE__ */ __name(async (input
4001
4001
  }, "se_DeleteMonitoringSubscriptionCommand");
4002
4002
  var se_DeleteOriginAccessControlCommand = /* @__PURE__ */ __name(async (input, context) => {
4003
4003
  const b = (0, import_core.requestBuilder)(input, context);
4004
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
4004
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
4005
4005
  [_im]: input[_IM]
4006
4006
  });
4007
4007
  b.bp("/2020-05-31/origin-access-control/{Id}");
@@ -4012,7 +4012,7 @@ var se_DeleteOriginAccessControlCommand = /* @__PURE__ */ __name(async (input, c
4012
4012
  }, "se_DeleteOriginAccessControlCommand");
4013
4013
  var se_DeleteOriginRequestPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
4014
4014
  const b = (0, import_core.requestBuilder)(input, context);
4015
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
4015
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
4016
4016
  [_im]: input[_IM]
4017
4017
  });
4018
4018
  b.bp("/2020-05-31/origin-request-policy/{Id}");
@@ -4023,7 +4023,7 @@ var se_DeleteOriginRequestPolicyCommand = /* @__PURE__ */ __name(async (input, c
4023
4023
  }, "se_DeleteOriginRequestPolicyCommand");
4024
4024
  var se_DeletePublicKeyCommand = /* @__PURE__ */ __name(async (input, context) => {
4025
4025
  const b = (0, import_core.requestBuilder)(input, context);
4026
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
4026
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
4027
4027
  [_im]: input[_IM]
4028
4028
  });
4029
4029
  b.bp("/2020-05-31/public-key/{Id}");
@@ -4054,7 +4054,7 @@ var se_DeleteRealtimeLogConfigCommand = /* @__PURE__ */ __name(async (input, con
4054
4054
  }, "se_DeleteRealtimeLogConfigCommand");
4055
4055
  var se_DeleteResponseHeadersPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
4056
4056
  const b = (0, import_core.requestBuilder)(input, context);
4057
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
4057
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
4058
4058
  [_im]: input[_IM]
4059
4059
  });
4060
4060
  b.bp("/2020-05-31/response-headers-policy/{Id}");
@@ -4065,7 +4065,7 @@ var se_DeleteResponseHeadersPolicyCommand = /* @__PURE__ */ __name(async (input,
4065
4065
  }, "se_DeleteResponseHeadersPolicyCommand");
4066
4066
  var se_DeleteStreamingDistributionCommand = /* @__PURE__ */ __name(async (input, context) => {
4067
4067
  const b = (0, import_core.requestBuilder)(input, context);
4068
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
4068
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
4069
4069
  [_im]: input[_IM]
4070
4070
  });
4071
4071
  b.bp("/2020-05-31/streaming-distribution/{Id}");
@@ -4678,7 +4678,7 @@ var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context
4678
4678
  }, "se_ListTagsForResourceCommand");
4679
4679
  var se_PublishFunctionCommand = /* @__PURE__ */ __name(async (input, context) => {
4680
4680
  const b = (0, import_core.requestBuilder)(input, context);
4681
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
4681
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
4682
4682
  [_im]: input[_IM]
4683
4683
  });
4684
4684
  b.bp("/2020-05-31/function/{Name}/publish");
@@ -4710,7 +4710,7 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
4710
4710
  }, "se_TagResourceCommand");
4711
4711
  var se_TestFunctionCommand = /* @__PURE__ */ __name(async (input, context) => {
4712
4712
  const b = (0, import_core.requestBuilder)(input, context);
4713
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
4713
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
4714
4714
  "content-type": "application/xml",
4715
4715
  [_im]: input[_IM]
4716
4716
  });
@@ -4753,7 +4753,7 @@ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
4753
4753
  }, "se_UntagResourceCommand");
4754
4754
  var se_UpdateCachePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
4755
4755
  const b = (0, import_core.requestBuilder)(input, context);
4756
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
4756
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
4757
4757
  "content-type": "application/xml",
4758
4758
  [_im]: input[_IM]
4759
4759
  });
@@ -4772,7 +4772,7 @@ var se_UpdateCachePolicyCommand = /* @__PURE__ */ __name(async (input, context)
4772
4772
  }, "se_UpdateCachePolicyCommand");
4773
4773
  var se_UpdateCloudFrontOriginAccessIdentityCommand = /* @__PURE__ */ __name(async (input, context) => {
4774
4774
  const b = (0, import_core.requestBuilder)(input, context);
4775
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
4775
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
4776
4776
  "content-type": "application/xml",
4777
4777
  [_im]: input[_IM]
4778
4778
  });
@@ -4791,7 +4791,7 @@ var se_UpdateCloudFrontOriginAccessIdentityCommand = /* @__PURE__ */ __name(asyn
4791
4791
  }, "se_UpdateCloudFrontOriginAccessIdentityCommand");
4792
4792
  var se_UpdateContinuousDeploymentPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
4793
4793
  const b = (0, import_core.requestBuilder)(input, context);
4794
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
4794
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
4795
4795
  "content-type": "application/xml",
4796
4796
  [_im]: input[_IM]
4797
4797
  });
@@ -4810,7 +4810,7 @@ var se_UpdateContinuousDeploymentPolicyCommand = /* @__PURE__ */ __name(async (i
4810
4810
  }, "se_UpdateContinuousDeploymentPolicyCommand");
4811
4811
  var se_UpdateDistributionCommand = /* @__PURE__ */ __name(async (input, context) => {
4812
4812
  const b = (0, import_core.requestBuilder)(input, context);
4813
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
4813
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
4814
4814
  "content-type": "application/xml",
4815
4815
  [_im]: input[_IM]
4816
4816
  });
@@ -4829,7 +4829,7 @@ var se_UpdateDistributionCommand = /* @__PURE__ */ __name(async (input, context)
4829
4829
  }, "se_UpdateDistributionCommand");
4830
4830
  var se_UpdateDistributionWithStagingConfigCommand = /* @__PURE__ */ __name(async (input, context) => {
4831
4831
  const b = (0, import_core.requestBuilder)(input, context);
4832
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
4832
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
4833
4833
  [_im]: input[_IM]
4834
4834
  });
4835
4835
  b.bp("/2020-05-31/distribution/{Id}/promote-staging-config");
@@ -4843,7 +4843,7 @@ var se_UpdateDistributionWithStagingConfigCommand = /* @__PURE__ */ __name(async
4843
4843
  }, "se_UpdateDistributionWithStagingConfigCommand");
4844
4844
  var se_UpdateFieldLevelEncryptionConfigCommand = /* @__PURE__ */ __name(async (input, context) => {
4845
4845
  const b = (0, import_core.requestBuilder)(input, context);
4846
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
4846
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
4847
4847
  "content-type": "application/xml",
4848
4848
  [_im]: input[_IM]
4849
4849
  });
@@ -4862,7 +4862,7 @@ var se_UpdateFieldLevelEncryptionConfigCommand = /* @__PURE__ */ __name(async (i
4862
4862
  }, "se_UpdateFieldLevelEncryptionConfigCommand");
4863
4863
  var se_UpdateFieldLevelEncryptionProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
4864
4864
  const b = (0, import_core.requestBuilder)(input, context);
4865
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
4865
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
4866
4866
  "content-type": "application/xml",
4867
4867
  [_im]: input[_IM]
4868
4868
  });
@@ -4881,7 +4881,7 @@ var se_UpdateFieldLevelEncryptionProfileCommand = /* @__PURE__ */ __name(async (
4881
4881
  }, "se_UpdateFieldLevelEncryptionProfileCommand");
4882
4882
  var se_UpdateFunctionCommand = /* @__PURE__ */ __name(async (input, context) => {
4883
4883
  const b = (0, import_core.requestBuilder)(input, context);
4884
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
4884
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
4885
4885
  "content-type": "application/xml",
4886
4886
  [_im]: input[_IM]
4887
4887
  });
@@ -4903,7 +4903,7 @@ var se_UpdateFunctionCommand = /* @__PURE__ */ __name(async (input, context) =>
4903
4903
  }, "se_UpdateFunctionCommand");
4904
4904
  var se_UpdateKeyGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
4905
4905
  const b = (0, import_core.requestBuilder)(input, context);
4906
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
4906
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
4907
4907
  "content-type": "application/xml",
4908
4908
  [_im]: input[_IM]
4909
4909
  });
@@ -4922,7 +4922,7 @@ var se_UpdateKeyGroupCommand = /* @__PURE__ */ __name(async (input, context) =>
4922
4922
  }, "se_UpdateKeyGroupCommand");
4923
4923
  var se_UpdateKeyValueStoreCommand = /* @__PURE__ */ __name(async (input, context) => {
4924
4924
  const b = (0, import_core.requestBuilder)(input, context);
4925
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
4925
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
4926
4926
  "content-type": "application/xml",
4927
4927
  [_im]: input[_IM]
4928
4928
  });
@@ -4941,7 +4941,7 @@ var se_UpdateKeyValueStoreCommand = /* @__PURE__ */ __name(async (input, context
4941
4941
  }, "se_UpdateKeyValueStoreCommand");
4942
4942
  var se_UpdateOriginAccessControlCommand = /* @__PURE__ */ __name(async (input, context) => {
4943
4943
  const b = (0, import_core.requestBuilder)(input, context);
4944
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
4944
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
4945
4945
  "content-type": "application/xml",
4946
4946
  [_im]: input[_IM]
4947
4947
  });
@@ -4960,7 +4960,7 @@ var se_UpdateOriginAccessControlCommand = /* @__PURE__ */ __name(async (input, c
4960
4960
  }, "se_UpdateOriginAccessControlCommand");
4961
4961
  var se_UpdateOriginRequestPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
4962
4962
  const b = (0, import_core.requestBuilder)(input, context);
4963
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
4963
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
4964
4964
  "content-type": "application/xml",
4965
4965
  [_im]: input[_IM]
4966
4966
  });
@@ -4979,7 +4979,7 @@ var se_UpdateOriginRequestPolicyCommand = /* @__PURE__ */ __name(async (input, c
4979
4979
  }, "se_UpdateOriginRequestPolicyCommand");
4980
4980
  var se_UpdatePublicKeyCommand = /* @__PURE__ */ __name(async (input, context) => {
4981
4981
  const b = (0, import_core.requestBuilder)(input, context);
4982
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
4982
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
4983
4983
  "content-type": "application/xml",
4984
4984
  [_im]: input[_IM]
4985
4985
  });
@@ -5023,7 +5023,7 @@ var se_UpdateRealtimeLogConfigCommand = /* @__PURE__ */ __name(async (input, con
5023
5023
  }, "se_UpdateRealtimeLogConfigCommand");
5024
5024
  var se_UpdateResponseHeadersPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
5025
5025
  const b = (0, import_core.requestBuilder)(input, context);
5026
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
5026
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
5027
5027
  "content-type": "application/xml",
5028
5028
  [_im]: input[_IM]
5029
5029
  });
@@ -5042,7 +5042,7 @@ var se_UpdateResponseHeadersPolicyCommand = /* @__PURE__ */ __name(async (input,
5042
5042
  }, "se_UpdateResponseHeadersPolicyCommand");
5043
5043
  var se_UpdateStreamingDistributionCommand = /* @__PURE__ */ __name(async (input, context) => {
5044
5044
  const b = (0, import_core.requestBuilder)(input, context);
5045
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
5045
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
5046
5046
  "content-type": "application/xml",
5047
5047
  [_im]: input[_IM]
5048
5048
  });
@@ -12866,7 +12866,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
12866
12866
  extendedRequestId: output.headers["x-amz-id-2"],
12867
12867
  cfId: output.headers["x-amz-cf-id"]
12868
12868
  }), "deserializeMetadata");
12869
- var isSerializableHeaderValue = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "" && (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0), "isSerializableHeaderValue");
12870
12869
  var _A = "Alias";
12871
12870
  var _AAN = "AwsAccountNumber";
12872
12871
  var _ACAC = "AccessControlAllowCredentials";
@@ -1,7 +1,7 @@
1
1
  import { loadRestXmlErrorCode, parseXmlBody as parseBody, parseXmlErrorBody as parseErrorBody } from "@aws-sdk/core";
2
2
  import { XmlNode as __XmlNode } from "@aws-sdk/xml-builder";
3
3
  import { requestBuilder as rb } from "@smithy/core";
4
- import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, getArrayIfSingleItem as __getArrayIfSingleItem, map, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@smithy/smithy-client";
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
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
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";
@@ -9617,11 +9617,6 @@ const deserializeMetadata = (output) => ({
9617
9617
  cfId: output.headers["x-amz-cf-id"],
9618
9618
  });
9619
9619
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
9620
- const isSerializableHeaderValue = (value) => value !== undefined &&
9621
- value !== null &&
9622
- value !== "" &&
9623
- (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
9624
- (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
9625
9620
  const _A = "Alias";
9626
9621
  const _AAN = "AwsAccountNumber";
9627
9622
  const _ACAC = "AccessControlAllowCredentials";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudfront",
3
3
  "description": "AWS SDK for JavaScript Cloudfront Client for Node.js, Browser and React Native",
4
- "version": "3.654.0",
4
+ "version": "3.658.1",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cloudfront",
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.654.0",
24
- "@aws-sdk/client-sts": "3.654.0",
25
- "@aws-sdk/core": "3.654.0",
26
- "@aws-sdk/credential-provider-node": "3.654.0",
23
+ "@aws-sdk/client-sso-oidc": "3.658.1",
24
+ "@aws-sdk/client-sts": "3.658.1",
25
+ "@aws-sdk/core": "3.658.1",
26
+ "@aws-sdk/credential-provider-node": "3.658.1",
27
27
  "@aws-sdk/middleware-host-header": "3.654.0",
28
28
  "@aws-sdk/middleware-logger": "3.654.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.654.0",
@@ -35,30 +35,30 @@
35
35
  "@aws-sdk/util-user-agent-node": "3.654.0",
36
36
  "@aws-sdk/xml-builder": "3.654.0",
37
37
  "@smithy/config-resolver": "^3.0.8",
38
- "@smithy/core": "^2.4.3",
39
- "@smithy/fetch-http-handler": "^3.2.7",
38
+ "@smithy/core": "^2.4.6",
39
+ "@smithy/fetch-http-handler": "^3.2.8",
40
40
  "@smithy/hash-node": "^3.0.6",
41
41
  "@smithy/invalid-dependency": "^3.0.6",
42
42
  "@smithy/middleware-content-length": "^3.0.8",
43
43
  "@smithy/middleware-endpoint": "^3.1.3",
44
- "@smithy/middleware-retry": "^3.0.18",
44
+ "@smithy/middleware-retry": "^3.0.21",
45
45
  "@smithy/middleware-serde": "^3.0.6",
46
46
  "@smithy/middleware-stack": "^3.0.6",
47
47
  "@smithy/node-config-provider": "^3.1.7",
48
- "@smithy/node-http-handler": "^3.2.2",
48
+ "@smithy/node-http-handler": "^3.2.3",
49
49
  "@smithy/protocol-http": "^4.1.3",
50
- "@smithy/smithy-client": "^3.3.2",
50
+ "@smithy/smithy-client": "^3.3.5",
51
51
  "@smithy/types": "^3.4.2",
52
52
  "@smithy/url-parser": "^3.0.6",
53
53
  "@smithy/util-base64": "^3.0.0",
54
54
  "@smithy/util-body-length-browser": "^3.0.0",
55
55
  "@smithy/util-body-length-node": "^3.0.0",
56
- "@smithy/util-defaults-mode-browser": "^3.0.18",
57
- "@smithy/util-defaults-mode-node": "^3.0.18",
56
+ "@smithy/util-defaults-mode-browser": "^3.0.21",
57
+ "@smithy/util-defaults-mode-node": "^3.0.21",
58
58
  "@smithy/util-endpoints": "^2.1.2",
59
59
  "@smithy/util-middleware": "^3.0.6",
60
60
  "@smithy/util-retry": "^3.0.6",
61
- "@smithy/util-stream": "^3.1.6",
61
+ "@smithy/util-stream": "^3.1.8",
62
62
  "@smithy/util-utf8": "^3.0.0",
63
63
  "@smithy/util-waiter": "^3.1.5",
64
64
  "tslib": "^2.6.2"