@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
|
@@ -36,7 +36,7 @@ export interface AssociateAliasCommandOutput extends __MetadataBearer {
|
|
|
36
36
|
* import { CloudFrontClient, AssociateAliasCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
37
37
|
* // const { CloudFrontClient, AssociateAliasCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
38
38
|
* const client = new CloudFrontClient(config);
|
|
39
|
-
* const input = {
|
|
39
|
+
* const input = { // AssociateAliasRequest
|
|
40
40
|
* TargetDistributionId: "STRING_VALUE", // required
|
|
41
41
|
* Alias: "STRING_VALUE", // required
|
|
42
42
|
* };
|
|
@@ -32,7 +32,7 @@ export interface CopyDistributionCommandOutput extends CopyDistributionResult, _
|
|
|
32
32
|
* import { CloudFrontClient, CopyDistributionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
33
33
|
* // const { CloudFrontClient, CopyDistributionCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
34
34
|
* const client = new CloudFrontClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // CopyDistributionRequest
|
|
36
36
|
* PrimaryDistributionId: "STRING_VALUE", // required
|
|
37
37
|
* Staging: true || false,
|
|
38
38
|
* IfMatch: "STRING_VALUE",
|
|
@@ -48,39 +48,39 @@ export interface CreateCachePolicyCommandOutput extends CreateCachePolicyResult,
|
|
|
48
48
|
* import { CloudFrontClient, CreateCachePolicyCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
49
49
|
* // const { CloudFrontClient, CreateCachePolicyCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
50
50
|
* const client = new CloudFrontClient(config);
|
|
51
|
-
* const input = {
|
|
52
|
-
* CachePolicyConfig: {
|
|
51
|
+
* const input = { // CreateCachePolicyRequest
|
|
52
|
+
* CachePolicyConfig: { // CachePolicyConfig
|
|
53
53
|
* Comment: "STRING_VALUE",
|
|
54
54
|
* Name: "STRING_VALUE", // required
|
|
55
55
|
* DefaultTTL: Number("long"),
|
|
56
56
|
* MaxTTL: Number("long"),
|
|
57
57
|
* MinTTL: Number("long"), // required
|
|
58
|
-
* ParametersInCacheKeyAndForwardedToOrigin: {
|
|
58
|
+
* ParametersInCacheKeyAndForwardedToOrigin: { // ParametersInCacheKeyAndForwardedToOrigin
|
|
59
59
|
* EnableAcceptEncodingGzip: true || false, // required
|
|
60
60
|
* EnableAcceptEncodingBrotli: true || false,
|
|
61
|
-
* HeadersConfig: {
|
|
61
|
+
* HeadersConfig: { // CachePolicyHeadersConfig
|
|
62
62
|
* HeaderBehavior: "none" || "whitelist", // required
|
|
63
|
-
* Headers: {
|
|
63
|
+
* Headers: { // Headers
|
|
64
64
|
* Quantity: Number("int"), // required
|
|
65
|
-
* Items: [
|
|
65
|
+
* Items: [ // HeaderList
|
|
66
66
|
* "STRING_VALUE",
|
|
67
67
|
* ],
|
|
68
68
|
* },
|
|
69
69
|
* },
|
|
70
|
-
* CookiesConfig: {
|
|
70
|
+
* CookiesConfig: { // CachePolicyCookiesConfig
|
|
71
71
|
* CookieBehavior: "none" || "whitelist" || "allExcept" || "all", // required
|
|
72
|
-
* Cookies: {
|
|
72
|
+
* Cookies: { // CookieNames
|
|
73
73
|
* Quantity: Number("int"), // required
|
|
74
|
-
* Items: [
|
|
74
|
+
* Items: [ // CookieNameList
|
|
75
75
|
* "STRING_VALUE",
|
|
76
76
|
* ],
|
|
77
77
|
* },
|
|
78
78
|
* },
|
|
79
|
-
* QueryStringsConfig: {
|
|
79
|
+
* QueryStringsConfig: { // CachePolicyQueryStringsConfig
|
|
80
80
|
* QueryStringBehavior: "none" || "whitelist" || "allExcept" || "all", // required
|
|
81
|
-
* QueryStrings: {
|
|
81
|
+
* QueryStrings: { // QueryStringNames
|
|
82
82
|
* Quantity: Number("int"), // required
|
|
83
|
-
* Items: [
|
|
83
|
+
* Items: [ // QueryStringNamesList
|
|
84
84
|
* "STRING_VALUE",
|
|
85
85
|
* ],
|
|
86
86
|
* },
|
|
@@ -30,8 +30,8 @@ export interface CreateCloudFrontOriginAccessIdentityCommandOutput extends Creat
|
|
|
30
30
|
* import { CloudFrontClient, CreateCloudFrontOriginAccessIdentityCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
31
31
|
* // const { CloudFrontClient, CreateCloudFrontOriginAccessIdentityCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
32
32
|
* const client = new CloudFrontClient(config);
|
|
33
|
-
* const input = {
|
|
34
|
-
* CloudFrontOriginAccessIdentityConfig: {
|
|
33
|
+
* const input = { // CreateCloudFrontOriginAccessIdentityRequest
|
|
34
|
+
* CloudFrontOriginAccessIdentityConfig: { // CloudFrontOriginAccessIdentityConfig
|
|
35
35
|
* CallerReference: "STRING_VALUE", // required
|
|
36
36
|
* Comment: "STRING_VALUE", // required
|
|
37
37
|
* },
|
|
@@ -34,24 +34,24 @@ export interface CreateContinuousDeploymentPolicyCommandOutput extends CreateCon
|
|
|
34
34
|
* import { CloudFrontClient, CreateContinuousDeploymentPolicyCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
35
35
|
* // const { CloudFrontClient, CreateContinuousDeploymentPolicyCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
36
36
|
* const client = new CloudFrontClient(config);
|
|
37
|
-
* const input = {
|
|
38
|
-
* ContinuousDeploymentPolicyConfig: {
|
|
39
|
-
* StagingDistributionDnsNames: {
|
|
37
|
+
* const input = { // CreateContinuousDeploymentPolicyRequest
|
|
38
|
+
* ContinuousDeploymentPolicyConfig: { // ContinuousDeploymentPolicyConfig
|
|
39
|
+
* StagingDistributionDnsNames: { // StagingDistributionDnsNames
|
|
40
40
|
* Quantity: Number("int"), // required
|
|
41
|
-
* Items: [
|
|
41
|
+
* Items: [ // StagingDistributionDnsNameList
|
|
42
42
|
* "STRING_VALUE",
|
|
43
43
|
* ],
|
|
44
44
|
* },
|
|
45
45
|
* Enabled: true || false, // required
|
|
46
|
-
* TrafficConfig: {
|
|
47
|
-
* SingleWeightConfig: {
|
|
46
|
+
* TrafficConfig: { // TrafficConfig
|
|
47
|
+
* SingleWeightConfig: { // ContinuousDeploymentSingleWeightConfig
|
|
48
48
|
* Weight: Number("float"), // required
|
|
49
|
-
* SessionStickinessConfig: {
|
|
49
|
+
* SessionStickinessConfig: { // SessionStickinessConfig
|
|
50
50
|
* IdleTTL: Number("int"), // required
|
|
51
51
|
* MaximumTTL: Number("int"), // required
|
|
52
52
|
* },
|
|
53
53
|
* },
|
|
54
|
-
* SingleHeaderConfig: {
|
|
54
|
+
* SingleHeaderConfig: { // ContinuousDeploymentSingleHeaderConfig
|
|
55
55
|
* Header: "STRING_VALUE", // required
|
|
56
56
|
* Value: "STRING_VALUE", // required
|
|
57
57
|
* },
|
|
@@ -26,42 +26,42 @@ export interface CreateDistributionCommandOutput extends CreateDistributionResul
|
|
|
26
26
|
* import { CloudFrontClient, CreateDistributionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
27
27
|
* // const { CloudFrontClient, CreateDistributionCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
28
28
|
* const client = new CloudFrontClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* DistributionConfig: {
|
|
29
|
+
* const input = { // CreateDistributionRequest
|
|
30
|
+
* DistributionConfig: { // DistributionConfig
|
|
31
31
|
* CallerReference: "STRING_VALUE", // required
|
|
32
|
-
* Aliases: {
|
|
32
|
+
* Aliases: { // Aliases
|
|
33
33
|
* Quantity: Number("int"), // required
|
|
34
|
-
* Items: [
|
|
34
|
+
* Items: [ // AliasList
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
37
|
* },
|
|
38
38
|
* DefaultRootObject: "STRING_VALUE",
|
|
39
|
-
* Origins: {
|
|
39
|
+
* Origins: { // Origins
|
|
40
40
|
* Quantity: Number("int"), // required
|
|
41
|
-
* Items: [ // required
|
|
42
|
-
* {
|
|
41
|
+
* Items: [ // OriginList // required
|
|
42
|
+
* { // Origin
|
|
43
43
|
* Id: "STRING_VALUE", // required
|
|
44
44
|
* DomainName: "STRING_VALUE", // required
|
|
45
45
|
* OriginPath: "STRING_VALUE",
|
|
46
|
-
* CustomHeaders: {
|
|
46
|
+
* CustomHeaders: { // CustomHeaders
|
|
47
47
|
* Quantity: Number("int"), // required
|
|
48
|
-
* Items: [
|
|
49
|
-
* {
|
|
48
|
+
* Items: [ // OriginCustomHeadersList
|
|
49
|
+
* { // OriginCustomHeader
|
|
50
50
|
* HeaderName: "STRING_VALUE", // required
|
|
51
51
|
* HeaderValue: "STRING_VALUE", // required
|
|
52
52
|
* },
|
|
53
53
|
* ],
|
|
54
54
|
* },
|
|
55
|
-
* S3OriginConfig: {
|
|
55
|
+
* S3OriginConfig: { // S3OriginConfig
|
|
56
56
|
* OriginAccessIdentity: "STRING_VALUE", // required
|
|
57
57
|
* },
|
|
58
|
-
* CustomOriginConfig: {
|
|
58
|
+
* CustomOriginConfig: { // CustomOriginConfig
|
|
59
59
|
* HTTPPort: Number("int"), // required
|
|
60
60
|
* HTTPSPort: Number("int"), // required
|
|
61
61
|
* OriginProtocolPolicy: "http-only" || "match-viewer" || "https-only", // required
|
|
62
|
-
* OriginSslProtocols: {
|
|
62
|
+
* OriginSslProtocols: { // OriginSslProtocols
|
|
63
63
|
* Quantity: Number("int"), // required
|
|
64
|
-
* Items: [ // required
|
|
64
|
+
* Items: [ // SslProtocolsList // required
|
|
65
65
|
* "SSLv3" || "TLSv1" || "TLSv1.1" || "TLSv1.2",
|
|
66
66
|
* ],
|
|
67
67
|
* },
|
|
@@ -70,7 +70,7 @@ export interface CreateDistributionCommandOutput extends CreateDistributionResul
|
|
|
70
70
|
* },
|
|
71
71
|
* ConnectionAttempts: Number("int"),
|
|
72
72
|
* ConnectionTimeout: Number("int"),
|
|
73
|
-
* OriginShield: {
|
|
73
|
+
* OriginShield: { // OriginShield
|
|
74
74
|
* Enabled: true || false, // required
|
|
75
75
|
* OriginShieldRegion: "STRING_VALUE",
|
|
76
76
|
* },
|
|
@@ -78,23 +78,23 @@ export interface CreateDistributionCommandOutput extends CreateDistributionResul
|
|
|
78
78
|
* },
|
|
79
79
|
* ],
|
|
80
80
|
* },
|
|
81
|
-
* OriginGroups: {
|
|
81
|
+
* OriginGroups: { // OriginGroups
|
|
82
82
|
* Quantity: Number("int"), // required
|
|
83
|
-
* Items: [
|
|
84
|
-
* {
|
|
83
|
+
* Items: [ // OriginGroupList
|
|
84
|
+
* { // OriginGroup
|
|
85
85
|
* Id: "STRING_VALUE", // required
|
|
86
|
-
* FailoverCriteria: {
|
|
87
|
-
* StatusCodes: {
|
|
86
|
+
* FailoverCriteria: { // OriginGroupFailoverCriteria
|
|
87
|
+
* StatusCodes: { // StatusCodes
|
|
88
88
|
* Quantity: Number("int"), // required
|
|
89
|
-
* Items: [ // required
|
|
89
|
+
* Items: [ // StatusCodeList // required
|
|
90
90
|
* Number("int"),
|
|
91
91
|
* ],
|
|
92
92
|
* },
|
|
93
93
|
* },
|
|
94
|
-
* Members: {
|
|
94
|
+
* Members: { // OriginGroupMembers
|
|
95
95
|
* Quantity: Number("int"), // required
|
|
96
|
-
* Items: [ // required
|
|
97
|
-
* {
|
|
96
|
+
* Items: [ // OriginGroupMemberList // required
|
|
97
|
+
* { // OriginGroupMember
|
|
98
98
|
* OriginId: "STRING_VALUE", // required
|
|
99
99
|
* },
|
|
100
100
|
* ],
|
|
@@ -102,29 +102,29 @@ export interface CreateDistributionCommandOutput extends CreateDistributionResul
|
|
|
102
102
|
* },
|
|
103
103
|
* ],
|
|
104
104
|
* },
|
|
105
|
-
* DefaultCacheBehavior: {
|
|
105
|
+
* DefaultCacheBehavior: { // DefaultCacheBehavior
|
|
106
106
|
* TargetOriginId: "STRING_VALUE", // required
|
|
107
|
-
* TrustedSigners: {
|
|
107
|
+
* TrustedSigners: { // TrustedSigners
|
|
108
108
|
* Enabled: true || false, // required
|
|
109
109
|
* Quantity: Number("int"), // required
|
|
110
|
-
* Items: [
|
|
110
|
+
* Items: [ // AwsAccountNumberList
|
|
111
111
|
* "STRING_VALUE",
|
|
112
112
|
* ],
|
|
113
113
|
* },
|
|
114
|
-
* TrustedKeyGroups: {
|
|
114
|
+
* TrustedKeyGroups: { // TrustedKeyGroups
|
|
115
115
|
* Enabled: true || false, // required
|
|
116
116
|
* Quantity: Number("int"), // required
|
|
117
|
-
* Items: [
|
|
117
|
+
* Items: [ // TrustedKeyGroupIdList
|
|
118
118
|
* "STRING_VALUE",
|
|
119
119
|
* ],
|
|
120
120
|
* },
|
|
121
121
|
* ViewerProtocolPolicy: "allow-all" || "https-only" || "redirect-to-https", // required
|
|
122
|
-
* AllowedMethods: {
|
|
122
|
+
* AllowedMethods: { // AllowedMethods
|
|
123
123
|
* Quantity: Number("int"), // required
|
|
124
|
-
* Items: [ // required
|
|
124
|
+
* Items: [ // MethodsList // required
|
|
125
125
|
* "GET" || "HEAD" || "POST" || "PUT" || "PATCH" || "OPTIONS" || "DELETE",
|
|
126
126
|
* ],
|
|
127
|
-
* CachedMethods: {
|
|
127
|
+
* CachedMethods: { // CachedMethods
|
|
128
128
|
* Quantity: Number("int"), // required
|
|
129
129
|
* Items: [ // required
|
|
130
130
|
* "GET" || "HEAD" || "POST" || "PUT" || "PATCH" || "OPTIONS" || "DELETE",
|
|
@@ -133,20 +133,20 @@ export interface CreateDistributionCommandOutput extends CreateDistributionResul
|
|
|
133
133
|
* },
|
|
134
134
|
* SmoothStreaming: true || false,
|
|
135
135
|
* Compress: true || false,
|
|
136
|
-
* LambdaFunctionAssociations: {
|
|
136
|
+
* LambdaFunctionAssociations: { // LambdaFunctionAssociations
|
|
137
137
|
* Quantity: Number("int"), // required
|
|
138
|
-
* Items: [
|
|
139
|
-
* {
|
|
138
|
+
* Items: [ // LambdaFunctionAssociationList
|
|
139
|
+
* { // LambdaFunctionAssociation
|
|
140
140
|
* LambdaFunctionARN: "STRING_VALUE", // required
|
|
141
141
|
* EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
|
|
142
142
|
* IncludeBody: true || false,
|
|
143
143
|
* },
|
|
144
144
|
* ],
|
|
145
145
|
* },
|
|
146
|
-
* FunctionAssociations: {
|
|
146
|
+
* FunctionAssociations: { // FunctionAssociations
|
|
147
147
|
* Quantity: Number("int"), // required
|
|
148
|
-
* Items: [
|
|
149
|
-
* {
|
|
148
|
+
* Items: [ // FunctionAssociationList
|
|
149
|
+
* { // FunctionAssociation
|
|
150
150
|
* FunctionARN: "STRING_VALUE", // required
|
|
151
151
|
* EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
|
|
152
152
|
* },
|
|
@@ -157,26 +157,26 @@ export interface CreateDistributionCommandOutput extends CreateDistributionResul
|
|
|
157
157
|
* CachePolicyId: "STRING_VALUE",
|
|
158
158
|
* OriginRequestPolicyId: "STRING_VALUE",
|
|
159
159
|
* ResponseHeadersPolicyId: "STRING_VALUE",
|
|
160
|
-
* ForwardedValues: {
|
|
160
|
+
* ForwardedValues: { // ForwardedValues
|
|
161
161
|
* QueryString: true || false, // required
|
|
162
|
-
* Cookies: {
|
|
162
|
+
* Cookies: { // CookiePreference
|
|
163
163
|
* Forward: "none" || "whitelist" || "all", // required
|
|
164
|
-
* WhitelistedNames: {
|
|
164
|
+
* WhitelistedNames: { // CookieNames
|
|
165
165
|
* Quantity: Number("int"), // required
|
|
166
|
-
* Items: [
|
|
166
|
+
* Items: [ // CookieNameList
|
|
167
167
|
* "STRING_VALUE",
|
|
168
168
|
* ],
|
|
169
169
|
* },
|
|
170
170
|
* },
|
|
171
|
-
* Headers: {
|
|
171
|
+
* Headers: { // Headers
|
|
172
172
|
* Quantity: Number("int"), // required
|
|
173
|
-
* Items: [
|
|
173
|
+
* Items: [ // HeaderList
|
|
174
174
|
* "STRING_VALUE",
|
|
175
175
|
* ],
|
|
176
176
|
* },
|
|
177
|
-
* QueryStringCacheKeys: {
|
|
177
|
+
* QueryStringCacheKeys: { // QueryStringCacheKeys
|
|
178
178
|
* Quantity: Number("int"), // required
|
|
179
|
-
* Items: [
|
|
179
|
+
* Items: [ // QueryStringCacheKeysList
|
|
180
180
|
* "STRING_VALUE",
|
|
181
181
|
* ],
|
|
182
182
|
* },
|
|
@@ -185,10 +185,10 @@ export interface CreateDistributionCommandOutput extends CreateDistributionResul
|
|
|
185
185
|
* DefaultTTL: Number("long"),
|
|
186
186
|
* MaxTTL: Number("long"),
|
|
187
187
|
* },
|
|
188
|
-
* CacheBehaviors: {
|
|
188
|
+
* CacheBehaviors: { // CacheBehaviors
|
|
189
189
|
* Quantity: Number("int"), // required
|
|
190
|
-
* Items: [
|
|
191
|
-
* {
|
|
190
|
+
* Items: [ // CacheBehaviorList
|
|
191
|
+
* { // CacheBehavior
|
|
192
192
|
* PathPattern: "STRING_VALUE", // required
|
|
193
193
|
* TargetOriginId: "STRING_VALUE", // required
|
|
194
194
|
* TrustedSigners: {
|
|
@@ -208,14 +208,10 @@ export interface CreateDistributionCommandOutput extends CreateDistributionResul
|
|
|
208
208
|
* ViewerProtocolPolicy: "allow-all" || "https-only" || "redirect-to-https", // required
|
|
209
209
|
* AllowedMethods: {
|
|
210
210
|
* Quantity: Number("int"), // required
|
|
211
|
-
* Items:
|
|
212
|
-
* "<MethodsList>",
|
|
213
|
-
* ],
|
|
211
|
+
* Items: "<MethodsList>", // required
|
|
214
212
|
* CachedMethods: {
|
|
215
213
|
* Quantity: Number("int"), // required
|
|
216
|
-
* Items:
|
|
217
|
-
* "<MethodsList>",
|
|
218
|
-
* ],
|
|
214
|
+
* Items: "<MethodsList>", // required
|
|
219
215
|
* },
|
|
220
216
|
* },
|
|
221
217
|
* SmoothStreaming: true || false,
|
|
@@ -274,10 +270,10 @@ export interface CreateDistributionCommandOutput extends CreateDistributionResul
|
|
|
274
270
|
* },
|
|
275
271
|
* ],
|
|
276
272
|
* },
|
|
277
|
-
* CustomErrorResponses: {
|
|
273
|
+
* CustomErrorResponses: { // CustomErrorResponses
|
|
278
274
|
* Quantity: Number("int"), // required
|
|
279
|
-
* Items: [
|
|
280
|
-
* {
|
|
275
|
+
* Items: [ // CustomErrorResponseList
|
|
276
|
+
* { // CustomErrorResponse
|
|
281
277
|
* ErrorCode: Number("int"), // required
|
|
282
278
|
* ResponsePagePath: "STRING_VALUE",
|
|
283
279
|
* ResponseCode: "STRING_VALUE",
|
|
@@ -286,7 +282,7 @@ export interface CreateDistributionCommandOutput extends CreateDistributionResul
|
|
|
286
282
|
* ],
|
|
287
283
|
* },
|
|
288
284
|
* Comment: "STRING_VALUE", // required
|
|
289
|
-
* Logging: {
|
|
285
|
+
* Logging: { // LoggingConfig
|
|
290
286
|
* Enabled: true || false, // required
|
|
291
287
|
* IncludeCookies: true || false, // required
|
|
292
288
|
* Bucket: "STRING_VALUE", // required
|
|
@@ -294,7 +290,7 @@ export interface CreateDistributionCommandOutput extends CreateDistributionResul
|
|
|
294
290
|
* },
|
|
295
291
|
* PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All",
|
|
296
292
|
* Enabled: true || false, // required
|
|
297
|
-
* ViewerCertificate: {
|
|
293
|
+
* ViewerCertificate: { // ViewerCertificate
|
|
298
294
|
* CloudFrontDefaultCertificate: true || false,
|
|
299
295
|
* IAMCertificateId: "STRING_VALUE",
|
|
300
296
|
* ACMCertificateArn: "STRING_VALUE",
|
|
@@ -303,11 +299,11 @@ export interface CreateDistributionCommandOutput extends CreateDistributionResul
|
|
|
303
299
|
* Certificate: "STRING_VALUE",
|
|
304
300
|
* CertificateSource: "cloudfront" || "iam" || "acm",
|
|
305
301
|
* },
|
|
306
|
-
* Restrictions: {
|
|
307
|
-
* GeoRestriction: {
|
|
302
|
+
* Restrictions: { // Restrictions
|
|
303
|
+
* GeoRestriction: { // GeoRestriction
|
|
308
304
|
* RestrictionType: "blacklist" || "whitelist" || "none", // required
|
|
309
305
|
* Quantity: Number("int"), // required
|
|
310
|
-
* Items: [
|
|
306
|
+
* Items: [ // LocationList
|
|
311
307
|
* "STRING_VALUE",
|
|
312
308
|
* ],
|
|
313
309
|
* },
|