@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
|
@@ -26,28 +26,28 @@ export interface UpdateFieldLevelEncryptionConfigCommandOutput extends UpdateFie
|
|
|
26
26
|
* import { CloudFrontClient, UpdateFieldLevelEncryptionConfigCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
27
27
|
* // const { CloudFrontClient, UpdateFieldLevelEncryptionConfigCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
28
28
|
* const client = new CloudFrontClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* FieldLevelEncryptionConfig: {
|
|
29
|
+
* const input = { // UpdateFieldLevelEncryptionConfigRequest
|
|
30
|
+
* FieldLevelEncryptionConfig: { // FieldLevelEncryptionConfig
|
|
31
31
|
* CallerReference: "STRING_VALUE", // required
|
|
32
32
|
* Comment: "STRING_VALUE",
|
|
33
|
-
* QueryArgProfileConfig: {
|
|
33
|
+
* QueryArgProfileConfig: { // QueryArgProfileConfig
|
|
34
34
|
* ForwardWhenQueryArgProfileIsUnknown: true || false, // required
|
|
35
|
-
* QueryArgProfiles: {
|
|
35
|
+
* QueryArgProfiles: { // QueryArgProfiles
|
|
36
36
|
* Quantity: Number("int"), // required
|
|
37
|
-
* Items: [
|
|
38
|
-
* {
|
|
37
|
+
* Items: [ // QueryArgProfileList
|
|
38
|
+
* { // QueryArgProfile
|
|
39
39
|
* QueryArg: "STRING_VALUE", // required
|
|
40
40
|
* ProfileId: "STRING_VALUE", // required
|
|
41
41
|
* },
|
|
42
42
|
* ],
|
|
43
43
|
* },
|
|
44
44
|
* },
|
|
45
|
-
* ContentTypeProfileConfig: {
|
|
45
|
+
* ContentTypeProfileConfig: { // ContentTypeProfileConfig
|
|
46
46
|
* ForwardWhenContentTypeIsUnknown: true || false, // required
|
|
47
|
-
* ContentTypeProfiles: {
|
|
47
|
+
* ContentTypeProfiles: { // ContentTypeProfiles
|
|
48
48
|
* Quantity: Number("int"), // required
|
|
49
|
-
* Items: [
|
|
50
|
-
* {
|
|
49
|
+
* Items: [ // ContentTypeProfileList
|
|
50
|
+
* { // ContentTypeProfile
|
|
51
51
|
* Format: "URLEncoded", // required
|
|
52
52
|
* ProfileId: "STRING_VALUE",
|
|
53
53
|
* ContentType: "STRING_VALUE", // required
|
|
@@ -26,20 +26,20 @@ export interface UpdateFieldLevelEncryptionProfileCommandOutput extends UpdateFi
|
|
|
26
26
|
* import { CloudFrontClient, UpdateFieldLevelEncryptionProfileCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
27
27
|
* // const { CloudFrontClient, UpdateFieldLevelEncryptionProfileCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
28
28
|
* const client = new CloudFrontClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* FieldLevelEncryptionProfileConfig: {
|
|
29
|
+
* const input = { // UpdateFieldLevelEncryptionProfileRequest
|
|
30
|
+
* FieldLevelEncryptionProfileConfig: { // FieldLevelEncryptionProfileConfig
|
|
31
31
|
* Name: "STRING_VALUE", // required
|
|
32
32
|
* CallerReference: "STRING_VALUE", // required
|
|
33
33
|
* Comment: "STRING_VALUE",
|
|
34
|
-
* EncryptionEntities: {
|
|
34
|
+
* EncryptionEntities: { // EncryptionEntities
|
|
35
35
|
* Quantity: Number("int"), // required
|
|
36
|
-
* Items: [
|
|
37
|
-
* {
|
|
36
|
+
* Items: [ // EncryptionEntityList
|
|
37
|
+
* { // EncryptionEntity
|
|
38
38
|
* PublicKeyId: "STRING_VALUE", // required
|
|
39
39
|
* ProviderId: "STRING_VALUE", // required
|
|
40
|
-
* FieldPatterns: {
|
|
40
|
+
* FieldPatterns: { // FieldPatterns
|
|
41
41
|
* Quantity: Number("int"), // required
|
|
42
|
-
* Items: [
|
|
42
|
+
* Items: [ // FieldPatternList
|
|
43
43
|
* "STRING_VALUE",
|
|
44
44
|
* ],
|
|
45
45
|
* },
|
|
@@ -31,10 +31,10 @@ export interface UpdateFunctionCommandOutput extends UpdateFunctionResult, __Met
|
|
|
31
31
|
* import { CloudFrontClient, UpdateFunctionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
32
32
|
* // const { CloudFrontClient, UpdateFunctionCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
33
33
|
* const client = new CloudFrontClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // UpdateFunctionRequest
|
|
35
35
|
* Name: "STRING_VALUE", // required
|
|
36
36
|
* IfMatch: "STRING_VALUE", // required
|
|
37
|
-
* FunctionConfig: {
|
|
37
|
+
* FunctionConfig: { // FunctionConfig
|
|
38
38
|
* Comment: "STRING_VALUE", // required
|
|
39
39
|
* Runtime: "cloudfront-js-1.0", // required
|
|
40
40
|
* },
|
|
@@ -43,10 +43,10 @@ export interface UpdateKeyGroupCommandOutput extends UpdateKeyGroupResult, __Met
|
|
|
43
43
|
* import { CloudFrontClient, UpdateKeyGroupCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
44
44
|
* // const { CloudFrontClient, UpdateKeyGroupCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
45
45
|
* const client = new CloudFrontClient(config);
|
|
46
|
-
* const input = {
|
|
47
|
-
* KeyGroupConfig: {
|
|
46
|
+
* const input = { // UpdateKeyGroupRequest
|
|
47
|
+
* KeyGroupConfig: { // KeyGroupConfig
|
|
48
48
|
* Name: "STRING_VALUE", // required
|
|
49
|
-
* Items: [ // required
|
|
49
|
+
* Items: [ // PublicKeyIdList // required
|
|
50
50
|
* "STRING_VALUE",
|
|
51
51
|
* ],
|
|
52
52
|
* Comment: "STRING_VALUE",
|
|
@@ -26,8 +26,8 @@ export interface UpdateOriginAccessControlCommandOutput extends UpdateOriginAcce
|
|
|
26
26
|
* import { CloudFrontClient, UpdateOriginAccessControlCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
27
27
|
* // const { CloudFrontClient, UpdateOriginAccessControlCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
28
28
|
* const client = new CloudFrontClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* OriginAccessControlConfig: {
|
|
29
|
+
* const input = { // UpdateOriginAccessControlRequest
|
|
30
|
+
* OriginAccessControlConfig: { // OriginAccessControlConfig
|
|
31
31
|
* Name: "STRING_VALUE", // required
|
|
32
32
|
* Description: "STRING_VALUE",
|
|
33
33
|
* SigningProtocol: "sigv4", // required
|
|
@@ -44,33 +44,33 @@ export interface UpdateOriginRequestPolicyCommandOutput extends UpdateOriginRequ
|
|
|
44
44
|
* import { CloudFrontClient, UpdateOriginRequestPolicyCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
45
45
|
* // const { CloudFrontClient, UpdateOriginRequestPolicyCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
46
46
|
* const client = new CloudFrontClient(config);
|
|
47
|
-
* const input = {
|
|
48
|
-
* OriginRequestPolicyConfig: {
|
|
47
|
+
* const input = { // UpdateOriginRequestPolicyRequest
|
|
48
|
+
* OriginRequestPolicyConfig: { // OriginRequestPolicyConfig
|
|
49
49
|
* Comment: "STRING_VALUE",
|
|
50
50
|
* Name: "STRING_VALUE", // required
|
|
51
|
-
* HeadersConfig: {
|
|
51
|
+
* HeadersConfig: { // OriginRequestPolicyHeadersConfig
|
|
52
52
|
* HeaderBehavior: "none" || "whitelist" || "allViewer" || "allViewerAndWhitelistCloudFront" || "allExcept", // required
|
|
53
|
-
* Headers: {
|
|
53
|
+
* Headers: { // Headers
|
|
54
54
|
* Quantity: Number("int"), // required
|
|
55
|
-
* Items: [
|
|
55
|
+
* Items: [ // HeaderList
|
|
56
56
|
* "STRING_VALUE",
|
|
57
57
|
* ],
|
|
58
58
|
* },
|
|
59
59
|
* },
|
|
60
|
-
* CookiesConfig: {
|
|
60
|
+
* CookiesConfig: { // OriginRequestPolicyCookiesConfig
|
|
61
61
|
* CookieBehavior: "none" || "whitelist" || "all" || "allExcept", // required
|
|
62
|
-
* Cookies: {
|
|
62
|
+
* Cookies: { // CookieNames
|
|
63
63
|
* Quantity: Number("int"), // required
|
|
64
|
-
* Items: [
|
|
64
|
+
* Items: [ // CookieNameList
|
|
65
65
|
* "STRING_VALUE",
|
|
66
66
|
* ],
|
|
67
67
|
* },
|
|
68
68
|
* },
|
|
69
|
-
* QueryStringsConfig: {
|
|
69
|
+
* QueryStringsConfig: { // OriginRequestPolicyQueryStringsConfig
|
|
70
70
|
* QueryStringBehavior: "none" || "whitelist" || "all" || "allExcept", // required
|
|
71
|
-
* QueryStrings: {
|
|
71
|
+
* QueryStrings: { // QueryStringNames
|
|
72
72
|
* Quantity: Number("int"), // required
|
|
73
|
-
* Items: [
|
|
73
|
+
* Items: [ // QueryStringNamesList
|
|
74
74
|
* "STRING_VALUE",
|
|
75
75
|
* ],
|
|
76
76
|
* },
|
|
@@ -27,8 +27,8 @@ export interface UpdatePublicKeyCommandOutput extends UpdatePublicKeyResult, __M
|
|
|
27
27
|
* import { CloudFrontClient, UpdatePublicKeyCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
28
28
|
* // const { CloudFrontClient, UpdatePublicKeyCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
29
29
|
* const client = new CloudFrontClient(config);
|
|
30
|
-
* const input = {
|
|
31
|
-
* PublicKeyConfig: {
|
|
30
|
+
* const input = { // UpdatePublicKeyRequest
|
|
31
|
+
* PublicKeyConfig: { // PublicKeyConfig
|
|
32
32
|
* CallerReference: "STRING_VALUE", // required
|
|
33
33
|
* Name: "STRING_VALUE", // required
|
|
34
34
|
* EncodedKey: "STRING_VALUE", // required
|
|
@@ -46,17 +46,17 @@ export interface UpdateRealtimeLogConfigCommandOutput extends UpdateRealtimeLogC
|
|
|
46
46
|
* import { CloudFrontClient, UpdateRealtimeLogConfigCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
47
47
|
* // const { CloudFrontClient, UpdateRealtimeLogConfigCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
48
48
|
* const client = new CloudFrontClient(config);
|
|
49
|
-
* const input = {
|
|
50
|
-
* EndPoints: [
|
|
51
|
-
* {
|
|
49
|
+
* const input = { // UpdateRealtimeLogConfigRequest
|
|
50
|
+
* EndPoints: [ // EndPointList
|
|
51
|
+
* { // EndPoint
|
|
52
52
|
* StreamType: "STRING_VALUE", // required
|
|
53
|
-
* KinesisStreamConfig: {
|
|
53
|
+
* KinesisStreamConfig: { // KinesisStreamConfig
|
|
54
54
|
* RoleARN: "STRING_VALUE", // required
|
|
55
55
|
* StreamARN: "STRING_VALUE", // required
|
|
56
56
|
* },
|
|
57
57
|
* },
|
|
58
58
|
* ],
|
|
59
|
-
* Fields: [
|
|
59
|
+
* Fields: [ // FieldList
|
|
60
60
|
* "STRING_VALUE",
|
|
61
61
|
* ],
|
|
62
62
|
* Name: "STRING_VALUE",
|
|
@@ -44,86 +44,86 @@ export interface UpdateResponseHeadersPolicyCommandOutput extends UpdateResponse
|
|
|
44
44
|
* import { CloudFrontClient, UpdateResponseHeadersPolicyCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
45
45
|
* // const { CloudFrontClient, UpdateResponseHeadersPolicyCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
46
46
|
* const client = new CloudFrontClient(config);
|
|
47
|
-
* const input = {
|
|
48
|
-
* ResponseHeadersPolicyConfig: {
|
|
47
|
+
* const input = { // UpdateResponseHeadersPolicyRequest
|
|
48
|
+
* ResponseHeadersPolicyConfig: { // ResponseHeadersPolicyConfig
|
|
49
49
|
* Comment: "STRING_VALUE",
|
|
50
50
|
* Name: "STRING_VALUE", // required
|
|
51
|
-
* CorsConfig: {
|
|
52
|
-
* AccessControlAllowOrigins: {
|
|
51
|
+
* CorsConfig: { // ResponseHeadersPolicyCorsConfig
|
|
52
|
+
* AccessControlAllowOrigins: { // ResponseHeadersPolicyAccessControlAllowOrigins
|
|
53
53
|
* Quantity: Number("int"), // required
|
|
54
|
-
* Items: [ // required
|
|
54
|
+
* Items: [ // AccessControlAllowOriginsList // required
|
|
55
55
|
* "STRING_VALUE",
|
|
56
56
|
* ],
|
|
57
57
|
* },
|
|
58
|
-
* AccessControlAllowHeaders: {
|
|
58
|
+
* AccessControlAllowHeaders: { // ResponseHeadersPolicyAccessControlAllowHeaders
|
|
59
59
|
* Quantity: Number("int"), // required
|
|
60
|
-
* Items: [ // required
|
|
60
|
+
* Items: [ // AccessControlAllowHeadersList // required
|
|
61
61
|
* "STRING_VALUE",
|
|
62
62
|
* ],
|
|
63
63
|
* },
|
|
64
|
-
* AccessControlAllowMethods: {
|
|
64
|
+
* AccessControlAllowMethods: { // ResponseHeadersPolicyAccessControlAllowMethods
|
|
65
65
|
* Quantity: Number("int"), // required
|
|
66
|
-
* Items: [ // required
|
|
66
|
+
* Items: [ // AccessControlAllowMethodsList // required
|
|
67
67
|
* "GET" || "POST" || "OPTIONS" || "PUT" || "DELETE" || "PATCH" || "HEAD" || "ALL",
|
|
68
68
|
* ],
|
|
69
69
|
* },
|
|
70
70
|
* AccessControlAllowCredentials: true || false, // required
|
|
71
|
-
* AccessControlExposeHeaders: {
|
|
71
|
+
* AccessControlExposeHeaders: { // ResponseHeadersPolicyAccessControlExposeHeaders
|
|
72
72
|
* Quantity: Number("int"), // required
|
|
73
|
-
* Items: [
|
|
73
|
+
* Items: [ // AccessControlExposeHeadersList
|
|
74
74
|
* "STRING_VALUE",
|
|
75
75
|
* ],
|
|
76
76
|
* },
|
|
77
77
|
* AccessControlMaxAgeSec: Number("int"),
|
|
78
78
|
* OriginOverride: true || false, // required
|
|
79
79
|
* },
|
|
80
|
-
* SecurityHeadersConfig: {
|
|
81
|
-
* XSSProtection: {
|
|
80
|
+
* SecurityHeadersConfig: { // ResponseHeadersPolicySecurityHeadersConfig
|
|
81
|
+
* XSSProtection: { // ResponseHeadersPolicyXSSProtection
|
|
82
82
|
* Override: true || false, // required
|
|
83
83
|
* Protection: true || false, // required
|
|
84
84
|
* ModeBlock: true || false,
|
|
85
85
|
* ReportUri: "STRING_VALUE",
|
|
86
86
|
* },
|
|
87
|
-
* FrameOptions: {
|
|
87
|
+
* FrameOptions: { // ResponseHeadersPolicyFrameOptions
|
|
88
88
|
* Override: true || false, // required
|
|
89
89
|
* FrameOption: "DENY" || "SAMEORIGIN", // required
|
|
90
90
|
* },
|
|
91
|
-
* ReferrerPolicy: {
|
|
91
|
+
* ReferrerPolicy: { // ResponseHeadersPolicyReferrerPolicy
|
|
92
92
|
* Override: true || false, // required
|
|
93
93
|
* ReferrerPolicy: "no-referrer" || "no-referrer-when-downgrade" || "origin" || "origin-when-cross-origin" || "same-origin" || "strict-origin" || "strict-origin-when-cross-origin" || "unsafe-url", // required
|
|
94
94
|
* },
|
|
95
|
-
* ContentSecurityPolicy: {
|
|
95
|
+
* ContentSecurityPolicy: { // ResponseHeadersPolicyContentSecurityPolicy
|
|
96
96
|
* Override: true || false, // required
|
|
97
97
|
* ContentSecurityPolicy: "STRING_VALUE", // required
|
|
98
98
|
* },
|
|
99
|
-
* ContentTypeOptions: {
|
|
99
|
+
* ContentTypeOptions: { // ResponseHeadersPolicyContentTypeOptions
|
|
100
100
|
* Override: true || false, // required
|
|
101
101
|
* },
|
|
102
|
-
* StrictTransportSecurity: {
|
|
102
|
+
* StrictTransportSecurity: { // ResponseHeadersPolicyStrictTransportSecurity
|
|
103
103
|
* Override: true || false, // required
|
|
104
104
|
* IncludeSubdomains: true || false,
|
|
105
105
|
* Preload: true || false,
|
|
106
106
|
* AccessControlMaxAgeSec: Number("int"), // required
|
|
107
107
|
* },
|
|
108
108
|
* },
|
|
109
|
-
* ServerTimingHeadersConfig: {
|
|
109
|
+
* ServerTimingHeadersConfig: { // ResponseHeadersPolicyServerTimingHeadersConfig
|
|
110
110
|
* Enabled: true || false, // required
|
|
111
111
|
* SamplingRate: Number("double"),
|
|
112
112
|
* },
|
|
113
|
-
* CustomHeadersConfig: {
|
|
113
|
+
* CustomHeadersConfig: { // ResponseHeadersPolicyCustomHeadersConfig
|
|
114
114
|
* Quantity: Number("int"), // required
|
|
115
|
-
* Items: [
|
|
116
|
-
* {
|
|
115
|
+
* Items: [ // ResponseHeadersPolicyCustomHeaderList
|
|
116
|
+
* { // ResponseHeadersPolicyCustomHeader
|
|
117
117
|
* Header: "STRING_VALUE", // required
|
|
118
118
|
* Value: "STRING_VALUE", // required
|
|
119
119
|
* Override: true || false, // required
|
|
120
120
|
* },
|
|
121
121
|
* ],
|
|
122
122
|
* },
|
|
123
|
-
* RemoveHeadersConfig: {
|
|
123
|
+
* RemoveHeadersConfig: { // ResponseHeadersPolicyRemoveHeadersConfig
|
|
124
124
|
* Quantity: Number("int"), // required
|
|
125
|
-
* Items: [
|
|
126
|
-
* {
|
|
125
|
+
* Items: [ // ResponseHeadersPolicyRemoveHeaderList
|
|
126
|
+
* { // ResponseHeadersPolicyRemoveHeader
|
|
127
127
|
* Header: "STRING_VALUE", // required
|
|
128
128
|
* },
|
|
129
129
|
* ],
|
|
@@ -26,29 +26,29 @@ export interface UpdateStreamingDistributionCommandOutput extends UpdateStreamin
|
|
|
26
26
|
* import { CloudFrontClient, UpdateStreamingDistributionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
27
27
|
* // const { CloudFrontClient, UpdateStreamingDistributionCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
28
28
|
* const client = new CloudFrontClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* StreamingDistributionConfig: {
|
|
29
|
+
* const input = { // UpdateStreamingDistributionRequest
|
|
30
|
+
* StreamingDistributionConfig: { // StreamingDistributionConfig
|
|
31
31
|
* CallerReference: "STRING_VALUE", // required
|
|
32
|
-
* S3Origin: {
|
|
32
|
+
* S3Origin: { // S3Origin
|
|
33
33
|
* DomainName: "STRING_VALUE", // required
|
|
34
34
|
* OriginAccessIdentity: "STRING_VALUE", // required
|
|
35
35
|
* },
|
|
36
|
-
* Aliases: {
|
|
36
|
+
* Aliases: { // Aliases
|
|
37
37
|
* Quantity: Number("int"), // required
|
|
38
|
-
* Items: [
|
|
38
|
+
* Items: [ // AliasList
|
|
39
39
|
* "STRING_VALUE",
|
|
40
40
|
* ],
|
|
41
41
|
* },
|
|
42
42
|
* Comment: "STRING_VALUE", // required
|
|
43
|
-
* Logging: {
|
|
43
|
+
* Logging: { // StreamingLoggingConfig
|
|
44
44
|
* Enabled: true || false, // required
|
|
45
45
|
* Bucket: "STRING_VALUE", // required
|
|
46
46
|
* Prefix: "STRING_VALUE", // required
|
|
47
47
|
* },
|
|
48
|
-
* TrustedSigners: {
|
|
48
|
+
* TrustedSigners: { // TrustedSigners
|
|
49
49
|
* Enabled: true || false, // required
|
|
50
50
|
* Quantity: Number("int"), // required
|
|
51
|
-
* Items: [
|
|
51
|
+
* Items: [ // AwsAccountNumberList
|
|
52
52
|
* "STRING_VALUE",
|
|
53
53
|
* ],
|
|
54
54
|
* },
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudfront",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudfront Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.301.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|