@aws-sdk/client-cloudfront 3.298.0 → 3.300.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 (107) hide show
  1. package/dist-types/commands/AssociateAliasCommand.d.ts +4 -0
  2. package/dist-types/commands/CopyDistributionCommand.d.ts +6 -0
  3. package/dist-types/commands/CreateCachePolicyCommand.d.ts +40 -0
  4. package/dist-types/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +6 -0
  5. package/dist-types/commands/CreateContinuousDeploymentPolicyCommand.d.ts +25 -0
  6. package/dist-types/commands/CreateDistributionCommand.d.ts +293 -0
  7. package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +303 -0
  8. package/dist-types/commands/CreateFieldLevelEncryptionConfigCommand.d.ts +31 -0
  9. package/dist-types/commands/CreateFieldLevelEncryptionProfileCommand.d.ts +22 -0
  10. package/dist-types/commands/CreateFunctionCommand.d.ts +8 -0
  11. package/dist-types/commands/CreateInvalidationCommand.d.ts +12 -0
  12. package/dist-types/commands/CreateKeyGroupCommand.d.ts +9 -0
  13. package/dist-types/commands/CreateMonitoringSubscriptionCommand.d.ts +8 -0
  14. package/dist-types/commands/CreateOriginAccessControlCommand.d.ts +9 -0
  15. package/dist-types/commands/CreateOriginRequestPolicyCommand.d.ts +33 -0
  16. package/dist-types/commands/CreatePublicKeyCommand.d.ts +8 -0
  17. package/dist-types/commands/CreateRealtimeLogConfigCommand.d.ts +16 -0
  18. package/dist-types/commands/CreateResponseHeadersPolicyCommand.d.ts +86 -0
  19. package/dist-types/commands/CreateStreamingDistributionCommand.d.ts +30 -0
  20. package/dist-types/commands/CreateStreamingDistributionWithTagsCommand.d.ts +40 -0
  21. package/dist-types/commands/DeleteCachePolicyCommand.d.ts +4 -0
  22. package/dist-types/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +4 -0
  23. package/dist-types/commands/DeleteContinuousDeploymentPolicyCommand.d.ts +4 -0
  24. package/dist-types/commands/DeleteDistributionCommand.d.ts +4 -0
  25. package/dist-types/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +4 -0
  26. package/dist-types/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +4 -0
  27. package/dist-types/commands/DeleteFunctionCommand.d.ts +4 -0
  28. package/dist-types/commands/DeleteKeyGroupCommand.d.ts +4 -0
  29. package/dist-types/commands/DeleteMonitoringSubscriptionCommand.d.ts +3 -0
  30. package/dist-types/commands/DeleteOriginAccessControlCommand.d.ts +4 -0
  31. package/dist-types/commands/DeleteOriginRequestPolicyCommand.d.ts +4 -0
  32. package/dist-types/commands/DeletePublicKeyCommand.d.ts +4 -0
  33. package/dist-types/commands/DeleteRealtimeLogConfigCommand.d.ts +4 -0
  34. package/dist-types/commands/DeleteResponseHeadersPolicyCommand.d.ts +4 -0
  35. package/dist-types/commands/DeleteStreamingDistributionCommand.d.ts +4 -0
  36. package/dist-types/commands/DescribeFunctionCommand.d.ts +4 -0
  37. package/dist-types/commands/GetCachePolicyCommand.d.ts +3 -0
  38. package/dist-types/commands/GetCachePolicyConfigCommand.d.ts +3 -0
  39. package/dist-types/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +3 -0
  40. package/dist-types/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +3 -0
  41. package/dist-types/commands/GetContinuousDeploymentPolicyCommand.d.ts +3 -0
  42. package/dist-types/commands/GetContinuousDeploymentPolicyConfigCommand.d.ts +3 -0
  43. package/dist-types/commands/GetDistributionCommand.d.ts +3 -0
  44. package/dist-types/commands/GetDistributionConfigCommand.d.ts +3 -0
  45. package/dist-types/commands/GetFieldLevelEncryptionCommand.d.ts +3 -0
  46. package/dist-types/commands/GetFieldLevelEncryptionConfigCommand.d.ts +3 -0
  47. package/dist-types/commands/GetFieldLevelEncryptionProfileCommand.d.ts +3 -0
  48. package/dist-types/commands/GetFieldLevelEncryptionProfileConfigCommand.d.ts +3 -0
  49. package/dist-types/commands/GetFunctionCommand.d.ts +4 -0
  50. package/dist-types/commands/GetInvalidationCommand.d.ts +4 -0
  51. package/dist-types/commands/GetKeyGroupCommand.d.ts +3 -0
  52. package/dist-types/commands/GetKeyGroupConfigCommand.d.ts +3 -0
  53. package/dist-types/commands/GetMonitoringSubscriptionCommand.d.ts +3 -0
  54. package/dist-types/commands/GetOriginAccessControlCommand.d.ts +3 -0
  55. package/dist-types/commands/GetOriginAccessControlConfigCommand.d.ts +3 -0
  56. package/dist-types/commands/GetOriginRequestPolicyCommand.d.ts +3 -0
  57. package/dist-types/commands/GetOriginRequestPolicyConfigCommand.d.ts +3 -0
  58. package/dist-types/commands/GetPublicKeyCommand.d.ts +3 -0
  59. package/dist-types/commands/GetPublicKeyConfigCommand.d.ts +3 -0
  60. package/dist-types/commands/GetRealtimeLogConfigCommand.d.ts +4 -0
  61. package/dist-types/commands/GetResponseHeadersPolicyCommand.d.ts +3 -0
  62. package/dist-types/commands/GetResponseHeadersPolicyConfigCommand.d.ts +3 -0
  63. package/dist-types/commands/GetStreamingDistributionCommand.d.ts +3 -0
  64. package/dist-types/commands/GetStreamingDistributionConfigCommand.d.ts +3 -0
  65. package/dist-types/commands/ListCachePoliciesCommand.d.ts +5 -0
  66. package/dist-types/commands/ListCloudFrontOriginAccessIdentitiesCommand.d.ts +4 -0
  67. package/dist-types/commands/ListConflictingAliasesCommand.d.ts +6 -0
  68. package/dist-types/commands/ListContinuousDeploymentPoliciesCommand.d.ts +4 -0
  69. package/dist-types/commands/ListDistributionsByCachePolicyIdCommand.d.ts +5 -0
  70. package/dist-types/commands/ListDistributionsByKeyGroupCommand.d.ts +5 -0
  71. package/dist-types/commands/ListDistributionsByOriginRequestPolicyIdCommand.d.ts +5 -0
  72. package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +6 -0
  73. package/dist-types/commands/ListDistributionsByResponseHeadersPolicyIdCommand.d.ts +5 -0
  74. package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +5 -0
  75. package/dist-types/commands/ListDistributionsCommand.d.ts +4 -0
  76. package/dist-types/commands/ListFieldLevelEncryptionConfigsCommand.d.ts +4 -0
  77. package/dist-types/commands/ListFieldLevelEncryptionProfilesCommand.d.ts +4 -0
  78. package/dist-types/commands/ListFunctionsCommand.d.ts +5 -0
  79. package/dist-types/commands/ListInvalidationsCommand.d.ts +5 -0
  80. package/dist-types/commands/ListKeyGroupsCommand.d.ts +4 -0
  81. package/dist-types/commands/ListOriginAccessControlsCommand.d.ts +4 -0
  82. package/dist-types/commands/ListOriginRequestPoliciesCommand.d.ts +5 -0
  83. package/dist-types/commands/ListPublicKeysCommand.d.ts +4 -0
  84. package/dist-types/commands/ListRealtimeLogConfigsCommand.d.ts +4 -0
  85. package/dist-types/commands/ListResponseHeadersPoliciesCommand.d.ts +5 -0
  86. package/dist-types/commands/ListStreamingDistributionsCommand.d.ts +4 -0
  87. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  88. package/dist-types/commands/PublishFunctionCommand.d.ts +4 -0
  89. package/dist-types/commands/TagResourceCommand.d.ts +11 -0
  90. package/dist-types/commands/TestFunctionCommand.d.ts +6 -0
  91. package/dist-types/commands/UntagResourceCommand.d.ts +8 -0
  92. package/dist-types/commands/UpdateCachePolicyCommand.d.ts +42 -0
  93. package/dist-types/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +8 -0
  94. package/dist-types/commands/UpdateContinuousDeploymentPolicyCommand.d.ts +27 -0
  95. package/dist-types/commands/UpdateDistributionCommand.d.ts +295 -0
  96. package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +5 -0
  97. package/dist-types/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +33 -0
  98. package/dist-types/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +24 -0
  99. package/dist-types/commands/UpdateFunctionCommand.d.ts +9 -0
  100. package/dist-types/commands/UpdateKeyGroupCommand.d.ts +11 -0
  101. package/dist-types/commands/UpdateOriginAccessControlCommand.d.ts +11 -0
  102. package/dist-types/commands/UpdateOriginRequestPolicyCommand.d.ts +35 -0
  103. package/dist-types/commands/UpdatePublicKeyCommand.d.ts +10 -0
  104. package/dist-types/commands/UpdateRealtimeLogConfigCommand.d.ts +17 -0
  105. package/dist-types/commands/UpdateResponseHeadersPolicyCommand.d.ts +88 -0
  106. package/dist-types/commands/UpdateStreamingDistributionCommand.d.ts +32 -0
  107. package/package.json +12 -12
