@aws-sdk/client-cloudfront 3.36.0 → 3.39.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 (217) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/CloudFront.js +0 -6
  3. package/dist-cjs/CloudFrontClient.js +0 -11
  4. package/dist-cjs/commands/AssociateAliasCommand.js +0 -34
  5. package/dist-cjs/commands/CreateCachePolicyCommand.js +0 -44
  6. package/dist-cjs/commands/CreateCloudFrontOriginAccessIdentityCommand.js +0 -27
  7. package/dist-cjs/commands/CreateDistributionCommand.js +0 -36
  8. package/dist-cjs/commands/CreateDistributionWithTagsCommand.js +0 -24
  9. package/dist-cjs/commands/CreateFieldLevelEncryptionConfigCommand.js +0 -24
  10. package/dist-cjs/commands/CreateFieldLevelEncryptionProfileCommand.js +0 -24
  11. package/dist-cjs/commands/CreateFunctionCommand.js +0 -34
  12. package/dist-cjs/commands/CreateInvalidationCommand.js +0 -24
  13. package/dist-cjs/commands/CreateKeyGroupCommand.js +0 -31
  14. package/dist-cjs/commands/CreateMonitoringSubscriptionCommand.js +0 -27
  15. package/dist-cjs/commands/CreateOriginRequestPolicyCommand.js +0 -48
  16. package/dist-cjs/commands/CreatePublicKeyCommand.js +0 -24
  17. package/dist-cjs/commands/CreateRealtimeLogConfigCommand.js +0 -27
  18. package/dist-cjs/commands/CreateStreamingDistributionCommand.js +0 -26
  19. package/dist-cjs/commands/CreateStreamingDistributionWithTagsCommand.js +0 -26
  20. package/dist-cjs/commands/DeleteCachePolicyCommand.js +0 -30
  21. package/dist-cjs/commands/DeleteCloudFrontOriginAccessIdentityCommand.js +0 -24
  22. package/dist-cjs/commands/DeleteDistributionCommand.js +0 -24
  23. package/dist-cjs/commands/DeleteFieldLevelEncryptionConfigCommand.js +0 -24
  24. package/dist-cjs/commands/DeleteFieldLevelEncryptionProfileCommand.js +0 -24
  25. package/dist-cjs/commands/DeleteFunctionCommand.js +0 -30
  26. package/dist-cjs/commands/DeleteKeyGroupCommand.js +0 -30
  27. package/dist-cjs/commands/DeleteMonitoringSubscriptionCommand.js +0 -24
  28. package/dist-cjs/commands/DeleteOriginRequestPolicyCommand.js +0 -30
  29. package/dist-cjs/commands/DeletePublicKeyCommand.js +0 -24
  30. package/dist-cjs/commands/DeleteRealtimeLogConfigCommand.js +0 -30
  31. package/dist-cjs/commands/DeleteStreamingDistributionCommand.js +0 -71
  32. package/dist-cjs/commands/DescribeFunctionCommand.js +0 -28
  33. package/dist-cjs/commands/GetCachePolicyCommand.js +0 -37
  34. package/dist-cjs/commands/GetCachePolicyConfigCommand.js +0 -29
  35. package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityCommand.js +0 -24
  36. package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js +0 -24
  37. package/dist-cjs/commands/GetDistributionCommand.js +0 -24
  38. package/dist-cjs/commands/GetDistributionConfigCommand.js +0 -24
  39. package/dist-cjs/commands/GetFieldLevelEncryptionCommand.js +0 -24
  40. package/dist-cjs/commands/GetFieldLevelEncryptionConfigCommand.js +0 -24
  41. package/dist-cjs/commands/GetFieldLevelEncryptionProfileCommand.js +0 -24
  42. package/dist-cjs/commands/GetFieldLevelEncryptionProfileConfigCommand.js +0 -24
  43. package/dist-cjs/commands/GetFunctionCommand.js +0 -27
  44. package/dist-cjs/commands/GetInvalidationCommand.js +0 -24
  45. package/dist-cjs/commands/GetKeyGroupCommand.js +0 -29
  46. package/dist-cjs/commands/GetKeyGroupConfigCommand.js +0 -29
  47. package/dist-cjs/commands/GetMonitoringSubscriptionCommand.js +0 -25
  48. package/dist-cjs/commands/GetOriginRequestPolicyCommand.js +0 -37
  49. package/dist-cjs/commands/GetOriginRequestPolicyConfigCommand.js +0 -30
  50. package/dist-cjs/commands/GetPublicKeyCommand.js +0 -24
  51. package/dist-cjs/commands/GetPublicKeyConfigCommand.js +0 -24
  52. package/dist-cjs/commands/GetRealtimeLogConfigCommand.js +0 -27
  53. package/dist-cjs/commands/GetStreamingDistributionCommand.js +0 -24
  54. package/dist-cjs/commands/GetStreamingDistributionConfigCommand.js +0 -24
  55. package/dist-cjs/commands/ListCachePoliciesCommand.js +0 -31
  56. package/dist-cjs/commands/ListCloudFrontOriginAccessIdentitiesCommand.js +0 -24
  57. package/dist-cjs/commands/ListConflictingAliasesCommand.js +0 -46
  58. package/dist-cjs/commands/ListDistributionsByCachePolicyIdCommand.js +0 -30
  59. package/dist-cjs/commands/ListDistributionsByKeyGroupCommand.js +0 -30
  60. package/dist-cjs/commands/ListDistributionsByOriginRequestPolicyIdCommand.js +0 -30
  61. package/dist-cjs/commands/ListDistributionsByRealtimeLogConfigCommand.js +0 -33
  62. package/dist-cjs/commands/ListDistributionsByWebACLIdCommand.js +0 -24
  63. package/dist-cjs/commands/ListDistributionsCommand.js +0 -24
  64. package/dist-cjs/commands/ListFieldLevelEncryptionConfigsCommand.js +0 -24
  65. package/dist-cjs/commands/ListFieldLevelEncryptionProfilesCommand.js +0 -24
  66. package/dist-cjs/commands/ListFunctionsCommand.js +0 -31
  67. package/dist-cjs/commands/ListInvalidationsCommand.js +0 -24
  68. package/dist-cjs/commands/ListKeyGroupsCommand.js +0 -29
  69. package/dist-cjs/commands/ListOriginRequestPoliciesCommand.js +0 -31
  70. package/dist-cjs/commands/ListPublicKeysCommand.js +0 -24
  71. package/dist-cjs/commands/ListRealtimeLogConfigsCommand.js +0 -29
  72. package/dist-cjs/commands/ListStreamingDistributionsCommand.js +0 -24
  73. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
  74. package/dist-cjs/commands/PublishFunctionCommand.js +0 -32
  75. package/dist-cjs/commands/TagResourceCommand.js +0 -24
  76. package/dist-cjs/commands/TestFunctionCommand.js +0 -33
  77. package/dist-cjs/commands/UntagResourceCommand.js +0 -24
  78. package/dist-cjs/commands/UpdateCachePolicyCommand.js +0 -41
  79. package/dist-cjs/commands/UpdateCloudFrontOriginAccessIdentityCommand.js +0 -24
  80. package/dist-cjs/commands/UpdateDistributionCommand.js +0 -102
  81. package/dist-cjs/commands/UpdateFieldLevelEncryptionConfigCommand.js +0 -24
  82. package/dist-cjs/commands/UpdateFieldLevelEncryptionProfileCommand.js +0 -24
  83. package/dist-cjs/commands/UpdateFunctionCommand.js +0 -29
  84. package/dist-cjs/commands/UpdateKeyGroupCommand.js +0 -41
  85. package/dist-cjs/commands/UpdateOriginRequestPolicyCommand.js +0 -41
  86. package/dist-cjs/commands/UpdatePublicKeyCommand.js +0 -24
  87. package/dist-cjs/commands/UpdateRealtimeLogConfigCommand.js +0 -44
  88. package/dist-cjs/commands/UpdateStreamingDistributionCommand.js +0 -24
  89. package/dist-cjs/commands/index.js +88 -0
  90. package/dist-cjs/endpoints.js +6 -1
  91. package/dist-cjs/index.js +5 -95
  92. package/dist-cjs/models/models_0.js +0 -828
  93. package/dist-cjs/models/models_1.js +0 -369
  94. package/dist-cjs/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.js +0 -10
  95. package/dist-cjs/pagination/ListDistributionsPaginator.js +0 -10
  96. package/dist-cjs/pagination/ListInvalidationsPaginator.js +0 -10
  97. package/dist-cjs/pagination/ListStreamingDistributionsPaginator.js +0 -10
  98. package/dist-cjs/pagination/index.js +8 -0
  99. package/dist-cjs/protocols/Aws_restXml.js +0 -2
  100. package/dist-cjs/runtimeConfig.browser.js +1 -5
  101. package/dist-cjs/runtimeConfig.js +1 -5
  102. package/dist-cjs/runtimeConfig.native.js +0 -3
  103. package/dist-cjs/runtimeConfig.shared.js +0 -3
  104. package/dist-cjs/waiters/index.js +6 -0
  105. package/dist-cjs/waiters/waitForDistributionDeployed.js +0 -9
  106. package/dist-cjs/waiters/waitForInvalidationCompleted.js +0 -9
  107. package/dist-cjs/waiters/waitForStreamingDistributionDeployed.js +0 -9
  108. package/dist-es/commands/index.js +85 -0
  109. package/dist-es/endpoints.js +6 -1
  110. package/dist-es/index.js +5 -95
  111. package/dist-es/pagination/index.js +5 -0
  112. package/dist-es/waiters/index.js +3 -0
  113. package/dist-types/commands/index.d.ts +85 -0
  114. package/dist-types/index.d.ts +5 -95
  115. package/dist-types/pagination/index.d.ts +5 -0
  116. package/dist-types/ts3.4/CloudFront.d.ts +86 -743
  117. package/dist-types/ts3.4/CloudFrontClient.d.ts +24 -92
  118. package/dist-types/ts3.4/commands/AssociateAliasCommand.d.ts +2 -30
  119. package/dist-types/ts3.4/commands/CreateCachePolicyCommand.d.ts +2 -40
  120. package/dist-types/ts3.4/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +2 -23
  121. package/dist-types/ts3.4/commands/CreateDistributionCommand.d.ts +2 -32
  122. package/dist-types/ts3.4/commands/CreateDistributionWithTagsCommand.d.ts +2 -20
  123. package/dist-types/ts3.4/commands/CreateFieldLevelEncryptionConfigCommand.d.ts +2 -20
  124. package/dist-types/ts3.4/commands/CreateFieldLevelEncryptionProfileCommand.d.ts +2 -20
  125. package/dist-types/ts3.4/commands/CreateFunctionCommand.d.ts +2 -30
  126. package/dist-types/ts3.4/commands/CreateInvalidationCommand.d.ts +2 -20
  127. package/dist-types/ts3.4/commands/CreateKeyGroupCommand.d.ts +2 -27
  128. package/dist-types/ts3.4/commands/CreateMonitoringSubscriptionCommand.d.ts +2 -23
  129. package/dist-types/ts3.4/commands/CreateOriginRequestPolicyCommand.d.ts +2 -44
  130. package/dist-types/ts3.4/commands/CreatePublicKeyCommand.d.ts +2 -20
  131. package/dist-types/ts3.4/commands/CreateRealtimeLogConfigCommand.d.ts +2 -23
  132. package/dist-types/ts3.4/commands/CreateStreamingDistributionCommand.d.ts +2 -22
  133. package/dist-types/ts3.4/commands/CreateStreamingDistributionWithTagsCommand.d.ts +2 -22
  134. package/dist-types/ts3.4/commands/DeleteCachePolicyCommand.d.ts +2 -26
  135. package/dist-types/ts3.4/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +2 -20
  136. package/dist-types/ts3.4/commands/DeleteDistributionCommand.d.ts +2 -20
  137. package/dist-types/ts3.4/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +2 -20
  138. package/dist-types/ts3.4/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +2 -20
  139. package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +2 -26
  140. package/dist-types/ts3.4/commands/DeleteKeyGroupCommand.d.ts +2 -26
  141. package/dist-types/ts3.4/commands/DeleteMonitoringSubscriptionCommand.d.ts +2 -20
  142. package/dist-types/ts3.4/commands/DeleteOriginRequestPolicyCommand.d.ts +2 -26
  143. package/dist-types/ts3.4/commands/DeletePublicKeyCommand.d.ts +2 -20
  144. package/dist-types/ts3.4/commands/DeleteRealtimeLogConfigCommand.d.ts +2 -26
  145. package/dist-types/ts3.4/commands/DeleteStreamingDistributionCommand.d.ts +2 -67
  146. package/dist-types/ts3.4/commands/DescribeFunctionCommand.d.ts +2 -24
  147. package/dist-types/ts3.4/commands/GetCachePolicyCommand.d.ts +2 -33
  148. package/dist-types/ts3.4/commands/GetCachePolicyConfigCommand.d.ts +2 -25
  149. package/dist-types/ts3.4/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +2 -20
  150. package/dist-types/ts3.4/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +2 -20
  151. package/dist-types/ts3.4/commands/GetDistributionCommand.d.ts +2 -20
  152. package/dist-types/ts3.4/commands/GetDistributionConfigCommand.d.ts +2 -20
  153. package/dist-types/ts3.4/commands/GetFieldLevelEncryptionCommand.d.ts +2 -20
  154. package/dist-types/ts3.4/commands/GetFieldLevelEncryptionConfigCommand.d.ts +2 -20
  155. package/dist-types/ts3.4/commands/GetFieldLevelEncryptionProfileCommand.d.ts +2 -20
  156. package/dist-types/ts3.4/commands/GetFieldLevelEncryptionProfileConfigCommand.d.ts +2 -20
  157. package/dist-types/ts3.4/commands/GetFunctionCommand.d.ts +2 -23
  158. package/dist-types/ts3.4/commands/GetInvalidationCommand.d.ts +2 -20
  159. package/dist-types/ts3.4/commands/GetKeyGroupCommand.d.ts +2 -25
  160. package/dist-types/ts3.4/commands/GetKeyGroupConfigCommand.d.ts +2 -25
  161. package/dist-types/ts3.4/commands/GetMonitoringSubscriptionCommand.d.ts +2 -21
  162. package/dist-types/ts3.4/commands/GetOriginRequestPolicyCommand.d.ts +2 -33
  163. package/dist-types/ts3.4/commands/GetOriginRequestPolicyConfigCommand.d.ts +2 -26
  164. package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +2 -20
  165. package/dist-types/ts3.4/commands/GetPublicKeyConfigCommand.d.ts +2 -20
  166. package/dist-types/ts3.4/commands/GetRealtimeLogConfigCommand.d.ts +2 -23
  167. package/dist-types/ts3.4/commands/GetStreamingDistributionCommand.d.ts +2 -20
  168. package/dist-types/ts3.4/commands/GetStreamingDistributionConfigCommand.d.ts +2 -20
  169. package/dist-types/ts3.4/commands/ListCachePoliciesCommand.d.ts +2 -27
  170. package/dist-types/ts3.4/commands/ListCloudFrontOriginAccessIdentitiesCommand.d.ts +2 -20
  171. package/dist-types/ts3.4/commands/ListConflictingAliasesCommand.d.ts +2 -42
  172. package/dist-types/ts3.4/commands/ListDistributionsByCachePolicyIdCommand.d.ts +2 -26
  173. package/dist-types/ts3.4/commands/ListDistributionsByKeyGroupCommand.d.ts +2 -26
  174. package/dist-types/ts3.4/commands/ListDistributionsByOriginRequestPolicyIdCommand.d.ts +2 -26
  175. package/dist-types/ts3.4/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +2 -29
  176. package/dist-types/ts3.4/commands/ListDistributionsByWebACLIdCommand.d.ts +2 -20
  177. package/dist-types/ts3.4/commands/ListDistributionsCommand.d.ts +2 -20
  178. package/dist-types/ts3.4/commands/ListFieldLevelEncryptionConfigsCommand.d.ts +2 -20
  179. package/dist-types/ts3.4/commands/ListFieldLevelEncryptionProfilesCommand.d.ts +2 -20
  180. package/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts +2 -27
  181. package/dist-types/ts3.4/commands/ListInvalidationsCommand.d.ts +2 -20
  182. package/dist-types/ts3.4/commands/ListKeyGroupsCommand.d.ts +2 -25
  183. package/dist-types/ts3.4/commands/ListOriginRequestPoliciesCommand.d.ts +2 -27
  184. package/dist-types/ts3.4/commands/ListPublicKeysCommand.d.ts +2 -20
  185. package/dist-types/ts3.4/commands/ListRealtimeLogConfigsCommand.d.ts +2 -25
  186. package/dist-types/ts3.4/commands/ListStreamingDistributionsCommand.d.ts +2 -20
  187. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  188. package/dist-types/ts3.4/commands/PublishFunctionCommand.d.ts +2 -28
  189. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
  190. package/dist-types/ts3.4/commands/TestFunctionCommand.d.ts +2 -29
  191. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  192. package/dist-types/ts3.4/commands/UpdateCachePolicyCommand.d.ts +2 -37
  193. package/dist-types/ts3.4/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +2 -20
  194. package/dist-types/ts3.4/commands/UpdateDistributionCommand.d.ts +2 -98
  195. package/dist-types/ts3.4/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +2 -20
  196. package/dist-types/ts3.4/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +2 -20
  197. package/dist-types/ts3.4/commands/UpdateFunctionCommand.d.ts +2 -25
  198. package/dist-types/ts3.4/commands/UpdateKeyGroupCommand.d.ts +2 -37
  199. package/dist-types/ts3.4/commands/UpdateOriginRequestPolicyCommand.d.ts +2 -37
  200. package/dist-types/ts3.4/commands/UpdatePublicKeyCommand.d.ts +2 -20
  201. package/dist-types/ts3.4/commands/UpdateRealtimeLogConfigCommand.d.ts +2 -40
  202. package/dist-types/ts3.4/commands/UpdateStreamingDistributionCommand.d.ts +2 -20
  203. package/dist-types/ts3.4/commands/index.d.ts +85 -0
  204. package/dist-types/ts3.4/index.d.ts +5 -95
  205. package/dist-types/ts3.4/models/models_0.d.ts +105 -6590
  206. package/dist-types/ts3.4/models/models_1.d.ts +486 -1713
  207. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  208. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  209. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  210. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  211. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  212. package/dist-types/ts3.4/waiters/index.d.ts +3 -0
  213. package/dist-types/ts3.4/waiters/waitForDistributionDeployed.d.ts +2 -9
  214. package/dist-types/ts3.4/waiters/waitForInvalidationCompleted.d.ts +2 -9
  215. package/dist-types/ts3.4/waiters/waitForStreamingDistributionDeployed.d.ts +2 -9
  216. package/dist-types/waiters/index.d.ts +3 -0
  217. package/package.json +34 -34
