@aws-sdk/client-cloudfront 3.325.0 → 3.326.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 (107) hide show
  1. package/dist-types/commands/AssociateAliasCommand.d.ts +4 -0
  2. package/dist-types/commands/CopyDistributionCommand.d.ts +338 -0
  3. package/dist-types/commands/CreateCachePolicyCommand.d.ts +49 -0
  4. package/dist-types/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +15 -0
  5. package/dist-types/commands/CreateContinuousDeploymentPolicyCommand.d.ts +34 -0
  6. package/dist-types/commands/CreateDistributionCommand.d.ts +338 -0
  7. package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +338 -0
  8. package/dist-types/commands/CreateFieldLevelEncryptionConfigCommand.d.ts +40 -0
  9. package/dist-types/commands/CreateFieldLevelEncryptionProfileCommand.d.ts +31 -0
  10. package/dist-types/commands/CreateFunctionCommand.d.ts +21 -0
  11. package/dist-types/commands/CreateInvalidationCommand.d.ts +20 -0
  12. package/dist-types/commands/CreateKeyGroupCommand.d.ts +18 -0
  13. package/dist-types/commands/CreateMonitoringSubscriptionCommand.d.ts +10 -0
  14. package/dist-types/commands/CreateOriginAccessControlCommand.d.ts +17 -0
  15. package/dist-types/commands/CreateOriginRequestPolicyCommand.d.ts +42 -0
  16. package/dist-types/commands/CreatePublicKeyCommand.d.ts +17 -0
  17. package/dist-types/commands/CreateRealtimeLogConfigCommand.d.ts +22 -0
  18. package/dist-types/commands/CreateResponseHeadersPolicyCommand.d.ts +95 -0
  19. package/dist-types/commands/CreateStreamingDistributionCommand.d.ts +57 -0
  20. package/dist-types/commands/CreateStreamingDistributionWithTagsCommand.d.ts +57 -0
  21. package/dist-types/commands/DeleteCachePolicyCommand.d.ts +4 -0
  22. package/dist-types/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +4 -0
  23. package/dist-types/commands/DeleteContinuousDeploymentPolicyCommand.d.ts +4 -0
  24. package/dist-types/commands/DeleteDistributionCommand.d.ts +4 -0
  25. package/dist-types/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +4 -0
  26. package/dist-types/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +4 -0
  27. package/dist-types/commands/DeleteFunctionCommand.d.ts +4 -0
  28. package/dist-types/commands/DeleteKeyGroupCommand.d.ts +4 -0
  29. package/dist-types/commands/DeleteMonitoringSubscriptionCommand.d.ts +4 -0
  30. package/dist-types/commands/DeleteOriginAccessControlCommand.d.ts +4 -0
  31. package/dist-types/commands/DeleteOriginRequestPolicyCommand.d.ts +4 -0
  32. package/dist-types/commands/DeletePublicKeyCommand.d.ts +4 -0
  33. package/dist-types/commands/DeleteRealtimeLogConfigCommand.d.ts +4 -0
  34. package/dist-types/commands/DeleteResponseHeadersPolicyCommand.d.ts +4 -0
  35. package/dist-types/commands/DeleteStreamingDistributionCommand.d.ts +4 -0
  36. package/dist-types/commands/DescribeFunctionCommand.d.ts +20 -0
  37. package/dist-types/commands/GetCachePolicyCommand.d.ts +48 -0
  38. package/dist-types/commands/GetCachePolicyConfigCommand.d.ts +44 -0
  39. package/dist-types/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +14 -0
  40. package/dist-types/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +10 -0
  41. package/dist-types/commands/GetContinuousDeploymentPolicyCommand.d.ts +33 -0
  42. package/dist-types/commands/GetContinuousDeploymentPolicyConfigCommand.d.ts +29 -0
  43. package/dist-types/commands/GetDistributionCommand.d.ts +337 -0
  44. package/dist-types/commands/GetDistributionConfigCommand.d.ts +293 -0
  45. package/dist-types/commands/GetFieldLevelEncryptionCommand.d.ts +39 -0
  46. package/dist-types/commands/GetFieldLevelEncryptionConfigCommand.d.ts +35 -0
  47. package/dist-types/commands/GetFieldLevelEncryptionProfileCommand.d.ts +30 -0
  48. package/dist-types/commands/GetFieldLevelEncryptionProfileConfigCommand.d.ts +26 -0
  49. package/dist-types/commands/GetFunctionCommand.d.ts +8 -0
  50. package/dist-types/commands/GetInvalidationCommand.d.ts +19 -0
  51. package/dist-types/commands/GetKeyGroupCommand.d.ts +17 -0
  52. package/dist-types/commands/GetKeyGroupConfigCommand.d.ts +13 -0
  53. package/dist-types/commands/GetMonitoringSubscriptionCommand.d.ts +10 -0
  54. package/dist-types/commands/GetOriginAccessControlCommand.d.ts +16 -0
  55. package/dist-types/commands/GetOriginAccessControlConfigCommand.d.ts +13 -0
  56. package/dist-types/commands/GetOriginRequestPolicyCommand.d.ts +41 -0
  57. package/dist-types/commands/GetOriginRequestPolicyConfigCommand.d.ts +37 -0
  58. package/dist-types/commands/GetPublicKeyCommand.d.ts +16 -0
  59. package/dist-types/commands/GetPublicKeyConfigCommand.d.ts +12 -0
  60. package/dist-types/commands/GetRealtimeLogConfigCommand.d.ts +22 -0
  61. package/dist-types/commands/GetResponseHeadersPolicyCommand.d.ts +94 -0
  62. package/dist-types/commands/GetResponseHeadersPolicyConfigCommand.d.ts +90 -0
  63. package/dist-types/commands/GetStreamingDistributionCommand.d.ts +56 -0
  64. package/dist-types/commands/GetStreamingDistributionConfigCommand.d.ts +34 -0
  65. package/dist-types/commands/ListCachePoliciesCommand.d.ts +57 -0
  66. package/dist-types/commands/ListCloudFrontOriginAccessIdentitiesCommand.d.ts +19 -0
  67. package/dist-types/commands/ListConflictingAliasesCommand.d.ts +17 -0
  68. package/dist-types/commands/ListContinuousDeploymentPoliciesCommand.d.ts +41 -0
  69. package/dist-types/commands/ListDistributionsByCachePolicyIdCommand.d.ts +15 -0
  70. package/dist-types/commands/ListDistributionsByKeyGroupCommand.d.ts +15 -0
  71. package/dist-types/commands/ListDistributionsByOriginRequestPolicyIdCommand.d.ts +15 -0
  72. package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +303 -0
  73. package/dist-types/commands/ListDistributionsByResponseHeadersPolicyIdCommand.d.ts +15 -0
  74. package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +303 -0
  75. package/dist-types/commands/ListDistributionsCommand.d.ts +303 -0
  76. package/dist-types/commands/ListFieldLevelEncryptionConfigsCommand.d.ts +42 -0
  77. package/dist-types/commands/ListFieldLevelEncryptionProfilesCommand.d.ts +33 -0
  78. package/dist-types/commands/ListFunctionsCommand.d.ts +26 -0
  79. package/dist-types/commands/ListInvalidationsCommand.d.ts +19 -0
  80. package/dist-types/commands/ListKeyGroupsCommand.d.ts +25 -0
  81. package/dist-types/commands/ListOriginAccessControlsCommand.d.ts +22 -0
  82. package/dist-types/commands/ListOriginRequestPoliciesCommand.d.ts +50 -0
  83. package/dist-types/commands/ListPublicKeysCommand.d.ts +19 -0
  84. package/dist-types/commands/ListRealtimeLogConfigsCommand.d.ts +30 -0
  85. package/dist-types/commands/ListResponseHeadersPoliciesCommand.d.ts +103 -0
  86. package/dist-types/commands/ListStreamingDistributionsCommand.d.ts +41 -0
  87. package/dist-types/commands/ListTagsForResourceCommand.d.ts +13 -0
  88. package/dist-types/commands/PublishFunctionCommand.d.ts +19 -0
  89. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  90. package/dist-types/commands/TestFunctionCommand.d.ts +27 -0
  91. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  92. package/dist-types/commands/UpdateCachePolicyCommand.d.ts +48 -0
  93. package/dist-types/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +14 -0
  94. package/dist-types/commands/UpdateContinuousDeploymentPolicyCommand.d.ts +33 -0
  95. package/dist-types/commands/UpdateDistributionCommand.d.ts +337 -0
  96. package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +337 -0
  97. package/dist-types/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +39 -0
  98. package/dist-types/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +30 -0
  99. package/dist-types/commands/UpdateFunctionCommand.d.ts +20 -0
  100. package/dist-types/commands/UpdateKeyGroupCommand.d.ts +17 -0
  101. package/dist-types/commands/UpdateOriginAccessControlCommand.d.ts +16 -0
  102. package/dist-types/commands/UpdateOriginRequestPolicyCommand.d.ts +41 -0
  103. package/dist-types/commands/UpdatePublicKeyCommand.d.ts +16 -0
  104. package/dist-types/commands/UpdateRealtimeLogConfigCommand.d.ts +22 -0
  105. package/dist-types/commands/UpdateResponseHeadersPolicyCommand.d.ts +94 -0
  106. package/dist-types/commands/UpdateStreamingDistributionCommand.d.ts +56 -0
  107. package/package.json +3 -3
