@aws-sdk/client-cloudfront 3.154.0 → 3.157.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/CloudFront.js +90 -0
  3. package/dist-cjs/commands/CreateOriginAccessControlCommand.js +36 -0
  4. package/dist-cjs/commands/DeleteCloudFrontOriginAccessIdentityCommand.js +2 -2
  5. package/dist-cjs/commands/DeleteDistributionCommand.js +2 -2
  6. package/dist-cjs/commands/DeleteFieldLevelEncryptionConfigCommand.js +2 -2
  7. package/dist-cjs/commands/DeleteFieldLevelEncryptionProfileCommand.js +2 -2
  8. package/dist-cjs/commands/DeleteFunctionCommand.js +2 -2
  9. package/dist-cjs/commands/DeleteKeyGroupCommand.js +2 -2
  10. package/dist-cjs/commands/DeleteOriginAccessControlCommand.js +36 -0
  11. package/dist-cjs/commands/GetOriginAccessControlCommand.js +36 -0
  12. package/dist-cjs/commands/GetOriginAccessControlConfigCommand.js +36 -0
  13. package/dist-cjs/commands/ListOriginAccessControlsCommand.js +36 -0
  14. package/dist-cjs/commands/UpdateOriginAccessControlCommand.js +36 -0
  15. package/dist-cjs/commands/index.js +6 -0
  16. package/dist-cjs/models/models_0.js +134 -142
  17. package/dist-cjs/models/models_1.js +226 -4
  18. package/dist-cjs/protocols/Aws_restXml.js +697 -20
  19. package/dist-es/CloudFront.js +90 -0
  20. package/dist-es/commands/CreateOriginAccessControlCommand.js +39 -0
  21. package/dist-es/commands/DeleteCloudFrontOriginAccessIdentityCommand.js +1 -1
  22. package/dist-es/commands/DeleteDistributionCommand.js +1 -1
  23. package/dist-es/commands/DeleteFieldLevelEncryptionConfigCommand.js +1 -1
  24. package/dist-es/commands/DeleteFieldLevelEncryptionProfileCommand.js +1 -1
  25. package/dist-es/commands/DeleteFunctionCommand.js +1 -1
  26. package/dist-es/commands/DeleteKeyGroupCommand.js +1 -1
  27. package/dist-es/commands/DeleteOriginAccessControlCommand.js +39 -0
  28. package/dist-es/commands/GetOriginAccessControlCommand.js +39 -0
  29. package/dist-es/commands/GetOriginAccessControlConfigCommand.js +39 -0
  30. package/dist-es/commands/ListOriginAccessControlsCommand.js +39 -0
  31. package/dist-es/commands/UpdateOriginAccessControlCommand.js +39 -0
  32. package/dist-es/commands/index.js +6 -0
  33. package/dist-es/models/models_0.js +109 -110
  34. package/dist-es/models/models_1.js +160 -0
  35. package/dist-es/protocols/Aws_restXml.js +1488 -629
  36. package/dist-types/CloudFront.d.ts +56 -0
  37. package/dist-types/CloudFrontClient.d.ts +8 -2
  38. package/dist-types/commands/CreateOriginAccessControlCommand.d.ts +41 -0
  39. package/dist-types/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
  40. package/dist-types/commands/DeleteDistributionCommand.d.ts +1 -1
  41. package/dist-types/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +1 -1
  42. package/dist-types/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +1 -1
  43. package/dist-types/commands/DeleteFunctionCommand.d.ts +1 -1
  44. package/dist-types/commands/DeleteKeyGroupCommand.d.ts +1 -1
  45. package/dist-types/commands/DeleteOriginAccessControlCommand.d.ts +38 -0
  46. package/dist-types/commands/GetOriginAccessControlCommand.d.ts +35 -0
  47. package/dist-types/commands/GetOriginAccessControlConfigCommand.d.ts +35 -0
  48. package/dist-types/commands/ListOriginAccessControlsCommand.d.ts +40 -0
  49. package/dist-types/commands/UpdateOriginAccessControlCommand.d.ts +35 -0
  50. package/dist-types/commands/index.d.ts +6 -0
  51. package/dist-types/models/models_0.d.ts +217 -246
  52. package/dist-types/models/models_1.d.ts +494 -1
  53. package/dist-types/protocols/Aws_restXml.d.ts +18 -0
  54. package/dist-types/ts3.4/CloudFront.d.ts +30 -0
  55. package/dist-types/ts3.4/CloudFrontClient.d.ts +8 -2
  56. package/dist-types/ts3.4/commands/CreateOriginAccessControlCommand.d.ts +17 -0
  57. package/dist-types/ts3.4/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/DeleteDistributionCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/DeleteKeyGroupCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/DeleteOriginAccessControlCommand.d.ts +17 -0
  64. package/dist-types/ts3.4/commands/GetOriginAccessControlCommand.d.ts +17 -0
  65. package/dist-types/ts3.4/commands/GetOriginAccessControlConfigCommand.d.ts +17 -0
  66. package/dist-types/ts3.4/commands/ListOriginAccessControlsCommand.d.ts +17 -0
  67. package/dist-types/ts3.4/commands/UpdateOriginAccessControlCommand.d.ts +17 -0
  68. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  69. package/dist-types/ts3.4/models/models_1.d.ts +241 -1
  70. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +18 -0
  71. package/package.json +1 -1