@@ -85,1002 +85,345 @@ import { UpdateOriginRequestPolicyCommandInput, UpdateOriginRequestPolicyCommand
85
85
  import { UpdatePublicKeyCommandInput, UpdatePublicKeyCommandOutput } from "./commands/UpdatePublicKeyCommand";
86
86
  import { UpdateRealtimeLogConfigCommandInput, UpdateRealtimeLogConfigCommandOutput } from "./commands/UpdateRealtimeLogConfigCommand";
87
87
  import { UpdateStreamingDistributionCommandInput, UpdateStreamingDistributionCommandOutput } from "./commands/UpdateStreamingDistributionCommand";
88
- /**
89
- * <fullname>Amazon CloudFront</fullname>
90
- * <p>This is the <i>Amazon CloudFront API Reference</i>. This guide
91
- * is for developers who need detailed information about
92
- * CloudFront API actions, data types, and errors. For detailed information about CloudFront features, see the <i>Amazon CloudFront Developer Guide</i>.</p>
93
- */
88
+
94
89
  export declare class CloudFront extends CloudFrontClient {
95
- /**
96
- * <p>Associates an alias (also known as a CNAME or an alternate domain name) with a CloudFront
97
- * distribution.</p>
98
- * <p>With this operation you can move an alias that’s already in use on a CloudFront distribution
99
- * to a different distribution in one step. This prevents the downtime that could occur if
100
- * you first remove the alias from one distribution and then separately add the alias to
101
- * another distribution.</p>
102
- * <p>To use this operation to associate an alias with a distribution, you provide the alias
103
- * and the ID of the target distribution for the alias. For more information, including how
104
- * to set up the target distribution, prerequisites that you must complete, and other
105
- * restrictions, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-move">Moving an alternate domain name to a different distribution</a>
106
- * in the <i>Amazon CloudFront Developer Guide</i>.</p>
107
- */
90
+
108
91
  associateAlias(args: AssociateAliasCommandInput, options?: __HttpHandlerOptions): Promise<AssociateAliasCommandOutput>;
109
92
  associateAlias(args: AssociateAliasCommandInput, cb: (err: any, data?: AssociateAliasCommandOutput) => void): void;
110
93
  associateAlias(args: AssociateAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateAliasCommandOutput) => void): void;
111
- /**
112
- * <p>Creates a cache policy.</p>
113
- * <p>After you create a cache policy, you can attach it to one or more cache behaviors. When it’s
114
- * attached to a cache behavior, the cache policy determines the following:</p>
115
- * <ul>
116
- * <li>
117
- * <p>The values that CloudFront includes in the <i>cache key</i>. These values can
118
- * include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to
119
- * find an object in its cache that it can return to the viewer.</p>
120
- * </li>
121
- * <li>
122
- * <p>The default, minimum, and maximum time to live (TTL) values that you want objects to stay
123
- * in the CloudFront cache.</p>
124
- * </li>
125
- * </ul>
126
- * <p>The headers, cookies, and query strings that are included in the cache key are automatically
127
- * included in requests that CloudFront sends to the origin. CloudFront sends a request when it can’t
128
- * find an object in its cache that matches the request’s cache key. If you want to send
129
- * values to the origin but <i>not</i> include them in the cache key, use
130
- * <code>OriginRequestPolicy</code>.</p>
131
- * <p>For more information about cache policies, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html">Controlling the cache key</a> in the
132
- * <i>Amazon CloudFront Developer Guide</i>.</p>
133
- */
94
+
134
95
  createCachePolicy(args: CreateCachePolicyCommandInput, options?: __HttpHandlerOptions): Promise<CreateCachePolicyCommandOutput>;
135
96
  createCachePolicy(args: CreateCachePolicyCommandInput, cb: (err: any, data?: CreateCachePolicyCommandOutput) => void): void;
136
97
  createCachePolicy(args: CreateCachePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCachePolicyCommandOutput) => void): void;
137
- /**
138
- * <p>Creates a new origin access identity. If you're using Amazon S3 for your origin, you can
139
- * use an origin access identity to require users to access your content using a CloudFront URL instead
140
- * of the Amazon S3 URL. For more information about how to use origin access identities, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html">Serving Private Content through CloudFront</a> in the
141
- * <i>Amazon CloudFront Developer Guide</i>.</p>
142
- */
98
+
143
99
  createCloudFrontOriginAccessIdentity(args: CreateCloudFrontOriginAccessIdentityCommandInput, options?: __HttpHandlerOptions): Promise<CreateCloudFrontOriginAccessIdentityCommandOutput>;
144
100
  createCloudFrontOriginAccessIdentity(args: CreateCloudFrontOriginAccessIdentityCommandInput, cb: (err: any, data?: CreateCloudFrontOriginAccessIdentityCommandOutput) => void): void;
145
101
  createCloudFrontOriginAccessIdentity(args: CreateCloudFrontOriginAccessIdentityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCloudFrontOriginAccessIdentityCommandOutput) => void): void;