@@ -33,6 +33,46 @@ export interface ListFieldLevelEncryptionConfigsCommandOutput extends ListFieldL
33
33
  * };
34
34
  * const command = new ListFieldLevelEncryptionConfigsCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // ListFieldLevelEncryptionConfigsResult
37
+ * // FieldLevelEncryptionList: { // FieldLevelEncryptionList
38
+ * // NextMarker: "STRING_VALUE",
39
+ * // MaxItems: Number("int"), // required
40
+ * // Quantity: Number("int"), // required
41
+ * // Items: [ // FieldLevelEncryptionSummaryList
42
+ * // { // FieldLevelEncryptionSummary
43
+ * // Id: "STRING_VALUE", // required
44
+ * // LastModifiedTime: new Date("TIMESTAMP"), // required
45
+ * // Comment: "STRING_VALUE",
46
+ * // QueryArgProfileConfig: { // QueryArgProfileConfig
47
+ * // ForwardWhenQueryArgProfileIsUnknown: true || false, // required
48
+ * // QueryArgProfiles: { // QueryArgProfiles
49
+ * // Quantity: Number("int"), // required
50
+ * // Items: [ // QueryArgProfileList
51
+ * // { // QueryArgProfile
52
+ * // QueryArg: "STRING_VALUE", // required
53
+ * // ProfileId: "STRING_VALUE", // required
54
+ * // },
55
+ * // ],
56
+ * // },
57
+ * // },
58
+ * // ContentTypeProfileConfig: { // ContentTypeProfileConfig
59
+ * // ForwardWhenContentTypeIsUnknown: true || false, // required
60
+ * // ContentTypeProfiles: { // ContentTypeProfiles
61
+ * // Quantity: Number("int"), // required
62
+ * // Items: [ // ContentTypeProfileList
63
+ * // { // ContentTypeProfile
64
+ * // Format: "URLEncoded", // required
65
+ * // ProfileId: "STRING_VALUE",
66
+ * // ContentType: "STRING_VALUE", // required
67
+ * // },
68
+ * // ],
69
+ * // },
70
+ * // },
71
+ * // },
72
+ * // ],
73
+ * // },
74
+ * // };
75
+ *
36
76
  * ```
37
77
  *
38
78
  * @param ListFieldLevelEncryptionConfigsCommandInput - {@link ListFieldLevelEncryptionConfigsCommandInput}
@@ -44,6 +84,8 @@ export interface ListFieldLevelEncryptionConfigsCommandOutput extends ListFieldL
44
84
  * @throws {@link InvalidArgument} (client fault)
45
85
  * <p>An argument is invalid.</p>
46
86
  *
87
+ * @throws {@link CloudFrontServiceException}
88
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
47
89
  *
48
90
  */
49
91
  export declare class ListFieldLevelEncryptionConfigsCommand extends $Command<ListFieldLevelEncryptionConfigsCommandInput, ListFieldLevelEncryptionConfigsCommandOutput, CloudFrontClientResolvedConfig> {
@@ -33,6 +33,37 @@ export interface ListFieldLevelEncryptionProfilesCommandOutput extends ListField
33
33
  * };
34
34
  * const command = new ListFieldLevelEncryptionProfilesCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // ListFieldLevelEncryptionProfilesResult
37
+ * // FieldLevelEncryptionProfileList: { // FieldLevelEncryptionProfileList
38
+ * // NextMarker: "STRING_VALUE",
39
+ * // MaxItems: Number("int"), // required
40
+ * // Quantity: Number("int"), // required
41
+ * // Items: [ // FieldLevelEncryptionProfileSummaryList
42
+ * // { // FieldLevelEncryptionProfileSummary
43
+ * // Id: "STRING_VALUE", // required
44
+ * // LastModifiedTime: new Date("TIMESTAMP"), // required
45
+ * // Name: "STRING_VALUE", // required
46
+ * // EncryptionEntities: { // EncryptionEntities
47
+ * // Quantity: Number("int"), // required
48
+ * // Items: [ // EncryptionEntityList
49
+ * // { // EncryptionEntity
50
+ * // PublicKeyId: "STRING_VALUE", // required
51
+ * // ProviderId: "STRING_VALUE", // required
52
+ * // FieldPatterns: { // FieldPatterns
53
+ * // Quantity: Number("int"), // required
54
+ * // Items: [ // FieldPatternList
55
+ * // "STRING_VALUE",
56
+ * // ],
57
+ * // },
58
+ * // },
59
+ * // ],
60
+ * // },
61
+ * // Comment: "STRING_VALUE",
62
+ * // },
63
+ * // ],
64
+ * // },
65
+ * // };
66
+ *
36
67
  * ```