@@ -1,6 +1,108 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { CloudFrontServiceException as __BaseException } from "./CloudFrontServiceException";
3
- import { Aliases, AliasICPRecordal, CacheBehaviors, CachePolicy, CachePolicyConfig, CachePolicyList, CachePolicyType, CloudFrontOriginAccessIdentity, CloudFrontOriginAccessIdentityConfig, ContentTypeProfileConfig, CustomErrorResponses, DefaultCacheBehavior, Distribution, DistributionConfig, EncryptionEntities, EndPoint, FieldLevelEncryption, FieldLevelEncryptionConfig, FieldLevelEncryptionProfile, FieldLevelEncryptionProfileConfig, FunctionConfig, FunctionStage, FunctionSummary, HttpVersion, Invalidation, KeyGroup, KeyGroupConfig, MonitoringSubscription, OriginGroups, OriginRequestPolicy, OriginRequestPolicyConfig, Origins, PriceClass, PublicKey, PublicKeyConfig, QueryArgProfileConfig, RealtimeLogConfig, ResponseHeadersPolicy, ResponseHeadersPolicyConfig, Restrictions, S3Origin, StreamingDistribution, StreamingDistributionConfig, Tags, TrustedSigners, ViewerCertificate } from "./models_0";
3
+ import { Aliases, AliasICPRecordal, CacheBehaviors, CachePolicy, CachePolicyConfig, CachePolicyList, CachePolicyType, CloudFrontOriginAccessIdentity, CloudFrontOriginAccessIdentityConfig, ContentTypeProfileConfig, CustomErrorResponses, DefaultCacheBehavior, Distribution, DistributionConfig, EncryptionEntities, EndPoint, FieldLevelEncryption, FieldLevelEncryptionConfig, FieldLevelEncryptionProfile, FieldLevelEncryptionProfileConfig, FunctionConfig, FunctionStage, FunctionSummary, HttpVersion, Invalidation, KeyGroup, KeyGroupConfig, MonitoringSubscription, OriginAccessControl, OriginAccessControlConfig, OriginAccessControlOriginTypes, OriginAccessControlSigningBehaviors, OriginAccessControlSigningProtocols, OriginGroups, OriginRequestPolicy, OriginRequestPolicyConfig, Origins, PriceClass, PublicKey, PublicKeyConfig, QueryArgProfileConfig, RealtimeLogConfig, ResponseHeadersPolicy, ResponseHeadersPolicyConfig, Restrictions, S3Origin, StreamingDistribution, StreamingDistributionConfig, Tags, TrustedSigners, ViewerCertificate } from "./models_0";
4
+
5
+ export declare class CloudFrontOriginAccessIdentityInUse extends __BaseException {
6
+ readonly name: "CloudFrontOriginAccessIdentityInUse";
7
+ readonly $fault: "client";
8
+ Message?: string;
9
+
10
+ constructor(opts: __ExceptionOptionType<CloudFrontOriginAccessIdentityInUse, __BaseException>);
11
+ }
12
+
13
+ export interface DeleteCloudFrontOriginAccessIdentityRequest {
14
+
15
+ Id: string | undefined;
16
+
17
+ IfMatch?: string;
18
+ }
19
+
20
+ export declare class NoSuchCloudFrontOriginAccessIdentity extends __BaseException {
21
+ readonly name: "NoSuchCloudFrontOriginAccessIdentity";
22
+ readonly $fault: "client";
23
+ Message?: string;
24
+
25
+ constructor(opts: __ExceptionOptionType<NoSuchCloudFrontOriginAccessIdentity, __BaseException>);
26
+ }
27
+
28
+ export interface DeleteDistributionRequest {
29
+
30
+ Id: string | undefined;
31
+
32
+ IfMatch?: string;
33
+ }
34
+
35
+ export declare class DistributionNotDisabled extends __BaseException {
36
+ readonly name: "DistributionNotDisabled";
37
+ readonly $fault: "client";
38
+ Message?: string;
39
+
40
+ constructor(opts: __ExceptionOptionType<DistributionNotDisabled, __BaseException>);
41
+ }
42
+ export interface DeleteFieldLevelEncryptionConfigRequest {
43
+
44
+ Id: string | undefined;
45
+
46
+ IfMatch?: string;
47
+ }
48
+
49
+ export declare class FieldLevelEncryptionConfigInUse extends __BaseException {
50
+ readonly name: "FieldLevelEncryptionConfigInUse";
51
+ readonly $fault: "client";
52
+ Message?: string;
53
+
54
+ constructor(opts: __ExceptionOptionType<FieldLevelEncryptionConfigInUse, __BaseException>);
55
+ }
56
+ export interface DeleteFieldLevelEncryptionProfileRequest {
57
+
58
+ Id: string | undefined;
59
+
60
+ IfMatch?: string;
61
+ }
62
+
63
+ export declare class FieldLevelEncryptionProfileInUse extends __BaseException {
64
+ readonly name: "FieldLevelEncryptionProfileInUse";
65
+ readonly $fault: "client";
66
+ Message?: string;
67
+
68
+ constructor(opts: __ExceptionOptionType<FieldLevelEncryptionProfileInUse, __BaseException>);
69
+ }
70
+ export interface DeleteFunctionRequest {
71
+
72
+ Name: string | undefined;
73
+
74
+ IfMatch: string | undefined;
75
+ }
76
+
77
+ export declare class FunctionInUse extends __BaseException {
78
+ readonly name: "FunctionInUse";
79
+ readonly $fault: "client";
80
+ Message?: string;
81
+
82
+ constructor(opts: __ExceptionOptionType<FunctionInUse, __BaseException>);
83
+ }
84
+
85
+ export declare class NoSuchFunctionExists extends __BaseException {
86
+ readonly name: "NoSuchFunctionExists";
87
+ readonly $fault: "client";
88
+ Message?: string;
89
+
90
+ constructor(opts: __ExceptionOptionType<NoSuchFunctionExists, __BaseException>);
91
+ }
92
+ export interface DeleteKeyGroupRequest {
93
+
94
+ Id: string | undefined;
95
+
96
+ IfMatch?: string;
97
+ }
98
+
99
+ export declare class NoSuchResource extends __BaseException {
100
+ readonly name: "NoSuchResource";
101
+ readonly $fault: "client";
102
+ Message?: string;
103
+
104
+ constructor(opts: __ExceptionOptionType<NoSuchResource, __BaseException>);
105
+ }
4
106
 