146
- /**
147
- * <p>Creates a new web distribution. You create a CloudFront distribution to tell CloudFront where you
148
- * want content to be delivered from, and the details about how to track and manage content delivery. Send a <code>POST</code> request to the
149
- * <code>/<i>CloudFront API version</i>/distribution</code>/<code>distribution ID</code> resource.</p>
150
- * <important>
151
- * <p>When you update a distribution, there are more required fields than when you create a distribution.
152
- * When you update your distribution by using
153
- * <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html">UpdateDistribution</a>,
154
- * follow the steps included
155
- * in the documentation to get the current configuration
156
- * and then make your updates. This helps to make sure that you include all of the required fields. To view a summary,
157
- * see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-overview-required-fields.html">Required
158
- * Fields for Create Distribution and Update Distribution</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
159
- * </important>
160
- */
102
+
161
103
  createDistribution(args: CreateDistributionCommandInput, options?: __HttpHandlerOptions): Promise<CreateDistributionCommandOutput>;
162
104
  createDistribution(args: CreateDistributionCommandInput, cb: (err: any, data?: CreateDistributionCommandOutput) => void): void;
163
105
  createDistribution(args: CreateDistributionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDistributionCommandOutput) => void): void;
164
- /**
165
- * <p>Create a new distribution with tags.</p>
166
- */
106
+
167
107
  createDistributionWithTags(args: CreateDistributionWithTagsCommandInput, options?: __HttpHandlerOptions): Promise<CreateDistributionWithTagsCommandOutput>;
168
108
  createDistributionWithTags(args: CreateDistributionWithTagsCommandInput, cb: (err: any, data?: CreateDistributionWithTagsCommandOutput) => void): void;
169
109
  createDistributionWithTags(args: CreateDistributionWithTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDistributionWithTagsCommandOutput) => void): void;
170
- /**
171
- * <p>Create a new field-level encryption configuration.</p>
172
- */
110
+
173
111
  createFieldLevelEncryptionConfig(args: CreateFieldLevelEncryptionConfigCommandInput, options?: __HttpHandlerOptions): Promise<CreateFieldLevelEncryptionConfigCommandOutput>;
174
112
  createFieldLevelEncryptionConfig(args: CreateFieldLevelEncryptionConfigCommandInput, cb: (err: any, data?: CreateFieldLevelEncryptionConfigCommandOutput) => void): void;
175
113
  createFieldLevelEncryptionConfig(args: CreateFieldLevelEncryptionConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFieldLevelEncryptionConfigCommandOutput) => void): void;
176
- /**
177
- * <p>Create a field-level encryption profile.</p>
178
- */
114
+
179
115
  createFieldLevelEncryptionProfile(args: CreateFieldLevelEncryptionProfileCommandInput, options?: __HttpHandlerOptions): Promise<CreateFieldLevelEncryptionProfileCommandOutput>;
180
116
  createFieldLevelEncryptionProfile(args: CreateFieldLevelEncryptionProfileCommandInput, cb: (err: any, data?: CreateFieldLevelEncryptionProfileCommandOutput) => void): void;
181
117
  createFieldLevelEncryptionProfile(args: CreateFieldLevelEncryptionProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFieldLevelEncryptionProfileCommandOutput) => void): void;
182
- /**
183
- * <p>Creates a CloudFront function.</p>
184
- * <p>To create a function, you provide the function code and some configuration information
185
- * about the function. The response contains an Amazon Resource Name (ARN) that uniquely
186
- * identifies the function.</p>
187
- * <p>When you create a function, it’s in the <code>DEVELOPMENT</code> stage. In this stage, you
188
- * can test the function with <code>TestFunction</code>, and update it with
189
- * <code>UpdateFunction</code>.</p>
190
- * <p>When you’re ready to use your function with a CloudFront distribution, use
191
- * <code>PublishFunction</code> to copy the function from the <code>DEVELOPMENT</code>
192
- * stage to <code>LIVE</code>. When it’s live, you can attach the function to a
193
- * distribution’s cache behavior, using the function’s ARN.</p>
194
- */
118
+
195
119
  createFunction(args: CreateFunctionCommandInput, options?: __HttpHandlerOptions): Promise<CreateFunctionCommandOutput>;
196
120
  createFunction(args: CreateFunctionCommandInput, cb: (err: any, data?: CreateFunctionCommandOutput) => void): void;
197
121
  createFunction(args: CreateFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFunctionCommandOutput) => void): void;
198
- /**
199
- * <p>Create a new invalidation. </p>
200
- */
122
+
201
123
  createInvalidation(args: CreateInvalidationCommandInput, options?: __HttpHandlerOptions): Promise<CreateInvalidationCommandOutput>;
202
124
  createInvalidation(args: CreateInvalidationCommandInput, cb: (err: any, data?: CreateInvalidationCommandOutput) => void): void;
203
125
  createInvalidation(args: CreateInvalidationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateInvalidationCommandOutput) => void): void;
204
- /**
205
- * <p>Creates a key group that you can use with <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html">CloudFront signed URLs and signed cookies</a>.</p>
206
- * <p>To create a key group, you must specify at least one public key for the key group. After you
207
- * create a key group, you can reference it from one or more cache behaviors. When you
208
- * reference a key group in a cache behavior, CloudFront requires signed URLs or signed cookies
209
- * for all requests that match the cache behavior. The URLs or cookies must be signed with
210
- * a private key whose corresponding public key is in the key group. The signed URL or
211
- * cookie contains information about which public key CloudFront should use to verify the
212
- * signature. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html">Serving private content</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
213
- */
126
+
214
127
  createKeyGroup(args: CreateKeyGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateKeyGroupCommandOutput>;
215
128
  createKeyGroup(args: CreateKeyGroupCommandInput, cb: (err: any, data?: CreateKeyGroupCommandOutput) => void): void;
216
129
  createKeyGroup(args: CreateKeyGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateKeyGroupCommandOutput) => void): void;
217
- /**
218
- * <p>Enables additional CloudWatch metrics for the specified CloudFront distribution. The
219
- * additional metrics incur an additional cost.</p>
220
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/viewing-cloudfront-metrics.html#monitoring-console.distributions-additional">Viewing additional CloudFront distribution metrics</a> in the
221
- * <i>Amazon CloudFront Developer Guide</i>.</p>
222
- */
130
+
223
131
  createMonitoringSubscription(args: CreateMonitoringSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<CreateMonitoringSubscriptionCommandOutput>;
224
132
  createMonitoringSubscription(args: CreateMonitoringSubscriptionCommandInput, cb: (err: any, data?: CreateMonitoringSubscriptionCommandOutput) => void): void;
225
133
  createMonitoringSubscription(args: CreateMonitoringSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMonitoringSubscriptionCommandOutput) => void): void;
226
- /**
227
- * <p>Creates an origin request policy.</p>
228
- * <p>After you create an origin request policy, you can attach it to one or more cache behaviors.
229
- * When it’s attached to a cache behavior, the origin request policy determines the values
230
- * that CloudFront includes in requests that it sends to the origin. Each request that CloudFront sends
231
- * to the origin includes the following:</p>
232
- * <ul>
233
- * <li>
234
- * <p>The request body and the URL path (without the domain name) from the viewer
235
- * request.</p>
236
- * </li>
237
- * <li>
238
- * <p>The headers that CloudFront automatically includes in every origin request, including
239
- * <code>Host</code>, <code>User-Agent</code>, and <code>X-Amz-Cf-Id</code>.</p>
240
- * </li>
241
- * <li>
242
- * <p>All HTTP headers, cookies, and URL query strings that are specified in the cache policy or
243
- * the origin request policy. These can include items from the viewer request and,
244
- * in the case of headers, additional ones that are added by CloudFront.</p>
245
- * </li>
246
- * </ul>
247
- * <p>CloudFront sends a request when it can’t find a valid object in its cache that matches the
248
- * request. If you want to send values to the origin and also include them in the cache
249
- * key, use <code>CachePolicy</code>.</p>
250
- * <p>For more information about origin request policies, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html">Controlling origin requests</a> in the
251
- * <i>Amazon CloudFront Developer Guide</i>.</p>
252
- */
134
+
253
135
  createOriginRequestPolicy(args: CreateOriginRequestPolicyCommandInput, options?: __HttpHandlerOptions): Promise<CreateOriginRequestPolicyCommandOutput>;
254
136
  createOriginRequestPolicy(args: CreateOriginRequestPolicyCommandInput, cb: (err: any, data?: CreateOriginRequestPolicyCommandOutput) => void): void;
255
137
  createOriginRequestPolicy(args: CreateOriginRequestPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateOriginRequestPolicyCommandOutput) => void): void;
256
- /**
257
- * <p>Uploads a public key to CloudFront that you can use with <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html">signed URLs and signed cookies</a>, or with <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html">field-level encryption</a>.</p>
258
- */
138
+
259
139
  createPublicKey(args: CreatePublicKeyCommandInput, options?: __HttpHandlerOptions): Promise<CreatePublicKeyCommandOutput>;
260
140
  createPublicKey(args: CreatePublicKeyCommandInput, cb: (err: any, data?: CreatePublicKeyCommandOutput) => void): void;
261
141
  createPublicKey(args: CreatePublicKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePublicKeyCommandOutput) => void): void;
262
- /**
263
- * <p>Creates a real-time log configuration.</p>
264
- * <p>After you create a real-time log configuration, you can attach it to one or more cache
265
- * behaviors to send real-time log data to the specified Amazon Kinesis data stream.</p>
266
- * <p>For more information about real-time log configurations, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html">Real-time logs</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
267
- */
142
+
268
143
  createRealtimeLogConfig(args: CreateRealtimeLogConfigCommandInput, options?: __HttpHandlerOptions): Promise<CreateRealtimeLogConfigCommandOutput>;
269
144
  createRealtimeLogConfig(args: CreateRealtimeLogConfigCommandInput, cb: (err: any, data?: CreateRealtimeLogConfigCommandOutput) => void): void;
270
145
  createRealtimeLogConfig(args: CreateRealtimeLogConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRealtimeLogConfigCommandOutput) => void): void;
271
- /**
272
- * <p>This API is deprecated.
273
- * Amazon CloudFront is deprecating real-time messaging protocol (RTMP) distributions on December 31, 2020.
274
- * For more information, <a href="http://forums.aws.amazon.com/ann.jspa?annID=7356">read the announcement</a> on the Amazon CloudFront discussion forum.</p>
275
- */
146
+
276
147
  createStreamingDistribution(args: CreateStreamingDistributionCommandInput, options?: __HttpHandlerOptions): Promise<CreateStreamingDistributionCommandOutput>;
277
148
  createStreamingDistribution(args: CreateStreamingDistributionCommandInput, cb: (err: any, data?: CreateStreamingDistributionCommandOutput) => void): void;
278
149
  createStreamingDistribution(args: CreateStreamingDistributionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateStreamingDistributionCommandOutput) => void): void;
279
- /**
280
- * <p>This API is deprecated.
281
- * Amazon CloudFront is deprecating real-time messaging protocol (RTMP) distributions on December 31, 2020.
282
- * For more information, <a href="http://forums.aws.amazon.com/ann.jspa?annID=7356">read the announcement</a> on the Amazon CloudFront discussion forum.</p>
283
- */
150
+
284
151
  createStreamingDistributionWithTags(args: CreateStreamingDistributionWithTagsCommandInput, options?: __HttpHandlerOptions): Promise<CreateStreamingDistributionWithTagsCommandOutput>;
285
152
  createStreamingDistributionWithTags(args: CreateStreamingDistributionWithTagsCommandInput, cb: (err: any, data?: CreateStreamingDistributionWithTagsCommandOutput) => void): void;
286
153
  createStreamingDistributionWithTags(args: CreateStreamingDistributionWithTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateStreamingDistributionWithTagsCommandOutput) => void): void;