37
68
  *
38
69
  * @param ListFieldLevelEncryptionProfilesCommandInput - {@link ListFieldLevelEncryptionProfilesCommandInput}
@@ -44,6 +75,8 @@ export interface ListFieldLevelEncryptionProfilesCommandOutput extends ListField
44
75
  * @throws {@link InvalidArgument} (client fault)
45
76
  * <p>An argument is invalid.</p>
46
77
  *
78
+ * @throws {@link CloudFrontServiceException}
79
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
47
80
  *
48
81
  */
49
82
  export declare class ListFieldLevelEncryptionProfilesCommand extends $Command<ListFieldLevelEncryptionProfilesCommandInput, ListFieldLevelEncryptionProfilesCommandOutput, CloudFrontClientResolvedConfig> {
@@ -40,6 +40,30 @@ export interface ListFunctionsCommandOutput extends ListFunctionsResult, __Metad
40
40
  * };
41
41
  * const command = new ListFunctionsCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // ListFunctionsResult
44
+ * // FunctionList: { // FunctionList
45
+ * // NextMarker: "STRING_VALUE",
46
+ * // MaxItems: Number("int"), // required
47
+ * // Quantity: Number("int"), // required
48
+ * // Items: [ // FunctionSummaryList
49
+ * // { // FunctionSummary
50
+ * // Name: "STRING_VALUE", // required
51
+ * // Status: "STRING_VALUE",
52
+ * // FunctionConfig: { // FunctionConfig
53
+ * // Comment: "STRING_VALUE", // required
54
+ * // Runtime: "cloudfront-js-1.0", // required
55
+ * // },
56
+ * // FunctionMetadata: { // FunctionMetadata
57
+ * // FunctionARN: "STRING_VALUE", // required
58
+ * // Stage: "DEVELOPMENT" || "LIVE",
59
+ * // CreatedTime: new Date("TIMESTAMP"),
60
+ * // LastModifiedTime: new Date("TIMESTAMP"), // required
61
+ * // },
62
+ * // },
63
+ * // ],
64
+ * // },
65
+ * // };
66
+ *
43
67
  * ```
44
68
  *
45
69
  * @param ListFunctionsCommandInput - {@link ListFunctionsCommandInput}
@@ -54,6 +78,8 @@ export interface ListFunctionsCommandOutput extends ListFunctionsResult, __Metad
54
78
  * @throws {@link UnsupportedOperation} (client fault)
55
79
  * <p>This operation is not supported in this region.</p>
56
80
  *
81
+ * @throws {@link CloudFrontServiceException}
82
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
57
83
  *
58
84
  */
59
85
  export declare class ListFunctionsCommand extends $Command<ListFunctionsCommandInput, ListFunctionsCommandOutput, CloudFrontClientResolvedConfig> {
@@ -33,6 +33,23 @@ export interface ListInvalidationsCommandOutput extends ListInvalidationsResult,
33
33
  * };
34
34
  * const command = new ListInvalidationsCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // ListInvalidationsResult
37
+ * // InvalidationList: { // InvalidationList
38
+ * // Marker: "STRING_VALUE", // required
39
+ * // NextMarker: "STRING_VALUE",
40
+ * // MaxItems: Number("int"), // required
41
+ * // IsTruncated: true || false, // required
42
+ * // Quantity: Number("int"), // required
43
+ * // Items: [ // InvalidationSummaryList
44
+ * // { // InvalidationSummary
45
+ * // Id: "STRING_VALUE", // required
46
+ * // CreateTime: new Date("TIMESTAMP"), // required
47
+ * // Status: "STRING_VALUE", // required
48
+ * // },
49
+ * // ],
50
+ * // },
51
+ * // };
52
+ *
36
53
  * ```