5
107
  export declare class ResourceInUse extends __BaseException {
6
108
  readonly name: "ResourceInUse";
@@ -15,6 +117,36 @@ export interface DeleteMonitoringSubscriptionRequest {
15
117
  }
16
118
  export interface DeleteMonitoringSubscriptionResult {
17
119
  }
120
+
121
+ export declare class NoSuchMonitoringSubscription extends __BaseException {
122
+ readonly name: "NoSuchMonitoringSubscription";
123
+ readonly $fault: "client";
124
+ Message?: string;
125
+
126
+ constructor(opts: __ExceptionOptionType<NoSuchMonitoringSubscription, __BaseException>);
127
+ }
128
+ export interface DeleteOriginAccessControlRequest {
129
+
130
+ Id: string | undefined;
131
+
132
+ IfMatch?: string;
133
+ }
134
+
135
+ export declare class NoSuchOriginAccessControl extends __BaseException {
136
+ readonly name: "NoSuchOriginAccessControl";
137
+ readonly $fault: "client";
138
+ Message?: string;
139
+
140
+ constructor(opts: __ExceptionOptionType<NoSuchOriginAccessControl, __BaseException>);
141
+ }
142
+
143
+ export declare class OriginAccessControlInUse extends __BaseException {
144
+ readonly name: "OriginAccessControlInUse";
145
+ readonly $fault: "client";
146
+ Message?: string;
147
+
148
+ constructor(opts: __ExceptionOptionType<OriginAccessControlInUse, __BaseException>);
149
+ }
18
150
  export interface DeleteOriginRequestPolicyRequest {
19
151
 
20
152
  Id: string | undefined;
@@ -276,6 +408,26 @@ export interface GetMonitoringSubscriptionResult {
276
408
 
277
409
  MonitoringSubscription?: MonitoringSubscription;
278
410
  }
411
+ export interface GetOriginAccessControlRequest {
412
+
413
+ Id: string | undefined;
414
+ }
415
+ export interface GetOriginAccessControlResult {
416
+
417
+ OriginAccessControl?: OriginAccessControl;
418
+
419
+ ETag?: string;
420
+ }
421
+ export interface GetOriginAccessControlConfigRequest {
422
+
423
+ Id: string | undefined;
424
+ }
425
+ export interface GetOriginAccessControlConfigResult {
426
+
427
+ OriginAccessControlConfig?: OriginAccessControlConfig;
428
+
429
+ ETag?: string;
430
+ }
279
431
  export interface GetOriginRequestPolicyRequest {
280
432
 
281
433
  Id: string | undefined;
@@ -768,6 +920,46 @@ export interface ListKeyGroupsResult {
768
920
 
769
921
  KeyGroupList?: KeyGroupList;
770
922
  }
923
+ export interface ListOriginAccessControlsRequest {
924
+
925
+ Marker?: string;
926
+
927
+ MaxItems?: number;
928
+ }
929
+
930
+ export interface OriginAccessControlSummary {
931
+
932
+ Id: string | undefined;
933
+
934
+ Description: string | undefined;
935
+
936
+ Name: string | undefined;
937
+
938
+ SigningProtocol: OriginAccessControlSigningProtocols | string | undefined;
939
+
940
+ SigningBehavior: OriginAccessControlSigningBehaviors | string | undefined;
941
+
942
+ OriginAccessControlOriginType: OriginAccessControlOriginTypes | string | undefined;
943
+ }
944
+
945
+ export interface OriginAccessControlList {
946
+
947
+ Marker: string | undefined;
948
+
949
+ NextMarker?: string;
950
+
951
+ MaxItems: number | undefined;
952
+
953
+ IsTruncated: boolean | undefined;
954
+
955
+ Quantity: number | undefined;
956
+
957
+ Items?: OriginAccessControlSummary[];
958
+ }
959
+ export interface ListOriginAccessControlsResult {
960
+
961
+ OriginAccessControlList?: OriginAccessControlList;
962
+ }
771
963
  export declare type OriginRequestPolicyType = "custom" | "managed";
772
964
  export interface ListOriginRequestPoliciesRequest {
773
965
 
@@ -1120,6 +1312,20 @@ export interface UpdateKeyGroupResult {
1120
1312
 
1121
1313
  ETag?: string;
1122
1314
  }
1315
+ export interface UpdateOriginAccessControlRequest {
1316
+
1317
+ OriginAccessControlConfig: OriginAccessControlConfig | undefined;
1318
+
1319
+ Id: string | undefined;
1320
+
1321
+ IfMatch?: string;
1322
+ }
1323
+ export interface UpdateOriginAccessControlResult {
1324
+
1325
+ OriginAccessControl?: OriginAccessControl;
1326
+
1327
+ ETag?: string;
1328
+ }
1123
1329
  export interface UpdateOriginRequestPolicyRequest {
1124
1330
 
1125
1331
  OriginRequestPolicyConfig: OriginRequestPolicyConfig | undefined;
@@ -1195,10 +1401,24 @@ export interface UpdateStreamingDistributionResult {
1195
1401
  ETag?: string;
1196
1402
  }
1197
1403
 
1404
+ export declare const DeleteCloudFrontOriginAccessIdentityRequestFilterSensitiveLog: (obj: DeleteCloudFrontOriginAccessIdentityRequest) => any;
1405
+
1406
+ export declare const DeleteDistributionRequestFilterSensitiveLog: (obj: DeleteDistributionRequest) => any;
1407
+
1408
+ export declare const DeleteFieldLevelEncryptionConfigRequestFilterSensitiveLog: (obj: DeleteFieldLevelEncryptionConfigRequest) => any;
1409
+
1410
+ export declare const DeleteFieldLevelEncryptionProfileRequestFilterSensitiveLog: (obj: DeleteFieldLevelEncryptionProfileRequest) => any;
1411
+
1412
+ export declare const DeleteFunctionRequestFilterSensitiveLog: (obj: DeleteFunctionRequest) => any;
1413
+
1414
+ export declare const DeleteKeyGroupRequestFilterSensitiveLog: (obj: DeleteKeyGroupRequest) => any;
1415
+
1198
1416
  export declare const DeleteMonitoringSubscriptionRequestFilterSensitiveLog: (obj: DeleteMonitoringSubscriptionRequest) => any;
1199
1417
 
1200
1418
  export declare const DeleteMonitoringSubscriptionResultFilterSensitiveLog: (obj: DeleteMonitoringSubscriptionResult) => any;
1201
1419
 
1420
+ export declare const DeleteOriginAccessControlRequestFilterSensitiveLog: (obj: DeleteOriginAccessControlRequest) => any;
1421
+
1202
1422
  export declare const DeleteOriginRequestPolicyRequestFilterSensitiveLog: (obj: DeleteOriginRequestPolicyRequest) => any;
1203
1423
 
1204
1424
  export declare const DeletePublicKeyRequestFilterSensitiveLog: (obj: DeletePublicKeyRequest) => any;
@@ -1273,6 +1493,14 @@ export declare const GetMonitoringSubscriptionRequestFilterSensitiveLog: (obj: G
1273
1493
 
1274
1494
  export declare const GetMonitoringSubscriptionResultFilterSensitiveLog: (obj: GetMonitoringSubscriptionResult) => any;
1275
1495
 
1496
+ export declare const GetOriginAccessControlRequestFilterSensitiveLog: (obj: GetOriginAccessControlRequest) => any;
1497
+
1498
+ export declare const GetOriginAccessControlResultFilterSensitiveLog: (obj: GetOriginAccessControlResult) => any;
1499
+
1500
+ export declare const GetOriginAccessControlConfigRequestFilterSensitiveLog: (obj: GetOriginAccessControlConfigRequest) => any;
1501
+
1502
+ export declare const GetOriginAccessControlConfigResultFilterSensitiveLog: (obj: GetOriginAccessControlConfigResult) => any;
1503
+
1276
1504
  export declare const GetOriginRequestPolicyRequestFilterSensitiveLog: (obj: GetOriginRequestPolicyRequest) => any;
1277
1505
 
1278
1506
  export declare const GetOriginRequestPolicyResultFilterSensitiveLog: (obj: GetOriginRequestPolicyResult) => any;
@@ -1401,6 +1629,14 @@ export declare const KeyGroupListFilterSensitiveLog: (obj: KeyGroupList) => any;
1401
1629
 
1402
1630
  export declare const ListKeyGroupsResultFilterSensitiveLog: (obj: ListKeyGroupsResult) => any;
1403
1631
 
1632
+ export declare const ListOriginAccessControlsRequestFilterSensitiveLog: (obj: ListOriginAccessControlsRequest) => any;
1633
+
1634
+ export declare const OriginAccessControlSummaryFilterSensitiveLog: (obj: OriginAccessControlSummary) => any;
1635
+
1636
+ export declare const OriginAccessControlListFilterSensitiveLog: (obj: OriginAccessControlList) => any;
1637
+
1638
+ export declare const ListOriginAccessControlsResultFilterSensitiveLog: (obj: ListOriginAccessControlsResult) => any;
1639
+
1404
1640
  export declare const ListOriginRequestPoliciesRequestFilterSensitiveLog: (obj: ListOriginRequestPoliciesRequest) => any;
1405
1641
 
1406
1642
  export declare const OriginRequestPolicySummaryFilterSensitiveLog: (obj: OriginRequestPolicySummary) => any;
@@ -1487,6 +1723,10 @@ export declare const UpdateKeyGroupRequestFilterSensitiveLog: (obj: UpdateKeyGro
1487
1723
 
1488
1724
  export declare const UpdateKeyGroupResultFilterSensitiveLog: (obj: UpdateKeyGroupResult) => any;
1489
1725
 
1726
+ export declare const UpdateOriginAccessControlRequestFilterSensitiveLog: (obj: UpdateOriginAccessControlRequest) => any;
1727
+
1728
+ export declare const UpdateOriginAccessControlResultFilterSensitiveLog: (obj: UpdateOriginAccessControlResult) => any;
1729
+
1490
1730
  export declare const UpdateOriginRequestPolicyRequestFilterSensitiveLog: (obj: UpdateOriginRequestPolicyRequest) => any;
1491
1731
 
1492
1732
  export declare const UpdateOriginRequestPolicyResultFilterSensitiveLog: (obj: UpdateOriginRequestPolicyResult) => any;
@@ -11,6 +11,7 @@ import { CreateFunctionCommandInput, CreateFunctionCommandOutput } from "../comm
11
11
  import { CreateInvalidationCommandInput, CreateInvalidationCommandOutput } from "../commands/CreateInvalidationCommand";
12
12
  import { CreateKeyGroupCommandInput, CreateKeyGroupCommandOutput } from "../commands/CreateKeyGroupCommand";
13
13
  import { CreateMonitoringSubscriptionCommandInput, CreateMonitoringSubscriptionCommandOutput } from "../commands/CreateMonitoringSubscriptionCommand";
14
+ import { CreateOriginAccessControlCommandInput, CreateOriginAccessControlCommandOutput } from "../commands/CreateOriginAccessControlCommand";
14
15
  import { CreateOriginRequestPolicyCommandInput, CreateOriginRequestPolicyCommandOutput } from "../commands/CreateOriginRequestPolicyCommand";
15
16
  import { CreatePublicKeyCommandInput, CreatePublicKeyCommandOutput } from "../commands/CreatePublicKeyCommand";
16
17
  import { CreateRealtimeLogConfigCommandInput, CreateRealtimeLogConfigCommandOutput } from "../commands/CreateRealtimeLogConfigCommand";
@@ -25,6 +26,7 @@ import { DeleteFieldLevelEncryptionProfileCommandInput, DeleteFieldLevelEncrypti
25
26
  import { DeleteFunctionCommandInput, DeleteFunctionCommandOutput } from "../commands/DeleteFunctionCommand";
26
27
  import { DeleteKeyGroupCommandInput, DeleteKeyGroupCommandOutput } from "../commands/DeleteKeyGroupCommand";
27
28
  import { DeleteMonitoringSubscriptionCommandInput, DeleteMonitoringSubscriptionCommandOutput } from "../commands/DeleteMonitoringSubscriptionCommand";
29
+ import { DeleteOriginAccessControlCommandInput, DeleteOriginAccessControlCommandOutput } from "../commands/DeleteOriginAccessControlCommand";
28
30
  import { DeleteOriginRequestPolicyCommandInput, DeleteOriginRequestPolicyCommandOutput } from "../commands/DeleteOriginRequestPolicyCommand";
29
31
  import { DeletePublicKeyCommandInput, DeletePublicKeyCommandOutput } from "../commands/DeletePublicKeyCommand";
30
32
  import { DeleteRealtimeLogConfigCommandInput, DeleteRealtimeLogConfigCommandOutput } from "../commands/DeleteRealtimeLogConfigCommand";
@@ -46,6 +48,8 @@ import { GetInvalidationCommandInput, GetInvalidationCommandOutput } from "../co
46
48
  import { GetKeyGroupCommandInput, GetKeyGroupCommandOutput } from "../commands/GetKeyGroupCommand";
47
49
  import { GetKeyGroupConfigCommandInput, GetKeyGroupConfigCommandOutput } from "../commands/GetKeyGroupConfigCommand";
48
50
  import { GetMonitoringSubscriptionCommandInput, GetMonitoringSubscriptionCommandOutput } from "../commands/GetMonitoringSubscriptionCommand";
51
+ import { GetOriginAccessControlCommandInput, GetOriginAccessControlCommandOutput } from "../commands/GetOriginAccessControlCommand";
52
+ import { GetOriginAccessControlConfigCommandInput, GetOriginAccessControlConfigCommandOutput } from "../commands/GetOriginAccessControlConfigCommand";
49
53
  import { GetOriginRequestPolicyCommandInput, GetOriginRequestPolicyCommandOutput } from "../commands/GetOriginRequestPolicyCommand";
50
54
  import { GetOriginRequestPolicyConfigCommandInput, GetOriginRequestPolicyConfigCommandOutput } from "../commands/GetOriginRequestPolicyConfigCommand";
51
55
  import { GetPublicKeyCommandInput, GetPublicKeyCommandOutput } from "../commands/GetPublicKeyCommand";
@@ -70,6 +74,7 @@ import { ListFieldLevelEncryptionProfilesCommandInput, ListFieldLevelEncryptionP
70
74
  import { ListFunctionsCommandInput, ListFunctionsCommandOutput } from "../commands/ListFunctionsCommand";
71
75
  import { ListInvalidationsCommandInput, ListInvalidationsCommandOutput } from "../commands/ListInvalidationsCommand";
72
76
  import { ListKeyGroupsCommandInput, ListKeyGroupsCommandOutput } from "../commands/ListKeyGroupsCommand";
77
+ import { ListOriginAccessControlsCommandInput, ListOriginAccessControlsCommandOutput } from "../commands/ListOriginAccessControlsCommand";
73
78
  import { ListOriginRequestPoliciesCommandInput, ListOriginRequestPoliciesCommandOutput } from "../commands/ListOriginRequestPoliciesCommand";
74
79
  import { ListPublicKeysCommandInput, ListPublicKeysCommandOutput } from "../commands/ListPublicKeysCommand";
75
80
  import { ListRealtimeLogConfigsCommandInput, ListRealtimeLogConfigsCommandOutput } from "../commands/ListRealtimeLogConfigsCommand";
@@ -87,6 +92,7 @@ import { UpdateFieldLevelEncryptionConfigCommandInput, UpdateFieldLevelEncryptio
87
92
  import { UpdateFieldLevelEncryptionProfileCommandInput, UpdateFieldLevelEncryptionProfileCommandOutput } from "../commands/UpdateFieldLevelEncryptionProfileCommand";
88
93
  import { UpdateFunctionCommandInput, UpdateFunctionCommandOutput } from "../commands/UpdateFunctionCommand";
89
94
  import { UpdateKeyGroupCommandInput, UpdateKeyGroupCommandOutput } from "../commands/UpdateKeyGroupCommand";
95
+ import { UpdateOriginAccessControlCommandInput, UpdateOriginAccessControlCommandOutput } from "../commands/UpdateOriginAccessControlCommand";
90
96
  import { UpdateOriginRequestPolicyCommandInput, UpdateOriginRequestPolicyCommandOutput } from "../commands/UpdateOriginRequestPolicyCommand";
91
97
  import { UpdatePublicKeyCommandInput, UpdatePublicKeyCommandOutput } from "../commands/UpdatePublicKeyCommand";
92
98
  import { UpdateRealtimeLogConfigCommandInput, UpdateRealtimeLogConfigCommandOutput } from "../commands/UpdateRealtimeLogConfigCommand";
@@ -103,6 +109,7 @@ export declare const serializeAws_restXmlCreateFunctionCommand: (input: CreateFu
103
109
  export declare const serializeAws_restXmlCreateInvalidationCommand: (input: CreateInvalidationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
104
110
  export declare const serializeAws_restXmlCreateKeyGroupCommand: (input: CreateKeyGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
105
111
  export declare const serializeAws_restXmlCreateMonitoringSubscriptionCommand: (input: CreateMonitoringSubscriptionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
112
+ export declare const serializeAws_restXmlCreateOriginAccessControlCommand: (input: CreateOriginAccessControlCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
106
113
  export declare const serializeAws_restXmlCreateOriginRequestPolicyCommand: (input: CreateOriginRequestPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
107
114
  export declare const serializeAws_restXmlCreatePublicKeyCommand: (input: CreatePublicKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
108
115
  export declare const serializeAws_restXmlCreateRealtimeLogConfigCommand: (input: CreateRealtimeLogConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -117,6 +124,7 @@ export declare const serializeAws_restXmlDeleteFieldLevelEncryptionProfileComman
117
124
  export declare const serializeAws_restXmlDeleteFunctionCommand: (input: DeleteFunctionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
118
125
  export declare const serializeAws_restXmlDeleteKeyGroupCommand: (input: DeleteKeyGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
119
126
  export declare const serializeAws_restXmlDeleteMonitoringSubscriptionCommand: (input: DeleteMonitoringSubscriptionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
127
+ export declare const serializeAws_restXmlDeleteOriginAccessControlCommand: (input: DeleteOriginAccessControlCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
120
128
  export declare const serializeAws_restXmlDeleteOriginRequestPolicyCommand: (input: DeleteOriginRequestPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
121
129
  export declare const serializeAws_restXmlDeletePublicKeyCommand: (input: DeletePublicKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
122
130
  export declare const serializeAws_restXmlDeleteRealtimeLogConfigCommand: (input: DeleteRealtimeLogConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -138,6 +146,8 @@ export declare const serializeAws_restXmlGetInvalidationCommand: (input: GetInva
138
146
  export declare const serializeAws_restXmlGetKeyGroupCommand: (input: GetKeyGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
139
147
  export declare const serializeAws_restXmlGetKeyGroupConfigCommand: (input: GetKeyGroupConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
140
148
  export declare const serializeAws_restXmlGetMonitoringSubscriptionCommand: (input: GetMonitoringSubscriptionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
149
+ export declare const serializeAws_restXmlGetOriginAccessControlCommand: (input: GetOriginAccessControlCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
150
+ export declare const serializeAws_restXmlGetOriginAccessControlConfigCommand: (input: GetOriginAccessControlConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
141
151
  export declare const serializeAws_restXmlGetOriginRequestPolicyCommand: (input: GetOriginRequestPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
142
152
  export declare const serializeAws_restXmlGetOriginRequestPolicyConfigCommand: (input: GetOriginRequestPolicyConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
143
153
  export declare const serializeAws_restXmlGetPublicKeyCommand: (input: GetPublicKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -162,6 +172,7 @@ export declare const serializeAws_restXmlListFieldLevelEncryptionProfilesCommand
162
172
  export declare const serializeAws_restXmlListFunctionsCommand: (input: ListFunctionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
163
173
  export declare const serializeAws_restXmlListInvalidationsCommand: (input: ListInvalidationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
164
174
  export declare const serializeAws_restXmlListKeyGroupsCommand: (input: ListKeyGroupsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
175
+ export declare const serializeAws_restXmlListOriginAccessControlsCommand: (input: ListOriginAccessControlsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
165
176
  export declare const serializeAws_restXmlListOriginRequestPoliciesCommand: (input: ListOriginRequestPoliciesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
166
177
  export declare const serializeAws_restXmlListPublicKeysCommand: (input: ListPublicKeysCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
167
178
  export declare const serializeAws_restXmlListRealtimeLogConfigsCommand: (input: ListRealtimeLogConfigsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -179,6 +190,7 @@ export declare const serializeAws_restXmlUpdateFieldLevelEncryptionConfigCommand
179
190
  export declare const serializeAws_restXmlUpdateFieldLevelEncryptionProfileCommand: (input: UpdateFieldLevelEncryptionProfileCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
180
191
  export declare const serializeAws_restXmlUpdateFunctionCommand: (input: UpdateFunctionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
181
192
  export declare const serializeAws_restXmlUpdateKeyGroupCommand: (input: UpdateKeyGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
193
+ export declare const serializeAws_restXmlUpdateOriginAccessControlCommand: (input: UpdateOriginAccessControlCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
182
194
  export declare const serializeAws_restXmlUpdateOriginRequestPolicyCommand: (input: UpdateOriginRequestPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
183
195
  export declare const serializeAws_restXmlUpdatePublicKeyCommand: (input: UpdatePublicKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
184
196
  export declare const serializeAws_restXmlUpdateRealtimeLogConfigCommand: (input: UpdateRealtimeLogConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -195,6 +207,7 @@ export declare const deserializeAws_restXmlCreateFunctionCommand: (output: __Htt
195
207
  export declare const deserializeAws_restXmlCreateInvalidationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateInvalidationCommandOutput>;
196
208
  export declare const deserializeAws_restXmlCreateKeyGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateKeyGroupCommandOutput>;
197
209
  export declare const deserializeAws_restXmlCreateMonitoringSubscriptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateMonitoringSubscriptionCommandOutput>;
210
+ export declare const deserializeAws_restXmlCreateOriginAccessControlCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateOriginAccessControlCommandOutput>;
198
211
  export declare const deserializeAws_restXmlCreateOriginRequestPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateOriginRequestPolicyCommandOutput>;
199
212
  export declare const deserializeAws_restXmlCreatePublicKeyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreatePublicKeyCommandOutput>;
200
213
  export declare const deserializeAws_restXmlCreateRealtimeLogConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateRealtimeLogConfigCommandOutput>;
@@ -209,6 +222,7 @@ export declare const deserializeAws_restXmlDeleteFieldLevelEncryptionProfileComm
209
222
  export declare const deserializeAws_restXmlDeleteFunctionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteFunctionCommandOutput>;
210
223
  export declare const deserializeAws_restXmlDeleteKeyGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteKeyGroupCommandOutput>;
211
224
  export declare const deserializeAws_restXmlDeleteMonitoringSubscriptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteMonitoringSubscriptionCommandOutput>;
225
+ export declare const deserializeAws_restXmlDeleteOriginAccessControlCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteOriginAccessControlCommandOutput>;
212
226
  export declare const deserializeAws_restXmlDeleteOriginRequestPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteOriginRequestPolicyCommandOutput>;
213
227
  export declare const deserializeAws_restXmlDeletePublicKeyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeletePublicKeyCommandOutput>;
214
228
  export declare const deserializeAws_restXmlDeleteRealtimeLogConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteRealtimeLogConfigCommandOutput>;
@@ -230,6 +244,8 @@ export declare const deserializeAws_restXmlGetInvalidationCommand: (output: __Ht
230
244
  export declare const deserializeAws_restXmlGetKeyGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetKeyGroupCommandOutput>;
231
245
  export declare const deserializeAws_restXmlGetKeyGroupConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetKeyGroupConfigCommandOutput>;
232
246
  export declare const deserializeAws_restXmlGetMonitoringSubscriptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetMonitoringSubscriptionCommandOutput>;
247
+ export declare const deserializeAws_restXmlGetOriginAccessControlCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetOriginAccessControlCommandOutput>;
248
+ export declare const deserializeAws_restXmlGetOriginAccessControlConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetOriginAccessControlConfigCommandOutput>;
233
249
  export declare const deserializeAws_restXmlGetOriginRequestPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetOriginRequestPolicyCommandOutput>;
234
250
  export declare const deserializeAws_restXmlGetOriginRequestPolicyConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetOriginRequestPolicyConfigCommandOutput>;
235
251
  export declare const deserializeAws_restXmlGetPublicKeyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetPublicKeyCommandOutput>;
@@ -254,6 +270,7 @@ export declare const deserializeAws_restXmlListFieldLevelEncryptionProfilesComma
254
270
  export declare const deserializeAws_restXmlListFunctionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListFunctionsCommandOutput>;
255
271
  export declare const deserializeAws_restXmlListInvalidationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListInvalidationsCommandOutput>;
256
272
  export declare const deserializeAws_restXmlListKeyGroupsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListKeyGroupsCommandOutput>;
273
+ export declare const deserializeAws_restXmlListOriginAccessControlsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListOriginAccessControlsCommandOutput>;
257
274
  export declare const deserializeAws_restXmlListOriginRequestPoliciesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListOriginRequestPoliciesCommandOutput>;
258
275
  export declare const deserializeAws_restXmlListPublicKeysCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListPublicKeysCommandOutput>;
259
276
  export declare const deserializeAws_restXmlListRealtimeLogConfigsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListRealtimeLogConfigsCommandOutput>;
@@ -271,6 +288,7 @@ export declare const deserializeAws_restXmlUpdateFieldLevelEncryptionConfigComma
271
288
  export declare const deserializeAws_restXmlUpdateFieldLevelEncryptionProfileCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateFieldLevelEncryptionProfileCommandOutput>;
272
289
  export declare const deserializeAws_restXmlUpdateFunctionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateFunctionCommandOutput>;
273
290
  export declare const deserializeAws_restXmlUpdateKeyGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateKeyGroupCommandOutput>;
291
+ export declare const deserializeAws_restXmlUpdateOriginAccessControlCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateOriginAccessControlCommandOutput>;
274
292
  export declare const deserializeAws_restXmlUpdateOriginRequestPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateOriginRequestPolicyCommandOutput>;
275
293
  export declare const deserializeAws_restXmlUpdatePublicKeyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdatePublicKeyCommandOutput>;
276
294
  export declare const deserializeAws_restXmlUpdateRealtimeLogConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateRealtimeLogConfigCommandOutput>;
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.154.0",
4
+ "version": "3.157.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",