287
- /**
288
- * <p>Deletes a cache policy.</p>
289
- * <p>You cannot delete a cache policy if it’s attached to a cache behavior. First update your
290
- * distributions to remove the cache policy from all cache behaviors, then delete the cache
291
- * policy.</p>
292
- * <p>To delete a cache policy, you must provide the policy’s identifier and version. To get these
293
- * values, you can use <code>ListCachePolicies</code> or
294
- * <code>GetCachePolicy</code>.</p>
295
- */
154
+
296
155
  deleteCachePolicy(args: DeleteCachePolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCachePolicyCommandOutput>;
297
156
  deleteCachePolicy(args: DeleteCachePolicyCommandInput, cb: (err: any, data?: DeleteCachePolicyCommandOutput) => void): void;
298
157
  deleteCachePolicy(args: DeleteCachePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCachePolicyCommandOutput) => void): void;
299
- /**
300
- * <p>Delete an origin access identity. </p>
301
- */
158
+
302
159
  deleteCloudFrontOriginAccessIdentity(args: DeleteCloudFrontOriginAccessIdentityCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCloudFrontOriginAccessIdentityCommandOutput>;
303
160
  deleteCloudFrontOriginAccessIdentity(args: DeleteCloudFrontOriginAccessIdentityCommandInput, cb: (err: any, data?: DeleteCloudFrontOriginAccessIdentityCommandOutput) => void): void;
304
161
  deleteCloudFrontOriginAccessIdentity(args: DeleteCloudFrontOriginAccessIdentityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCloudFrontOriginAccessIdentityCommandOutput) => void): void;
305
- /**
306
- * <p>Delete a distribution. </p>
307
- */
162
+
308
163
  deleteDistribution(args: DeleteDistributionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDistributionCommandOutput>;
309
164
  deleteDistribution(args: DeleteDistributionCommandInput, cb: (err: any, data?: DeleteDistributionCommandOutput) => void): void;
310
165
  deleteDistribution(args: DeleteDistributionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDistributionCommandOutput) => void): void;
311
- /**
312
- * <p>Remove a field-level encryption configuration.</p>
313
- */
166
+
314
167
  deleteFieldLevelEncryptionConfig(args: DeleteFieldLevelEncryptionConfigCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFieldLevelEncryptionConfigCommandOutput>;
315
168
  deleteFieldLevelEncryptionConfig(args: DeleteFieldLevelEncryptionConfigCommandInput, cb: (err: any, data?: DeleteFieldLevelEncryptionConfigCommandOutput) => void): void;
316
169
  deleteFieldLevelEncryptionConfig(args: DeleteFieldLevelEncryptionConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFieldLevelEncryptionConfigCommandOutput) => void): void;
317
- /**
318
- * <p>Remove a field-level encryption profile.</p>
319
- */
170
+
320
171
  deleteFieldLevelEncryptionProfile(args: DeleteFieldLevelEncryptionProfileCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFieldLevelEncryptionProfileCommandOutput>;
321
172
  deleteFieldLevelEncryptionProfile(args: DeleteFieldLevelEncryptionProfileCommandInput, cb: (err: any, data?: DeleteFieldLevelEncryptionProfileCommandOutput) => void): void;
322
173
  deleteFieldLevelEncryptionProfile(args: DeleteFieldLevelEncryptionProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFieldLevelEncryptionProfileCommandOutput) => void): void;
323
- /**
324
- * <p>Deletes a CloudFront function.</p>
325
- * <p>You cannot delete a function if it’s associated with a cache behavior. First, update your
326
- * distributions to remove the function association from all cache behaviors, then delete
327
- * the function.</p>
328
- * <p>To delete a function, you must provide the function’s name and version
329
- * (<code>ETag</code> value). To get these values, you can use <code>ListFunctions</code>
330
- * and <code>DescribeFunction</code>.</p>
331
- */
174
+
332
175
  deleteFunction(args: DeleteFunctionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFunctionCommandOutput>;
333
176
  deleteFunction(args: DeleteFunctionCommandInput, cb: (err: any, data?: DeleteFunctionCommandOutput) => void): void;
334
177
  deleteFunction(args: DeleteFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFunctionCommandOutput) => void): void;
335
- /**
336
- * <p>Deletes a key group.</p>
337
- * <p>You cannot delete a key group that is referenced in a cache behavior. First update
338
- * your distributions to remove the key group from all cache behaviors, then delete the key
339
- * group.</p>
340
- * <p>To delete a key group, you must provide the key group’s identifier and version. To get
341
- * these values, use <code>ListKeyGroups</code> followed by <code>GetKeyGroup</code> or
342
- * <code>GetKeyGroupConfig</code>.</p>
343
- */
178
+
344
179
  deleteKeyGroup(args: DeleteKeyGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteKeyGroupCommandOutput>;
345
180
  deleteKeyGroup(args: DeleteKeyGroupCommandInput, cb: (err: any, data?: DeleteKeyGroupCommandOutput) => void): void;
346
181
  deleteKeyGroup(args: DeleteKeyGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteKeyGroupCommandOutput) => void): void;
347
- /**
348
- * <p>Disables additional CloudWatch metrics for the specified CloudFront distribution.</p>
349
- */
182
+
350
183
  deleteMonitoringSubscription(args: DeleteMonitoringSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMonitoringSubscriptionCommandOutput>;
351
184
  deleteMonitoringSubscription(args: DeleteMonitoringSubscriptionCommandInput, cb: (err: any, data?: DeleteMonitoringSubscriptionCommandOutput) => void): void;
352
185
  deleteMonitoringSubscription(args: DeleteMonitoringSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMonitoringSubscriptionCommandOutput) => void): void;
353
- /**
354
- * <p>Deletes an origin request policy.</p>
355
- * <p>You cannot delete an origin request policy if it’s attached to any cache behaviors. First
356
- * update your distributions to remove the origin request policy from all cache behaviors,
357
- * then delete the origin request policy.</p>
358
- * <p>To delete an origin request policy, you must provide the policy’s identifier and version. To
359
- * get the identifier, you can use <code>ListOriginRequestPolicies</code> or
360
- * <code>GetOriginRequestPolicy</code>.</p>
361
- */
186
+
362
187
  deleteOriginRequestPolicy(args: DeleteOriginRequestPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteOriginRequestPolicyCommandOutput>;
363
188
  deleteOriginRequestPolicy(args: DeleteOriginRequestPolicyCommandInput, cb: (err: any, data?: DeleteOriginRequestPolicyCommandOutput) => void): void;
364
189
  deleteOriginRequestPolicy(args: DeleteOriginRequestPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteOriginRequestPolicyCommandOutput) => void): void;
365
- /**
366
- * <p>Remove a public key you previously added to CloudFront.</p>
367
- */
190
+
368
191
  deletePublicKey(args: DeletePublicKeyCommandInput, options?: __HttpHandlerOptions): Promise<DeletePublicKeyCommandOutput>;
369
192
  deletePublicKey(args: DeletePublicKeyCommandInput, cb: (err: any, data?: DeletePublicKeyCommandOutput) => void): void;
370
193
  deletePublicKey(args: DeletePublicKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePublicKeyCommandOutput) => void): void;
371
- /**
372
- * <p>Deletes a real-time log configuration.</p>
373
- * <p>You cannot delete a real-time log configuration if it’s attached to a cache behavior.
374
- * First update your distributions to remove the real-time log configuration from all cache
375
- * behaviors, then delete the real-time log configuration.</p>
376
- * <p>To delete a real-time log configuration, you can provide the configuration’s name or its
377
- * Amazon Resource Name (ARN). You must provide at least one. If you provide both, CloudFront
378
- * uses the name to identify the real-time log configuration to delete.</p>
379
- */
194
+
380
195
  deleteRealtimeLogConfig(args: DeleteRealtimeLogConfigCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRealtimeLogConfigCommandOutput>;
381
196
  deleteRealtimeLogConfig(args: DeleteRealtimeLogConfigCommandInput, cb: (err: any, data?: DeleteRealtimeLogConfigCommandOutput) => void): void;
382
197
  deleteRealtimeLogConfig(args: DeleteRealtimeLogConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRealtimeLogConfigCommandOutput) => void): void;
383
- /**
384
- * <p>Delete a streaming distribution. To delete an RTMP distribution using the CloudFront API,
385
- * perform the following steps.</p>
386
- *
387
- * <p>
388
- * <b>To delete an RTMP distribution using the CloudFront
389
- * API</b>:</p>
390
- * <ol>
391
- * <li>
392
- * <p>Disable the RTMP distribution.</p>
393
- * </li>
394
- * <li>
395
- * <p>Submit a <code>GET Streaming Distribution Config</code> request to get the current
396
- * configuration and the <code>Etag</code> header for the distribution. </p>
397
- * </li>
398
- * <li>
399
- * <p>Update the XML document that was returned in the response to your <code>GET
400
- * Streaming Distribution Config</code> request to change the value of <code>Enabled</code>
401
- * to <code>false</code>.</p>
402
- * </li>
403
- * <li>
404
- * <p>Submit a <code>PUT Streaming Distribution Config</code> request to update the
405
- * configuration for your distribution. In the request body, include the XML document that
406
- * you updated in Step 3. Then set the value of the HTTP <code>If-Match</code> header to the
407
- * value of the <code>ETag</code> header that CloudFront returned when you submitted the <code>GET
408
- * Streaming Distribution Config</code> request in Step 2.</p>
409
- * </li>
410
- * <li>
411
- * <p>Review the response to the <code>PUT Streaming Distribution Config</code> request
412
- * to confirm that the distribution was successfully disabled.</p>
413
- * </li>
414
- * <li>
415
- * <p>Submit a <code>GET Streaming Distribution Config</code> request to confirm that
416
- * your changes have propagated. When propagation is complete, the value of
417
- * <code>Status</code> is <code>Deployed</code>.</p>
418
- * </li>
419
- * <li>
420
- * <p>Submit a <code>DELETE Streaming Distribution</code> request. Set the value of the
421
- * HTTP <code>If-Match</code> header to the value of the <code>ETag</code> header that CloudFront
422
- * returned when you submitted the <code>GET Streaming Distribution Config</code> request in
423
- * Step 2.</p>
424
- * </li>
425
- * <li>
426
- * <p>Review the response to your <code>DELETE Streaming Distribution</code> request to
427
- * confirm that the distribution was successfully deleted.</p>
428
- * </li>
429
- * </ol>
430
- * <p>For information about deleting a distribution using the CloudFront console, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/HowToDeleteDistribution.html">Deleting a Distribution</a> in the
431
- * <i>Amazon CloudFront Developer Guide</i>.</p>
432
- */
198
+
433
199
  deleteStreamingDistribution(args: DeleteStreamingDistributionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteStreamingDistributionCommandOutput>;
434
200
  deleteStreamingDistribution(args: DeleteStreamingDistributionCommandInput, cb: (err: any, data?: DeleteStreamingDistributionCommandOutput) => void): void;
435
201
  deleteStreamingDistribution(args: DeleteStreamingDistributionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteStreamingDistributionCommandOutput) => void): void;
436
- /**
437
- * <p>Gets configuration information and metadata about a CloudFront function, but not the function’s
438
- * code. To get a function’s code, use <code>GetFunction</code>.</p>
439
- * <p>To get configuration information and metadata about a function, you must provide the
440
- * function’s name and stage. To get these values, you can use
441
- * <code>ListFunctions</code>.</p>
442
- */
202
+
443
203
  describeFunction(args: DescribeFunctionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeFunctionCommandOutput>;
444
204
  describeFunction(args: DescribeFunctionCommandInput, cb: (err: any, data?: DescribeFunctionCommandOutput) => void): void;
445
205
  describeFunction(args: DescribeFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeFunctionCommandOutput) => void): void;