37
54
  *
38
55
  * @param ListInvalidationsCommandInput - {@link ListInvalidationsCommandInput}
@@ -50,6 +67,8 @@ export interface ListInvalidationsCommandOutput extends ListInvalidationsResult,
50
67
  * @throws {@link NoSuchDistribution} (client fault)
51
68
  * <p>The specified distribution does not exist.</p>
52
69
  *
70
+ * @throws {@link CloudFrontServiceException}
71
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
53
72
  *
54
73
  */
55
74
  export declare class ListInvalidationsCommand extends $Command<ListInvalidationsCommandInput, ListInvalidationsCommandOutput, CloudFrontClientResolvedConfig> {
@@ -37,6 +37,29 @@ export interface ListKeyGroupsCommandOutput extends ListKeyGroupsResult, __Metad
37
37
  * };
38
38
  * const command = new ListKeyGroupsCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // { // ListKeyGroupsResult
41
+ * // KeyGroupList: { // KeyGroupList
42
+ * // NextMarker: "STRING_VALUE",
43
+ * // MaxItems: Number("int"), // required
44
+ * // Quantity: Number("int"), // required
45
+ * // Items: [ // KeyGroupSummaryList
46
+ * // { // KeyGroupSummary
47
+ * // KeyGroup: { // KeyGroup
48
+ * // Id: "STRING_VALUE", // required
49
+ * // LastModifiedTime: new Date("TIMESTAMP"), // required
50
+ * // KeyGroupConfig: { // KeyGroupConfig
51
+ * // Name: "STRING_VALUE", // required
52
+ * // Items: [ // PublicKeyIdList // required
53
+ * // "STRING_VALUE",
54
+ * // ],
55
+ * // Comment: "STRING_VALUE",
56
+ * // },
57
+ * // },
58
+ * // },
59
+ * // ],
60
+ * // },
61
+ * // };
62
+ *
40
63
  * ```
41
64
  *
42
65
  * @param ListKeyGroupsCommandInput - {@link ListKeyGroupsCommandInput}
@@ -48,6 +71,8 @@ export interface ListKeyGroupsCommandOutput extends ListKeyGroupsResult, __Metad
48
71
  * @throws {@link InvalidArgument} (client fault)
49
72
  * <p>An argument is invalid.</p>
50
73
  *
74
+ * @throws {@link CloudFrontServiceException}
75
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
51
76
  *
52
77
  */
53
78
  export declare class ListKeyGroupsCommand extends $Command<ListKeyGroupsCommandInput, ListKeyGroupsCommandOutput, CloudFrontClientResolvedConfig> {
@@ -37,6 +37,26 @@ export interface ListOriginAccessControlsCommandOutput extends ListOriginAccessC
37
37
  * };
38
38
  * const command = new ListOriginAccessControlsCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // { // ListOriginAccessControlsResult
41
+ * // OriginAccessControlList: { // OriginAccessControlList
42
+ * // Marker: "STRING_VALUE", // required
43
+ * // NextMarker: "STRING_VALUE",
44
+ * // MaxItems: Number("int"), // required
45
+ * // IsTruncated: true || false, // required
46
+ * // Quantity: Number("int"), // required
47
+ * // Items: [ // OriginAccessControlSummaryList
48
+ * // { // OriginAccessControlSummary
49
+ * // Id: "STRING_VALUE", // required
50
+ * // Description: "STRING_VALUE", // required
51
+ * // Name: "STRING_VALUE", // required
52
+ * // SigningProtocol: "sigv4", // required
53
+ * // SigningBehavior: "never" || "always" || "no-override", // required
54
+ * // OriginAccessControlOriginType: "s3" || "mediastore", // required
55
+ * // },
56
+ * // ],
57
+ * // },
58
+ * // };
59
+ *
40
60
  * ```
