@aws-sdk/client-cloudfront 3.300.0 → 3.301.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.
- package/dist-types/commands/AssociateAliasCommand.d.ts +1 -1
- package/dist-types/commands/CopyDistributionCommand.d.ts +1 -1
- package/dist-types/commands/CreateCachePolicyCommand.d.ts +12 -12
- package/dist-types/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +2 -2
- package/dist-types/commands/CreateContinuousDeploymentPolicyCommand.d.ts +8 -8
- package/dist-types/commands/CreateDistributionCommand.d.ts +59 -63
- package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +63 -67
- package/dist-types/commands/CreateFieldLevelEncryptionConfigCommand.d.ts +10 -10
- package/dist-types/commands/CreateFieldLevelEncryptionProfileCommand.d.ts +7 -7
- package/dist-types/commands/CreateFunctionCommand.d.ts +2 -2
- package/dist-types/commands/CreateInvalidationCommand.d.ts +4 -4
- package/dist-types/commands/CreateKeyGroupCommand.d.ts +3 -3
- package/dist-types/commands/CreateMonitoringSubscriptionCommand.d.ts +3 -3
- package/dist-types/commands/CreateOriginAccessControlCommand.d.ts +2 -2
- package/dist-types/commands/CreateOriginRequestPolicyCommand.d.ts +11 -11
- package/dist-types/commands/CreatePublicKeyCommand.d.ts +2 -2
- package/dist-types/commands/CreateRealtimeLogConfigCommand.d.ts +5 -5
- package/dist-types/commands/CreateResponseHeadersPolicyCommand.d.ts +25 -25
- package/dist-types/commands/CreateStreamingDistributionCommand.d.ts +8 -8
- package/dist-types/commands/CreateStreamingDistributionWithTagsCommand.d.ts +12 -12
- package/dist-types/commands/DeleteCachePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
- package/dist-types/commands/DeleteContinuousDeploymentPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDistributionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFunctionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteKeyGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMonitoringSubscriptionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteOriginAccessControlCommand.d.ts +1 -1
- package/dist-types/commands/DeleteOriginRequestPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeletePublicKeyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRealtimeLogConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResponseHeadersPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteStreamingDistributionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFunctionCommand.d.ts +1 -1
- package/dist-types/commands/GetCachePolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetCachePolicyConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
- package/dist-types/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetContinuousDeploymentPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetContinuousDeploymentPolicyConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetDistributionCommand.d.ts +1 -1
- package/dist-types/commands/GetDistributionConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetFieldLevelEncryptionCommand.d.ts +1 -1
- package/dist-types/commands/GetFieldLevelEncryptionConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetFieldLevelEncryptionProfileCommand.d.ts +1 -1
- package/dist-types/commands/GetFieldLevelEncryptionProfileConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetFunctionCommand.d.ts +1 -1
- package/dist-types/commands/GetInvalidationCommand.d.ts +1 -1
- package/dist-types/commands/GetKeyGroupCommand.d.ts +1 -1
- package/dist-types/commands/GetKeyGroupConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetMonitoringSubscriptionCommand.d.ts +1 -1
- package/dist-types/commands/GetOriginAccessControlCommand.d.ts +1 -1
- package/dist-types/commands/GetOriginAccessControlConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetOriginRequestPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetOriginRequestPolicyConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetPublicKeyCommand.d.ts +1 -1
- package/dist-types/commands/GetPublicKeyConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetRealtimeLogConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetResponseHeadersPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetResponseHeadersPolicyConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetStreamingDistributionCommand.d.ts +1 -1
- package/dist-types/commands/GetStreamingDistributionConfigCommand.d.ts +1 -1
- package/dist-types/commands/ListCachePoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListCloudFrontOriginAccessIdentitiesCommand.d.ts +1 -1
- package/dist-types/commands/ListConflictingAliasesCommand.d.ts +1 -1
- package/dist-types/commands/ListContinuousDeploymentPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListDistributionsByCachePolicyIdCommand.d.ts +1 -1
- package/dist-types/commands/ListDistributionsByKeyGroupCommand.d.ts +1 -1
- package/dist-types/commands/ListDistributionsByOriginRequestPolicyIdCommand.d.ts +1 -1
- package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +1 -1
- package/dist-types/commands/ListDistributionsByResponseHeadersPolicyIdCommand.d.ts +1 -1
- package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +1 -1
- package/dist-types/commands/ListDistributionsCommand.d.ts +1 -1
- package/dist-types/commands/ListFieldLevelEncryptionConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListFieldLevelEncryptionProfilesCommand.d.ts +1 -1
- package/dist-types/commands/ListFunctionsCommand.d.ts +1 -1
- package/dist-types/commands/ListInvalidationsCommand.d.ts +1 -1
- package/dist-types/commands/ListKeyGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListOriginAccessControlsCommand.d.ts +1 -1
- package/dist-types/commands/ListOriginRequestPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListPublicKeysCommand.d.ts +1 -1
- package/dist-types/commands/ListRealtimeLogConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListResponseHeadersPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListStreamingDistributionsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/PublishFunctionCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +4 -4
- package/dist-types/commands/TestFunctionCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateCachePolicyCommand.d.ts +12 -12
- package/dist-types/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +2 -2
- package/dist-types/commands/UpdateContinuousDeploymentPolicyCommand.d.ts +8 -8
- package/dist-types/commands/UpdateDistributionCommand.d.ts +59 -63
- package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +10 -10
- package/dist-types/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +7 -7
- package/dist-types/commands/UpdateFunctionCommand.d.ts +2 -2
- package/dist-types/commands/UpdateKeyGroupCommand.d.ts +3 -3
- package/dist-types/commands/UpdateOriginAccessControlCommand.d.ts +2 -2
- package/dist-types/commands/UpdateOriginRequestPolicyCommand.d.ts +11 -11
- package/dist-types/commands/UpdatePublicKeyCommand.d.ts +2 -2
- package/dist-types/commands/UpdateRealtimeLogConfigCommand.d.ts +5 -5
- package/dist-types/commands/UpdateResponseHeadersPolicyCommand.d.ts +25 -25
- package/dist-types/commands/UpdateStreamingDistributionCommand.d.ts +8 -8
- package/package.json +3 -3
|
@@ -32,7 +32,7 @@ export interface ListDistributionsByKeyGroupCommandOutput extends ListDistributi
|
|
|
32
32
|
* import { CloudFrontClient, ListDistributionsByKeyGroupCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
33
33
|
* // const { CloudFrontClient, ListDistributionsByKeyGroupCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
34
34
|
* const client = new CloudFrontClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // ListDistributionsByKeyGroupRequest
|
|
36
36
|
* Marker: "STRING_VALUE",
|
|
37
37
|
* MaxItems: Number("int"),
|
|
38
38
|
* KeyGroupId: "STRING_VALUE", // required
|
|
@@ -32,7 +32,7 @@ export interface ListDistributionsByOriginRequestPolicyIdCommandOutput extends L
|
|
|
32
32
|
* import { CloudFrontClient, ListDistributionsByOriginRequestPolicyIdCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
33
33
|
* // const { CloudFrontClient, ListDistributionsByOriginRequestPolicyIdCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
34
34
|
* const client = new CloudFrontClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // ListDistributionsByOriginRequestPolicyIdRequest
|
|
36
36
|
* Marker: "STRING_VALUE",
|
|
37
37
|
* MaxItems: Number("int"),
|
|
38
38
|
* OriginRequestPolicyId: "STRING_VALUE", // required
|
|
@@ -35,7 +35,7 @@ export interface ListDistributionsByRealtimeLogConfigCommandOutput extends ListD
|
|
|
35
35
|
* import { CloudFrontClient, ListDistributionsByRealtimeLogConfigCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
36
36
|
* // const { CloudFrontClient, ListDistributionsByRealtimeLogConfigCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
37
37
|
* const client = new CloudFrontClient(config);
|
|
38
|
-
* const input = {
|
|
38
|
+
* const input = { // ListDistributionsByRealtimeLogConfigRequest
|
|
39
39
|
* Marker: "STRING_VALUE",
|
|
40
40
|
* MaxItems: Number("int"),
|
|
41
41
|
* RealtimeLogConfigName: "STRING_VALUE",
|
|
@@ -32,7 +32,7 @@ export interface ListDistributionsByResponseHeadersPolicyIdCommandOutput extends
|
|
|
32
32
|
* import { CloudFrontClient, ListDistributionsByResponseHeadersPolicyIdCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
33
33
|
* // const { CloudFrontClient, ListDistributionsByResponseHeadersPolicyIdCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
34
34
|
* const client = new CloudFrontClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // ListDistributionsByResponseHeadersPolicyIdRequest
|
|
36
36
|
* Marker: "STRING_VALUE",
|
|
37
37
|
* MaxItems: Number("int"),
|
|
38
38
|
* ResponseHeadersPolicyId: "STRING_VALUE", // required
|
|
@@ -26,7 +26,7 @@ export interface ListDistributionsByWebACLIdCommandOutput extends ListDistributi
|
|
|
26
26
|
* import { CloudFrontClient, ListDistributionsByWebACLIdCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
27
27
|
* // const { CloudFrontClient, ListDistributionsByWebACLIdCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
28
28
|
* const client = new CloudFrontClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListDistributionsByWebACLIdRequest
|
|
30
30
|
* Marker: "STRING_VALUE",
|
|
31
31
|
* MaxItems: Number("int"),
|
|
32
32
|
* WebACLId: "STRING_VALUE", // required
|
|
@@ -26,7 +26,7 @@ export interface ListDistributionsCommandOutput extends ListDistributionsResult,
|
|
|
26
26
|
* import { CloudFrontClient, ListDistributionsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
27
27
|
* // const { CloudFrontClient, ListDistributionsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
28
28
|
* const client = new CloudFrontClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListDistributionsRequest
|
|
30
30
|
* Marker: "STRING_VALUE",
|
|
31
31
|
* MaxItems: Number("int"),
|
|
32
32
|
* };
|
|
@@ -27,7 +27,7 @@ export interface ListFieldLevelEncryptionConfigsCommandOutput extends ListFieldL
|
|
|
27
27
|
* import { CloudFrontClient, ListFieldLevelEncryptionConfigsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
28
28
|
* // const { CloudFrontClient, ListFieldLevelEncryptionConfigsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
29
29
|
* const client = new CloudFrontClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // ListFieldLevelEncryptionConfigsRequest
|
|
31
31
|
* Marker: "STRING_VALUE",
|
|
32
32
|
* MaxItems: Number("int"),
|
|
33
33
|
* };
|
|
@@ -27,7 +27,7 @@ export interface ListFieldLevelEncryptionProfilesCommandOutput extends ListField
|
|
|
27
27
|
* import { CloudFrontClient, ListFieldLevelEncryptionProfilesCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
28
28
|
* // const { CloudFrontClient, ListFieldLevelEncryptionProfilesCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
29
29
|
* const client = new CloudFrontClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // ListFieldLevelEncryptionProfilesRequest
|
|
31
31
|
* Marker: "STRING_VALUE",
|
|
32
32
|
* MaxItems: Number("int"),
|
|
33
33
|
* };
|
|
@@ -33,7 +33,7 @@ export interface ListFunctionsCommandOutput extends ListFunctionsResult, __Metad
|
|
|
33
33
|
* import { CloudFrontClient, ListFunctionsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
34
34
|
* // const { CloudFrontClient, ListFunctionsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
35
35
|
* const client = new CloudFrontClient(config);
|
|
36
|
-
* const input = {
|
|
36
|
+
* const input = { // ListFunctionsRequest
|
|
37
37
|
* Marker: "STRING_VALUE",
|
|
38
38
|
* MaxItems: Number("int"),
|
|
39
39
|
* Stage: "DEVELOPMENT" || "LIVE",
|
|
@@ -26,7 +26,7 @@ export interface ListInvalidationsCommandOutput extends ListInvalidationsResult,
|
|
|
26
26
|
* import { CloudFrontClient, ListInvalidationsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
27
27
|
* // const { CloudFrontClient, ListInvalidationsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
28
28
|
* const client = new CloudFrontClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListInvalidationsRequest
|
|
30
30
|
* DistributionId: "STRING_VALUE", // required
|
|
31
31
|
* Marker: "STRING_VALUE",
|
|
32
32
|
* MaxItems: Number("int"),
|
|
@@ -31,7 +31,7 @@ export interface ListKeyGroupsCommandOutput extends ListKeyGroupsResult, __Metad
|
|
|
31
31
|
* import { CloudFrontClient, ListKeyGroupsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
32
32
|
* // const { CloudFrontClient, ListKeyGroupsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
33
33
|
* const client = new CloudFrontClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // ListKeyGroupsRequest
|
|
35
35
|
* Marker: "STRING_VALUE",
|
|
36
36
|
* MaxItems: Number("int"),
|
|
37
37
|
* };
|
|
@@ -31,7 +31,7 @@ export interface ListOriginAccessControlsCommandOutput extends ListOriginAccessC
|
|
|
31
31
|
* import { CloudFrontClient, ListOriginAccessControlsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
32
32
|
* // const { CloudFrontClient, ListOriginAccessControlsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
33
33
|
* const client = new CloudFrontClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // ListOriginAccessControlsRequest
|
|
35
35
|
* Marker: "STRING_VALUE",
|
|
36
36
|
* MaxItems: Number("int"),
|
|
37
37
|
* };
|
|
@@ -33,7 +33,7 @@ export interface ListOriginRequestPoliciesCommandOutput extends ListOriginReques
|
|
|
33
33
|
* import { CloudFrontClient, ListOriginRequestPoliciesCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
34
34
|
* // const { CloudFrontClient, ListOriginRequestPoliciesCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
35
35
|
* const client = new CloudFrontClient(config);
|
|
36
|
-
* const input = {
|
|
36
|
+
* const input = { // ListOriginRequestPoliciesRequest
|
|
37
37
|
* Type: "managed" || "custom",
|
|
38
38
|
* Marker: "STRING_VALUE",
|
|
39
39
|
* MaxItems: Number("int"),
|
|
@@ -26,7 +26,7 @@ export interface ListPublicKeysCommandOutput extends ListPublicKeysResult, __Met
|
|
|
26
26
|
* import { CloudFrontClient, ListPublicKeysCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
27
27
|
* // const { CloudFrontClient, ListPublicKeysCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
28
28
|
* const client = new CloudFrontClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListPublicKeysRequest
|
|
30
30
|
* Marker: "STRING_VALUE",
|
|
31
31
|
* MaxItems: Number("int"),
|
|
32
32
|
* };
|
|
@@ -31,7 +31,7 @@ export interface ListRealtimeLogConfigsCommandOutput extends ListRealtimeLogConf
|
|
|
31
31
|
* import { CloudFrontClient, ListRealtimeLogConfigsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
32
32
|
* // const { CloudFrontClient, ListRealtimeLogConfigsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
33
33
|
* const client = new CloudFrontClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // ListRealtimeLogConfigsRequest
|
|
35
35
|
* MaxItems: Number("int"),
|
|
36
36
|
* Marker: "STRING_VALUE",
|
|
37
37
|
* };
|
|
@@ -33,7 +33,7 @@ export interface ListResponseHeadersPoliciesCommandOutput extends ListResponseHe
|
|
|
33
33
|
* import { CloudFrontClient, ListResponseHeadersPoliciesCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
34
34
|
* // const { CloudFrontClient, ListResponseHeadersPoliciesCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
35
35
|
* const client = new CloudFrontClient(config);
|
|
36
|
-
* const input = {
|
|
36
|
+
* const input = { // ListResponseHeadersPoliciesRequest
|
|
37
37
|
* Type: "managed" || "custom",
|
|
38
38
|
* Marker: "STRING_VALUE",
|
|
39
39
|
* MaxItems: Number("int"),
|
|
@@ -26,7 +26,7 @@ export interface ListStreamingDistributionsCommandOutput extends ListStreamingDi
|
|
|
26
26
|
* import { CloudFrontClient, ListStreamingDistributionsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
27
27
|
* // const { CloudFrontClient, ListStreamingDistributionsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
28
28
|
* const client = new CloudFrontClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListStreamingDistributionsRequest
|
|
30
30
|
* Marker: "STRING_VALUE",
|
|
31
31
|
* MaxItems: Number("int"),
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
26
26
|
* import { CloudFrontClient, ListTagsForResourceCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
27
27
|
* // const { CloudFrontClient, ListTagsForResourceCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
28
28
|
* const client = new CloudFrontClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListTagsForResourceRequest
|
|
30
30
|
* Resource: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
@@ -35,7 +35,7 @@ export interface PublishFunctionCommandOutput extends PublishFunctionResult, __M
|
|
|
35
35
|
* import { CloudFrontClient, PublishFunctionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
36
36
|
* // const { CloudFrontClient, PublishFunctionCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
37
37
|
* const client = new CloudFrontClient(config);
|
|
38
|
-
* const input = {
|
|
38
|
+
* const input = { // PublishFunctionRequest
|
|
39
39
|
* Name: "STRING_VALUE", // required
|
|
40
40
|
* IfMatch: "STRING_VALUE", // required
|
|
41
41
|
* };
|
|
@@ -26,11 +26,11 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { CloudFrontClient, TagResourceCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
27
27
|
* // const { CloudFrontClient, TagResourceCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
28
28
|
* const client = new CloudFrontClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // TagResourceRequest
|
|
30
30
|
* Resource: "STRING_VALUE", // required
|
|
31
|
-
* Tags: {
|
|
32
|
-
* Items: [
|
|
33
|
-
* {
|
|
31
|
+
* Tags: { // Tags
|
|
32
|
+
* Items: [ // TagList
|
|
33
|
+
* { // Tag
|
|
34
34
|
* Key: "STRING_VALUE", // required
|
|
35
35
|
* Value: "STRING_VALUE",
|
|
36
36
|
* },
|
|
@@ -35,7 +35,7 @@ export interface TestFunctionCommandOutput extends TestFunctionResult, __Metadat
|
|
|
35
35
|
* import { CloudFrontClient, TestFunctionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
36
36
|
* // const { CloudFrontClient, TestFunctionCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
37
37
|
* const client = new CloudFrontClient(config);
|
|
38
|
-
* const input = {
|
|
38
|
+
* const input = { // TestFunctionRequest
|
|
39
39
|
* Name: "STRING_VALUE", // required
|
|
40
40
|
* IfMatch: "STRING_VALUE", // required
|
|
41
41
|
* Stage: "DEVELOPMENT" || "LIVE",
|
|
@@ -26,10 +26,10 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { CloudFrontClient, UntagResourceCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
27
27
|
* // const { CloudFrontClient, UntagResourceCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
28
28
|
* const client = new CloudFrontClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UntagResourceRequest
|
|
30
30
|
* Resource: "STRING_VALUE", // required
|
|
31
|
-
* TagKeys: {
|
|
32
|
-
* Items: [
|
|
31
|
+
* TagKeys: { // TagKeys
|
|
32
|
+
* Items: [ // TagKeyList
|
|
33
33
|
* "STRING_VALUE",
|
|
34
34
|
* ],
|
|
35
35
|
* },
|
|
@@ -43,39 +43,39 @@ export interface UpdateCachePolicyCommandOutput extends UpdateCachePolicyResult,
|
|
|
43
43
|
* import { CloudFrontClient, UpdateCachePolicyCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
44
44
|
* // const { CloudFrontClient, UpdateCachePolicyCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
45
45
|
* const client = new CloudFrontClient(config);
|
|
46
|
-
* const input = {
|
|
47
|
-
* CachePolicyConfig: {
|
|
46
|
+
* const input = { // UpdateCachePolicyRequest
|
|
47
|
+
* CachePolicyConfig: { // CachePolicyConfig
|
|
48
48
|
* Comment: "STRING_VALUE",
|
|
49
49
|
* Name: "STRING_VALUE", // required
|
|
50
50
|
* DefaultTTL: Number("long"),
|
|
51
51
|
* MaxTTL: Number("long"),
|
|
52
52
|
* MinTTL: Number("long"), // required
|
|
53
|
-
* ParametersInCacheKeyAndForwardedToOrigin: {
|
|
53
|
+
* ParametersInCacheKeyAndForwardedToOrigin: { // ParametersInCacheKeyAndForwardedToOrigin
|
|
54
54
|
* EnableAcceptEncodingGzip: true || false, // required
|
|
55
55
|
* EnableAcceptEncodingBrotli: true || false,
|
|
56
|
-
* HeadersConfig: {
|
|
56
|
+
* HeadersConfig: { // CachePolicyHeadersConfig
|
|
57
57
|
* HeaderBehavior: "none" || "whitelist", // required
|
|
58
|
-
* Headers: {
|
|
58
|
+
* Headers: { // Headers
|
|
59
59
|
* Quantity: Number("int"), // required
|
|
60
|
-
* Items: [
|
|
60
|
+
* Items: [ // HeaderList
|
|
61
61
|
* "STRING_VALUE",
|
|
62
62
|
* ],
|
|
63
63
|
* },
|
|
64
64
|
* },
|
|
65
|
-
* CookiesConfig: {
|
|
65
|
+
* CookiesConfig: { // CachePolicyCookiesConfig
|
|
66
66
|
* CookieBehavior: "none" || "whitelist" || "allExcept" || "all", // required
|
|
67
|
-
* Cookies: {
|
|
67
|
+
* Cookies: { // CookieNames
|
|
68
68
|
* Quantity: Number("int"), // required
|
|
69
|
-
* Items: [
|
|
69
|
+
* Items: [ // CookieNameList
|
|
70
70
|
* "STRING_VALUE",
|
|
71
71
|
* ],
|
|
72
72
|
* },
|
|
73
73
|
* },
|
|
74
|
-
* QueryStringsConfig: {
|
|
74
|
+
* QueryStringsConfig: { // CachePolicyQueryStringsConfig
|
|
75
75
|
* QueryStringBehavior: "none" || "whitelist" || "allExcept" || "all", // required
|
|
76
|
-
* QueryStrings: {
|
|
76
|
+
* QueryStrings: { // QueryStringNames
|
|
77
77
|
* Quantity: Number("int"), // required
|
|
78
|
-
* Items: [
|
|
78
|
+
* Items: [ // QueryStringNamesList
|
|
79
79
|
* "STRING_VALUE",
|
|
80
80
|
* ],
|
|
81
81
|
* },
|
|
@@ -26,8 +26,8 @@ export interface UpdateCloudFrontOriginAccessIdentityCommandOutput extends Updat
|
|
|
26
26
|
* import { CloudFrontClient, UpdateCloudFrontOriginAccessIdentityCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
27
27
|
* // const { CloudFrontClient, UpdateCloudFrontOriginAccessIdentityCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
28
28
|
* const client = new CloudFrontClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* CloudFrontOriginAccessIdentityConfig: {
|
|
29
|
+
* const input = { // UpdateCloudFrontOriginAccessIdentityRequest
|
|
30
|
+
* CloudFrontOriginAccessIdentityConfig: { // CloudFrontOriginAccessIdentityConfig
|
|
31
31
|
* CallerReference: "STRING_VALUE", // required
|
|
32
32
|
* Comment: "STRING_VALUE", // required
|
|
33
33
|
* },
|
|
@@ -47,24 +47,24 @@ export interface UpdateContinuousDeploymentPolicyCommandOutput extends UpdateCon
|
|
|
47
47
|
* import { CloudFrontClient, UpdateContinuousDeploymentPolicyCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
48
48
|
* // const { CloudFrontClient, UpdateContinuousDeploymentPolicyCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
49
49
|
* const client = new CloudFrontClient(config);
|
|
50
|
-
* const input = {
|
|
51
|
-
* ContinuousDeploymentPolicyConfig: {
|
|
52
|
-
* StagingDistributionDnsNames: {
|
|
50
|
+
* const input = { // UpdateContinuousDeploymentPolicyRequest
|
|
51
|
+
* ContinuousDeploymentPolicyConfig: { // ContinuousDeploymentPolicyConfig
|
|
52
|
+
* StagingDistributionDnsNames: { // StagingDistributionDnsNames
|
|
53
53
|
* Quantity: Number("int"), // required
|
|
54
|
-
* Items: [
|
|
54
|
+
* Items: [ // StagingDistributionDnsNameList
|
|
55
55
|
* "STRING_VALUE",
|
|
56
56
|
* ],
|
|
57
57
|
* },
|
|
58
58
|
* Enabled: true || false, // required
|
|
59
|
-
* TrafficConfig: {
|
|
60
|
-
* SingleWeightConfig: {
|
|
59
|
+
* TrafficConfig: { // TrafficConfig
|
|
60
|
+
* SingleWeightConfig: { // ContinuousDeploymentSingleWeightConfig
|
|
61
61
|
* Weight: Number("float"), // required
|
|
62
|
-
* SessionStickinessConfig: {
|
|
62
|
+
* SessionStickinessConfig: { // SessionStickinessConfig
|
|
63
63
|
* IdleTTL: Number("int"), // required
|
|
64
64
|
* MaximumTTL: Number("int"), // required
|
|
65
65
|
* },
|
|
66
66
|
* },
|
|
67
|
-
* SingleHeaderConfig: {
|
|
67
|
+
* SingleHeaderConfig: { // ContinuousDeploymentSingleHeaderConfig
|
|
68
68
|
* Header: "STRING_VALUE", // required
|
|
69
69
|
* Value: "STRING_VALUE", // required
|
|
70
70
|
* },
|
|
@@ -61,42 +61,42 @@ export interface UpdateDistributionCommandOutput extends UpdateDistributionResul
|
|
|
61
61
|
* import { CloudFrontClient, UpdateDistributionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
62
62
|
* // const { CloudFrontClient, UpdateDistributionCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
63
63
|
* const client = new CloudFrontClient(config);
|
|
64
|
-
* const input = {
|
|
65
|
-
* DistributionConfig: {
|
|
64
|
+
* const input = { // UpdateDistributionRequest
|
|
65
|
+
* DistributionConfig: { // DistributionConfig
|
|
66
66
|
* CallerReference: "STRING_VALUE", // required
|
|
67
|
-
* Aliases: {
|
|
67
|
+
* Aliases: { // Aliases
|
|
68
68
|
* Quantity: Number("int"), // required
|
|
69
|
-
* Items: [
|
|
69
|
+
* Items: [ // AliasList
|
|
70
70
|
* "STRING_VALUE",
|
|
71
71
|
* ],
|
|
72
72
|
* },
|
|
73
73
|
* DefaultRootObject: "STRING_VALUE",
|
|
74
|
-
* Origins: {
|
|
74
|
+
* Origins: { // Origins
|
|
75
75
|
* Quantity: Number("int"), // required
|
|
76
|
-
* Items: [ // required
|
|
77
|
-
* {
|
|
76
|
+
* Items: [ // OriginList // required
|
|
77
|
+
* { // Origin
|
|
78
78
|
* Id: "STRING_VALUE", // required
|
|
79
79
|
* DomainName: "STRING_VALUE", // required
|
|
80
80
|
* OriginPath: "STRING_VALUE",
|
|
81
|
-
* CustomHeaders: {
|
|
81
|
+
* CustomHeaders: { // CustomHeaders
|
|
82
82
|
* Quantity: Number("int"), // required
|
|
83
|
-
* Items: [
|
|
84
|
-
* {
|
|
83
|
+
* Items: [ // OriginCustomHeadersList
|
|
84
|
+
* { // OriginCustomHeader
|
|
85
85
|
* HeaderName: "STRING_VALUE", // required
|
|
86
86
|
* HeaderValue: "STRING_VALUE", // required
|
|
87
87
|
* },
|
|
88
88
|
* ],
|
|
89
89
|
* },
|
|
90
|
-
* S3OriginConfig: {
|
|
90
|
+
* S3OriginConfig: { // S3OriginConfig
|
|
91
91
|
* OriginAccessIdentity: "STRING_VALUE", // required
|
|
92
92
|
* },
|
|
93
|
-
* CustomOriginConfig: {
|
|
93
|
+
* CustomOriginConfig: { // CustomOriginConfig
|
|
94
94
|
* HTTPPort: Number("int"), // required
|
|
95
95
|
* HTTPSPort: Number("int"), // required
|
|
96
96
|
* OriginProtocolPolicy: "http-only" || "match-viewer" || "https-only", // required
|
|
97
|
-
* OriginSslProtocols: {
|
|
97
|
+
* OriginSslProtocols: { // OriginSslProtocols
|
|
98
98
|
* Quantity: Number("int"), // required
|
|
99
|
-
* Items: [ // required
|
|
99
|
+
* Items: [ // SslProtocolsList // required
|
|
100
100
|
* "SSLv3" || "TLSv1" || "TLSv1.1" || "TLSv1.2",
|
|
101
101
|
* ],
|
|
102
102
|
* },
|
|
@@ -105,7 +105,7 @@ export interface UpdateDistributionCommandOutput extends UpdateDistributionResul
|
|
|
105
105
|
* },
|
|
106
106
|
* ConnectionAttempts: Number("int"),
|
|
107
107
|
* ConnectionTimeout: Number("int"),
|
|
108
|
-
* OriginShield: {
|
|
108
|
+
* OriginShield: { // OriginShield
|
|
109
109
|
* Enabled: true || false, // required
|
|
110
110
|
* OriginShieldRegion: "STRING_VALUE",
|
|
111
111
|
* },
|
|
@@ -113,23 +113,23 @@ export interface UpdateDistributionCommandOutput extends UpdateDistributionResul
|
|
|
113
113
|
* },
|
|
114
114
|
* ],
|
|
115
115
|
* },
|
|
116
|
-
* OriginGroups: {
|
|
116
|
+
* OriginGroups: { // OriginGroups
|
|
117
117
|
* Quantity: Number("int"), // required
|
|
118
|
-
* Items: [
|
|
119
|
-
* {
|
|
118
|
+
* Items: [ // OriginGroupList
|
|
119
|
+
* { // OriginGroup
|
|
120
120
|
* Id: "STRING_VALUE", // required
|
|
121
|
-
* FailoverCriteria: {
|
|
122
|
-
* StatusCodes: {
|
|
121
|
+
* FailoverCriteria: { // OriginGroupFailoverCriteria
|
|
122
|
+
* StatusCodes: { // StatusCodes
|
|
123
123
|
* Quantity: Number("int"), // required
|
|
124
|
-
* Items: [ // required
|
|
124
|
+
* Items: [ // StatusCodeList // required
|
|
125
125
|
* Number("int"),
|
|
126
126
|
* ],
|
|
127
127
|
* },
|
|
128
128
|
* },
|
|
129
|
-
* Members: {
|
|
129
|
+
* Members: { // OriginGroupMembers
|
|
130
130
|
* Quantity: Number("int"), // required
|
|
131
|
-
* Items: [ // required
|
|
132
|
-
* {
|
|
131
|
+
* Items: [ // OriginGroupMemberList // required
|
|
132
|
+
* { // OriginGroupMember
|
|
133
133
|
* OriginId: "STRING_VALUE", // required
|
|
134
134
|
* },
|
|
135
135
|
* ],
|
|
@@ -137,29 +137,29 @@ export interface UpdateDistributionCommandOutput extends UpdateDistributionResul
|
|
|
137
137
|
* },
|
|
138
138
|
* ],
|
|
139
139
|
* },
|
|
140
|
-
* DefaultCacheBehavior: {
|
|
140
|
+
* DefaultCacheBehavior: { // DefaultCacheBehavior
|
|
141
141
|
* TargetOriginId: "STRING_VALUE", // required
|
|
142
|
-
* TrustedSigners: {
|
|
142
|
+
* TrustedSigners: { // TrustedSigners
|
|
143
143
|
* Enabled: true || false, // required
|
|
144
144
|
* Quantity: Number("int"), // required
|
|
145
|
-
* Items: [
|
|
145
|
+
* Items: [ // AwsAccountNumberList
|
|
146
146
|
* "STRING_VALUE",
|
|
147
147
|
* ],
|
|
148
148
|
* },
|
|
149
|
-
* TrustedKeyGroups: {
|
|
149
|
+
* TrustedKeyGroups: { // TrustedKeyGroups
|
|
150
150
|
* Enabled: true || false, // required
|
|
151
151
|
* Quantity: Number("int"), // required
|
|
152
|
-
* Items: [
|
|
152
|
+
* Items: [ // TrustedKeyGroupIdList
|
|
153
153
|
* "STRING_VALUE",
|
|
154
154
|
* ],
|
|
155
155
|
* },
|
|
156
156
|
* ViewerProtocolPolicy: "allow-all" || "https-only" || "redirect-to-https", // required
|
|
157
|
-
* AllowedMethods: {
|
|
157
|
+
* AllowedMethods: { // AllowedMethods
|
|
158
158
|
* Quantity: Number("int"), // required
|
|
159
|
-
* Items: [ // required
|
|
159
|
+
* Items: [ // MethodsList // required
|
|
160
160
|
* "GET" || "HEAD" || "POST" || "PUT" || "PATCH" || "OPTIONS" || "DELETE",
|
|
161
161
|
* ],
|
|
162
|
-
* CachedMethods: {
|
|
162
|
+
* CachedMethods: { // CachedMethods
|
|
163
163
|
* Quantity: Number("int"), // required
|
|
164
164
|
* Items: [ // required
|
|
165
165
|
* "GET" || "HEAD" || "POST" || "PUT" || "PATCH" || "OPTIONS" || "DELETE",
|
|
@@ -168,20 +168,20 @@ export interface UpdateDistributionCommandOutput extends UpdateDistributionResul
|
|
|
168
168
|
* },
|
|
169
169
|
* SmoothStreaming: true || false,
|
|
170
170
|
* Compress: true || false,
|
|
171
|
-
* LambdaFunctionAssociations: {
|
|
171
|
+
* LambdaFunctionAssociations: { // LambdaFunctionAssociations
|
|
172
172
|
* Quantity: Number("int"), // required
|
|
173
|
-
* Items: [
|
|
174
|
-
* {
|
|
173
|
+
* Items: [ // LambdaFunctionAssociationList
|
|
174
|
+
* { // LambdaFunctionAssociation
|
|
175
175
|
* LambdaFunctionARN: "STRING_VALUE", // required
|
|
176
176
|
* EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
|
|
177
177
|
* IncludeBody: true || false,
|
|
178
178
|
* },
|
|
179
179
|
* ],
|
|
180
180
|
* },
|
|
181
|
-
* FunctionAssociations: {
|
|
181
|
+
* FunctionAssociations: { // FunctionAssociations
|
|
182
182
|
* Quantity: Number("int"), // required
|
|
183
|
-
* Items: [
|
|
184
|
-
* {
|
|
183
|
+
* Items: [ // FunctionAssociationList
|
|
184
|
+
* { // FunctionAssociation
|
|
185
185
|
* FunctionARN: "STRING_VALUE", // required
|
|
186
186
|
* EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
|
|
187
187
|
* },
|
|
@@ -192,26 +192,26 @@ export interface UpdateDistributionCommandOutput extends UpdateDistributionResul
|
|
|
192
192
|
* CachePolicyId: "STRING_VALUE",
|
|
193
193
|
* OriginRequestPolicyId: "STRING_VALUE",
|
|
194
194
|
* ResponseHeadersPolicyId: "STRING_VALUE",
|
|
195
|
-
* ForwardedValues: {
|
|
195
|
+
* ForwardedValues: { // ForwardedValues
|
|
196
196
|
* QueryString: true || false, // required
|
|
197
|
-
* Cookies: {
|
|
197
|
+
* Cookies: { // CookiePreference
|
|
198
198
|
* Forward: "none" || "whitelist" || "all", // required
|
|
199
|
-
* WhitelistedNames: {
|
|
199
|
+
* WhitelistedNames: { // CookieNames
|
|
200
200
|
* Quantity: Number("int"), // required
|
|
201
|
-
* Items: [
|
|
201
|
+
* Items: [ // CookieNameList
|
|
202
202
|
* "STRING_VALUE",
|
|
203
203
|
* ],
|
|
204
204
|
* },
|
|
205
205
|
* },
|
|
206
|
-
* Headers: {
|
|
206
|
+
* Headers: { // Headers
|
|
207
207
|
* Quantity: Number("int"), // required
|
|
208
|
-
* Items: [
|
|
208
|
+
* Items: [ // HeaderList
|
|
209
209
|
* "STRING_VALUE",
|
|
210
210
|
* ],
|
|
211
211
|
* },
|
|
212
|
-
* QueryStringCacheKeys: {
|
|
212
|
+
* QueryStringCacheKeys: { // QueryStringCacheKeys
|
|
213
213
|
* Quantity: Number("int"), // required
|
|
214
|
-
* Items: [
|
|
214
|
+
* Items: [ // QueryStringCacheKeysList
|
|
215
215
|
* "STRING_VALUE",
|
|
216
216
|
* ],
|
|
217
217
|
* },
|
|
@@ -220,10 +220,10 @@ export interface UpdateDistributionCommandOutput extends UpdateDistributionResul
|
|
|
220
220
|
* DefaultTTL: Number("long"),
|
|
221
221
|
* MaxTTL: Number("long"),
|
|
222
222
|
* },
|
|
223
|
-
* CacheBehaviors: {
|
|
223
|
+
* CacheBehaviors: { // CacheBehaviors
|
|
224
224
|
* Quantity: Number("int"), // required
|
|
225
|
-
* Items: [
|
|
226
|
-
* {
|
|
225
|
+
* Items: [ // CacheBehaviorList
|
|
226
|
+
* { // CacheBehavior
|
|
227
227
|
* PathPattern: "STRING_VALUE", // required
|
|
228
228
|
* TargetOriginId: "STRING_VALUE", // required
|
|
229
229
|
* TrustedSigners: {
|
|
@@ -243,14 +243,10 @@ export interface UpdateDistributionCommandOutput extends UpdateDistributionResul
|
|
|
243
243
|
* ViewerProtocolPolicy: "allow-all" || "https-only" || "redirect-to-https", // required
|
|
244
244
|
* AllowedMethods: {
|
|
245
245
|
* Quantity: Number("int"), // required
|
|
246
|
-
* Items:
|
|
247
|
-
* "<MethodsList>",
|
|
248
|
-
* ],
|
|
246
|
+
* Items: "<MethodsList>", // required
|
|
249
247
|
* CachedMethods: {
|
|
250
248
|
* Quantity: Number("int"), // required
|
|
251
|
-
* Items:
|
|
252
|
-
* "<MethodsList>",
|
|
253
|
-
* ],
|
|
249
|
+
* Items: "<MethodsList>", // required
|
|
254
250
|
* },
|
|
255
251
|
* },
|
|
256
252
|
* SmoothStreaming: true || false,
|
|
@@ -309,10 +305,10 @@ export interface UpdateDistributionCommandOutput extends UpdateDistributionResul
|
|
|
309
305
|
* },
|
|
310
306
|
* ],
|
|
311
307
|
* },
|
|
312
|
-
* CustomErrorResponses: {
|
|
308
|
+
* CustomErrorResponses: { // CustomErrorResponses
|
|
313
309
|
* Quantity: Number("int"), // required
|
|
314
|
-
* Items: [
|
|
315
|
-
* {
|
|
310
|
+
* Items: [ // CustomErrorResponseList
|
|
311
|
+
* { // CustomErrorResponse
|
|
316
312
|
* ErrorCode: Number("int"), // required
|
|
317
313
|
* ResponsePagePath: "STRING_VALUE",
|
|
318
314
|
* ResponseCode: "STRING_VALUE",
|
|
@@ -321,7 +317,7 @@ export interface UpdateDistributionCommandOutput extends UpdateDistributionResul
|
|
|
321
317
|
* ],
|
|
322
318
|
* },
|
|
323
319
|
* Comment: "STRING_VALUE", // required
|
|
324
|
-
* Logging: {
|
|
320
|
+
* Logging: { // LoggingConfig
|
|
325
321
|
* Enabled: true || false, // required
|
|
326
322
|
* IncludeCookies: true || false, // required
|
|
327
323
|
* Bucket: "STRING_VALUE", // required
|
|
@@ -329,7 +325,7 @@ export interface UpdateDistributionCommandOutput extends UpdateDistributionResul
|
|
|
329
325
|
* },
|
|
330
326
|
* PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All",
|
|
331
327
|
* Enabled: true || false, // required
|
|
332
|
-
* ViewerCertificate: {
|
|
328
|
+
* ViewerCertificate: { // ViewerCertificate
|
|
333
329
|
* CloudFrontDefaultCertificate: true || false,
|
|
334
330
|
* IAMCertificateId: "STRING_VALUE",
|
|
335
331
|
* ACMCertificateArn: "STRING_VALUE",
|
|
@@ -338,11 +334,11 @@ export interface UpdateDistributionCommandOutput extends UpdateDistributionResul
|
|
|
338
334
|
* Certificate: "STRING_VALUE",
|
|
339
335
|
* CertificateSource: "cloudfront" || "iam" || "acm",
|
|
340
336
|
* },
|
|
341
|
-
* Restrictions: {
|
|
342
|
-
* GeoRestriction: {
|
|
337
|
+
* Restrictions: { // Restrictions
|
|
338
|
+
* GeoRestriction: { // GeoRestriction
|
|
343
339
|
* RestrictionType: "blacklist" || "whitelist" || "none", // required
|
|
344
340
|
* Quantity: Number("int"), // required
|
|
345
|
-
* Items: [
|
|
341
|
+
* Items: [ // LocationList
|
|
346
342
|
* "STRING_VALUE",
|
|
347
343
|
* ],
|
|
348
344
|
* },
|
|
@@ -35,7 +35,7 @@ export interface UpdateDistributionWithStagingConfigCommandOutput extends Update
|
|
|
35
35
|
* import { CloudFrontClient, UpdateDistributionWithStagingConfigCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
36
36
|
* // const { CloudFrontClient, UpdateDistributionWithStagingConfigCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
37
37
|
* const client = new CloudFrontClient(config);
|
|
38
|
-
* const input = {
|
|
38
|
+
* const input = { // UpdateDistributionWithStagingConfigRequest
|
|
39
39
|
* Id: "STRING_VALUE", // required
|
|
40
40
|
* StagingDistributionId: "STRING_VALUE",
|
|
41
41
|
* IfMatch: "STRING_VALUE",
|