@@ -32,6 +32,11 @@ export interface ListDistributionsByCachePolicyIdCommandOutput extends ListDistr
32
32
  * import { CloudFrontClient, ListDistributionsByCachePolicyIdCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
33
33
  * // const { CloudFrontClient, ListDistributionsByCachePolicyIdCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
34
34
  * const client = new CloudFrontClient(config);
35
+ * const input = {
36
+ * Marker: "STRING_VALUE",
37
+ * MaxItems: Number("int"),
38
+ * CachePolicyId: "STRING_VALUE", // required
39
+ * };
35
40
  * const command = new ListDistributionsByCachePolicyIdCommand(input);
36
41
  * const response = await client.send(command);
37
42
  * ```
@@ -32,6 +32,11 @@ export interface ListDistributionsByKeyGroupCommandOutput extends ListDistributi
32
32
  * import { CloudFrontClient, ListDistributionsByKeyGroupCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
33
33
  * // const { CloudFrontClient, ListDistributionsByKeyGroupCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
34
34
  * const client = new CloudFrontClient(config);
35
+ * const input = {
36
+ * Marker: "STRING_VALUE",
37
+ * MaxItems: Number("int"),
38
+ * KeyGroupId: "STRING_VALUE", // required
39
+ * };
35
40
  * const command = new ListDistributionsByKeyGroupCommand(input);
36
41
  * const response = await client.send(command);
37
42
  * ```
@@ -32,6 +32,11 @@ export interface ListDistributionsByOriginRequestPolicyIdCommandOutput extends L
32
32
  * import { CloudFrontClient, ListDistributionsByOriginRequestPolicyIdCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
33
33
  * // const { CloudFrontClient, ListDistributionsByOriginRequestPolicyIdCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
34
34
  * const client = new CloudFrontClient(config);
35
+ * const input = {
36
+ * Marker: "STRING_VALUE",
37
+ * MaxItems: Number("int"),
38
+ * OriginRequestPolicyId: "STRING_VALUE", // required
39
+ * };
35
40
  * const command = new ListDistributionsByOriginRequestPolicyIdCommand(input);
36
41
  * const response = await client.send(command);
37
42
  * ```
@@ -35,6 +35,12 @@ export interface ListDistributionsByRealtimeLogConfigCommandOutput extends ListD
35
35
  * import { CloudFrontClient, ListDistributionsByRealtimeLogConfigCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
36
36
  * // const { CloudFrontClient, ListDistributionsByRealtimeLogConfigCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
37
37
  * const client = new CloudFrontClient(config);
38
+ * const input = {
39
+ * Marker: "STRING_VALUE",
40
+ * MaxItems: Number("int"),
41
+ * RealtimeLogConfigName: "STRING_VALUE",
42
+ * RealtimeLogConfigArn: "STRING_VALUE",
43
+ * };
38
44
  * const command = new ListDistributionsByRealtimeLogConfigCommand(input);
39
45
  * const response = await client.send(command);
40
46
  * ```
@@ -32,6 +32,11 @@ export interface ListDistributionsByResponseHeadersPolicyIdCommandOutput extends
32
32
  * import { CloudFrontClient, ListDistributionsByResponseHeadersPolicyIdCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
33
33
  * // const { CloudFrontClient, ListDistributionsByResponseHeadersPolicyIdCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
34
34
  * const client = new CloudFrontClient(config);
35
+ * const input = {
36
+ * Marker: "STRING_VALUE",
37
+ * MaxItems: Number("int"),
38
+ * ResponseHeadersPolicyId: "STRING_VALUE", // required
39
+ * };
35
40
  * const command = new ListDistributionsByResponseHeadersPolicyIdCommand(input);
36
41
  * const response = await client.send(command);
37
42
  * ```
@@ -26,6 +26,11 @@ export interface ListDistributionsByWebACLIdCommandOutput extends ListDistributi
26
26
  * import { CloudFrontClient, ListDistributionsByWebACLIdCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
27
27
  * // const { CloudFrontClient, ListDistributionsByWebACLIdCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
28
28
  * const client = new CloudFrontClient(config);
29
+ * const input = {
30
+ * Marker: "STRING_VALUE",
31
+ * MaxItems: Number("int"),
32
+ * WebACLId: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new ListDistributionsByWebACLIdCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,10 @@ export interface ListDistributionsCommandOutput extends ListDistributionsResult,
26
26
  * import { CloudFrontClient, ListDistributionsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
27
27
  * // const { CloudFrontClient, ListDistributionsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
28
28
  * const client = new CloudFrontClient(config);
29
+ * const input = {
30
+ * Marker: "STRING_VALUE",
31
+ * MaxItems: Number("int"),
32
+ * };
29
33
  * const command = new ListDistributionsCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -27,6 +27,10 @@ export interface ListFieldLevelEncryptionConfigsCommandOutput extends ListFieldL
27
27
  * import { CloudFrontClient, ListFieldLevelEncryptionConfigsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
28
28
  * // const { CloudFrontClient, ListFieldLevelEncryptionConfigsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
29
29
  * const client = new CloudFrontClient(config);
30
+ * const input = {
31
+ * Marker: "STRING_VALUE",
32
+ * MaxItems: Number("int"),
33
+ * };
30
34
  * const command = new ListFieldLevelEncryptionConfigsCommand(input);
31
35
  * const response = await client.send(command);
32
36
  * ```
@@ -27,6 +27,10 @@ export interface ListFieldLevelEncryptionProfilesCommandOutput extends ListField
27
27
  * import { CloudFrontClient, ListFieldLevelEncryptionProfilesCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
28
28
  * // const { CloudFrontClient, ListFieldLevelEncryptionProfilesCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
29
29
  * const client = new CloudFrontClient(config);
30
+ * const input = {
31
+ * Marker: "STRING_VALUE",
32
+ * MaxItems: Number("int"),
33
+ * };
30
34
  * const command = new ListFieldLevelEncryptionProfilesCommand(input);
31
35
  * const response = await client.send(command);
32
36
  * ```
@@ -33,6 +33,11 @@ export interface ListFunctionsCommandOutput extends ListFunctionsResult, __Metad
33
33
  * import { CloudFrontClient, ListFunctionsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
34
34
  * // const { CloudFrontClient, ListFunctionsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
35
35
  * const client = new CloudFrontClient(config);
36
+ * const input = {
37
+ * Marker: "STRING_VALUE",
38
+ * MaxItems: Number("int"),
39
+ * Stage: "DEVELOPMENT" || "LIVE",
40
+ * };
36
41
  * const command = new ListFunctionsCommand(input);
37
42
  * const response = await client.send(command);
38
43
  * ```
@@ -26,6 +26,11 @@ export interface ListInvalidationsCommandOutput extends ListInvalidationsResult,
26
26
  * import { CloudFrontClient, ListInvalidationsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
27
27
  * // const { CloudFrontClient, ListInvalidationsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
28
28
  * const client = new CloudFrontClient(config);
29
+ * const input = {
30
+ * DistributionId: "STRING_VALUE", // required
31
+ * Marker: "STRING_VALUE",
32
+ * MaxItems: Number("int"),
33
+ * };
29
34
  * const command = new ListInvalidationsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -31,6 +31,10 @@ export interface ListKeyGroupsCommandOutput extends ListKeyGroupsResult, __Metad
31
31
  * import { CloudFrontClient, ListKeyGroupsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
32
32
  * // const { CloudFrontClient, ListKeyGroupsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
33
33
  * const client = new CloudFrontClient(config);
34
+ * const input = {
35
+ * Marker: "STRING_VALUE",
36
+ * MaxItems: Number("int"),
37
+ * };
34
38
  * const command = new ListKeyGroupsCommand(input);
35
39
  * const response = await client.send(command);
36
40
  * ```
@@ -31,6 +31,10 @@ export interface ListOriginAccessControlsCommandOutput extends ListOriginAccessC
31
31
  * import { CloudFrontClient, ListOriginAccessControlsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
32
32
  * // const { CloudFrontClient, ListOriginAccessControlsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
33
33
  * const client = new CloudFrontClient(config);
34
+ * const input = {
35
+ * Marker: "STRING_VALUE",
36
+ * MaxItems: Number("int"),
37
+ * };
34
38
  * const command = new ListOriginAccessControlsCommand(input);
35
39
  * const response = await client.send(command);
36
40
  * ```
@@ -33,6 +33,11 @@ export interface ListOriginRequestPoliciesCommandOutput extends ListOriginReques
33
33
  * import { CloudFrontClient, ListOriginRequestPoliciesCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
34
34
  * // const { CloudFrontClient, ListOriginRequestPoliciesCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
35
35
  * const client = new CloudFrontClient(config);
36
+ * const input = {
37
+ * Type: "managed" || "custom",
38
+ * Marker: "STRING_VALUE",
39
+ * MaxItems: Number("int"),
40
+ * };
36
41
  * const command = new ListOriginRequestPoliciesCommand(input);
37
42
  * const response = await client.send(command);
38
43
  * ```
@@ -26,6 +26,10 @@ export interface ListPublicKeysCommandOutput extends ListPublicKeysResult, __Met
26
26
  * import { CloudFrontClient, ListPublicKeysCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
27
27
  * // const { CloudFrontClient, ListPublicKeysCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
28
28
  * const client = new CloudFrontClient(config);
29
+ * const input = {
30
+ * Marker: "STRING_VALUE",
31
+ * MaxItems: Number("int"),
32
+ * };
29
33
  * const command = new ListPublicKeysCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -31,6 +31,10 @@ export interface ListRealtimeLogConfigsCommandOutput extends ListRealtimeLogConf
31
31
  * import { CloudFrontClient, ListRealtimeLogConfigsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
32
32
  * // const { CloudFrontClient, ListRealtimeLogConfigsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
33
33
  * const client = new CloudFrontClient(config);
34
+ * const input = {
35
+ * MaxItems: Number("int"),
36
+ * Marker: "STRING_VALUE",
37
+ * };
34
38
  * const command = new ListRealtimeLogConfigsCommand(input);
35
39
  * const response = await client.send(command);
36
40
  * ```
@@ -33,6 +33,11 @@ export interface ListResponseHeadersPoliciesCommandOutput extends ListResponseHe
33
33
  * import { CloudFrontClient, ListResponseHeadersPoliciesCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
34
34
  * // const { CloudFrontClient, ListResponseHeadersPoliciesCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
35
35
  * const client = new CloudFrontClient(config);
36
+ * const input = {
37
+ * Type: "managed" || "custom",
38
+ * Marker: "STRING_VALUE",
39
+ * MaxItems: Number("int"),
40
+ * };
36
41
  * const command = new ListResponseHeadersPoliciesCommand(input);
37
42
  * const response = await client.send(command);
38
43
  * ```
@@ -26,6 +26,10 @@ export interface ListStreamingDistributionsCommandOutput extends ListStreamingDi
26
26
  * import { CloudFrontClient, ListStreamingDistributionsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
27
27
  * // const { CloudFrontClient, ListStreamingDistributionsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
28
28
  * const client = new CloudFrontClient(config);
29
+ * const input = {
30
+ * Marker: "STRING_VALUE",
31
+ * MaxItems: Number("int"),
32
+ * };
29
33
  * const command = new ListStreamingDistributionsCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { CloudFrontClient, ListTagsForResourceCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
27
27
  * // const { CloudFrontClient, ListTagsForResourceCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
28
28
  * const client = new CloudFrontClient(config);
29
+ * const input = {
30
+ * Resource: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new ListTagsForResourceCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -35,6 +35,10 @@ export interface PublishFunctionCommandOutput extends PublishFunctionResult, __M
35
35
  * import { CloudFrontClient, PublishFunctionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
36
36
  * // const { CloudFrontClient, PublishFunctionCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
37
37
  * const client = new CloudFrontClient(config);
38
+ * const input = {
39
+ * Name: "STRING_VALUE", // required
40
+ * IfMatch: "STRING_VALUE", // required
41
+ * };
38
42
  * const command = new PublishFunctionCommand(input);
39
43
  * const response = await client.send(command);
40
44
  * ```
@@ -26,6 +26,17 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
26
26
  * import { CloudFrontClient, TagResourceCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
27
27
  * // const { CloudFrontClient, TagResourceCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
28
28
  * const client = new CloudFrontClient(config);
29
+ * const input = {
30
+ * Resource: "STRING_VALUE", // required
31
+ * Tags: {
32
+ * Items: [
33
+ * {
34
+ * Key: "STRING_VALUE", // required
35
+ * Value: "STRING_VALUE",
36
+ * },
37
+ * ],
38
+ * },
39
+ * };
29
40
  * const command = new TagResourceCommand(input);
30
41
  * const response = await client.send(command);
31
42
  * ```
@@ -35,6 +35,12 @@ export interface TestFunctionCommandOutput extends TestFunctionResult, __Metadat
35
35
  * import { CloudFrontClient, TestFunctionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
36
36
  * // const { CloudFrontClient, TestFunctionCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
37
37
  * const client = new CloudFrontClient(config);
38
+ * const input = {
39
+ * Name: "STRING_VALUE", // required
40
+ * IfMatch: "STRING_VALUE", // required
41
+ * Stage: "DEVELOPMENT" || "LIVE",
42
+ * EventObject: "BLOB_VALUE", // required
43
+ * };
38
44
  * const command = new TestFunctionCommand(input);
39
45
  * const response = await client.send(command);
40
46
  * ```
@@ -26,6 +26,14 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
26
26
  * import { CloudFrontClient, UntagResourceCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
27
27
  * // const { CloudFrontClient, UntagResourceCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
28
28
  * const client = new CloudFrontClient(config);
29
+ * const input = {
30
+ * Resource: "STRING_VALUE", // required
31
+ * TagKeys: {
32
+ * Items: [
33
+ * "STRING_VALUE",
34
+ * ],
35
+ * },
36
+ * };
29
37
  * const command = new UntagResourceCommand(input);
30
38
  * const response = await client.send(command);
31
39
  * ```
@@ -43,6 +43,48 @@ export interface UpdateCachePolicyCommandOutput extends UpdateCachePolicyResult,
43
43
  * import { CloudFrontClient, UpdateCachePolicyCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
44
44
  * // const { CloudFrontClient, UpdateCachePolicyCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
45
45
  * const client = new CloudFrontClient(config);
46
+ * const input = {
47
+ * CachePolicyConfig: {
48
+ * Comment: "STRING_VALUE",
49
+ * Name: "STRING_VALUE", // required
50
+ * DefaultTTL: Number("long"),
51
+ * MaxTTL: Number("long"),
52
+ * MinTTL: Number("long"), // required
53
+ * ParametersInCacheKeyAndForwardedToOrigin: {
54
+ * EnableAcceptEncodingGzip: true || false, // required
55
+ * EnableAcceptEncodingBrotli: true || false,
56
+ * HeadersConfig: {
57
+ * HeaderBehavior: "none" || "whitelist", // required
58
+ * Headers: {
59
+ * Quantity: Number("int"), // required
60
+ * Items: [
61
+ * "STRING_VALUE",
62
+ * ],
63
+ * },
64
+ * },
65
+ * CookiesConfig: {
66
+ * CookieBehavior: "none" || "whitelist" || "allExcept" || "all", // required
67
+ * Cookies: {
68
+ * Quantity: Number("int"), // required
69
+ * Items: [
70
+ * "STRING_VALUE",
71
+ * ],
72
+ * },
73
+ * },
74
+ * QueryStringsConfig: {
75
+ * QueryStringBehavior: "none" || "whitelist" || "allExcept" || "all", // required
76
+ * QueryStrings: {
77
+ * Quantity: Number("int"), // required
78
+ * Items: [
79
+ * "STRING_VALUE",
80
+ * ],
81
+ * },
82
+ * },
83
+ * },
84
+ * },
85
+ * Id: "STRING_VALUE", // required
86
+ * IfMatch: "STRING_VALUE",
87
+ * };
46
88
  * const command = new UpdateCachePolicyCommand(input);
47
89
  * const response = await client.send(command);
48
90
  * ```
@@ -26,6 +26,14 @@ export interface UpdateCloudFrontOriginAccessIdentityCommandOutput extends Updat
26
26
  * import { CloudFrontClient, UpdateCloudFrontOriginAccessIdentityCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
27
27
  * // const { CloudFrontClient, UpdateCloudFrontOriginAccessIdentityCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
28
28
  * const client = new CloudFrontClient(config);
29
+ * const input = {
30
+ * CloudFrontOriginAccessIdentityConfig: {
31
+ * CallerReference: "STRING_VALUE", // required
32
+ * Comment: "STRING_VALUE", // required
33
+ * },
34
+ * Id: "STRING_VALUE", // required
35
+ * IfMatch: "STRING_VALUE",
36
+ * };
29
37
  * const command = new UpdateCloudFrontOriginAccessIdentityCommand(input);
30
38
  * const response = await client.send(command);
31
39
  * ```
@@ -47,6 +47,33 @@ export interface UpdateContinuousDeploymentPolicyCommandOutput extends UpdateCon
47
47
  * import { CloudFrontClient, UpdateContinuousDeploymentPolicyCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
48
48
  * // const { CloudFrontClient, UpdateContinuousDeploymentPolicyCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
49
49
  * const client = new CloudFrontClient(config);
50
+ * const input = {
51
+ * ContinuousDeploymentPolicyConfig: {
52
+ * StagingDistributionDnsNames: {
53
+ * Quantity: Number("int"), // required
54
+ * Items: [
55
+ * "STRING_VALUE",
56
+ * ],
57
+ * },
58
+ * Enabled: true || false, // required
59
+ * TrafficConfig: {
60
+ * SingleWeightConfig: {
61
+ * Weight: Number("float"), // required
62
+ * SessionStickinessConfig: {
63
+ * IdleTTL: Number("int"), // required
64
+ * MaximumTTL: Number("int"), // required
65
+ * },
66
+ * },
67
+ * SingleHeaderConfig: {
68
+ * Header: "STRING_VALUE", // required
69
+ * Value: "STRING_VALUE", // required
70
+ * },
71
+ * Type: "SingleWeight" || "SingleHeader", // required
72
+ * },
73
+ * },
74
+ * Id: "STRING_VALUE", // required
75
+ * IfMatch: "STRING_VALUE",
76
+ * };
50
77
  * const command = new UpdateContinuousDeploymentPolicyCommand(input);
51
78
  * const response = await client.send(command);
52
79
  * ```