41
61
  *
42
62
  * @param ListOriginAccessControlsCommandInput - {@link ListOriginAccessControlsCommandInput}
@@ -48,6 +68,8 @@ export interface ListOriginAccessControlsCommandOutput extends ListOriginAccessC
48
68
  * @throws {@link InvalidArgument} (client fault)
49
69
  * <p>An argument is invalid.</p>
50
70
  *
71
+ * @throws {@link CloudFrontServiceException}
72
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
51
73
  *
52
74
  */
53
75
  export declare class ListOriginAccessControlsCommand extends $Command<ListOriginAccessControlsCommandInput, ListOriginAccessControlsCommandOutput, CloudFrontClientResolvedConfig> {
@@ -40,6 +40,54 @@ export interface ListOriginRequestPoliciesCommandOutput extends ListOriginReques
40
40
  * };
41
41
  * const command = new ListOriginRequestPoliciesCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // ListOriginRequestPoliciesResult
44
+ * // OriginRequestPolicyList: { // OriginRequestPolicyList
45
+ * // NextMarker: "STRING_VALUE",
46
+ * // MaxItems: Number("int"), // required
47
+ * // Quantity: Number("int"), // required
48
+ * // Items: [ // OriginRequestPolicySummaryList
49
+ * // { // OriginRequestPolicySummary
50
+ * // Type: "managed" || "custom", // required
51
+ * // OriginRequestPolicy: { // OriginRequestPolicy
52
+ * // Id: "STRING_VALUE", // required
53
+ * // LastModifiedTime: new Date("TIMESTAMP"), // required
54
+ * // OriginRequestPolicyConfig: { // OriginRequestPolicyConfig
55
+ * // Comment: "STRING_VALUE",
56
+ * // Name: "STRING_VALUE", // required
57
+ * // HeadersConfig: { // OriginRequestPolicyHeadersConfig
58
+ * // HeaderBehavior: "none" || "whitelist" || "allViewer" || "allViewerAndWhitelistCloudFront" || "allExcept", // required
59
+ * // Headers: { // Headers
60
+ * // Quantity: Number("int"), // required
61
+ * // Items: [ // HeaderList
62
+ * // "STRING_VALUE",
63
+ * // ],
64
+ * // },
65
+ * // },
66
+ * // CookiesConfig: { // OriginRequestPolicyCookiesConfig
67
+ * // CookieBehavior: "none" || "whitelist" || "all" || "allExcept", // required
68
+ * // Cookies: { // CookieNames
69
+ * // Quantity: Number("int"), // required
70
+ * // Items: [ // CookieNameList
71
+ * // "STRING_VALUE",
72
+ * // ],
73
+ * // },
74
+ * // },
75
+ * // QueryStringsConfig: { // OriginRequestPolicyQueryStringsConfig
76
+ * // QueryStringBehavior: "none" || "whitelist" || "all" || "allExcept", // required
77
+ * // QueryStrings: { // QueryStringNames
78
+ * // Quantity: Number("int"), // required
79
+ * // Items: [ // QueryStringNamesList
80
+ * // "STRING_VALUE",
81
+ * // ],
82
+ * // },
83
+ * // },
84
+ * // },
85
+ * // },
86
+ * // },
87
+ * // ],
88
+ * // },
89
+ * // };
90
+ *
43
91
  * ```
44
92
  *
45
93
  * @param ListOriginRequestPoliciesCommandInput - {@link ListOriginRequestPoliciesCommandInput}
@@ -57,6 +105,8 @@ export interface ListOriginRequestPoliciesCommandOutput extends ListOriginReques
57
105
  * @throws {@link NoSuchOriginRequestPolicy} (client fault)
58
106
  * <p>The origin request policy does not exist.</p>
59
107
  *
108
+ * @throws {@link CloudFrontServiceException}
109
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
60
110
  *
61
111
  */
62
112
  export declare class ListOriginRequestPoliciesCommand extends $Command<ListOriginRequestPoliciesCommandInput, ListOriginRequestPoliciesCommandOutput, CloudFrontClientResolvedConfig> {
@@ -32,6 +32,23 @@ export interface ListPublicKeysCommandOutput extends ListPublicKeysResult, __Met
32
32
  * };
33
33
  * const command = new ListPublicKeysCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // ListPublicKeysResult
36
+ * // PublicKeyList: { // PublicKeyList
37
+ * // NextMarker: "STRING_VALUE",
38
+ * // MaxItems: Number("int"), // required
39
+ * // Quantity: Number("int"), // required
40
+ * // Items: [ // PublicKeySummaryList
41
+ * // { // PublicKeySummary
42
+ * // Id: "STRING_VALUE", // required
43
+ * // Name: "STRING_VALUE", // required
44
+ * // CreatedTime: new Date("TIMESTAMP"), // required
45
+ * // EncodedKey: "STRING_VALUE", // required
46
+ * // Comment: "STRING_VALUE",
47
+ * // },
48
+ * // ],
49
+ * // },
50
+ * // };
51
+ *
35
52
  * ```