446
- /**
447
- * <p>Gets a cache policy, including the following metadata:</p>
448
- * <ul>
449
- * <li>
450
- * <p>The policy’s identifier.</p>
451
- * </li>
452
- * <li>
453
- * <p>The date and time when the policy was last modified.</p>
454
- * </li>
455
- * </ul>
456
- * <p>To get a cache policy, you must provide the policy’s identifier. If the cache policy is
457
- * attached to a distribution’s cache behavior, you can get the policy’s identifier using
458
- * <code>ListDistributions</code> or <code>GetDistribution</code>. If the cache policy is
459
- * not attached to a cache behavior, you can get the identifier using
460
- * <code>ListCachePolicies</code>.</p>
461
- */
206
+
462
207
  getCachePolicy(args: GetCachePolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetCachePolicyCommandOutput>;
463
208
  getCachePolicy(args: GetCachePolicyCommandInput, cb: (err: any, data?: GetCachePolicyCommandOutput) => void): void;
464
209
  getCachePolicy(args: GetCachePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCachePolicyCommandOutput) => void): void;
465
- /**
466
- * <p>Gets a cache policy configuration.</p>
467
- * <p>To get a cache policy configuration, you must provide the policy’s identifier. If the cache
468
- * policy is attached to a distribution’s cache behavior, you can get the policy’s
469
- * identifier using <code>ListDistributions</code> or <code>GetDistribution</code>. If the
470
- * cache policy is not attached to a cache behavior, you can get the identifier using
471
- * <code>ListCachePolicies</code>.</p>
472
- */
210
+
473
211
  getCachePolicyConfig(args: GetCachePolicyConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetCachePolicyConfigCommandOutput>;
474
212
  getCachePolicyConfig(args: GetCachePolicyConfigCommandInput, cb: (err: any, data?: GetCachePolicyConfigCommandOutput) => void): void;
475
213
  getCachePolicyConfig(args: GetCachePolicyConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCachePolicyConfigCommandOutput) => void): void;
476
- /**
477
- * <p>Get the information about an origin access identity. </p>
478
- */
214
+
479
215
  getCloudFrontOriginAccessIdentity(args: GetCloudFrontOriginAccessIdentityCommandInput, options?: __HttpHandlerOptions): Promise<GetCloudFrontOriginAccessIdentityCommandOutput>;
480
216
  getCloudFrontOriginAccessIdentity(args: GetCloudFrontOriginAccessIdentityCommandInput, cb: (err: any, data?: GetCloudFrontOriginAccessIdentityCommandOutput) => void): void;
481
217
  getCloudFrontOriginAccessIdentity(args: GetCloudFrontOriginAccessIdentityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCloudFrontOriginAccessIdentityCommandOutput) => void): void;
482
- /**
483
- * <p>Get the configuration information about an origin access identity. </p>
484
- */
218
+
485
219
  getCloudFrontOriginAccessIdentityConfig(args: GetCloudFrontOriginAccessIdentityConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetCloudFrontOriginAccessIdentityConfigCommandOutput>;
486
220
  getCloudFrontOriginAccessIdentityConfig(args: GetCloudFrontOriginAccessIdentityConfigCommandInput, cb: (err: any, data?: GetCloudFrontOriginAccessIdentityConfigCommandOutput) => void): void;
487
221
  getCloudFrontOriginAccessIdentityConfig(args: GetCloudFrontOriginAccessIdentityConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCloudFrontOriginAccessIdentityConfigCommandOutput) => void): void;
488
- /**
489
- * <p>Get the information about a distribution.</p>
490
- */
222
+
491
223
  getDistribution(args: GetDistributionCommandInput, options?: __HttpHandlerOptions): Promise<GetDistributionCommandOutput>;
492
224
  getDistribution(args: GetDistributionCommandInput, cb: (err: any, data?: GetDistributionCommandOutput) => void): void;
493
225
  getDistribution(args: GetDistributionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDistributionCommandOutput) => void): void;
494
- /**
495
- * <p>Get the configuration information about a distribution. </p>
496
- */
226
+
497
227
  getDistributionConfig(args: GetDistributionConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetDistributionConfigCommandOutput>;
498
228
  getDistributionConfig(args: GetDistributionConfigCommandInput, cb: (err: any, data?: GetDistributionConfigCommandOutput) => void): void;
499
229
  getDistributionConfig(args: GetDistributionConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDistributionConfigCommandOutput) => void): void;
500
- /**
501
- * <p>Get the field-level encryption configuration information.</p>
502
- */
230
+
503
231
  getFieldLevelEncryption(args: GetFieldLevelEncryptionCommandInput, options?: __HttpHandlerOptions): Promise<GetFieldLevelEncryptionCommandOutput>;
504
232
  getFieldLevelEncryption(args: GetFieldLevelEncryptionCommandInput, cb: (err: any, data?: GetFieldLevelEncryptionCommandOutput) => void): void;
505
233
  getFieldLevelEncryption(args: GetFieldLevelEncryptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFieldLevelEncryptionCommandOutput) => void): void;
506
- /**
507
- * <p>Get the field-level encryption configuration information.</p>
508
- */
234
+
509
235
  getFieldLevelEncryptionConfig(args: GetFieldLevelEncryptionConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetFieldLevelEncryptionConfigCommandOutput>;
510
236
  getFieldLevelEncryptionConfig(args: GetFieldLevelEncryptionConfigCommandInput, cb: (err: any, data?: GetFieldLevelEncryptionConfigCommandOutput) => void): void;
511
237
  getFieldLevelEncryptionConfig(args: GetFieldLevelEncryptionConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFieldLevelEncryptionConfigCommandOutput) => void): void;
512
- /**
513
- * <p>Get the field-level encryption profile information.</p>
514
- */
238
+
515
239
  getFieldLevelEncryptionProfile(args: GetFieldLevelEncryptionProfileCommandInput, options?: __HttpHandlerOptions): Promise<GetFieldLevelEncryptionProfileCommandOutput>;
516
240
  getFieldLevelEncryptionProfile(args: GetFieldLevelEncryptionProfileCommandInput, cb: (err: any, data?: GetFieldLevelEncryptionProfileCommandOutput) => void): void;
517
241
  getFieldLevelEncryptionProfile(args: GetFieldLevelEncryptionProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFieldLevelEncryptionProfileCommandOutput) => void): void;
518
- /**
519
- * <p>Get the field-level encryption profile configuration information.</p>
520
- */
242
+
521
243
  getFieldLevelEncryptionProfileConfig(args: GetFieldLevelEncryptionProfileConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetFieldLevelEncryptionProfileConfigCommandOutput>;
522
244
  getFieldLevelEncryptionProfileConfig(args: GetFieldLevelEncryptionProfileConfigCommandInput, cb: (err: any, data?: GetFieldLevelEncryptionProfileConfigCommandOutput) => void): void;
523
245
  getFieldLevelEncryptionProfileConfig(args: GetFieldLevelEncryptionProfileConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFieldLevelEncryptionProfileConfigCommandOutput) => void): void;
524
- /**
525
- * <p>Gets the code of a CloudFront function. To get configuration information and metadata about
526
- * a function, use <code>DescribeFunction</code>.</p>
527
- * <p>To get a function’s code, you must provide the function’s name and stage. To get these
528
- * values, you can use <code>ListFunctions</code>.</p>
529
- */
246
+
530
247
  getFunction(args: GetFunctionCommandInput, options?: __HttpHandlerOptions): Promise<GetFunctionCommandOutput>;
531
248
  getFunction(args: GetFunctionCommandInput, cb: (err: any, data?: GetFunctionCommandOutput) => void): void;
532
249
  getFunction(args: GetFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFunctionCommandOutput) => void): void;
533
- /**
534
- * <p>Get the information about an invalidation. </p>
535
- */
250
+
536
251
  getInvalidation(args: GetInvalidationCommandInput, options?: __HttpHandlerOptions): Promise<GetInvalidationCommandOutput>;
537
252
  getInvalidation(args: GetInvalidationCommandInput, cb: (err: any, data?: GetInvalidationCommandOutput) => void): void;
538
253
  getInvalidation(args: GetInvalidationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInvalidationCommandOutput) => void): void;
539
- /**
540
- * <p>Gets a key group, including the date and time when the key group was last modified.</p>
541
- * <p>To get a key group, you must provide the key group’s identifier. If the key group is
542
- * referenced in a distribution’s cache behavior, you can get the key group’s identifier
543
- * using <code>ListDistributions</code> or <code>GetDistribution</code>. If the key group
544
- * is not referenced in a cache behavior, you can get the identifier using
545
- * <code>ListKeyGroups</code>.</p>
546
- */
254
+
547
255
  getKeyGroup(args: GetKeyGroupCommandInput, options?: __HttpHandlerOptions): Promise<GetKeyGroupCommandOutput>;
548
256
  getKeyGroup(args: GetKeyGroupCommandInput, cb: (err: any, data?: GetKeyGroupCommandOutput) => void): void;
549
257
  getKeyGroup(args: GetKeyGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetKeyGroupCommandOutput) => void): void;
550
- /**
551
- * <p>Gets a key group configuration.</p>
552
- * <p>To get a key group configuration, you must provide the key group’s identifier. If the
553
- * key group is referenced in a distribution’s cache behavior, you can get the key group’s
554
- * identifier using <code>ListDistributions</code> or <code>GetDistribution</code>. If the
555
- * key group is not referenced in a cache behavior, you can get the identifier using
556
- * <code>ListKeyGroups</code>.</p>
557
- */
258
+
558
259
  getKeyGroupConfig(args: GetKeyGroupConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetKeyGroupConfigCommandOutput>;
559
260
  getKeyGroupConfig(args: GetKeyGroupConfigCommandInput, cb: (err: any, data?: GetKeyGroupConfigCommandOutput) => void): void;
560
261
  getKeyGroupConfig(args: GetKeyGroupConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetKeyGroupConfigCommandOutput) => void): void;
561
- /**
562
- * <p>Gets information about whether additional CloudWatch metrics are enabled for the specified
563
- * CloudFront distribution.</p>
564
- */
262
+
565
263
  getMonitoringSubscription(args: GetMonitoringSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<GetMonitoringSubscriptionCommandOutput>;
566
264
  getMonitoringSubscription(args: GetMonitoringSubscriptionCommandInput, cb: (err: any, data?: GetMonitoringSubscriptionCommandOutput) => void): void;
567
265
  getMonitoringSubscription(args: GetMonitoringSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMonitoringSubscriptionCommandOutput) => void): void;
568
- /**
569
- * <p>Gets an origin request policy, including the following metadata:</p>
570
- * <ul>
571
- * <li>
572
- * <p>The policy’s identifier.</p>
573
- * </li>
574
- * <li>
575
- * <p>The date and time when the policy was last modified.</p>
576
- * </li>
577
- * </ul>
578
- * <p>To get an origin request policy, you must provide the policy’s identifier. If the origin
579
- * request policy is attached to a distribution’s cache behavior, you can get the policy’s
580
- * identifier using <code>ListDistributions</code> or <code>GetDistribution</code>. If the
581
- * origin request policy is not attached to a cache behavior, you can get the identifier
582
- * using <code>ListOriginRequestPolicies</code>.</p>
583
- */
266
+
584
267
  getOriginRequestPolicy(args: GetOriginRequestPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetOriginRequestPolicyCommandOutput>;
585
268
  getOriginRequestPolicy(args: GetOriginRequestPolicyCommandInput, cb: (err: any, data?: GetOriginRequestPolicyCommandOutput) => void): void;
586
269
  getOriginRequestPolicy(args: GetOriginRequestPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOriginRequestPolicyCommandOutput) => void): void;
587
- /**
588
- * <p>Gets an origin request policy configuration.</p>
589
- * <p>To get an origin request policy configuration, you must provide the policy’s identifier. If
590
- * the origin request policy is attached to a distribution’s cache behavior, you can get
591
- * the policy’s identifier using <code>ListDistributions</code> or
592
- * <code>GetDistribution</code>. If the origin request policy is not attached to a cache
593
- * behavior, you can get the identifier using
594
- * <code>ListOriginRequestPolicies</code>.</p>
595
- */
270
+
596
271
  getOriginRequestPolicyConfig(args: GetOriginRequestPolicyConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetOriginRequestPolicyConfigCommandOutput>;
597
272
  getOriginRequestPolicyConfig(args: GetOriginRequestPolicyConfigCommandInput, cb: (err: any, data?: GetOriginRequestPolicyConfigCommandOutput) => void): void;
598
273
  getOriginRequestPolicyConfig(args: GetOriginRequestPolicyConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOriginRequestPolicyConfigCommandOutput) => void): void;
