@aws-sdk/client-cloudfront 3.797.0 → 3.799.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 (204) hide show
  1. package/README.md +200 -0
  2. package/dist-cjs/index.js +2696 -655
  3. package/dist-cjs/runtimeConfig.js +1 -0
  4. package/dist-es/CloudFront.js +50 -0
  5. package/dist-es/commands/AssociateDistributionTenantWebACLCommand.js +22 -0
  6. package/dist-es/commands/AssociateDistributionWebACLCommand.js +22 -0
  7. package/dist-es/commands/CreateConnectionGroupCommand.js +22 -0
  8. package/dist-es/commands/CreateDistributionTenantCommand.js +22 -0
  9. package/dist-es/commands/CreateInvalidationForDistributionTenantCommand.js +22 -0
  10. package/dist-es/commands/DeleteConnectionGroupCommand.js +22 -0
  11. package/dist-es/commands/DeleteDistributionTenantCommand.js +22 -0
  12. package/dist-es/commands/DisassociateDistributionTenantWebACLCommand.js +22 -0
  13. package/dist-es/commands/DisassociateDistributionWebACLCommand.js +22 -0
  14. package/dist-es/commands/GetConnectionGroupByRoutingEndpointCommand.js +22 -0
  15. package/dist-es/commands/GetConnectionGroupCommand.js +22 -0
  16. package/dist-es/commands/GetDistributionTenantByDomainCommand.js +22 -0
  17. package/dist-es/commands/GetDistributionTenantCommand.js +22 -0
  18. package/dist-es/commands/GetInvalidationForDistributionTenantCommand.js +22 -0
  19. package/dist-es/commands/GetManagedCertificateDetailsCommand.js +22 -0
  20. package/dist-es/commands/ListConnectionGroupsCommand.js +22 -0
  21. package/dist-es/commands/ListDistributionTenantsByCustomizationCommand.js +22 -0
  22. package/dist-es/commands/ListDistributionTenantsCommand.js +22 -0
  23. package/dist-es/commands/ListDistributionsByConnectionModeCommand.js +23 -0
  24. package/dist-es/commands/ListDomainConflictsCommand.js +22 -0
  25. package/dist-es/commands/ListInvalidationsForDistributionTenantCommand.js +22 -0
  26. package/dist-es/commands/TestFunctionCommand.js +1 -1
  27. package/dist-es/commands/UpdateConnectionGroupCommand.js +22 -0
  28. package/dist-es/commands/UpdateDistributionCommand.js +1 -1
  29. package/dist-es/commands/UpdateDistributionTenantCommand.js +22 -0
  30. package/dist-es/commands/UpdateDistributionWithStagingConfigCommand.js +1 -1
  31. package/dist-es/commands/UpdateDomainAssociationCommand.js +22 -0
  32. package/dist-es/commands/UpdateFunctionCommand.js +1 -1
  33. package/dist-es/commands/VerifyDnsConfigurationCommand.js +22 -0
  34. package/dist-es/commands/index.js +26 -1
  35. package/dist-es/models/index.js +1 -0
  36. package/dist-es/models/models_0.js +77 -201
  37. package/dist-es/models/models_1.js +203 -58
  38. package/dist-es/models/models_2.js +52 -0
  39. package/dist-es/pagination/ListConnectionGroupsPaginator.js +4 -0
  40. package/dist-es/pagination/ListDistributionTenantsByCustomizationPaginator.js +4 -0
  41. package/dist-es/pagination/ListDistributionTenantsPaginator.js +4 -0
  42. package/dist-es/pagination/ListDistributionsByConnectionModePaginator.js +4 -0
  43. package/dist-es/pagination/ListDomainConflictsPaginator.js +4 -0
  44. package/dist-es/pagination/ListInvalidationsForDistributionTenantPaginator.js +4 -0
  45. package/dist-es/pagination/index.js +6 -0
  46. package/dist-es/protocols/Aws_restXml.js +1907 -460
  47. package/dist-es/runtimeConfig.js +2 -1
  48. package/dist-es/waiters/index.js +1 -0
  49. package/dist-es/waiters/waitForInvalidationForDistributionTenantCompleted.js +31 -0
  50. package/dist-types/CloudFront.d.ts +178 -0
  51. package/dist-types/CloudFrontClient.d.ts +27 -2
  52. package/dist-types/commands/AssociateDistributionTenantWebACLCommand.d.ts +92 -0
  53. package/dist-types/commands/AssociateDistributionWebACLCommand.d.ts +92 -0
  54. package/dist-types/commands/CopyDistributionCommand.d.ts +16 -1
  55. package/dist-types/commands/CreateConnectionGroupCommand.d.ts +123 -0
  56. package/dist-types/commands/CreateDistributionCommand.d.ts +35 -2
  57. package/dist-types/commands/CreateDistributionTenantCommand.d.ts +185 -0
  58. package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +32 -2
  59. package/dist-types/commands/CreateInvalidationForDistributionTenantCommand.d.ts +119 -0
  60. package/dist-types/commands/CreateOriginRequestPolicyCommand.d.ts +1 -1
  61. package/dist-types/commands/CreatePublicKeyCommand.d.ts +1 -1
  62. package/dist-types/commands/CreateRealtimeLogConfigCommand.d.ts +1 -1
  63. package/dist-types/commands/CreateStreamingDistributionCommand.d.ts +2 -2
  64. package/dist-types/commands/CreateStreamingDistributionWithTagsCommand.d.ts +2 -2
  65. package/dist-types/commands/DeleteConnectionGroupCommand.d.ts +90 -0
  66. package/dist-types/commands/DeleteDistributionCommand.d.ts +3 -0
  67. package/dist-types/commands/DeleteDistributionTenantCommand.d.ts +88 -0
  68. package/dist-types/commands/DisassociateDistributionTenantWebACLCommand.d.ts +90 -0
  69. package/dist-types/commands/DisassociateDistributionWebACLCommand.d.ts +90 -0
  70. package/dist-types/commands/GetConnectionGroupByRoutingEndpointCommand.d.ts +99 -0
  71. package/dist-types/commands/GetConnectionGroupCommand.d.ts +99 -0
  72. package/dist-types/commands/GetDistributionCommand.d.ts +16 -1
  73. package/dist-types/commands/GetDistributionConfigCommand.d.ts +16 -1
  74. package/dist-types/commands/GetDistributionTenantByDomainCommand.d.ts +124 -0
  75. package/dist-types/commands/GetDistributionTenantCommand.d.ts +124 -0
  76. package/dist-types/commands/GetInvalidationForDistributionTenantCommand.d.ts +95 -0
  77. package/dist-types/commands/GetManagedCertificateDetailsCommand.d.ts +89 -0
  78. package/dist-types/commands/GetStreamingDistributionCommand.d.ts +1 -1
  79. package/dist-types/commands/GetStreamingDistributionConfigCommand.d.ts +1 -1
  80. package/dist-types/commands/ListConnectionGroupsCommand.d.ts +100 -0
  81. package/dist-types/commands/ListDistributionTenantsByCustomizationCommand.d.ts +120 -0
  82. package/dist-types/commands/ListDistributionTenantsCommand.d.ts +121 -0
  83. package/dist-types/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +3 -1
  84. package/dist-types/commands/ListDistributionsByConnectionModeCommand.d.ts +392 -0
  85. package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +3 -1
  86. package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +3 -1
  87. package/dist-types/commands/ListDistributionsCommand.d.ts +3 -1
  88. package/dist-types/commands/ListDomainConflictsCommand.d.ts +96 -0
  89. package/dist-types/commands/ListInvalidationsForDistributionTenantCommand.d.ts +96 -0
  90. package/dist-types/commands/ListStreamingDistributionsCommand.d.ts +3 -2
  91. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  92. package/dist-types/commands/ListVpcOriginsCommand.d.ts +1 -1
  93. package/dist-types/commands/PublishFunctionCommand.d.ts +1 -1
  94. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  95. package/dist-types/commands/TestFunctionCommand.d.ts +1 -1
  96. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  97. package/dist-types/commands/UpdateCachePolicyCommand.d.ts +1 -1
  98. package/dist-types/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
  99. package/dist-types/commands/UpdateConnectionGroupCommand.d.ts +123 -0
  100. package/dist-types/commands/UpdateContinuousDeploymentPolicyCommand.d.ts +1 -1
  101. package/dist-types/commands/UpdateDistributionCommand.d.ts +33 -3
  102. package/dist-types/commands/UpdateDistributionTenantCommand.d.ts +182 -0
  103. package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +17 -2
  104. package/dist-types/commands/UpdateDomainAssociationCommand.d.ts +98 -0
  105. package/dist-types/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +1 -1
  106. package/dist-types/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +1 -1
  107. package/dist-types/commands/UpdateFunctionCommand.d.ts +1 -1
  108. package/dist-types/commands/UpdateKeyGroupCommand.d.ts +1 -1
  109. package/dist-types/commands/UpdateKeyValueStoreCommand.d.ts +1 -1
  110. package/dist-types/commands/UpdateOriginAccessControlCommand.d.ts +1 -1
  111. package/dist-types/commands/UpdateOriginRequestPolicyCommand.d.ts +1 -1
  112. package/dist-types/commands/UpdatePublicKeyCommand.d.ts +1 -1
  113. package/dist-types/commands/UpdateRealtimeLogConfigCommand.d.ts +1 -1
  114. package/dist-types/commands/UpdateResponseHeadersPolicyCommand.d.ts +1 -1
  115. package/dist-types/commands/UpdateStreamingDistributionCommand.d.ts +3 -3
  116. package/dist-types/commands/UpdateVpcOriginCommand.d.ts +1 -1
  117. package/dist-types/commands/VerifyDnsConfigurationCommand.d.ts +88 -0
  118. package/dist-types/commands/index.d.ts +26 -1
  119. package/dist-types/models/index.d.ts +1 -0
  120. package/dist-types/models/models_0.d.ts +830 -869
  121. package/dist-types/models/models_1.d.ts +2571 -2123
  122. package/dist-types/models/models_2.d.ts +1244 -0
  123. package/dist-types/pagination/ListConnectionGroupsPaginator.d.ts +7 -0
  124. package/dist-types/pagination/ListDistributionTenantsByCustomizationPaginator.d.ts +7 -0
  125. package/dist-types/pagination/ListDistributionTenantsPaginator.d.ts +7 -0
  126. package/dist-types/pagination/ListDistributionsByConnectionModePaginator.d.ts +7 -0
  127. package/dist-types/pagination/ListDomainConflictsPaginator.d.ts +7 -0
  128. package/dist-types/pagination/ListInvalidationsForDistributionTenantPaginator.d.ts +7 -0
  129. package/dist-types/pagination/index.d.ts +6 -0
  130. package/dist-types/protocols/Aws_restXml.d.ts +225 -0
  131. package/dist-types/runtimeConfig.d.ts +1 -1
  132. package/dist-types/ts3.4/CloudFront.d.ts +476 -0
  133. package/dist-types/ts3.4/CloudFrontClient.d.ts +152 -2
  134. package/dist-types/ts3.4/commands/AssociateDistributionTenantWebACLCommand.d.ts +51 -0
  135. package/dist-types/ts3.4/commands/AssociateDistributionWebACLCommand.d.ts +51 -0
  136. package/dist-types/ts3.4/commands/CreateConnectionGroupCommand.d.ts +51 -0
  137. package/dist-types/ts3.4/commands/CreateDistributionTenantCommand.d.ts +51 -0
  138. package/dist-types/ts3.4/commands/CreateInvalidationForDistributionTenantCommand.d.ts +51 -0
  139. package/dist-types/ts3.4/commands/CreateOriginRequestPolicyCommand.d.ts +1 -1
  140. package/dist-types/ts3.4/commands/CreatePublicKeyCommand.d.ts +1 -1
  141. package/dist-types/ts3.4/commands/CreateRealtimeLogConfigCommand.d.ts +1 -1
  142. package/dist-types/ts3.4/commands/DeleteConnectionGroupCommand.d.ts +46 -0
  143. package/dist-types/ts3.4/commands/DeleteDistributionTenantCommand.d.ts +47 -0
  144. package/dist-types/ts3.4/commands/DisassociateDistributionTenantWebACLCommand.d.ts +51 -0
  145. package/dist-types/ts3.4/commands/DisassociateDistributionWebACLCommand.d.ts +51 -0
  146. package/dist-types/ts3.4/commands/GetConnectionGroupByRoutingEndpointCommand.d.ts +51 -0
  147. package/dist-types/ts3.4/commands/GetConnectionGroupCommand.d.ts +51 -0
  148. package/dist-types/ts3.4/commands/GetDistributionTenantByDomainCommand.d.ts +51 -0
  149. package/dist-types/ts3.4/commands/GetDistributionTenantCommand.d.ts +51 -0
  150. package/dist-types/ts3.4/commands/GetInvalidationForDistributionTenantCommand.d.ts +51 -0
  151. package/dist-types/ts3.4/commands/GetManagedCertificateDetailsCommand.d.ts +51 -0
  152. package/dist-types/ts3.4/commands/ListConnectionGroupsCommand.d.ts +51 -0
  153. package/dist-types/ts3.4/commands/ListDistributionTenantsByCustomizationCommand.d.ts +51 -0
  154. package/dist-types/ts3.4/commands/ListDistributionTenantsCommand.d.ts +51 -0
  155. package/dist-types/ts3.4/commands/ListDistributionsByConnectionModeCommand.d.ts +51 -0
  156. package/dist-types/ts3.4/commands/ListDomainConflictsCommand.d.ts +51 -0
  157. package/dist-types/ts3.4/commands/ListInvalidationsForDistributionTenantCommand.d.ts +51 -0
  158. package/dist-types/ts3.4/commands/ListStreamingDistributionsCommand.d.ts +2 -4
  159. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  160. package/dist-types/ts3.4/commands/ListVpcOriginsCommand.d.ts +1 -1
  161. package/dist-types/ts3.4/commands/PublishFunctionCommand.d.ts +1 -1
  162. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  163. package/dist-types/ts3.4/commands/TestFunctionCommand.d.ts +1 -1
  164. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  165. package/dist-types/ts3.4/commands/UpdateCachePolicyCommand.d.ts +1 -1
  166. package/dist-types/ts3.4/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
  167. package/dist-types/ts3.4/commands/UpdateConnectionGroupCommand.d.ts +51 -0
  168. package/dist-types/ts3.4/commands/UpdateContinuousDeploymentPolicyCommand.d.ts +1 -1
  169. package/dist-types/ts3.4/commands/UpdateDistributionCommand.d.ts +1 -1
  170. package/dist-types/ts3.4/commands/UpdateDistributionTenantCommand.d.ts +51 -0
  171. package/dist-types/ts3.4/commands/UpdateDistributionWithStagingConfigCommand.d.ts +1 -1
  172. package/dist-types/ts3.4/commands/UpdateDomainAssociationCommand.d.ts +51 -0
  173. package/dist-types/ts3.4/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +1 -1
  174. package/dist-types/ts3.4/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +1 -1
  175. package/dist-types/ts3.4/commands/UpdateFunctionCommand.d.ts +1 -1
  176. package/dist-types/ts3.4/commands/UpdateKeyGroupCommand.d.ts +1 -1
  177. package/dist-types/ts3.4/commands/UpdateKeyValueStoreCommand.d.ts +1 -1
  178. package/dist-types/ts3.4/commands/UpdateOriginAccessControlCommand.d.ts +1 -1
  179. package/dist-types/ts3.4/commands/UpdateOriginRequestPolicyCommand.d.ts +1 -1
  180. package/dist-types/ts3.4/commands/UpdatePublicKeyCommand.d.ts +1 -1
  181. package/dist-types/ts3.4/commands/UpdateRealtimeLogConfigCommand.d.ts +1 -1
  182. package/dist-types/ts3.4/commands/UpdateResponseHeadersPolicyCommand.d.ts +1 -1
  183. package/dist-types/ts3.4/commands/UpdateStreamingDistributionCommand.d.ts +1 -1
  184. package/dist-types/ts3.4/commands/UpdateVpcOriginCommand.d.ts +1 -1
  185. package/dist-types/ts3.4/commands/VerifyDnsConfigurationCommand.d.ts +51 -0
  186. package/dist-types/ts3.4/commands/index.d.ts +26 -1
  187. package/dist-types/ts3.4/models/index.d.ts +1 -0
  188. package/dist-types/ts3.4/models/models_0.d.ts +190 -214
  189. package/dist-types/ts3.4/models/models_1.d.ts +413 -275
  190. package/dist-types/ts3.4/models/models_2.d.ts +363 -0
  191. package/dist-types/ts3.4/pagination/ListConnectionGroupsPaginator.d.ts +11 -0
  192. package/dist-types/ts3.4/pagination/ListDistributionTenantsByCustomizationPaginator.d.ts +11 -0
  193. package/dist-types/ts3.4/pagination/ListDistributionTenantsPaginator.d.ts +11 -0
  194. package/dist-types/ts3.4/pagination/ListDistributionsByConnectionModePaginator.d.ts +11 -0
  195. package/dist-types/ts3.4/pagination/ListDomainConflictsPaginator.d.ts +11 -0
  196. package/dist-types/ts3.4/pagination/ListInvalidationsForDistributionTenantPaginator.d.ts +11 -0
  197. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  198. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +300 -0
  199. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -4
  200. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  201. package/dist-types/ts3.4/waiters/waitForInvalidationForDistributionTenantCompleted.d.ts +11 -0
  202. package/dist-types/waiters/index.d.ts +1 -0
  203. package/dist-types/waiters/waitForInvalidationForDistributionTenantCompleted.d.ts +14 -0
  204. package/package.json +11 -11