36
53
  *
37
54
  * @param ListPublicKeysCommandInput - {@link ListPublicKeysCommandInput}
@@ -43,6 +60,8 @@ export interface ListPublicKeysCommandOutput extends ListPublicKeysResult, __Met
43
60
  * @throws {@link InvalidArgument} (client fault)
44
61
  * <p>An argument is invalid.</p>
45
62
  *
63
+ * @throws {@link CloudFrontServiceException}
64
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
46
65
  *
47
66
  */
48
67
  export declare class ListPublicKeysCommand extends $Command<ListPublicKeysCommandInput, ListPublicKeysCommandOutput, CloudFrontClientResolvedConfig> {
@@ -37,6 +37,34 @@ export interface ListRealtimeLogConfigsCommandOutput extends ListRealtimeLogConf
37
37
  * };
38
38
  * const command = new ListRealtimeLogConfigsCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // { // ListRealtimeLogConfigsResult
41
+ * // RealtimeLogConfigs: { // RealtimeLogConfigs
42
+ * // MaxItems: Number("int"), // required
43
+ * // Items: [ // RealtimeLogConfigList
44
+ * // { // RealtimeLogConfig
45
+ * // ARN: "STRING_VALUE", // required
46
+ * // Name: "STRING_VALUE", // required
47
+ * // SamplingRate: Number("long"), // required
48
+ * // EndPoints: [ // EndPointList // required
49
+ * // { // EndPoint
50
+ * // StreamType: "STRING_VALUE", // required
51
+ * // KinesisStreamConfig: { // KinesisStreamConfig
52
+ * // RoleARN: "STRING_VALUE", // required
53
+ * // StreamARN: "STRING_VALUE", // required
54
+ * // },
55
+ * // },
56
+ * // ],
57
+ * // Fields: [ // FieldList // required
58
+ * // "STRING_VALUE",
59
+ * // ],
60
+ * // },
61
+ * // ],
62
+ * // IsTruncated: true || false, // required
63
+ * // Marker: "STRING_VALUE", // required
64
+ * // NextMarker: "STRING_VALUE",
65
+ * // },
66
+ * // };
67
+ *
40
68
  * ```
41
69
  *
42
70
  * @param ListRealtimeLogConfigsCommandInput - {@link ListRealtimeLogConfigsCommandInput}
@@ -54,6 +82,8 @@ export interface ListRealtimeLogConfigsCommandOutput extends ListRealtimeLogConf
54
82
  * @throws {@link NoSuchRealtimeLogConfig} (client fault)
55
83
  * <p>The real-time log configuration does not exist.</p>
56
84
  *
85
+ * @throws {@link CloudFrontServiceException}
86
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
57
87
  *
58
88
  */
59
89
  export declare class ListRealtimeLogConfigsCommand extends $Command<ListRealtimeLogConfigsCommandInput, ListRealtimeLogConfigsCommandOutput, CloudFrontClientResolvedConfig> {
@@ -40,6 +40,107 @@ export interface ListResponseHeadersPoliciesCommandOutput extends ListResponseHe
40
40
  * };
41
41
  * const command = new ListResponseHeadersPoliciesCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // ListResponseHeadersPoliciesResult
44
+ * // ResponseHeadersPolicyList: { // ResponseHeadersPolicyList
45
+ * // NextMarker: "STRING_VALUE",
46
+ * // MaxItems: Number("int"), // required
47
+ * // Quantity: Number("int"), // required
48
+ * // Items: [ // ResponseHeadersPolicySummaryList
49
+ * // { // ResponseHeadersPolicySummary
50
+ * // Type: "managed" || "custom", // required
51
+ * // ResponseHeadersPolicy: { // ResponseHeadersPolicy
52
+ * // Id: "STRING_VALUE", // required
53
+ * // LastModifiedTime: new Date("TIMESTAMP"), // required
54
+ * // ResponseHeadersPolicyConfig: { // ResponseHeadersPolicyConfig
55
+ * // Comment: "STRING_VALUE",
56
+ * // Name: "STRING_VALUE", // required
57
+ * // CorsConfig: { // ResponseHeadersPolicyCorsConfig
58
+ * // AccessControlAllowOrigins: { // ResponseHeadersPolicyAccessControlAllowOrigins
59
+ * // Quantity: Number("int"), // required
60
+ * // Items: [ // AccessControlAllowOriginsList // required
61
+ * // "STRING_VALUE",
62
+ * // ],
63
+ * // },
64
+ * // AccessControlAllowHeaders: { // ResponseHeadersPolicyAccessControlAllowHeaders
65
+ * // Quantity: Number("int"), // required
66
+ * // Items: [ // AccessControlAllowHeadersList // required
67
+ * // "STRING_VALUE",
68
+ * // ],
69
+ * // },
70
+ * // AccessControlAllowMethods: { // ResponseHeadersPolicyAccessControlAllowMethods
71
+ * // Quantity: Number("int"), // required
72
+ * // Items: [ // AccessControlAllowMethodsList // required
73
+ * // "GET" || "POST" || "OPTIONS" || "PUT" || "DELETE" || "PATCH" || "HEAD" || "ALL",
74
+ * // ],
75
+ * // },
76
+ * // AccessControlAllowCredentials: true || false, // required
77
+ * // AccessControlExposeHeaders: { // ResponseHeadersPolicyAccessControlExposeHeaders
78
+ * // Quantity: Number("int"), // required
79
+ * // Items: [ // AccessControlExposeHeadersList
80
+ * // "STRING_VALUE",
81
+ * // ],
82
+ * // },
83
+ * // AccessControlMaxAgeSec: Number("int"),
84
+ * // OriginOverride: true || false, // required
85
+ * // },
86
+ * // SecurityHeadersConfig: { // ResponseHeadersPolicySecurityHeadersConfig
87
+ * // XSSProtection: { // ResponseHeadersPolicyXSSProtection
88
+ * // Override: true || false, // required
89
+ * // Protection: true || false, // required
90
+ * // ModeBlock: true || false,
91
+ * // ReportUri: "STRING_VALUE",
92
+ * // },
93
+ * // FrameOptions: { // ResponseHeadersPolicyFrameOptions
94
+ * // Override: true || false, // required
95
+ * // FrameOption: "DENY" || "SAMEORIGIN", // required
96
+ * // },
97
+ * // ReferrerPolicy: { // ResponseHeadersPolicyReferrerPolicy
98
+ * // Override: true || false, // required
99
+ * // ReferrerPolicy: "no-referrer" || "no-referrer-when-downgrade" || "origin" || "origin-when-cross-origin" || "same-origin" || "strict-origin" || "strict-origin-when-cross-origin" || "unsafe-url", // required
100
+ * // },
101
+ * // ContentSecurityPolicy: { // ResponseHeadersPolicyContentSecurityPolicy
102
+ * // Override: true || false, // required
103
+ * // ContentSecurityPolicy: "STRING_VALUE", // required
104
+ * // },
105
+ * // ContentTypeOptions: { // ResponseHeadersPolicyContentTypeOptions
106
+ * // Override: true || false, // required
107
+ * // },
108
+ * // StrictTransportSecurity: { // ResponseHeadersPolicyStrictTransportSecurity
109
+ * // Override: true || false, // required
110
+ * // IncludeSubdomains: true || false,
111
+ * // Preload: true || false,
112
+ * // AccessControlMaxAgeSec: Number("int"), // required
113
+ * // },
114
+ * // },
115
+ * // ServerTimingHeadersConfig: { // ResponseHeadersPolicyServerTimingHeadersConfig
116
+ * // Enabled: true || false, // required
117
+ * // SamplingRate: Number("double"),
118
+ * // },
119
+ * // CustomHeadersConfig: { // ResponseHeadersPolicyCustomHeadersConfig
120
+ * // Quantity: Number("int"), // required
121
+ * // Items: [ // ResponseHeadersPolicyCustomHeaderList
122
+ * // { // ResponseHeadersPolicyCustomHeader
123
+ * // Header: "STRING_VALUE", // required
124
+ * // Value: "STRING_VALUE", // required
125
+ * // Override: true || false, // required
126
+ * // },
127
+ * // ],
128
+ * // },
129
+ * // RemoveHeadersConfig: { // ResponseHeadersPolicyRemoveHeadersConfig
130
+ * // Quantity: Number("int"), // required
131
+ * // Items: [ // ResponseHeadersPolicyRemoveHeaderList
132
+ * // { // ResponseHeadersPolicyRemoveHeader
133
+ * // Header: "STRING_VALUE", // required
134
+ * // },
135
+ * // ],
136
+ * // },
137
+ * // },
138
+ * // },
139
+ * // },
140
+ * // ],
141
+ * // },
142
+ * // };
143
+ *
43
144
  * ```