599
- /**
600
- * <p>Gets a public key.</p>
601
- */
274
+
602
275
  getPublicKey(args: GetPublicKeyCommandInput, options?: __HttpHandlerOptions): Promise<GetPublicKeyCommandOutput>;
603
276
  getPublicKey(args: GetPublicKeyCommandInput, cb: (err: any, data?: GetPublicKeyCommandOutput) => void): void;
604
277
  getPublicKey(args: GetPublicKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPublicKeyCommandOutput) => void): void;
605
- /**
606
- * <p>Gets a public key configuration.</p>
607
- */
278
+
608
279
  getPublicKeyConfig(args: GetPublicKeyConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetPublicKeyConfigCommandOutput>;
609
280
  getPublicKeyConfig(args: GetPublicKeyConfigCommandInput, cb: (err: any, data?: GetPublicKeyConfigCommandOutput) => void): void;
610
281
  getPublicKeyConfig(args: GetPublicKeyConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPublicKeyConfigCommandOutput) => void): void;
611
- /**
612
- * <p>Gets a real-time log configuration.</p>
613
- * <p>To get a real-time log configuration, you can provide the configuration’s name or its Amazon
614
- * Resource Name (ARN). You must provide at least one. If you provide both, CloudFront uses the
615
- * name to identify the real-time log configuration to get.</p>
616
- */
282
+
617
283
  getRealtimeLogConfig(args: GetRealtimeLogConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetRealtimeLogConfigCommandOutput>;
618
284
  getRealtimeLogConfig(args: GetRealtimeLogConfigCommandInput, cb: (err: any, data?: GetRealtimeLogConfigCommandOutput) => void): void;
619
285
  getRealtimeLogConfig(args: GetRealtimeLogConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRealtimeLogConfigCommandOutput) => void): void;
620
- /**
621
- * <p>Gets information about a specified RTMP distribution, including the distribution configuration.</p>
622
- */
286
+
623
287
  getStreamingDistribution(args: GetStreamingDistributionCommandInput, options?: __HttpHandlerOptions): Promise<GetStreamingDistributionCommandOutput>;
624
288
  getStreamingDistribution(args: GetStreamingDistributionCommandInput, cb: (err: any, data?: GetStreamingDistributionCommandOutput) => void): void;
625
289
  getStreamingDistribution(args: GetStreamingDistributionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetStreamingDistributionCommandOutput) => void): void;
626
- /**
627
- * <p>Get the configuration information about a streaming distribution. </p>
628
- */
290
+
629
291
  getStreamingDistributionConfig(args: GetStreamingDistributionConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetStreamingDistributionConfigCommandOutput>;
630
292
  getStreamingDistributionConfig(args: GetStreamingDistributionConfigCommandInput, cb: (err: any, data?: GetStreamingDistributionConfigCommandOutput) => void): void;
631
293
  getStreamingDistributionConfig(args: GetStreamingDistributionConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetStreamingDistributionConfigCommandOutput) => void): void;
632
- /**
633
- * <p>Gets a list of cache policies.</p>
634
- * <p>You can optionally apply a filter to return only the managed policies created by Amazon Web Services, or
635
- * only the custom policies created in your account.</p>
636
- * <p>You can optionally specify the maximum number of items to receive in the response. If
637
- * the total number of items in the list exceeds the maximum that you specify, or the
638
- * default maximum, the response is paginated. To get the next page of items, send a
639
- * subsequent request that specifies the <code>NextMarker</code> value from the current
640
- * response as the <code>Marker</code> value in the subsequent request.</p>
641
- */
294
+
642
295
  listCachePolicies(args: ListCachePoliciesCommandInput, options?: __HttpHandlerOptions): Promise<ListCachePoliciesCommandOutput>;
643
296
  listCachePolicies(args: ListCachePoliciesCommandInput, cb: (err: any, data?: ListCachePoliciesCommandOutput) => void): void;
644
297
  listCachePolicies(args: ListCachePoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCachePoliciesCommandOutput) => void): void;
645
- /**
646
- * <p>Lists origin access identities.</p>
647
- */
298
+
648
299
  listCloudFrontOriginAccessIdentities(args: ListCloudFrontOriginAccessIdentitiesCommandInput, options?: __HttpHandlerOptions): Promise<ListCloudFrontOriginAccessIdentitiesCommandOutput>;
649
300
  listCloudFrontOriginAccessIdentities(args: ListCloudFrontOriginAccessIdentitiesCommandInput, cb: (err: any, data?: ListCloudFrontOriginAccessIdentitiesCommandOutput) => void): void;
650
301
  listCloudFrontOriginAccessIdentities(args: ListCloudFrontOriginAccessIdentitiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCloudFrontOriginAccessIdentitiesCommandOutput) => void): void;
651
- /**
652
- * <p>Gets a list of aliases (also called CNAMEs or alternate domain names) that conflict or
653
- * overlap with the provided alias, and the associated CloudFront distributions and Amazon Web Services
654
- * accounts for each conflicting alias. In the returned list, the distribution and account
655
- * IDs are partially hidden, which allows you to identify the distributions and accounts
656
- * that you own, but helps to protect the information of ones that you don’t own.</p>
657
- * <p>Use this operation to find aliases that are in use in CloudFront that conflict or overlap
658
- * with the provided alias. For example, if you provide <code>www.example.com</code> as
659
- * input, the returned list can include <code>www.example.com</code> and the overlapping
660
- * wildcard alternate domain name (<code>*.example.com</code>), if they exist. If you
661
- * provide <code>*.example.com</code> as input, the returned list can include
662
- * <code>*.example.com</code> and any alternate domain names covered by that wildcard (for
663
- * example, <code>www.example.com</code>, <code>test.example.com</code>,
664
- * <code>dev.example.com</code>, and so on), if they exist.</p>
665
- * <p>To list conflicting aliases, you provide the alias to search and the ID of a distribution in
666
- * your account that has an attached SSL/TLS certificate that includes the provided alias.
667
- * For more information, including how to set up the distribution and certificate, see
668
- * <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-move">Moving an alternate domain name to a different distribution</a>
669
- * in the <i>Amazon CloudFront Developer Guide</i>.</p>
670
- * <p>You can optionally specify the maximum number of items to receive in the response. If
671
- * the total number of items in the list exceeds the maximum that you specify, or the
672
- * default maximum, the response is paginated. To get the next page of items, send a
673
- * subsequent request that specifies the <code>NextMarker</code> value from the current
674
- * response as the <code>Marker</code> value in the subsequent request.</p>
675
- */
302
+
676
303
  listConflictingAliases(args: ListConflictingAliasesCommandInput, options?: __HttpHandlerOptions): Promise<ListConflictingAliasesCommandOutput>;
677
304
  listConflictingAliases(args: ListConflictingAliasesCommandInput, cb: (err: any, data?: ListConflictingAliasesCommandOutput) => void): void;
678
305
  listConflictingAliases(args: ListConflictingAliasesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConflictingAliasesCommandOutput) => void): void;
679
- /**
680
- * <p>List CloudFront distributions.</p>
681
- */
306
+
682
307
  listDistributions(args: ListDistributionsCommandInput, options?: __HttpHandlerOptions): Promise<ListDistributionsCommandOutput>;
683
308
  listDistributions(args: ListDistributionsCommandInput, cb: (err: any, data?: ListDistributionsCommandOutput) => void): void;
684
309
  listDistributions(args: ListDistributionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDistributionsCommandOutput) => void): void;
685
- /**
686
- * <p>Gets a list of distribution IDs for distributions that have a cache behavior that’s
687
- * associated with the specified cache policy.</p>
688
- * <p>You can optionally specify the maximum number of items to receive in the response. If
689
- * the total number of items in the list exceeds the maximum that you specify, or the
690
- * default maximum, the response is paginated. To get the next page of items, send a
691
- * subsequent request that specifies the <code>NextMarker</code> value from the current
692
- * response as the <code>Marker</code> value in the subsequent request.</p>
693
- */
310
+
694
311
  listDistributionsByCachePolicyId(args: ListDistributionsByCachePolicyIdCommandInput, options?: __HttpHandlerOptions): Promise<ListDistributionsByCachePolicyIdCommandOutput>;
695
312
  listDistributionsByCachePolicyId(args: ListDistributionsByCachePolicyIdCommandInput, cb: (err: any, data?: ListDistributionsByCachePolicyIdCommandOutput) => void): void;
696
313
  listDistributionsByCachePolicyId(args: ListDistributionsByCachePolicyIdCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDistributionsByCachePolicyIdCommandOutput) => void): void;
697
- /**
698
- * <p>Gets a list of distribution IDs for distributions that have a cache behavior that references
699
- * the specified key group.</p>
700
- * <p>You can optionally specify the maximum number of items to receive in the response. If
701
- * the total number of items in the list exceeds the maximum that you specify, or the
702
- * default maximum, the response is paginated. To get the next page of items, send a
703
- * subsequent request that specifies the <code>NextMarker</code> value from the current
704
- * response as the <code>Marker</code> value in the subsequent request.</p>
705
- */
314
+
706
315
  listDistributionsByKeyGroup(args: ListDistributionsByKeyGroupCommandInput, options?: __HttpHandlerOptions): Promise<ListDistributionsByKeyGroupCommandOutput>;
707
316
  listDistributionsByKeyGroup(args: ListDistributionsByKeyGroupCommandInput, cb: (err: any, data?: ListDistributionsByKeyGroupCommandOutput) => void): void;
708
317
  listDistributionsByKeyGroup(args: ListDistributionsByKeyGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDistributionsByKeyGroupCommandOutput) => void): void;
709
- /**
710
- * <p>Gets a list of distribution IDs for distributions that have a cache behavior that’s
711
- * associated with the specified origin request policy.</p>
712
- * <p>You can optionally specify the maximum number of items to receive in the response. If
713
- * the total number of items in the list exceeds the maximum that you specify, or the
714
- * default maximum, the response is paginated. To get the next page of items, send a
715
- * subsequent request that specifies the <code>NextMarker</code> value from the current
716
- * response as the <code>Marker</code> value in the subsequent request.</p>
717
- */
318
+
718
319
  listDistributionsByOriginRequestPolicyId(args: ListDistributionsByOriginRequestPolicyIdCommandInput, options?: __HttpHandlerOptions): Promise<ListDistributionsByOriginRequestPolicyIdCommandOutput>;
719
320
  listDistributionsByOriginRequestPolicyId(args: ListDistributionsByOriginRequestPolicyIdCommandInput, cb: (err: any, data?: ListDistributionsByOriginRequestPolicyIdCommandOutput) => void): void;
720
321
  listDistributionsByOriginRequestPolicyId(args: ListDistributionsByOriginRequestPolicyIdCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDistributionsByOriginRequestPolicyIdCommandOutput) => void): void;
721
- /**
722
- * <p>Gets a list of distributions that have a cache behavior that’s associated with the specified
723
- * real-time log configuration.</p>
724
- * <p>You can specify the real-time log configuration by its name or its Amazon Resource Name
725
- * (ARN). You must provide at least one. If you provide both, CloudFront uses the name to
726
- * identify the real-time log configuration to list distributions for.</p>
727
- * <p>You can optionally specify the maximum number of items to receive in the response. If
728
- * the total number of items in the list exceeds the maximum that you specify, or the
729
- * default maximum, the response is paginated. To get the next page of items, send a
730
- * subsequent request that specifies the <code>NextMarker</code> value from the current
731
- * response as the <code>Marker</code> value in the subsequent request. </p>
732
- */
322
+
733
323
  listDistributionsByRealtimeLogConfig(args: ListDistributionsByRealtimeLogConfigCommandInput, options?: __HttpHandlerOptions): Promise<ListDistributionsByRealtimeLogConfigCommandOutput>;