@@ -0,0 +1,90 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
4
+ import { DisassociateDistributionTenantWebACLRequest, DisassociateDistributionTenantWebACLResult } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DisassociateDistributionTenantWebACLCommand}.
14
+ */
15
+ export interface DisassociateDistributionTenantWebACLCommandInput extends DisassociateDistributionTenantWebACLRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DisassociateDistributionTenantWebACLCommand}.
21
+ */
22
+ export interface DisassociateDistributionTenantWebACLCommandOutput extends DisassociateDistributionTenantWebACLResult, __MetadataBearer {
23
+ }
24
+ declare const DisassociateDistributionTenantWebACLCommand_base: {
25
+ new (input: DisassociateDistributionTenantWebACLCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateDistributionTenantWebACLCommandInput, DisassociateDistributionTenantWebACLCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DisassociateDistributionTenantWebACLCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateDistributionTenantWebACLCommandInput, DisassociateDistributionTenantWebACLCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Disassociates a distribution tenant from the WAF web ACL.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CloudFrontClient, DisassociateDistributionTenantWebACLCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
35
+ * // const { CloudFrontClient, DisassociateDistributionTenantWebACLCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
36
+ * const client = new CloudFrontClient(config);
37
+ * const input = { // DisassociateDistributionTenantWebACLRequest
38
+ * Id: "STRING_VALUE", // required
39
+ * IfMatch: "STRING_VALUE",
40
+ * };
41
+ * const command = new DisassociateDistributionTenantWebACLCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // DisassociateDistributionTenantWebACLResult
44
+ * // Id: "STRING_VALUE",
45
+ * // ETag: "STRING_VALUE",
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param DisassociateDistributionTenantWebACLCommandInput - {@link DisassociateDistributionTenantWebACLCommandInput}
51
+ * @returns {@link DisassociateDistributionTenantWebACLCommandOutput}
52
+ * @see {@link DisassociateDistributionTenantWebACLCommandInput} for command's `input` shape.
53
+ * @see {@link DisassociateDistributionTenantWebACLCommandOutput} for command's `response` shape.
54
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
55
+ *
56
+ * @throws {@link AccessDenied} (client fault)
57
+ * <p>Access denied.</p>
58
+ *
59
+ * @throws {@link EntityNotFound} (client fault)
60
+ * <p>The entity was not found.</p>
61
+ *
62
+ * @throws {@link InvalidArgument} (client fault)
63
+ * <p>An argument is invalid.</p>
64
+ *
65
+ * @throws {@link InvalidIfMatchVersion} (client fault)
66
+ * <p>The <code>If-Match</code> version is missing or not valid.</p>
67
+ *
68
+ * @throws {@link PreconditionFailed} (client fault)
69
+ * <p>The precondition in one or more of the request fields evaluated to
70
+ * <code>false</code>.</p>
71
+ *
72
+ * @throws {@link CloudFrontServiceException}
73
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
74
+ *
75
+ *
76
+ * @public
77
+ */
78
+ export declare class DisassociateDistributionTenantWebACLCommand extends DisassociateDistributionTenantWebACLCommand_base {
79
+ /** @internal type navigation helper, not in runtime. */
80
+ protected static __types: {
81
+ api: {
82
+ input: DisassociateDistributionTenantWebACLRequest;
83
+ output: DisassociateDistributionTenantWebACLResult;
84
+ };
85
+ sdk: {
86
+ input: DisassociateDistributionTenantWebACLCommandInput;
87
+ output: DisassociateDistributionTenantWebACLCommandOutput;
88
+ };
89
+ };
90
+ }
@@ -0,0 +1,90 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
4
+ import { DisassociateDistributionWebACLRequest, DisassociateDistributionWebACLResult } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DisassociateDistributionWebACLCommand}.
14
+ */
15
+ export interface DisassociateDistributionWebACLCommandInput extends DisassociateDistributionWebACLRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DisassociateDistributionWebACLCommand}.
21
+ */
22
+ export interface DisassociateDistributionWebACLCommandOutput extends DisassociateDistributionWebACLResult, __MetadataBearer {
23
+ }
24
+ declare const DisassociateDistributionWebACLCommand_base: {
25
+ new (input: DisassociateDistributionWebACLCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateDistributionWebACLCommandInput, DisassociateDistributionWebACLCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DisassociateDistributionWebACLCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateDistributionWebACLCommandInput, DisassociateDistributionWebACLCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Disassociates a distribution from the WAF web ACL.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CloudFrontClient, DisassociateDistributionWebACLCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
35
+ * // const { CloudFrontClient, DisassociateDistributionWebACLCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
36
+ * const client = new CloudFrontClient(config);
37
+ * const input = { // DisassociateDistributionWebACLRequest
38
+ * Id: "STRING_VALUE", // required
39
+ * IfMatch: "STRING_VALUE",
40
+ * };
41
+ * const command = new DisassociateDistributionWebACLCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // DisassociateDistributionWebACLResult
44
+ * // Id: "STRING_VALUE",
45
+ * // ETag: "STRING_VALUE",
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param DisassociateDistributionWebACLCommandInput - {@link DisassociateDistributionWebACLCommandInput}
51
+ * @returns {@link DisassociateDistributionWebACLCommandOutput}
52
+ * @see {@link DisassociateDistributionWebACLCommandInput} for command's `input` shape.
53
+ * @see {@link DisassociateDistributionWebACLCommandOutput} for command's `response` shape.
54
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
55
+ *
56
+ * @throws {@link AccessDenied} (client fault)
57
+ * <p>Access denied.</p>
58
+ *
59
+ * @throws {@link EntityNotFound} (client fault)
60
+ * <p>The entity was not found.</p>
61
+ *
62
+ * @throws {@link InvalidArgument} (client fault)
63
+ * <p>An argument is invalid.</p>
64
+ *
65
+ * @throws {@link InvalidIfMatchVersion} (client fault)
66
+ * <p>The <code>If-Match</code> version is missing or not valid.</p>
67
+ *
68
+ * @throws {@link PreconditionFailed} (client fault)
69
+ * <p>The precondition in one or more of the request fields evaluated to
70
+ * <code>false</code>.</p>
71
+ *
72
+ * @throws {@link CloudFrontServiceException}
73
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
74
+ *
75
+ *
76
+ * @public
77
+ */
78
+ export declare class DisassociateDistributionWebACLCommand extends DisassociateDistributionWebACLCommand_base {
79
+ /** @internal type navigation helper, not in runtime. */
80
+ protected static __types: {
81
+ api: {
82
+ input: DisassociateDistributionWebACLRequest;
83
+ output: DisassociateDistributionWebACLResult;
84
+ };
85
+ sdk: {
86
+ input: DisassociateDistributionWebACLCommandInput;
87
+ output: DisassociateDistributionWebACLCommandOutput;
88
+ };
89
+ };
90
+ }
@@ -0,0 +1,99 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
4
+ import { GetConnectionGroupByRoutingEndpointRequest, GetConnectionGroupByRoutingEndpointResult } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetConnectionGroupByRoutingEndpointCommand}.
14
+ */
15
+ export interface GetConnectionGroupByRoutingEndpointCommandInput extends GetConnectionGroupByRoutingEndpointRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetConnectionGroupByRoutingEndpointCommand}.
21
+ */
22
+ export interface GetConnectionGroupByRoutingEndpointCommandOutput extends GetConnectionGroupByRoutingEndpointResult, __MetadataBearer {
23
+ }
24
+ declare const GetConnectionGroupByRoutingEndpointCommand_base: {
25
+ new (input: GetConnectionGroupByRoutingEndpointCommandInput): import("@smithy/smithy-client").CommandImpl<GetConnectionGroupByRoutingEndpointCommandInput, GetConnectionGroupByRoutingEndpointCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetConnectionGroupByRoutingEndpointCommandInput): import("@smithy/smithy-client").CommandImpl<GetConnectionGroupByRoutingEndpointCommandInput, GetConnectionGroupByRoutingEndpointCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Gets information about a connection group by using the endpoint that you specify.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CloudFrontClient, GetConnectionGroupByRoutingEndpointCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
35
+ * // const { CloudFrontClient, GetConnectionGroupByRoutingEndpointCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
36
+ * const client = new CloudFrontClient(config);
37
+ * const input = { // GetConnectionGroupByRoutingEndpointRequest
38
+ * RoutingEndpoint: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetConnectionGroupByRoutingEndpointCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetConnectionGroupByRoutingEndpointResult
43
+ * // ConnectionGroup: { // ConnectionGroup
44
+ * // Id: "STRING_VALUE",
45
+ * // Name: "STRING_VALUE",
46
+ * // Arn: "STRING_VALUE",
47
+ * // CreatedTime: new Date("TIMESTAMP"),
48
+ * // LastModifiedTime: new Date("TIMESTAMP"),
49
+ * // Tags: { // Tags
50
+ * // Items: [ // TagList
51
+ * // { // Tag
52
+ * // Key: "STRING_VALUE", // required
53
+ * // Value: "STRING_VALUE",
54
+ * // },
55
+ * // ],
56
+ * // },
57
+ * // Ipv6Enabled: true || false,
58
+ * // RoutingEndpoint: "STRING_VALUE",
59
+ * // AnycastIpListId: "STRING_VALUE",
60
+ * // Status: "STRING_VALUE",
61
+ * // Enabled: true || false,
62
+ * // IsDefault: true || false,
63
+ * // },
64
+ * // ETag: "STRING_VALUE",
65
+ * // };
66
+ *
67
+ * ```
68
+ *
69
+ * @param GetConnectionGroupByRoutingEndpointCommandInput - {@link GetConnectionGroupByRoutingEndpointCommandInput}
70
+ * @returns {@link GetConnectionGroupByRoutingEndpointCommandOutput}
71
+ * @see {@link GetConnectionGroupByRoutingEndpointCommandInput} for command's `input` shape.
72
+ * @see {@link GetConnectionGroupByRoutingEndpointCommandOutput} for command's `response` shape.
73
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
74
+ *
75
+ * @throws {@link AccessDenied} (client fault)
76
+ * <p>Access denied.</p>
77
+ *
78
+ * @throws {@link EntityNotFound} (client fault)
79
+ * <p>The entity was not found.</p>
80
+ *
81
+ * @throws {@link CloudFrontServiceException}
82
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
83
+ *
84
+ *
85
+ * @public
86
+ */
87
+ export declare class GetConnectionGroupByRoutingEndpointCommand extends GetConnectionGroupByRoutingEndpointCommand_base {
88
+ /** @internal type navigation helper, not in runtime. */
89
+ protected static __types: {
90
+ api: {
91
+ input: GetConnectionGroupByRoutingEndpointRequest;
92
+ output: GetConnectionGroupByRoutingEndpointResult;
93
+ };
94
+ sdk: {
95
+ input: GetConnectionGroupByRoutingEndpointCommandInput;
96
+ output: GetConnectionGroupByRoutingEndpointCommandOutput;
97
+ };
98
+ };
99
+ }
@@ -0,0 +1,99 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
4
+ import { GetConnectionGroupRequest, GetConnectionGroupResult } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetConnectionGroupCommand}.
14
+ */
15
+ export interface GetConnectionGroupCommandInput extends GetConnectionGroupRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetConnectionGroupCommand}.
21
+ */
22
+ export interface GetConnectionGroupCommandOutput extends GetConnectionGroupResult, __MetadataBearer {
23
+ }
24
+ declare const GetConnectionGroupCommand_base: {
25
+ new (input: GetConnectionGroupCommandInput): import("@smithy/smithy-client").CommandImpl<GetConnectionGroupCommandInput, GetConnectionGroupCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetConnectionGroupCommandInput): import("@smithy/smithy-client").CommandImpl<GetConnectionGroupCommandInput, GetConnectionGroupCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Gets information about a connection group.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CloudFrontClient, GetConnectionGroupCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
35
+ * // const { CloudFrontClient, GetConnectionGroupCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
36
+ * const client = new CloudFrontClient(config);
37
+ * const input = { // GetConnectionGroupRequest
38
+ * Identifier: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetConnectionGroupCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetConnectionGroupResult
43
+ * // ConnectionGroup: { // ConnectionGroup
44
+ * // Id: "STRING_VALUE",
45
+ * // Name: "STRING_VALUE",
46
+ * // Arn: "STRING_VALUE",
47
+ * // CreatedTime: new Date("TIMESTAMP"),
48
+ * // LastModifiedTime: new Date("TIMESTAMP"),
49
+ * // Tags: { // Tags
50
+ * // Items: [ // TagList
51
+ * // { // Tag
52
+ * // Key: "STRING_VALUE", // required
53
+ * // Value: "STRING_VALUE",
54
+ * // },
55
+ * // ],
56
+ * // },
57
+ * // Ipv6Enabled: true || false,
58
+ * // RoutingEndpoint: "STRING_VALUE",
59
+ * // AnycastIpListId: "STRING_VALUE",
60
+ * // Status: "STRING_VALUE",
61
+ * // Enabled: true || false,
62
+ * // IsDefault: true || false,
63
+ * // },
64
+ * // ETag: "STRING_VALUE",
65
+ * // };
66
+ *
67
+ * ```
68
+ *
69
+ * @param GetConnectionGroupCommandInput - {@link GetConnectionGroupCommandInput}
70
+ * @returns {@link GetConnectionGroupCommandOutput}
71
+ * @see {@link GetConnectionGroupCommandInput} for command's `input` shape.
72
+ * @see {@link GetConnectionGroupCommandOutput} for command's `response` shape.
73
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
74
+ *
75
+ * @throws {@link AccessDenied} (client fault)
76
+ * <p>Access denied.</p>
77
+ *
78
+ * @throws {@link EntityNotFound} (client fault)
79
+ * <p>The entity was not found.</p>
80
+ *
81
+ * @throws {@link CloudFrontServiceException}
82
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
83
+ *
84
+ *
85
+ * @public
86
+ */
87
+ export declare class GetConnectionGroupCommand extends GetConnectionGroupCommand_base {
88
+ /** @internal type navigation helper, not in runtime. */
89
+ protected static __types: {
90
+ api: {
91
+ input: GetConnectionGroupRequest;
92
+ output: GetConnectionGroupResult;
93
+ };
94
+ sdk: {
95
+ input: GetConnectionGroupCommandInput;
96
+ output: GetConnectionGroupCommandOutput;
97
+ };
98
+ };
99
+ }
@@ -350,7 +350,7 @@ declare const GetDistributionCommand_base: {
350
350
  * // Bucket: "STRING_VALUE",
351
351
  * // Prefix: "STRING_VALUE",
352
352
  * // },
353
- * // PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All",
353
+ * // PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All" || "None",
354
354
  * // Enabled: true || false, // required
355
355
  * // ViewerCertificate: { // ViewerCertificate
356
356
  * // CloudFrontDefaultCertificate: true || false,
@@ -376,6 +376,21 @@ declare const GetDistributionCommand_base: {
376
376
  * // ContinuousDeploymentPolicyId: "STRING_VALUE",
377
377
  * // Staging: true || false,
378
378
  * // AnycastIpListId: "STRING_VALUE",
379
+ * // TenantConfig: { // TenantConfig
380
+ * // ParameterDefinitions: [ // ParameterDefinitions
381
+ * // { // ParameterDefinition
382
+ * // Name: "STRING_VALUE", // required
383
+ * // Definition: { // ParameterDefinitionSchema
384
+ * // StringSchema: { // StringSchemaConfig
385
+ * // Comment: "STRING_VALUE",
386
+ * // DefaultValue: "STRING_VALUE",
387
+ * // Required: true || false, // required
388
+ * // },
389
+ * // },
390
+ * // },
391
+ * // ],
392
+ * // },
393
+ * // ConnectionMode: "direct" || "tenant-only",
379
394
  * // },
380
395
  * // AliasICPRecordals: [ // AliasICPRecordals
381
396
  * // { // AliasICPRecordal
@@ -313,7 +313,7 @@ declare const GetDistributionConfigCommand_base: {
313
313
  * // Bucket: "STRING_VALUE",
314
314
  * // Prefix: "STRING_VALUE",
315
315
  * // },
316
- * // PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All",
316
+ * // PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All" || "None",
317
317
  * // Enabled: true || false, // required
318
318
  * // ViewerCertificate: { // ViewerCertificate
319
319
  * // CloudFrontDefaultCertificate: true || false,
@@ -339,6 +339,21 @@ declare const GetDistributionConfigCommand_base: {
339
339
  * // ContinuousDeploymentPolicyId: "STRING_VALUE",
340
340
  * // Staging: true || false,
341
341
  * // AnycastIpListId: "STRING_VALUE",
342
+ * // TenantConfig: { // TenantConfig
343
+ * // ParameterDefinitions: [ // ParameterDefinitions
344
+ * // { // ParameterDefinition
345
+ * // Name: "STRING_VALUE", // required
346
+ * // Definition: { // ParameterDefinitionSchema
347
+ * // StringSchema: { // StringSchemaConfig
348
+ * // Comment: "STRING_VALUE",
349
+ * // DefaultValue: "STRING_VALUE",
350
+ * // Required: true || false, // required
351
+ * // },
352
+ * // },
353
+ * // },
354
+ * // ],
355
+ * // },
356
+ * // ConnectionMode: "direct" || "tenant-only",
342
357
  * // },
343
358
  * // ETag: "STRING_VALUE",
344
359
  * // };
@@ -0,0 +1,124 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
4
+ import { GetDistributionTenantByDomainRequest, GetDistributionTenantByDomainResult } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetDistributionTenantByDomainCommand}.
14
+ */
15
+ export interface GetDistributionTenantByDomainCommandInput extends GetDistributionTenantByDomainRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetDistributionTenantByDomainCommand}.
21
+ */
22
+ export interface GetDistributionTenantByDomainCommandOutput extends GetDistributionTenantByDomainResult, __MetadataBearer {
23
+ }
24
+ declare const GetDistributionTenantByDomainCommand_base: {
25
+ new (input: GetDistributionTenantByDomainCommandInput): import("@smithy/smithy-client").CommandImpl<GetDistributionTenantByDomainCommandInput, GetDistributionTenantByDomainCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetDistributionTenantByDomainCommandInput): import("@smithy/smithy-client").CommandImpl<GetDistributionTenantByDomainCommandInput, GetDistributionTenantByDomainCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Gets information about a distribution tenant by the associated domain.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CloudFrontClient, GetDistributionTenantByDomainCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
35
+ * // const { CloudFrontClient, GetDistributionTenantByDomainCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
36
+ * const client = new CloudFrontClient(config);
37
+ * const input = { // GetDistributionTenantByDomainRequest
38
+ * Domain: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetDistributionTenantByDomainCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetDistributionTenantByDomainResult
43
+ * // DistributionTenant: { // DistributionTenant
44
+ * // Id: "STRING_VALUE",
45
+ * // DistributionId: "STRING_VALUE",
46
+ * // Name: "STRING_VALUE",
47
+ * // Arn: "STRING_VALUE",
48
+ * // Domains: [ // DomainResultList
49
+ * // { // DomainResult
50
+ * // Domain: "STRING_VALUE", // required
51
+ * // Status: "active" || "inactive",
52
+ * // },
53
+ * // ],
54
+ * // Tags: { // Tags
55
+ * // Items: [ // TagList
56
+ * // { // Tag
57
+ * // Key: "STRING_VALUE", // required
58
+ * // Value: "STRING_VALUE",
59
+ * // },
60
+ * // ],
61
+ * // },
62
+ * // Customizations: { // Customizations
63
+ * // WebAcl: { // WebAclCustomization
64
+ * // Action: "override" || "disable", // required
65
+ * // Arn: "STRING_VALUE",
66
+ * // },
67
+ * // Certificate: { // Certificate
68
+ * // Arn: "STRING_VALUE", // required
69
+ * // },
70
+ * // GeoRestrictions: { // GeoRestrictionCustomization
71
+ * // RestrictionType: "blacklist" || "whitelist" || "none", // required
72
+ * // Locations: [ // LocationList
73
+ * // "STRING_VALUE",
74
+ * // ],
75
+ * // },
76
+ * // },
77
+ * // Parameters: [ // Parameters
78
+ * // { // Parameter
79
+ * // Name: "STRING_VALUE", // required
80
+ * // Value: "STRING_VALUE", // required
81
+ * // },
82
+ * // ],
83
+ * // ConnectionGroupId: "STRING_VALUE",
84
+ * // CreatedTime: new Date("TIMESTAMP"),
85
+ * // LastModifiedTime: new Date("TIMESTAMP"),
86
+ * // Enabled: true || false,
87
+ * // Status: "STRING_VALUE",
88
+ * // },
89
+ * // ETag: "STRING_VALUE",
90
+ * // };
91
+ *
92
+ * ```
93
+ *
94
+ * @param GetDistributionTenantByDomainCommandInput - {@link GetDistributionTenantByDomainCommandInput}
95
+ * @returns {@link GetDistributionTenantByDomainCommandOutput}
96
+ * @see {@link GetDistributionTenantByDomainCommandInput} for command's `input` shape.
97
+ * @see {@link GetDistributionTenantByDomainCommandOutput} for command's `response` shape.
98
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
99
+ *
100
+ * @throws {@link AccessDenied} (client fault)
101
+ * <p>Access denied.</p>
102
+ *
103
+ * @throws {@link EntityNotFound} (client fault)
104
+ * <p>The entity was not found.</p>
105
+ *
106
+ * @throws {@link CloudFrontServiceException}
107
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
108
+ *
109
+ *
110
+ * @public
111
+ */
112
+ export declare class GetDistributionTenantByDomainCommand extends GetDistributionTenantByDomainCommand_base {
113
+ /** @internal type navigation helper, not in runtime. */
114
+ protected static __types: {
115
+ api: {
116
+ input: GetDistributionTenantByDomainRequest;
117
+ output: GetDistributionTenantByDomainResult;
118
+ };
119
+ sdk: {
120
+ input: GetDistributionTenantByDomainCommandInput;
121
+ output: GetDistributionTenantByDomainCommandOutput;
122
+ };
123
+ };
124
+ }