44
145
  *
45
146
  * @param ListResponseHeadersPoliciesCommandInput - {@link ListResponseHeadersPoliciesCommandInput}
@@ -57,6 +158,8 @@ export interface ListResponseHeadersPoliciesCommandOutput extends ListResponseHe
57
158
  * @throws {@link NoSuchResponseHeadersPolicy} (client fault)
58
159
  * <p>The response headers policy does not exist.</p>
59
160
  *
161
+ * @throws {@link CloudFrontServiceException}
162
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
60
163
  *
61
164
  */
62
165
  export declare class ListResponseHeadersPoliciesCommand extends $Command<ListResponseHeadersPoliciesCommandInput, ListResponseHeadersPoliciesCommandOutput, CloudFrontClientResolvedConfig> {
@@ -32,6 +32,45 @@ export interface ListStreamingDistributionsCommandOutput extends ListStreamingDi
32
32
  * };
33
33
  * const command = new ListStreamingDistributionsCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // ListStreamingDistributionsResult
36
+ * // StreamingDistributionList: { // StreamingDistributionList
37
+ * // Marker: "STRING_VALUE", // required
38
+ * // NextMarker: "STRING_VALUE",
39
+ * // MaxItems: Number("int"), // required
40
+ * // IsTruncated: true || false, // required
41
+ * // Quantity: Number("int"), // required
42
+ * // Items: [ // StreamingDistributionSummaryList
43
+ * // { // StreamingDistributionSummary
44
+ * // Id: "STRING_VALUE", // required
45
+ * // ARN: "STRING_VALUE", // required
46
+ * // Status: "STRING_VALUE", // required
47
+ * // LastModifiedTime: new Date("TIMESTAMP"), // required
48
+ * // DomainName: "STRING_VALUE", // required
49
+ * // S3Origin: { // S3Origin
50
+ * // DomainName: "STRING_VALUE", // required
51
+ * // OriginAccessIdentity: "STRING_VALUE", // required
52
+ * // },
53
+ * // Aliases: { // Aliases
54
+ * // Quantity: Number("int"), // required
55
+ * // Items: [ // AliasList
56
+ * // "STRING_VALUE",
57
+ * // ],
58
+ * // },
59
+ * // TrustedSigners: { // TrustedSigners
60
+ * // Enabled: true || false, // required
61
+ * // Quantity: Number("int"), // required
62
+ * // Items: [ // AwsAccountNumberList
63
+ * // "STRING_VALUE",
64
+ * // ],
65
+ * // },
66
+ * // Comment: "STRING_VALUE", // required
67
+ * // PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All", // required
68
+ * // Enabled: true || false, // required
69
+ * // },
70
+ * // ],
71
+ * // },
72
+ * // };
73
+ *
35
74
  * ```
36
75
  *
37
76
  * @param ListStreamingDistributionsCommandInput - {@link ListStreamingDistributionsCommandInput}
@@ -43,6 +82,8 @@ export interface ListStreamingDistributionsCommandOutput extends ListStreamingDi
43
82
  * @throws {@link InvalidArgument} (client fault)
44
83
  * <p>An argument is invalid.</p>
45
84
  *
85
+ * @throws {@link CloudFrontServiceException}
86
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
46
87
  *
47
88
  */
48
89
  export declare class ListStreamingDistributionsCommand extends $Command<ListStreamingDistributionsCommandInput, ListStreamingDistributionsCommandOutput, CloudFrontClientResolvedConfig> {
@@ -31,6 +31,17 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // ListTagsForResourceResult
35
+ * // Tags: { // Tags
36
+ * // Items: [ // TagList
37
+ * // { // Tag
38
+ * // Key: "STRING_VALUE", // required
39
+ * // Value: "STRING_VALUE",
40
+ * // },
41
+ * // ],
42
+ * // },
43
+ * // };
44
+ *
34
45
  * ```
35
46
  *
36
47
  * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
@@ -51,6 +62,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
51
62
  * @throws {@link NoSuchResource} (client fault)
52
63
  * <p>A resource that was specified is not valid.</p>
53
64
  *
65
+ * @throws {@link CloudFrontServiceException}
66
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
54
67
  *
55
68
  */
56
69
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, CloudFrontClientResolvedConfig> {
@@ -41,6 +41,23 @@ export interface PublishFunctionCommandOutput extends PublishFunctionResult, __M
41
41
  * };
42
42
  * const command = new PublishFunctionCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // { // PublishFunctionResult
45
+ * // FunctionSummary: { // FunctionSummary
46
+ * // Name: "STRING_VALUE", // required
47
+ * // Status: "STRING_VALUE",
48
+ * // FunctionConfig: { // FunctionConfig
49
+ * // Comment: "STRING_VALUE", // required
50
+ * // Runtime: "cloudfront-js-1.0", // required
51
+ * // },
52
+ * // FunctionMetadata: { // FunctionMetadata
53
+ * // FunctionARN: "STRING_VALUE", // required
54
+ * // Stage: "DEVELOPMENT" || "LIVE",
55
+ * // CreatedTime: new Date("TIMESTAMP"),
56
+ * // LastModifiedTime: new Date("TIMESTAMP"), // required
57
+ * // },
58
+ * // },
59
+ * // };
60
+ *
44
61
  * ```
45
62
  *
46
63
  * @param PublishFunctionCommandInput - {@link PublishFunctionCommandInput}
@@ -65,6 +82,8 @@ export interface PublishFunctionCommandOutput extends PublishFunctionResult, __M
65
82
  * @throws {@link UnsupportedOperation} (client fault)
66
83
  * <p>This operation is not supported in this region.</p>
67
84
  *
85
+ * @throws {@link CloudFrontServiceException}
86
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
68
87
  *
69
88
  */
70
89
  export declare class PublishFunctionCommand extends $Command<PublishFunctionCommandInput, PublishFunctionCommandOutput, CloudFrontClientResolvedConfig> {
@@ -39,6 +39,8 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
39
39
  * };
40
40
  * const command = new TagResourceCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // {};
43
+ *
42
44
  * ```
43
45
  *
44
46
  * @param TagResourceCommandInput - {@link TagResourceCommandInput}
@@ -59,6 +61,8 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
59
61
  * @throws {@link NoSuchResource} (client fault)
60
62
  * <p>A resource that was specified is not valid.</p>
61
63
  *
64
+ * @throws {@link CloudFrontServiceException}
65
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
62
66
  *
63
67
  */
64
68
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, CloudFrontClientResolvedConfig> {