734
324
  listDistributionsByRealtimeLogConfig(args: ListDistributionsByRealtimeLogConfigCommandInput, cb: (err: any, data?: ListDistributionsByRealtimeLogConfigCommandOutput) => void): void;
735
325
  listDistributionsByRealtimeLogConfig(args: ListDistributionsByRealtimeLogConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDistributionsByRealtimeLogConfigCommandOutput) => void): void;
736
- /**
737
- * <p>List the distributions that are associated with a specified WAF web ACL.</p>
738
- */
326
+
739
327
  listDistributionsByWebACLId(args: ListDistributionsByWebACLIdCommandInput, options?: __HttpHandlerOptions): Promise<ListDistributionsByWebACLIdCommandOutput>;
740
328
  listDistributionsByWebACLId(args: ListDistributionsByWebACLIdCommandInput, cb: (err: any, data?: ListDistributionsByWebACLIdCommandOutput) => void): void;
741
329
  listDistributionsByWebACLId(args: ListDistributionsByWebACLIdCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDistributionsByWebACLIdCommandOutput) => void): void;
742
- /**
743
- * <p>List all field-level encryption configurations that have been created in CloudFront for this account.</p>
744
- */
330
+
745
331
  listFieldLevelEncryptionConfigs(args: ListFieldLevelEncryptionConfigsCommandInput, options?: __HttpHandlerOptions): Promise<ListFieldLevelEncryptionConfigsCommandOutput>;
746
332
  listFieldLevelEncryptionConfigs(args: ListFieldLevelEncryptionConfigsCommandInput, cb: (err: any, data?: ListFieldLevelEncryptionConfigsCommandOutput) => void): void;
747
333
  listFieldLevelEncryptionConfigs(args: ListFieldLevelEncryptionConfigsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFieldLevelEncryptionConfigsCommandOutput) => void): void;
748
- /**
749
- * <p>Request a list of field-level encryption profiles that have been created in CloudFront for this account.</p>
750
- */
334
+
751
335
  listFieldLevelEncryptionProfiles(args: ListFieldLevelEncryptionProfilesCommandInput, options?: __HttpHandlerOptions): Promise<ListFieldLevelEncryptionProfilesCommandOutput>;
752
336
  listFieldLevelEncryptionProfiles(args: ListFieldLevelEncryptionProfilesCommandInput, cb: (err: any, data?: ListFieldLevelEncryptionProfilesCommandOutput) => void): void;
753
337
  listFieldLevelEncryptionProfiles(args: ListFieldLevelEncryptionProfilesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFieldLevelEncryptionProfilesCommandOutput) => void): void;
754
- /**
755
- * <p>Gets a list of all CloudFront functions in your account.</p>
756
- * <p>You can optionally apply a filter to return only the functions that are in the
757
- * specified stage, either <code>DEVELOPMENT</code> or <code>LIVE</code>.</p>
758
- * <p>You can optionally specify the maximum number of items to receive in the response. If
759
- * the total number of items in the list exceeds the maximum that you specify, or the
760
- * default maximum, the response is paginated. To get the next page of items, send a
761
- * subsequent request that specifies the <code>NextMarker</code> value from the current
762
- * response as the <code>Marker</code> value in the subsequent request.</p>
763
- */
338
+
764
339
  listFunctions(args: ListFunctionsCommandInput, options?: __HttpHandlerOptions): Promise<ListFunctionsCommandOutput>;
765
340
  listFunctions(args: ListFunctionsCommandInput, cb: (err: any, data?: ListFunctionsCommandOutput) => void): void;
766
341
  listFunctions(args: ListFunctionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFunctionsCommandOutput) => void): void;
767
- /**
768
- * <p>Lists invalidation batches. </p>
769
- */
342
+
770
343
  listInvalidations(args: ListInvalidationsCommandInput, options?: __HttpHandlerOptions): Promise<ListInvalidationsCommandOutput>;
771
344
  listInvalidations(args: ListInvalidationsCommandInput, cb: (err: any, data?: ListInvalidationsCommandOutput) => void): void;
772
345
  listInvalidations(args: ListInvalidationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListInvalidationsCommandOutput) => void): void;
773
- /**
774
- * <p>Gets a list of key groups.</p>
775
- * <p>You can optionally specify the maximum number of items to receive in the response. If
776
- * the total number of items in the list exceeds the maximum that you specify, or the
777
- * default maximum, the response is paginated. To get the next page of items, send a
778
- * subsequent request that specifies the <code>NextMarker</code> value from the current
779
- * response as the <code>Marker</code> value in the subsequent request.</p>
780
- */
346
+
781
347
  listKeyGroups(args: ListKeyGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListKeyGroupsCommandOutput>;
782
348
  listKeyGroups(args: ListKeyGroupsCommandInput, cb: (err: any, data?: ListKeyGroupsCommandOutput) => void): void;
783
349
  listKeyGroups(args: ListKeyGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListKeyGroupsCommandOutput) => void): void;
784
- /**
785
- * <p>Gets a list of origin request policies.</p>
786
- * <p>You can optionally apply a filter to return only the managed policies created by Amazon Web Services, or
787
- * only the custom policies created in your account.</p>
788
- * <p>You can optionally specify the maximum number of items to receive in the response. If
789
- * the total number of items in the list exceeds the maximum that you specify, or the
790
- * default maximum, the response is paginated. To get the next page of items, send a
791
- * subsequent request that specifies the <code>NextMarker</code> value from the current
792
- * response as the <code>Marker</code> value in the subsequent request.</p>
793
- */
350
+
794
351
  listOriginRequestPolicies(args: ListOriginRequestPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<ListOriginRequestPoliciesCommandOutput>;
795
352
  listOriginRequestPolicies(args: ListOriginRequestPoliciesCommandInput, cb: (err: any, data?: ListOriginRequestPoliciesCommandOutput) => void): void;
796
353
  listOriginRequestPolicies(args: ListOriginRequestPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListOriginRequestPoliciesCommandOutput) => void): void;
797
- /**
798
- * <p>List all public keys that have been added to CloudFront for this account.</p>
799
- */
354
+
800
355
  listPublicKeys(args: ListPublicKeysCommandInput, options?: __HttpHandlerOptions): Promise<ListPublicKeysCommandOutput>;
801
356
  listPublicKeys(args: ListPublicKeysCommandInput, cb: (err: any, data?: ListPublicKeysCommandOutput) => void): void;
802
357
  listPublicKeys(args: ListPublicKeysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPublicKeysCommandOutput) => void): void;
803
- /**
804
- * <p>Gets a list of real-time log configurations.</p>
805
- * <p>You can optionally specify the maximum number of items to receive in the response. If
806
- * the total number of items in the list exceeds the maximum that you specify, or the
807
- * default maximum, the response is paginated. To get the next page of items, send a
808
- * subsequent request that specifies the <code>NextMarker</code> value from the current
809
- * response as the <code>Marker</code> value in the subsequent request. </p>
810
- */
358
+
811
359
  listRealtimeLogConfigs(args: ListRealtimeLogConfigsCommandInput, options?: __HttpHandlerOptions): Promise<ListRealtimeLogConfigsCommandOutput>;
812
360
  listRealtimeLogConfigs(args: ListRealtimeLogConfigsCommandInput, cb: (err: any, data?: ListRealtimeLogConfigsCommandOutput) => void): void;
813
361
  listRealtimeLogConfigs(args: ListRealtimeLogConfigsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRealtimeLogConfigsCommandOutput) => void): void;
814
- /**
815
- * <p>List streaming distributions. </p>
816
- */
362
+
817
363
  listStreamingDistributions(args: ListStreamingDistributionsCommandInput, options?: __HttpHandlerOptions): Promise<ListStreamingDistributionsCommandOutput>;
818
364
  listStreamingDistributions(args: ListStreamingDistributionsCommandInput, cb: (err: any, data?: ListStreamingDistributionsCommandOutput) => void): void;
819
365
  listStreamingDistributions(args: ListStreamingDistributionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListStreamingDistributionsCommandOutput) => void): void;
820
- /**
821
- * <p>List tags for a CloudFront resource.</p>
822
- */
366
+
823
367
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
824
368
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
825
369
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
826
- /**
827
- * <p>Publishes a CloudFront function by copying the function code from the <code>DEVELOPMENT</code>
828
- * stage to <code>LIVE</code>. This automatically updates all cache behaviors that are
829
- * using this function to use the newly published copy in the <code>LIVE</code>
830
- * stage.</p>
831
- * <p>When a function is published to the <code>LIVE</code> stage, you can attach the function to
832
- * a distribution’s cache behavior, using the function’s Amazon Resource Name (ARN).</p>
833
- * <p>To publish a function, you must provide the function’s name and version (<code>ETag</code>
834
- * value). To get these values, you can use <code>ListFunctions</code> and
835
- * <code>DescribeFunction</code>.</p>
836
- */
370
+
837
371
  publishFunction(args: PublishFunctionCommandInput, options?: __HttpHandlerOptions): Promise<PublishFunctionCommandOutput>;
838
372
  publishFunction(args: PublishFunctionCommandInput, cb: (err: any, data?: PublishFunctionCommandOutput) => void): void;
839
373
  publishFunction(args: PublishFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PublishFunctionCommandOutput) => void): void;
840
- /**
841
- * <p>Add tags to a CloudFront resource.</p>
842
- */
374
+
843
375
  tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
844
376
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
845
377
  tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
846
- /**
847
- * <p>Tests a CloudFront function.</p>
848
- * <p>To test a function, you provide an <i>event object</i> that represents an HTTP
849
- * request or response that your CloudFront distribution could receive in production. CloudFront runs
850
- * the function, passing it the event object that you provided, and returns the function’s
851
- * result (the modified event object) in the response. The response also contains function
852
- * logs and error messages, if any exist. For more information about testing functions, see
853
- * <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/managing-functions.html#test-function">Testing functions</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
854
- * <p>To test a function, you provide the function’s name and version (<code>ETag</code> value)
855
- * along with the event object. To get the function’s name and version, you can use
856
- * <code>ListFunctions</code> and <code>DescribeFunction</code>.</p>
857
- */
378
+
858
379
  testFunction(args: TestFunctionCommandInput, options?: __HttpHandlerOptions): Promise<TestFunctionCommandOutput>;
859
380
  testFunction(args: TestFunctionCommandInput, cb: (err: any, data?: TestFunctionCommandOutput) => void): void;
860
381
  testFunction(args: TestFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TestFunctionCommandOutput) => void): void;
861
- /**
862
- * <p>Remove tags from a CloudFront resource.</p>
863
- */
382
+
864
383
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
865
384
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
866
385
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
867
- /**
868
- * <p>Updates a cache policy configuration.</p>
869
- * <p>When you update a cache policy configuration, all the fields are updated with the
870
- * values provided in the request. You cannot update some fields independent of others. To
871
- * update a cache policy configuration:</p>
872
- * <ol>
873
- * <li>
874
- * <p>Use <code>GetCachePolicyConfig</code> to get the current configuration.</p>
875
- * </li>
876
- * <li>
877
- * <p>Locally modify the fields in the cache policy configuration that you want to
878
- * update.</p>
879
- * </li>
880
- * <li>
881
- * <p>Call <code>UpdateCachePolicy</code> by providing the entire cache policy
882
- * configuration, including the fields that you modified and those that you
883
- * didn’t.</p>
884
- * </li>
885
- * </ol>
886
- */
386
+
887
387
  updateCachePolicy(args: UpdateCachePolicyCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCachePolicyCommandOutput>;
888
388
  updateCachePolicy(args: UpdateCachePolicyCommandInput, cb: (err: any, data?: UpdateCachePolicyCommandOutput) => void): void;
889
389
  updateCachePolicy(args: UpdateCachePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCachePolicyCommandOutput) => void): void;
