@aws-sdk/client-cloudfront 3.288.0 → 3.290.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 +16 -0
- package/dist-types/commands/CopyDistributionCommand.d.ts +227 -0
- package/dist-types/commands/CreateCachePolicyCommand.d.ts +35 -0
- package/dist-types/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +23 -0
- package/dist-types/commands/CreateContinuousDeploymentPolicyCommand.d.ts +21 -0
- package/dist-types/commands/CreateDistributionCommand.d.ts +238 -0
- package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +231 -0
- package/dist-types/commands/CreateFieldLevelEncryptionConfigCommand.d.ts +29 -0
- package/dist-types/commands/CreateFieldLevelEncryptionProfileCommand.d.ts +28 -0
- package/dist-types/commands/CreateFunctionCommand.d.ts +21 -0
- package/dist-types/commands/CreateInvalidationCommand.d.ts +25 -0
- package/dist-types/commands/CreateKeyGroupCommand.d.ts +18 -0
- package/dist-types/commands/CreateMonitoringSubscriptionCommand.d.ts +13 -0
- package/dist-types/commands/CreateOriginAccessControlCommand.d.ts +13 -0
- package/dist-types/commands/CreateOriginRequestPolicyCommand.d.ts +36 -0
- package/dist-types/commands/CreatePublicKeyCommand.d.ts +11 -0
- package/dist-types/commands/CreateRealtimeLogConfigCommand.d.ts +17 -0
- package/dist-types/commands/CreateResponseHeadersPolicyCommand.d.ts +40 -0
- package/dist-types/commands/CreateStreamingDistributionCommand.d.ts +44 -0
- package/dist-types/commands/CreateStreamingDistributionWithTagsCommand.d.ts +47 -0
- package/dist-types/commands/DeleteCachePolicyCommand.d.ts +21 -0
- package/dist-types/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +17 -0
- package/dist-types/commands/DeleteContinuousDeploymentPolicyCommand.d.ts +21 -0
- package/dist-types/commands/DeleteDistributionCommand.d.ts +18 -0
- package/dist-types/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +17 -0
- package/dist-types/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +17 -0
- package/dist-types/commands/DeleteFunctionCommand.d.ts +18 -0
- package/dist-types/commands/DeleteKeyGroupCommand.d.ts +14 -0
- package/dist-types/commands/DeleteMonitoringSubscriptionCommand.d.ts +13 -0
- package/dist-types/commands/DeleteOriginAccessControlCommand.d.ts +18 -0
- package/dist-types/commands/DeleteOriginRequestPolicyCommand.d.ts +21 -0
- package/dist-types/commands/DeletePublicKeyCommand.d.ts +17 -0
- package/dist-types/commands/DeleteRealtimeLogConfigCommand.d.ts +14 -0
- package/dist-types/commands/DeleteResponseHeadersPolicyCommand.d.ts +21 -0
- package/dist-types/commands/DeleteStreamingDistributionCommand.d.ts +18 -0
- package/dist-types/commands/DescribeFunctionCommand.d.ts +7 -0
- package/dist-types/commands/GetCachePolicyCommand.d.ts +7 -0
- package/dist-types/commands/GetCachePolicyConfigCommand.d.ts +7 -0
- package/dist-types/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +7 -0
- package/dist-types/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +7 -0
- package/dist-types/commands/GetContinuousDeploymentPolicyCommand.d.ts +7 -0
- package/dist-types/commands/GetContinuousDeploymentPolicyConfigCommand.d.ts +7 -0
- package/dist-types/commands/GetDistributionCommand.d.ts +7 -0
- package/dist-types/commands/GetDistributionConfigCommand.d.ts +7 -0
- package/dist-types/commands/GetFieldLevelEncryptionCommand.d.ts +7 -0
- package/dist-types/commands/GetFieldLevelEncryptionConfigCommand.d.ts +7 -0
- package/dist-types/commands/GetFieldLevelEncryptionProfileCommand.d.ts +7 -0
- package/dist-types/commands/GetFieldLevelEncryptionProfileConfigCommand.d.ts +7 -0
- package/dist-types/commands/GetFunctionCommand.d.ts +7 -0
- package/dist-types/commands/GetInvalidationCommand.d.ts +10 -0
- package/dist-types/commands/GetKeyGroupCommand.d.ts +4 -0
- package/dist-types/commands/GetKeyGroupConfigCommand.d.ts +4 -0
- package/dist-types/commands/GetMonitoringSubscriptionCommand.d.ts +13 -0
- package/dist-types/commands/GetOriginAccessControlCommand.d.ts +7 -0
- package/dist-types/commands/GetOriginAccessControlConfigCommand.d.ts +7 -0
- package/dist-types/commands/GetOriginRequestPolicyCommand.d.ts +7 -0
- package/dist-types/commands/GetOriginRequestPolicyConfigCommand.d.ts +7 -0
- package/dist-types/commands/GetPublicKeyCommand.d.ts +7 -0
- package/dist-types/commands/GetPublicKeyConfigCommand.d.ts +7 -0
- package/dist-types/commands/GetRealtimeLogConfigCommand.d.ts +10 -0
- package/dist-types/commands/GetResponseHeadersPolicyCommand.d.ts +7 -0
- package/dist-types/commands/GetResponseHeadersPolicyConfigCommand.d.ts +7 -0
- package/dist-types/commands/GetStreamingDistributionCommand.d.ts +7 -0
- package/dist-types/commands/GetStreamingDistributionConfigCommand.d.ts +7 -0
- package/dist-types/commands/ListCachePoliciesCommand.d.ts +10 -0
- package/dist-types/commands/ListCloudFrontOriginAccessIdentitiesCommand.d.ts +4 -0
- package/dist-types/commands/ListConflictingAliasesCommand.d.ts +7 -0
- package/dist-types/commands/ListContinuousDeploymentPoliciesCommand.d.ts +10 -0
- package/dist-types/commands/ListDistributionsByCachePolicyIdCommand.d.ts +10 -0
- package/dist-types/commands/ListDistributionsByKeyGroupCommand.d.ts +7 -0
- package/dist-types/commands/ListDistributionsByOriginRequestPolicyIdCommand.d.ts +10 -0
- package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +4 -0
- package/dist-types/commands/ListDistributionsByResponseHeadersPolicyIdCommand.d.ts +10 -0
- package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +11 -0
- package/dist-types/commands/ListDistributionsCommand.d.ts +4 -0
- package/dist-types/commands/ListFieldLevelEncryptionConfigsCommand.d.ts +4 -0
- package/dist-types/commands/ListFieldLevelEncryptionProfilesCommand.d.ts +4 -0
- package/dist-types/commands/ListFunctionsCommand.d.ts +7 -0
- package/dist-types/commands/ListInvalidationsCommand.d.ts +10 -0
- package/dist-types/commands/ListKeyGroupsCommand.d.ts +4 -0
- package/dist-types/commands/ListOriginAccessControlsCommand.d.ts +4 -0
- package/dist-types/commands/ListOriginRequestPoliciesCommand.d.ts +10 -0
- package/dist-types/commands/ListPublicKeysCommand.d.ts +4 -0
- package/dist-types/commands/ListRealtimeLogConfigsCommand.d.ts +10 -0
- package/dist-types/commands/ListResponseHeadersPoliciesCommand.d.ts +10 -0
- package/dist-types/commands/ListStreamingDistributionsCommand.d.ts +4 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +13 -0
- package/dist-types/commands/PublishFunctionCommand.d.ts +17 -0
- package/dist-types/commands/TagResourceCommand.d.ts +13 -0
- package/dist-types/commands/TestFunctionCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +13 -0
- package/dist-types/commands/UpdateCachePolicyCommand.d.ts +43 -0
- package/dist-types/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +28 -0
- package/dist-types/commands/UpdateContinuousDeploymentPolicyCommand.d.ts +24 -0
- package/dist-types/commands/UpdateDistributionCommand.d.ts +233 -0
- package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +215 -0
- package/dist-types/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +38 -0
- package/dist-types/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +41 -0
- package/dist-types/commands/UpdateFunctionCommand.d.ts +21 -0
- package/dist-types/commands/UpdateKeyGroupCommand.d.ts +23 -0
- package/dist-types/commands/UpdateOriginAccessControlCommand.d.ts +23 -0
- package/dist-types/commands/UpdateOriginRequestPolicyCommand.d.ts +44 -0
- package/dist-types/commands/UpdatePublicKeyCommand.d.ts +23 -0
- package/dist-types/commands/UpdateRealtimeLogConfigCommand.d.ts +10 -0
- package/dist-types/commands/UpdateResponseHeadersPolicyCommand.d.ts +47 -0
- package/dist-types/commands/UpdateStreamingDistributionCommand.d.ts +46 -0
- package/package.json +30 -30
|
@@ -29,6 +29,44 @@ export interface UpdateFieldLevelEncryptionConfigCommandOutput extends UpdateFie
|
|
|
29
29
|
* @see {@link UpdateFieldLevelEncryptionConfigCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link AccessDenied} (client fault)
|
|
33
|
+
* <p>Access denied.</p>
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link IllegalUpdate} (client fault)
|
|
36
|
+
* <p>The update contains modifications that are not allowed.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link InconsistentQuantities} (client fault)
|
|
39
|
+
* <p>The value of <code>Quantity</code> and the size of <code>Items</code> don't
|
|
40
|
+
* match.</p>
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link InvalidArgument} (client fault)
|
|
43
|
+
* <p>An argument is invalid.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link InvalidIfMatchVersion} (client fault)
|
|
46
|
+
* <p>The <code>If-Match</code> version is missing or not valid.</p>
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link NoSuchFieldLevelEncryptionConfig} (client fault)
|
|
49
|
+
* <p>The specified configuration for field-level encryption doesn't exist.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link NoSuchFieldLevelEncryptionProfile} (client fault)
|
|
52
|
+
* <p>The specified profile for field-level encryption doesn't exist.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link PreconditionFailed} (client fault)
|
|
55
|
+
* <p>The precondition in one or more of the request fields evaluated to
|
|
56
|
+
* <code>false</code>.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link QueryArgProfileEmpty} (client fault)
|
|
59
|
+
* <p>No profile specified for the field-level encryption query argument.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link TooManyFieldLevelEncryptionContentTypeProfiles} (client fault)
|
|
62
|
+
* <p>The maximum number of content type profiles for field-level encryption have been
|
|
63
|
+
* created.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link TooManyFieldLevelEncryptionQueryArgProfiles} (client fault)
|
|
66
|
+
* <p>The maximum number of query arg profiles for field-level encryption have been
|
|
67
|
+
* created.</p>
|
|
68
|
+
*
|
|
69
|
+
*
|
|
32
70
|
*/
|
|
33
71
|
export declare class UpdateFieldLevelEncryptionConfigCommand extends $Command<UpdateFieldLevelEncryptionConfigCommandInput, UpdateFieldLevelEncryptionConfigCommandOutput, CloudFrontClientResolvedConfig> {
|
|
34
72
|
readonly input: UpdateFieldLevelEncryptionConfigCommandInput;
|
|
@@ -29,6 +29,47 @@ export interface UpdateFieldLevelEncryptionProfileCommandOutput extends UpdateFi
|
|
|
29
29
|
* @see {@link UpdateFieldLevelEncryptionProfileCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link AccessDenied} (client fault)
|
|
33
|
+
* <p>Access denied.</p>
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link FieldLevelEncryptionProfileAlreadyExists} (client fault)
|
|
36
|
+
* <p>The specified profile for field-level encryption already exists.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link FieldLevelEncryptionProfileSizeExceeded} (client fault)
|
|
39
|
+
* <p>The maximum size of a profile for field-level encryption was exceeded.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link IllegalUpdate} (client fault)
|
|
42
|
+
* <p>The update contains modifications that are not allowed.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link InconsistentQuantities} (client fault)
|
|
45
|
+
* <p>The value of <code>Quantity</code> and the size of <code>Items</code> don't
|
|
46
|
+
* match.</p>
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link InvalidArgument} (client fault)
|
|
49
|
+
* <p>An argument is invalid.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link InvalidIfMatchVersion} (client fault)
|
|
52
|
+
* <p>The <code>If-Match</code> version is missing or not valid.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link NoSuchFieldLevelEncryptionProfile} (client fault)
|
|
55
|
+
* <p>The specified profile for field-level encryption doesn't exist.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link NoSuchPublicKey} (client fault)
|
|
58
|
+
* <p>The specified public key doesn't exist.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link PreconditionFailed} (client fault)
|
|
61
|
+
* <p>The precondition in one or more of the request fields evaluated to
|
|
62
|
+
* <code>false</code>.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link TooManyFieldLevelEncryptionEncryptionEntities} (client fault)
|
|
65
|
+
* <p>The maximum number of encryption entities for field-level encryption have been
|
|
66
|
+
* created.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link TooManyFieldLevelEncryptionFieldPatterns} (client fault)
|
|
69
|
+
* <p>The maximum number of field patterns for field-level encryption have been
|
|
70
|
+
* created.</p>
|
|
71
|
+
*
|
|
72
|
+
*
|
|
32
73
|
*/
|
|
33
74
|
export declare class UpdateFieldLevelEncryptionProfileCommand extends $Command<UpdateFieldLevelEncryptionProfileCommandInput, UpdateFieldLevelEncryptionProfileCommandOutput, CloudFrontClientResolvedConfig> {
|
|
34
75
|
readonly input: UpdateFieldLevelEncryptionProfileCommandInput;
|
|
@@ -34,6 +34,27 @@ export interface UpdateFunctionCommandOutput extends UpdateFunctionResult, __Met
|
|
|
34
34
|
* @see {@link UpdateFunctionCommandOutput} for command's `response` shape.
|
|
35
35
|
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
36
36
|
*
|
|
37
|
+
* @throws {@link FunctionSizeLimitExceeded} (client fault)
|
|
38
|
+
* <p>The function is too large. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
|
|
39
|
+
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link InvalidArgument} (client fault)
|
|
42
|
+
* <p>An argument is invalid.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link InvalidIfMatchVersion} (client fault)
|
|
45
|
+
* <p>The <code>If-Match</code> version is missing or not valid.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link NoSuchFunctionExists} (client fault)
|
|
48
|
+
* <p>The function does not exist.</p>
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link PreconditionFailed} (client fault)
|
|
51
|
+
* <p>The precondition in one or more of the request fields evaluated to
|
|
52
|
+
* <code>false</code>.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link UnsupportedOperation} (client fault)
|
|
55
|
+
* <p>This operation is not supported in this region.</p>
|
|
56
|
+
*
|
|
57
|
+
*
|
|
37
58
|
*/
|
|
38
59
|
export declare class UpdateFunctionCommand extends $Command<UpdateFunctionCommandInput, UpdateFunctionCommandOutput, CloudFrontClientResolvedConfig> {
|
|
39
60
|
readonly input: UpdateFunctionCommandInput;
|
|
@@ -46,6 +46,29 @@ export interface UpdateKeyGroupCommandOutput extends UpdateKeyGroupResult, __Met
|
|
|
46
46
|
* @see {@link UpdateKeyGroupCommandOutput} for command's `response` shape.
|
|
47
47
|
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
48
48
|
*
|
|
49
|
+
* @throws {@link InvalidArgument} (client fault)
|
|
50
|
+
* <p>An argument is invalid.</p>
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link InvalidIfMatchVersion} (client fault)
|
|
53
|
+
* <p>The <code>If-Match</code> version is missing or not valid.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link KeyGroupAlreadyExists} (client fault)
|
|
56
|
+
* <p>A key group with this name already exists. You must provide a unique name. To modify
|
|
57
|
+
* an existing key group, use <code>UpdateKeyGroup</code>.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link NoSuchResource} (client fault)
|
|
60
|
+
* <p>A resource that was specified is not valid.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link PreconditionFailed} (client fault)
|
|
63
|
+
* <p>The precondition in one or more of the request fields evaluated to
|
|
64
|
+
* <code>false</code>.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link TooManyPublicKeysInKeyGroup} (client fault)
|
|
67
|
+
* <p>The number of public keys in this key group is more than the maximum allowed. For more
|
|
68
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
|
|
69
|
+
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
70
|
+
*
|
|
71
|
+
*
|
|
49
72
|
*/
|
|
50
73
|
export declare class UpdateKeyGroupCommand extends $Command<UpdateKeyGroupCommandInput, UpdateKeyGroupCommandOutput, CloudFrontClientResolvedConfig> {
|
|
51
74
|
readonly input: UpdateKeyGroupCommandInput;
|
|
@@ -29,6 +29,29 @@ export interface UpdateOriginAccessControlCommandOutput extends UpdateOriginAcce
|
|
|
29
29
|
* @see {@link UpdateOriginAccessControlCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link AccessDenied} (client fault)
|
|
33
|
+
* <p>Access denied.</p>
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link IllegalUpdate} (client fault)
|
|
36
|
+
* <p>The update contains modifications that are not allowed.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link InvalidArgument} (client fault)
|
|
39
|
+
* <p>An argument is invalid.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link InvalidIfMatchVersion} (client fault)
|
|
42
|
+
* <p>The <code>If-Match</code> version is missing or not valid.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link NoSuchOriginAccessControl} (client fault)
|
|
45
|
+
* <p>The origin access control does not exist.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link OriginAccessControlAlreadyExists} (client fault)
|
|
48
|
+
* <p>An origin access control with the specified parameters already exists.</p>
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link PreconditionFailed} (client fault)
|
|
51
|
+
* <p>The precondition in one or more of the request fields evaluated to
|
|
52
|
+
* <code>false</code>.</p>
|
|
53
|
+
*
|
|
54
|
+
*
|
|
32
55
|
*/
|
|
33
56
|
export declare class UpdateOriginAccessControlCommand extends $Command<UpdateOriginAccessControlCommandInput, UpdateOriginAccessControlCommandOutput, CloudFrontClientResolvedConfig> {
|
|
34
57
|
readonly input: UpdateOriginAccessControlCommandInput;
|
|
@@ -47,6 +47,50 @@ export interface UpdateOriginRequestPolicyCommandOutput extends UpdateOriginRequ
|
|
|
47
47
|
* @see {@link UpdateOriginRequestPolicyCommandOutput} for command's `response` shape.
|
|
48
48
|
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
49
49
|
*
|
|
50
|
+
* @throws {@link AccessDenied} (client fault)
|
|
51
|
+
* <p>Access denied.</p>
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link IllegalUpdate} (client fault)
|
|
54
|
+
* <p>The update contains modifications that are not allowed.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link InconsistentQuantities} (client fault)
|
|
57
|
+
* <p>The value of <code>Quantity</code> and the size of <code>Items</code> don't
|
|
58
|
+
* match.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InvalidArgument} (client fault)
|
|
61
|
+
* <p>An argument is invalid.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InvalidIfMatchVersion} (client fault)
|
|
64
|
+
* <p>The <code>If-Match</code> version is missing or not valid.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link NoSuchOriginRequestPolicy} (client fault)
|
|
67
|
+
* <p>The origin request policy does not exist.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link OriginRequestPolicyAlreadyExists} (client fault)
|
|
70
|
+
* <p>An origin request policy with this name already exists. You must provide a unique
|
|
71
|
+
* name. To modify an existing origin request policy, use
|
|
72
|
+
* <code>UpdateOriginRequestPolicy</code>.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link PreconditionFailed} (client fault)
|
|
75
|
+
* <p>The precondition in one or more of the request fields evaluated to
|
|
76
|
+
* <code>false</code>.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link TooManyCookiesInOriginRequestPolicy} (client fault)
|
|
79
|
+
* <p>The number of cookies in the origin request policy exceeds the maximum. For more
|
|
80
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
|
|
81
|
+
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link TooManyHeadersInOriginRequestPolicy} (client fault)
|
|
84
|
+
* <p>The number of headers in the origin request policy exceeds the maximum. For more
|
|
85
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
|
|
86
|
+
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link TooManyQueryStringsInOriginRequestPolicy} (client fault)
|
|
89
|
+
* <p>The number of query strings in the origin request policy exceeds the maximum. For more
|
|
90
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
|
|
91
|
+
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
92
|
+
*
|
|
93
|
+
*
|
|
50
94
|
*/
|
|
51
95
|
export declare class UpdateOriginRequestPolicyCommand extends $Command<UpdateOriginRequestPolicyCommandInput, UpdateOriginRequestPolicyCommandOutput, CloudFrontClientResolvedConfig> {
|
|
52
96
|
readonly input: UpdateOriginRequestPolicyCommandInput;
|
|
@@ -30,6 +30,29 @@ export interface UpdatePublicKeyCommandOutput extends UpdatePublicKeyResult, __M
|
|
|
30
30
|
* @see {@link UpdatePublicKeyCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link AccessDenied} (client fault)
|
|
34
|
+
* <p>Access denied.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link CannotChangeImmutablePublicKeyFields} (client fault)
|
|
37
|
+
* <p>You can't change the value of a public key.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link IllegalUpdate} (client fault)
|
|
40
|
+
* <p>The update contains modifications that are not allowed.</p>
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link InvalidArgument} (client fault)
|
|
43
|
+
* <p>An argument is invalid.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link InvalidIfMatchVersion} (client fault)
|
|
46
|
+
* <p>The <code>If-Match</code> version is missing or not valid.</p>
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link NoSuchPublicKey} (client fault)
|
|
49
|
+
* <p>The specified public key doesn't exist.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link PreconditionFailed} (client fault)
|
|
52
|
+
* <p>The precondition in one or more of the request fields evaluated to
|
|
53
|
+
* <code>false</code>.</p>
|
|
54
|
+
*
|
|
55
|
+
*
|
|
33
56
|
*/
|
|
34
57
|
export declare class UpdatePublicKeyCommand extends $Command<UpdatePublicKeyCommandInput, UpdatePublicKeyCommandOutput, CloudFrontClientResolvedConfig> {
|
|
35
58
|
readonly input: UpdatePublicKeyCommandInput;
|
|
@@ -49,6 +49,16 @@ export interface UpdateRealtimeLogConfigCommandOutput extends UpdateRealtimeLogC
|
|
|
49
49
|
* @see {@link UpdateRealtimeLogConfigCommandOutput} for command's `response` shape.
|
|
50
50
|
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
51
51
|
*
|
|
52
|
+
* @throws {@link AccessDenied} (client fault)
|
|
53
|
+
* <p>Access denied.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link InvalidArgument} (client fault)
|
|
56
|
+
* <p>An argument is invalid.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link NoSuchRealtimeLogConfig} (client fault)
|
|
59
|
+
* <p>The real-time log configuration does not exist.</p>
|
|
60
|
+
*
|
|
61
|
+
*
|
|
52
62
|
*/
|
|
53
63
|
export declare class UpdateRealtimeLogConfigCommand extends $Command<UpdateRealtimeLogConfigCommandInput, UpdateRealtimeLogConfigCommandOutput, CloudFrontClientResolvedConfig> {
|
|
54
64
|
readonly input: UpdateRealtimeLogConfigCommandInput;
|
|
@@ -47,6 +47,53 @@ export interface UpdateResponseHeadersPolicyCommandOutput extends UpdateResponse
|
|
|
47
47
|
* @see {@link UpdateResponseHeadersPolicyCommandOutput} for command's `response` shape.
|
|
48
48
|
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
49
49
|
*
|
|
50
|
+
* @throws {@link AccessDenied} (client fault)
|
|
51
|
+
* <p>Access denied.</p>
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link IllegalUpdate} (client fault)
|
|
54
|
+
* <p>The update contains modifications that are not allowed.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link InconsistentQuantities} (client fault)
|
|
57
|
+
* <p>The value of <code>Quantity</code> and the size of <code>Items</code> don't
|
|
58
|
+
* match.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InvalidArgument} (client fault)
|
|
61
|
+
* <p>An argument is invalid.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InvalidIfMatchVersion} (client fault)
|
|
64
|
+
* <p>The <code>If-Match</code> version is missing or not valid.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link NoSuchResponseHeadersPolicy} (client fault)
|
|
67
|
+
* <p>The response headers policy does not exist.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link PreconditionFailed} (client fault)
|
|
70
|
+
* <p>The precondition in one or more of the request fields evaluated to
|
|
71
|
+
* <code>false</code>.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ResponseHeadersPolicyAlreadyExists} (client fault)
|
|
74
|
+
* <p>A response headers policy with this name already exists. You must provide a unique
|
|
75
|
+
* name. To modify an existing response headers policy, use
|
|
76
|
+
* <code>UpdateResponseHeadersPolicy</code>.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link TooLongCSPInResponseHeadersPolicy} (client fault)
|
|
79
|
+
* <p>The length of the <code>Content-Security-Policy</code> header value in the response
|
|
80
|
+
* headers policy exceeds the maximum.</p>
|
|
81
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
|
|
82
|
+
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link TooManyCustomHeadersInResponseHeadersPolicy} (client fault)
|
|
85
|
+
* <p>The number of custom headers in the response headers policy exceeds the
|
|
86
|
+
* maximum.</p>
|
|
87
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
|
|
88
|
+
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link TooManyRemoveHeadersInResponseHeadersPolicy} (client fault)
|
|
91
|
+
* <p>The number of headers in <code>RemoveHeadersConfig</code> in the response headers
|
|
92
|
+
* policy exceeds the maximum.</p>
|
|
93
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
|
|
94
|
+
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
95
|
+
*
|
|
96
|
+
*
|
|
50
97
|
*/
|
|
51
98
|
export declare class UpdateResponseHeadersPolicyCommand extends $Command<UpdateResponseHeadersPolicyCommandInput, UpdateResponseHeadersPolicyCommandOutput, CloudFrontClientResolvedConfig> {
|
|
52
99
|
readonly input: UpdateResponseHeadersPolicyCommandInput;
|
|
@@ -29,6 +29,52 @@ export interface UpdateStreamingDistributionCommandOutput extends UpdateStreamin
|
|
|
29
29
|
* @see {@link UpdateStreamingDistributionCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link AccessDenied} (client fault)
|
|
33
|
+
* <p>Access denied.</p>
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link CNAMEAlreadyExists} (client fault)
|
|
36
|
+
* <p>The CNAME specified is already defined for CloudFront.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link IllegalUpdate} (client fault)
|
|
39
|
+
* <p>The update contains modifications that are not allowed.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link InconsistentQuantities} (client fault)
|
|
42
|
+
* <p>The value of <code>Quantity</code> and the size of <code>Items</code> don't
|
|
43
|
+
* match.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link InvalidArgument} (client fault)
|
|
46
|
+
* <p>An argument is invalid.</p>
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link InvalidIfMatchVersion} (client fault)
|
|
49
|
+
* <p>The <code>If-Match</code> version is missing or not valid.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link InvalidOriginAccessControl} (client fault)
|
|
52
|
+
* <p>The origin access control is not valid.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link InvalidOriginAccessIdentity} (client fault)
|
|
55
|
+
* <p>The origin access identity is not valid or doesn't exist.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link MissingBody} (client fault)
|
|
58
|
+
* <p>This operation requires a body. Ensure that the body is present and the
|
|
59
|
+
* <code>Content-Type</code> header is set.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link NoSuchStreamingDistribution} (client fault)
|
|
62
|
+
* <p>The specified streaming distribution does not exist.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link PreconditionFailed} (client fault)
|
|
65
|
+
* <p>The precondition in one or more of the request fields evaluated to
|
|
66
|
+
* <code>false</code>.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link TooManyStreamingDistributionCNAMEs} (client fault)
|
|
69
|
+
* <p>Your request contains more CNAMEs than are allowed per distribution.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link TooManyTrustedSigners} (client fault)
|
|
72
|
+
* <p>Your request contains more trusted signers than are allowed per distribution.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link TrustedSignerDoesNotExist} (client fault)
|
|
75
|
+
* <p>One or more of your trusted signers don't exist.</p>
|
|
76
|
+
*
|
|
77
|
+
*
|
|
32
78
|
*/
|
|
33
79
|
export declare class UpdateStreamingDistributionCommand extends $Command<UpdateStreamingDistributionCommandInput, UpdateStreamingDistributionCommandOutput, CloudFrontClientResolvedConfig> {
|
|
34
80
|
readonly input: UpdateStreamingDistributionCommandInput;
|
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.290.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",
|
|
@@ -20,39 +20,39 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.290.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.290.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.290.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.290.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.290.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.290.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.290.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.290.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.290.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.290.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.290.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.290.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.290.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.290.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.290.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.290.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.290.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.290.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.290.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.290.0",
|
|
43
|
+
"@aws-sdk/types": "3.290.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.290.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.208.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.290.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.290.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.290.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.290.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.290.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.290.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.254.0",
|
|
55
|
-
"@aws-sdk/util-waiter": "3.
|
|
55
|
+
"@aws-sdk/util-waiter": "3.290.0",
|
|
56
56
|
"@aws-sdk/xml-builder": "3.201.0",
|
|
57
57
|
"fast-xml-parser": "4.1.2",
|
|
58
58
|
"tslib": "^2.3.1"
|