890
- /**
891
- * <p>Update an origin access identity. </p>
892
- */
390
+
893
391
  updateCloudFrontOriginAccessIdentity(args: UpdateCloudFrontOriginAccessIdentityCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCloudFrontOriginAccessIdentityCommandOutput>;
894
392
  updateCloudFrontOriginAccessIdentity(args: UpdateCloudFrontOriginAccessIdentityCommandInput, cb: (err: any, data?: UpdateCloudFrontOriginAccessIdentityCommandOutput) => void): void;
895
393
  updateCloudFrontOriginAccessIdentity(args: UpdateCloudFrontOriginAccessIdentityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCloudFrontOriginAccessIdentityCommandOutput) => void): void;
896
- /**
897
- * <p>Updates the configuration for a web distribution. </p>
898
- * <important>
899
- * <p>When you update a distribution, there are more required fields than when you create a distribution.
900
- * When you update your distribution by using this API action, follow the steps here to get the current configuration
901
- * and then make your updates, to make sure that you include all of the required fields. To view a summary,
902
- * see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-overview-required-fields.html">Required
903
- * Fields for Create Distribution and Update Distribution</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
904
- * </important>
905
- * <p>The update process includes getting the current distribution configuration, updating the XML document that is
906
- * returned to make your changes, and then submitting an <code>UpdateDistribution</code> request to make the updates.</p>
907
- * <p>For information about updating a distribution using the CloudFront console instead, see
908
- * <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-creating-console.html">Creating a
909
- * Distribution</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
910
- *
911
- * <p>
912
- * <b>To update a web distribution using the CloudFront API</b>
913
- * </p>
914
- * <ol>
915
- * <li>
916
- * <p>Submit a
917
- * <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_GetDistributionConfig.html">GetDistributionConfig</a>
918
- * request to get the current configuration and an <code>Etag</code> header
919
- * for the distribution.</p>
920
- * <note>
921
- * <p>If you update the distribution again, you must get a new <code>Etag</code> header.</p>
922
- * </note>
923
- * </li>
924
- * <li>
925
- * <p>Update the XML document that was returned in the response to your <code>GetDistributionConfig</code> request to include
926
- * your changes. </p>
927
- * <important>
928
- * <p>When you edit the XML file, be aware of the following:</p>
929
- * <ul>
930
- * <li>
931
- * <p>You must strip out the ETag parameter that is returned.</p>
932
- * </li>
933
- * <li>
934
- * <p>Additional fields are required when you update a distribution. There may be fields included in the
935
- * XML file for features that you haven't configured for your distribution. This is expected and required to
936
- * successfully update the distribution.</p>
937
- * </li>
938
- * <li>
939
- * <p>You can't change the value of <code>CallerReference</code>. If you try to change this value, CloudFront returns an
940
- * <code>IllegalUpdate</code> error. </p>
941
- * </li>
942
- * <li>
943
- * <p>The new configuration replaces the existing configuration; the values that you specify in an
944
- * <code>UpdateDistribution</code> request are not merged into your existing configuration. When you add, delete, or
945
- * replace values in an element that allows multiple values (for example, <code>CNAME</code>), you must specify all of the
946
- * values that you want to appear in the updated distribution. In addition,
947
- * you must update the corresponding <code>Quantity</code> element.</p>
948
- * </li>
949
- * </ul>
950
- * </important>
951
- * </li>
952
- * <li>
953
- * <p>Submit an <code>UpdateDistribution</code> request to update the configuration for your distribution:</p>
954
- * <ul>
955
- * <li>
956
- * <p>In the request body, include the XML document that you updated in Step 2. The request body must include an
957
- * XML document with a <code>DistributionConfig</code> element.</p>
958
- * </li>
959
- * <li>
960
- * <p>Set the value of the HTTP <code>If-Match</code> header to the value of the <code>ETag</code> header that CloudFront returned
961
- * when you submitted the <code>GetDistributionConfig</code> request in Step 1.</p>
962
- * </li>
963
- * </ul>
964
- * </li>
965
- * <li>
966
- * <p>Review the response to the <code>UpdateDistribution</code> request to confirm that the configuration was
967
- * successfully updated.</p>
968
- * </li>
969
- * <li>
970
- * <p>Optional: Submit a
971
- * <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_GetDistribution.html">GetDistribution</a>
972
- * request to confirm that your changes have propagated.
973
- * When propagation is complete, the value of <code>Status</code> is <code>Deployed</code>.</p>
974
- * </li>
975
- * </ol>
976
- */
394
+
977
395
  updateDistribution(args: UpdateDistributionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDistributionCommandOutput>;
978
396
  updateDistribution(args: UpdateDistributionCommandInput, cb: (err: any, data?: UpdateDistributionCommandOutput) => void): void;
979
397
  updateDistribution(args: UpdateDistributionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDistributionCommandOutput) => void): void;
980
- /**
981
- * <p>Update a field-level encryption configuration. </p>
982
- */
398
+
983
399
  updateFieldLevelEncryptionConfig(args: UpdateFieldLevelEncryptionConfigCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFieldLevelEncryptionConfigCommandOutput>;
984
400
  updateFieldLevelEncryptionConfig(args: UpdateFieldLevelEncryptionConfigCommandInput, cb: (err: any, data?: UpdateFieldLevelEncryptionConfigCommandOutput) => void): void;
985
401
  updateFieldLevelEncryptionConfig(args: UpdateFieldLevelEncryptionConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFieldLevelEncryptionConfigCommandOutput) => void): void;
986
- /**
987
- * <p>Update a field-level encryption profile. </p>
988
- */
402
+
989
403
  updateFieldLevelEncryptionProfile(args: UpdateFieldLevelEncryptionProfileCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFieldLevelEncryptionProfileCommandOutput>;
990
404
  updateFieldLevelEncryptionProfile(args: UpdateFieldLevelEncryptionProfileCommandInput, cb: (err: any, data?: UpdateFieldLevelEncryptionProfileCommandOutput) => void): void;
991
405
  updateFieldLevelEncryptionProfile(args: UpdateFieldLevelEncryptionProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFieldLevelEncryptionProfileCommandOutput) => void): void;
992
- /**
993
- * <p>Updates a CloudFront function.</p>
994
- * <p>You can update a function’s code or the comment that describes the function. You
995
- * cannot update a function’s name.</p>
996
- * <p>To update a function, you provide the function’s name and version (<code>ETag</code> value)
997
- * along with the updated function code. To get the name and version, you can use
998
- * <code>ListFunctions</code> and <code>DescribeFunction</code>.</p>
999
- */
406
+
1000
407
  updateFunction(args: UpdateFunctionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFunctionCommandOutput>;
1001
408
  updateFunction(args: UpdateFunctionCommandInput, cb: (err: any, data?: UpdateFunctionCommandOutput) => void): void;
1002
409
  updateFunction(args: UpdateFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFunctionCommandOutput) => void): void;
1003
- /**
1004
- * <p>Updates a key group.</p>
1005
- * <p>When you update a key group, all the fields are updated with the values provided in
1006
- * the request. You cannot update some fields independent of others. To update a key
1007
- * group:</p>
1008
- * <ol>
1009
- * <li>
1010
- * <p>Get the current key group with <code>GetKeyGroup</code> or
1011
- * <code>GetKeyGroupConfig</code>.</p>
1012
- * </li>
1013
- * <li>
1014
- * <p>Locally modify the fields in the key group that you want to update. For
1015
- * example, add or remove public key IDs.</p>
1016
- * </li>
1017
- * <li>
1018
- * <p>Call <code>UpdateKeyGroup</code> with the entire key group object, including
1019
- * the fields that you modified and those that you didn’t.</p>
1020
- * </li>
1021
- * </ol>
1022
- */
410
+
1023
411
  updateKeyGroup(args: UpdateKeyGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateKeyGroupCommandOutput>;
1024
412
  updateKeyGroup(args: UpdateKeyGroupCommandInput, cb: (err: any, data?: UpdateKeyGroupCommandOutput) => void): void;
1025
413
  updateKeyGroup(args: UpdateKeyGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateKeyGroupCommandOutput) => void): void;
1026
- /**
1027
- * <p>Updates an origin request policy configuration.</p>
1028
- * <p>When you update an origin request policy configuration, all the fields are updated
1029
- * with the values provided in the request. You cannot update some fields independent of
1030
- * others. To update an origin request policy configuration:</p>
1031
- * <ol>
1032
- * <li>
1033
- * <p>Use <code>GetOriginRequestPolicyConfig</code> to get the current configuration.</p>
1034
- * </li>
1035
- * <li>
1036
- * <p>Locally modify the fields in the origin request policy configuration that you
1037
- * want to update.</p>
1038
- * </li>
1039
- * <li>
1040
- * <p>Call <code>UpdateOriginRequestPolicy</code> by providing the entire origin
1041
- * request policy configuration, including the fields that you modified and those
1042
- * that you didn’t.</p>
1043
- * </li>
1044
- * </ol>
1045
- */
414
+
1046
415
  updateOriginRequestPolicy(args: UpdateOriginRequestPolicyCommandInput, options?: __HttpHandlerOptions): Promise<UpdateOriginRequestPolicyCommandOutput>;
1047
416
  updateOriginRequestPolicy(args: UpdateOriginRequestPolicyCommandInput, cb: (err: any, data?: UpdateOriginRequestPolicyCommandOutput) => void): void;
1048
417
  updateOriginRequestPolicy(args: UpdateOriginRequestPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateOriginRequestPolicyCommandOutput) => void): void;
1049
- /**
1050
- * <p>Update public key information. Note that the only value you can change is the comment.</p>
1051
- */
418
+
1052
419
  updatePublicKey(args: UpdatePublicKeyCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePublicKeyCommandOutput>;
1053
420
  updatePublicKey(args: UpdatePublicKeyCommandInput, cb: (err: any, data?: UpdatePublicKeyCommandOutput) => void): void;
1054
421
  updatePublicKey(args: UpdatePublicKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePublicKeyCommandOutput) => void): void;
1055
- /**
1056
- * <p>Updates a real-time log configuration.</p>
1057
- * <p>When you update a real-time log configuration, all the parameters are updated with the
1058
- * values provided in the request. You cannot update some parameters independent of others.
1059
- * To update a real-time log configuration:</p>
1060
- * <ol>
1061
- * <li>
1062
- * <p>Call <code>GetRealtimeLogConfig</code> to get the current real-time log
1063
- * configuration.</p>
1064
- * </li>
1065
- * <li>
1066
- * <p>Locally modify the parameters in the real-time log configuration that you want
1067
- * to update.</p>
1068
- * </li>
1069
- * <li>
1070
- * <p>Call this API (<code>UpdateRealtimeLogConfig</code>) by providing the entire
1071
- * real-time log configuration, including the parameters that you modified and
1072
- * those that you didn’t.</p>
1073
- * </li>
1074
- * </ol>
1075
- * <p>You cannot update a real-time log configuration’s <code>Name</code> or
1076
- * <code>ARN</code>.</p>
1077
- */
422
+
1078
423
  updateRealtimeLogConfig(args: UpdateRealtimeLogConfigCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRealtimeLogConfigCommandOutput>;
1079
424
  updateRealtimeLogConfig(args: UpdateRealtimeLogConfigCommandInput, cb: (err: any, data?: UpdateRealtimeLogConfigCommandOutput) => void): void;
1080
425
  updateRealtimeLogConfig(args: UpdateRealtimeLogConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRealtimeLogConfigCommandOutput) => void): void;
1081
- /**
1082
- * <p>Update a streaming distribution. </p>
1083
- */
426
+
1084
427
  updateStreamingDistribution(args: UpdateStreamingDistributionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateStreamingDistributionCommandOutput>;
1085
428
  updateStreamingDistribution(args: UpdateStreamingDistributionCommandInput, cb: (err: any, data?: UpdateStreamingDistributionCommandOutput) => void): void;
1086
429
  updateStreamingDistribution(args: UpdateStreamingDistributionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateStreamingDistributionCommandOutput) => void): void;