@aws-sdk/client-cloudfront 3.224.0 → 3.226.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/README.md +4 -3
- package/dist-cjs/CloudFront.js +15 -0
- package/dist-cjs/commands/UpdateDistributionWithStagingConfigCommand.js +46 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/endpoint/ruleset.js +0 -9
- package/dist-cjs/models/models_0.js +61 -51
- package/dist-cjs/models/models_1.js +60 -5
- package/dist-cjs/protocols/Aws_restXml.js +351 -7
- package/dist-es/CloudFront.js +15 -0
- package/dist-es/commands/UpdateDistributionWithStagingConfigCommand.js +42 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoint/ruleset.js +0 -9
- package/dist-es/models/models_0.js +52 -42
- package/dist-es/models/models_1.js +49 -0
- package/dist-es/protocols/Aws_restXml.js +344 -2
- package/dist-types/CloudFront.d.ts +252 -216
- package/dist-types/CloudFrontClient.d.ts +7 -5
- package/dist-types/commands/AssociateAliasCommand.d.ts +2 -2
- package/dist-types/commands/CopyDistributionCommand.d.ts +5 -5
- package/dist-types/commands/CreateCachePolicyCommand.d.ts +15 -13
- package/dist-types/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +4 -3
- package/dist-types/commands/CreateContinuousDeploymentPolicyCommand.d.ts +9 -10
- package/dist-types/commands/CreateFunctionCommand.d.ts +4 -4
- package/dist-types/commands/CreateKeyGroupCommand.d.ts +8 -7
- package/dist-types/commands/CreateMonitoringSubscriptionCommand.d.ts +2 -2
- package/dist-types/commands/CreateOriginAccessControlCommand.d.ts +4 -4
- package/dist-types/commands/CreateOriginRequestPolicyCommand.d.ts +12 -10
- package/dist-types/commands/CreateRealtimeLogConfigCommand.d.ts +2 -1
- package/dist-types/commands/CreateResponseHeadersPolicyCommand.d.ts +4 -4
- package/dist-types/commands/CreateStreamingDistributionCommand.d.ts +3 -3
- package/dist-types/commands/CreateStreamingDistributionWithTagsCommand.d.ts +3 -3
- package/dist-types/commands/DeleteCachePolicyCommand.d.ts +5 -5
- package/dist-types/commands/DeleteFunctionCommand.d.ts +5 -5
- package/dist-types/commands/DeleteKeyGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMonitoringSubscriptionCommand.d.ts +2 -1
- package/dist-types/commands/DeleteOriginAccessControlCommand.d.ts +3 -3
- package/dist-types/commands/DeleteOriginRequestPolicyCommand.d.ts +6 -6
- package/dist-types/commands/DeleteRealtimeLogConfigCommand.d.ts +2 -2
- package/dist-types/commands/DeleteStreamingDistributionCommand.d.ts +22 -20
- package/dist-types/commands/DescribeFunctionCommand.d.ts +2 -2
- package/dist-types/commands/GetCachePolicyCommand.d.ts +5 -5
- package/dist-types/commands/GetCachePolicyConfigCommand.d.ts +3 -3
- package/dist-types/commands/GetKeyGroupCommand.d.ts +3 -2
- package/dist-types/commands/GetKeyGroupConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetMonitoringSubscriptionCommand.d.ts +2 -2
- package/dist-types/commands/GetOriginRequestPolicyCommand.d.ts +6 -5
- package/dist-types/commands/GetOriginRequestPolicyConfigCommand.d.ts +5 -5
- package/dist-types/commands/GetRealtimeLogConfigCommand.d.ts +3 -3
- package/dist-types/commands/GetResponseHeadersPolicyCommand.d.ts +2 -2
- package/dist-types/commands/GetResponseHeadersPolicyConfigCommand.d.ts +2 -2
- package/dist-types/commands/GetStreamingDistributionCommand.d.ts +2 -1
- package/dist-types/commands/ListCachePoliciesCommand.d.ts +2 -2
- package/dist-types/commands/ListConflictingAliasesCommand.d.ts +8 -8
- package/dist-types/commands/ListDistributionsByKeyGroupCommand.d.ts +2 -2
- package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +4 -4
- package/dist-types/commands/ListFieldLevelEncryptionConfigsCommand.d.ts +2 -1
- package/dist-types/commands/ListFieldLevelEncryptionProfilesCommand.d.ts +2 -1
- package/dist-types/commands/ListOriginAccessControlsCommand.d.ts +5 -5
- package/dist-types/commands/ListOriginRequestPoliciesCommand.d.ts +2 -2
- package/dist-types/commands/PublishFunctionCommand.d.ts +10 -9
- package/dist-types/commands/TestFunctionCommand.d.ts +9 -9
- package/dist-types/commands/UpdateContinuousDeploymentPolicyCommand.d.ts +4 -3
- package/dist-types/commands/UpdateDistributionCommand.d.ts +14 -13
- package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +46 -0
- package/dist-types/commands/UpdateFunctionCommand.d.ts +3 -3
- package/dist-types/commands/UpdateKeyGroupCommand.d.ts +1 -1
- package/dist-types/commands/UpdateOriginRequestPolicyCommand.d.ts +2 -1
- package/dist-types/commands/UpdatePublicKeyCommand.d.ts +2 -1
- package/dist-types/commands/UpdateRealtimeLogConfigCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1291 -1191
- package/dist-types/models/models_1.d.ts +488 -325
- package/dist-types/protocols/Aws_restXml.d.ts +3 -0
- package/dist-types/ts3.4/CloudFront.d.ts +23 -0
- package/dist-types/ts3.4/CloudFrontClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/UpdateDistributionWithStagingConfigCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +46 -38
- package/dist-types/ts3.4/models/models_1.d.ts +54 -1
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +12 -0
- package/package.json +29 -29
|
@@ -102,6 +102,7 @@ import { UpdateCachePolicyCommandInput, UpdateCachePolicyCommandOutput } from ".
|
|
|
102
102
|
import { UpdateCloudFrontOriginAccessIdentityCommandInput, UpdateCloudFrontOriginAccessIdentityCommandOutput } from "./commands/UpdateCloudFrontOriginAccessIdentityCommand";
|
|
103
103
|
import { UpdateContinuousDeploymentPolicyCommandInput, UpdateContinuousDeploymentPolicyCommandOutput } from "./commands/UpdateContinuousDeploymentPolicyCommand";
|
|
104
104
|
import { UpdateDistributionCommandInput, UpdateDistributionCommandOutput } from "./commands/UpdateDistributionCommand";
|
|
105
|
+
import { UpdateDistributionWithStagingConfigCommandInput, UpdateDistributionWithStagingConfigCommandOutput } from "./commands/UpdateDistributionWithStagingConfigCommand";
|
|
105
106
|
import { UpdateFieldLevelEncryptionConfigCommandInput, UpdateFieldLevelEncryptionConfigCommandOutput } from "./commands/UpdateFieldLevelEncryptionConfigCommand";
|
|
106
107
|
import { UpdateFieldLevelEncryptionProfileCommandInput, UpdateFieldLevelEncryptionProfileCommandOutput } from "./commands/UpdateFieldLevelEncryptionProfileCommand";
|
|
107
108
|
import { UpdateFunctionCommandInput, UpdateFunctionCommandOutput } from "./commands/UpdateFunctionCommand";
|
|
@@ -113,8 +114,8 @@ import { UpdateRealtimeLogConfigCommandInput, UpdateRealtimeLogConfigCommandOutp
|
|
|
113
114
|
import { UpdateResponseHeadersPolicyCommandInput, UpdateResponseHeadersPolicyCommandOutput } from "./commands/UpdateResponseHeadersPolicyCommand";
|
|
114
115
|
import { UpdateStreamingDistributionCommandInput, UpdateStreamingDistributionCommandOutput } from "./commands/UpdateStreamingDistributionCommand";
|
|
115
116
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
116
|
-
export declare type ServiceInputTypes = AssociateAliasCommandInput | CopyDistributionCommandInput | CreateCachePolicyCommandInput | CreateCloudFrontOriginAccessIdentityCommandInput | CreateContinuousDeploymentPolicyCommandInput | CreateDistributionCommandInput | CreateDistributionWithTagsCommandInput | CreateFieldLevelEncryptionConfigCommandInput | CreateFieldLevelEncryptionProfileCommandInput | CreateFunctionCommandInput | CreateInvalidationCommandInput | CreateKeyGroupCommandInput | CreateMonitoringSubscriptionCommandInput | CreateOriginAccessControlCommandInput | CreateOriginRequestPolicyCommandInput | CreatePublicKeyCommandInput | CreateRealtimeLogConfigCommandInput | CreateResponseHeadersPolicyCommandInput | CreateStreamingDistributionCommandInput | CreateStreamingDistributionWithTagsCommandInput | DeleteCachePolicyCommandInput | DeleteCloudFrontOriginAccessIdentityCommandInput | DeleteContinuousDeploymentPolicyCommandInput | DeleteDistributionCommandInput | DeleteFieldLevelEncryptionConfigCommandInput | DeleteFieldLevelEncryptionProfileCommandInput | DeleteFunctionCommandInput | DeleteKeyGroupCommandInput | DeleteMonitoringSubscriptionCommandInput | DeleteOriginAccessControlCommandInput | DeleteOriginRequestPolicyCommandInput | DeletePublicKeyCommandInput | DeleteRealtimeLogConfigCommandInput | DeleteResponseHeadersPolicyCommandInput | DeleteStreamingDistributionCommandInput | DescribeFunctionCommandInput | GetCachePolicyCommandInput | GetCachePolicyConfigCommandInput | GetCloudFrontOriginAccessIdentityCommandInput | GetCloudFrontOriginAccessIdentityConfigCommandInput | GetContinuousDeploymentPolicyCommandInput | GetContinuousDeploymentPolicyConfigCommandInput | GetDistributionCommandInput | GetDistributionConfigCommandInput | GetFieldLevelEncryptionCommandInput | GetFieldLevelEncryptionConfigCommandInput | GetFieldLevelEncryptionProfileCommandInput | GetFieldLevelEncryptionProfileConfigCommandInput | GetFunctionCommandInput | GetInvalidationCommandInput | GetKeyGroupCommandInput | GetKeyGroupConfigCommandInput | GetMonitoringSubscriptionCommandInput | GetOriginAccessControlCommandInput | GetOriginAccessControlConfigCommandInput | GetOriginRequestPolicyCommandInput | GetOriginRequestPolicyConfigCommandInput | GetPublicKeyCommandInput | GetPublicKeyConfigCommandInput | GetRealtimeLogConfigCommandInput | GetResponseHeadersPolicyCommandInput | GetResponseHeadersPolicyConfigCommandInput | GetStreamingDistributionCommandInput | GetStreamingDistributionConfigCommandInput | ListCachePoliciesCommandInput | ListCloudFrontOriginAccessIdentitiesCommandInput | ListConflictingAliasesCommandInput | ListContinuousDeploymentPoliciesCommandInput | ListDistributionsByCachePolicyIdCommandInput | ListDistributionsByKeyGroupCommandInput | ListDistributionsByOriginRequestPolicyIdCommandInput | ListDistributionsByRealtimeLogConfigCommandInput | ListDistributionsByResponseHeadersPolicyIdCommandInput | ListDistributionsByWebACLIdCommandInput | ListDistributionsCommandInput | ListFieldLevelEncryptionConfigsCommandInput | ListFieldLevelEncryptionProfilesCommandInput | ListFunctionsCommandInput | ListInvalidationsCommandInput | ListKeyGroupsCommandInput | ListOriginAccessControlsCommandInput | ListOriginRequestPoliciesCommandInput | ListPublicKeysCommandInput | ListRealtimeLogConfigsCommandInput | ListResponseHeadersPoliciesCommandInput | ListStreamingDistributionsCommandInput | ListTagsForResourceCommandInput | PublishFunctionCommandInput | TagResourceCommandInput | TestFunctionCommandInput | UntagResourceCommandInput | UpdateCachePolicyCommandInput | UpdateCloudFrontOriginAccessIdentityCommandInput | UpdateContinuousDeploymentPolicyCommandInput | UpdateDistributionCommandInput | UpdateFieldLevelEncryptionConfigCommandInput | UpdateFieldLevelEncryptionProfileCommandInput | UpdateFunctionCommandInput | UpdateKeyGroupCommandInput | UpdateOriginAccessControlCommandInput | UpdateOriginRequestPolicyCommandInput | UpdatePublicKeyCommandInput | UpdateRealtimeLogConfigCommandInput | UpdateResponseHeadersPolicyCommandInput | UpdateStreamingDistributionCommandInput;
|
|
117
|
-
export declare type ServiceOutputTypes = AssociateAliasCommandOutput | CopyDistributionCommandOutput | CreateCachePolicyCommandOutput | CreateCloudFrontOriginAccessIdentityCommandOutput | CreateContinuousDeploymentPolicyCommandOutput | CreateDistributionCommandOutput | CreateDistributionWithTagsCommandOutput | CreateFieldLevelEncryptionConfigCommandOutput | CreateFieldLevelEncryptionProfileCommandOutput | CreateFunctionCommandOutput | CreateInvalidationCommandOutput | CreateKeyGroupCommandOutput | CreateMonitoringSubscriptionCommandOutput | CreateOriginAccessControlCommandOutput | CreateOriginRequestPolicyCommandOutput | CreatePublicKeyCommandOutput | CreateRealtimeLogConfigCommandOutput | CreateResponseHeadersPolicyCommandOutput | CreateStreamingDistributionCommandOutput | CreateStreamingDistributionWithTagsCommandOutput | DeleteCachePolicyCommandOutput | DeleteCloudFrontOriginAccessIdentityCommandOutput | DeleteContinuousDeploymentPolicyCommandOutput | DeleteDistributionCommandOutput | DeleteFieldLevelEncryptionConfigCommandOutput | DeleteFieldLevelEncryptionProfileCommandOutput | DeleteFunctionCommandOutput | DeleteKeyGroupCommandOutput | DeleteMonitoringSubscriptionCommandOutput | DeleteOriginAccessControlCommandOutput | DeleteOriginRequestPolicyCommandOutput | DeletePublicKeyCommandOutput | DeleteRealtimeLogConfigCommandOutput | DeleteResponseHeadersPolicyCommandOutput | DeleteStreamingDistributionCommandOutput | DescribeFunctionCommandOutput | GetCachePolicyCommandOutput | GetCachePolicyConfigCommandOutput | GetCloudFrontOriginAccessIdentityCommandOutput | GetCloudFrontOriginAccessIdentityConfigCommandOutput | GetContinuousDeploymentPolicyCommandOutput | GetContinuousDeploymentPolicyConfigCommandOutput | GetDistributionCommandOutput | GetDistributionConfigCommandOutput | GetFieldLevelEncryptionCommandOutput | GetFieldLevelEncryptionConfigCommandOutput | GetFieldLevelEncryptionProfileCommandOutput | GetFieldLevelEncryptionProfileConfigCommandOutput | GetFunctionCommandOutput | GetInvalidationCommandOutput | GetKeyGroupCommandOutput | GetKeyGroupConfigCommandOutput | GetMonitoringSubscriptionCommandOutput | GetOriginAccessControlCommandOutput | GetOriginAccessControlConfigCommandOutput | GetOriginRequestPolicyCommandOutput | GetOriginRequestPolicyConfigCommandOutput | GetPublicKeyCommandOutput | GetPublicKeyConfigCommandOutput | GetRealtimeLogConfigCommandOutput | GetResponseHeadersPolicyCommandOutput | GetResponseHeadersPolicyConfigCommandOutput | GetStreamingDistributionCommandOutput | GetStreamingDistributionConfigCommandOutput | ListCachePoliciesCommandOutput | ListCloudFrontOriginAccessIdentitiesCommandOutput | ListConflictingAliasesCommandOutput | ListContinuousDeploymentPoliciesCommandOutput | ListDistributionsByCachePolicyIdCommandOutput | ListDistributionsByKeyGroupCommandOutput | ListDistributionsByOriginRequestPolicyIdCommandOutput | ListDistributionsByRealtimeLogConfigCommandOutput | ListDistributionsByResponseHeadersPolicyIdCommandOutput | ListDistributionsByWebACLIdCommandOutput | ListDistributionsCommandOutput | ListFieldLevelEncryptionConfigsCommandOutput | ListFieldLevelEncryptionProfilesCommandOutput | ListFunctionsCommandOutput | ListInvalidationsCommandOutput | ListKeyGroupsCommandOutput | ListOriginAccessControlsCommandOutput | ListOriginRequestPoliciesCommandOutput | ListPublicKeysCommandOutput | ListRealtimeLogConfigsCommandOutput | ListResponseHeadersPoliciesCommandOutput | ListStreamingDistributionsCommandOutput | ListTagsForResourceCommandOutput | PublishFunctionCommandOutput | TagResourceCommandOutput | TestFunctionCommandOutput | UntagResourceCommandOutput | UpdateCachePolicyCommandOutput | UpdateCloudFrontOriginAccessIdentityCommandOutput | UpdateContinuousDeploymentPolicyCommandOutput | UpdateDistributionCommandOutput | UpdateFieldLevelEncryptionConfigCommandOutput | UpdateFieldLevelEncryptionProfileCommandOutput | UpdateFunctionCommandOutput | UpdateKeyGroupCommandOutput | UpdateOriginAccessControlCommandOutput | UpdateOriginRequestPolicyCommandOutput | UpdatePublicKeyCommandOutput | UpdateRealtimeLogConfigCommandOutput | UpdateResponseHeadersPolicyCommandOutput | UpdateStreamingDistributionCommandOutput;
|
|
117
|
+
export declare type ServiceInputTypes = AssociateAliasCommandInput | CopyDistributionCommandInput | CreateCachePolicyCommandInput | CreateCloudFrontOriginAccessIdentityCommandInput | CreateContinuousDeploymentPolicyCommandInput | CreateDistributionCommandInput | CreateDistributionWithTagsCommandInput | CreateFieldLevelEncryptionConfigCommandInput | CreateFieldLevelEncryptionProfileCommandInput | CreateFunctionCommandInput | CreateInvalidationCommandInput | CreateKeyGroupCommandInput | CreateMonitoringSubscriptionCommandInput | CreateOriginAccessControlCommandInput | CreateOriginRequestPolicyCommandInput | CreatePublicKeyCommandInput | CreateRealtimeLogConfigCommandInput | CreateResponseHeadersPolicyCommandInput | CreateStreamingDistributionCommandInput | CreateStreamingDistributionWithTagsCommandInput | DeleteCachePolicyCommandInput | DeleteCloudFrontOriginAccessIdentityCommandInput | DeleteContinuousDeploymentPolicyCommandInput | DeleteDistributionCommandInput | DeleteFieldLevelEncryptionConfigCommandInput | DeleteFieldLevelEncryptionProfileCommandInput | DeleteFunctionCommandInput | DeleteKeyGroupCommandInput | DeleteMonitoringSubscriptionCommandInput | DeleteOriginAccessControlCommandInput | DeleteOriginRequestPolicyCommandInput | DeletePublicKeyCommandInput | DeleteRealtimeLogConfigCommandInput | DeleteResponseHeadersPolicyCommandInput | DeleteStreamingDistributionCommandInput | DescribeFunctionCommandInput | GetCachePolicyCommandInput | GetCachePolicyConfigCommandInput | GetCloudFrontOriginAccessIdentityCommandInput | GetCloudFrontOriginAccessIdentityConfigCommandInput | GetContinuousDeploymentPolicyCommandInput | GetContinuousDeploymentPolicyConfigCommandInput | GetDistributionCommandInput | GetDistributionConfigCommandInput | GetFieldLevelEncryptionCommandInput | GetFieldLevelEncryptionConfigCommandInput | GetFieldLevelEncryptionProfileCommandInput | GetFieldLevelEncryptionProfileConfigCommandInput | GetFunctionCommandInput | GetInvalidationCommandInput | GetKeyGroupCommandInput | GetKeyGroupConfigCommandInput | GetMonitoringSubscriptionCommandInput | GetOriginAccessControlCommandInput | GetOriginAccessControlConfigCommandInput | GetOriginRequestPolicyCommandInput | GetOriginRequestPolicyConfigCommandInput | GetPublicKeyCommandInput | GetPublicKeyConfigCommandInput | GetRealtimeLogConfigCommandInput | GetResponseHeadersPolicyCommandInput | GetResponseHeadersPolicyConfigCommandInput | GetStreamingDistributionCommandInput | GetStreamingDistributionConfigCommandInput | ListCachePoliciesCommandInput | ListCloudFrontOriginAccessIdentitiesCommandInput | ListConflictingAliasesCommandInput | ListContinuousDeploymentPoliciesCommandInput | ListDistributionsByCachePolicyIdCommandInput | ListDistributionsByKeyGroupCommandInput | ListDistributionsByOriginRequestPolicyIdCommandInput | ListDistributionsByRealtimeLogConfigCommandInput | ListDistributionsByResponseHeadersPolicyIdCommandInput | ListDistributionsByWebACLIdCommandInput | ListDistributionsCommandInput | ListFieldLevelEncryptionConfigsCommandInput | ListFieldLevelEncryptionProfilesCommandInput | ListFunctionsCommandInput | ListInvalidationsCommandInput | ListKeyGroupsCommandInput | ListOriginAccessControlsCommandInput | ListOriginRequestPoliciesCommandInput | ListPublicKeysCommandInput | ListRealtimeLogConfigsCommandInput | ListResponseHeadersPoliciesCommandInput | ListStreamingDistributionsCommandInput | ListTagsForResourceCommandInput | PublishFunctionCommandInput | TagResourceCommandInput | TestFunctionCommandInput | UntagResourceCommandInput | UpdateCachePolicyCommandInput | UpdateCloudFrontOriginAccessIdentityCommandInput | UpdateContinuousDeploymentPolicyCommandInput | UpdateDistributionCommandInput | UpdateDistributionWithStagingConfigCommandInput | UpdateFieldLevelEncryptionConfigCommandInput | UpdateFieldLevelEncryptionProfileCommandInput | UpdateFunctionCommandInput | UpdateKeyGroupCommandInput | UpdateOriginAccessControlCommandInput | UpdateOriginRequestPolicyCommandInput | UpdatePublicKeyCommandInput | UpdateRealtimeLogConfigCommandInput | UpdateResponseHeadersPolicyCommandInput | UpdateStreamingDistributionCommandInput;
|
|
118
|
+
export declare type ServiceOutputTypes = AssociateAliasCommandOutput | CopyDistributionCommandOutput | CreateCachePolicyCommandOutput | CreateCloudFrontOriginAccessIdentityCommandOutput | CreateContinuousDeploymentPolicyCommandOutput | CreateDistributionCommandOutput | CreateDistributionWithTagsCommandOutput | CreateFieldLevelEncryptionConfigCommandOutput | CreateFieldLevelEncryptionProfileCommandOutput | CreateFunctionCommandOutput | CreateInvalidationCommandOutput | CreateKeyGroupCommandOutput | CreateMonitoringSubscriptionCommandOutput | CreateOriginAccessControlCommandOutput | CreateOriginRequestPolicyCommandOutput | CreatePublicKeyCommandOutput | CreateRealtimeLogConfigCommandOutput | CreateResponseHeadersPolicyCommandOutput | CreateStreamingDistributionCommandOutput | CreateStreamingDistributionWithTagsCommandOutput | DeleteCachePolicyCommandOutput | DeleteCloudFrontOriginAccessIdentityCommandOutput | DeleteContinuousDeploymentPolicyCommandOutput | DeleteDistributionCommandOutput | DeleteFieldLevelEncryptionConfigCommandOutput | DeleteFieldLevelEncryptionProfileCommandOutput | DeleteFunctionCommandOutput | DeleteKeyGroupCommandOutput | DeleteMonitoringSubscriptionCommandOutput | DeleteOriginAccessControlCommandOutput | DeleteOriginRequestPolicyCommandOutput | DeletePublicKeyCommandOutput | DeleteRealtimeLogConfigCommandOutput | DeleteResponseHeadersPolicyCommandOutput | DeleteStreamingDistributionCommandOutput | DescribeFunctionCommandOutput | GetCachePolicyCommandOutput | GetCachePolicyConfigCommandOutput | GetCloudFrontOriginAccessIdentityCommandOutput | GetCloudFrontOriginAccessIdentityConfigCommandOutput | GetContinuousDeploymentPolicyCommandOutput | GetContinuousDeploymentPolicyConfigCommandOutput | GetDistributionCommandOutput | GetDistributionConfigCommandOutput | GetFieldLevelEncryptionCommandOutput | GetFieldLevelEncryptionConfigCommandOutput | GetFieldLevelEncryptionProfileCommandOutput | GetFieldLevelEncryptionProfileConfigCommandOutput | GetFunctionCommandOutput | GetInvalidationCommandOutput | GetKeyGroupCommandOutput | GetKeyGroupConfigCommandOutput | GetMonitoringSubscriptionCommandOutput | GetOriginAccessControlCommandOutput | GetOriginAccessControlConfigCommandOutput | GetOriginRequestPolicyCommandOutput | GetOriginRequestPolicyConfigCommandOutput | GetPublicKeyCommandOutput | GetPublicKeyConfigCommandOutput | GetRealtimeLogConfigCommandOutput | GetResponseHeadersPolicyCommandOutput | GetResponseHeadersPolicyConfigCommandOutput | GetStreamingDistributionCommandOutput | GetStreamingDistributionConfigCommandOutput | ListCachePoliciesCommandOutput | ListCloudFrontOriginAccessIdentitiesCommandOutput | ListConflictingAliasesCommandOutput | ListContinuousDeploymentPoliciesCommandOutput | ListDistributionsByCachePolicyIdCommandOutput | ListDistributionsByKeyGroupCommandOutput | ListDistributionsByOriginRequestPolicyIdCommandOutput | ListDistributionsByRealtimeLogConfigCommandOutput | ListDistributionsByResponseHeadersPolicyIdCommandOutput | ListDistributionsByWebACLIdCommandOutput | ListDistributionsCommandOutput | ListFieldLevelEncryptionConfigsCommandOutput | ListFieldLevelEncryptionProfilesCommandOutput | ListFunctionsCommandOutput | ListInvalidationsCommandOutput | ListKeyGroupsCommandOutput | ListOriginAccessControlsCommandOutput | ListOriginRequestPoliciesCommandOutput | ListPublicKeysCommandOutput | ListRealtimeLogConfigsCommandOutput | ListResponseHeadersPoliciesCommandOutput | ListStreamingDistributionsCommandOutput | ListTagsForResourceCommandOutput | PublishFunctionCommandOutput | TagResourceCommandOutput | TestFunctionCommandOutput | UntagResourceCommandOutput | UpdateCachePolicyCommandOutput | UpdateCloudFrontOriginAccessIdentityCommandOutput | UpdateContinuousDeploymentPolicyCommandOutput | UpdateDistributionCommandOutput | UpdateDistributionWithStagingConfigCommandOutput | UpdateFieldLevelEncryptionConfigCommandOutput | UpdateFieldLevelEncryptionProfileCommandOutput | UpdateFunctionCommandOutput | UpdateKeyGroupCommandOutput | UpdateOriginAccessControlCommandOutput | UpdateOriginRequestPolicyCommandOutput | UpdatePublicKeyCommandOutput | UpdateRealtimeLogConfigCommandOutput | UpdateResponseHeadersPolicyCommandOutput | UpdateStreamingDistributionCommandOutput;
|
|
118
119
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
119
120
|
/**
|
|
120
121
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -229,9 +230,10 @@ export interface CloudFrontClientResolvedConfig extends CloudFrontClientResolved
|
|
|
229
230
|
}
|
|
230
231
|
/**
|
|
231
232
|
* <fullname>Amazon CloudFront</fullname>
|
|
232
|
-
* <p>This is the <i>Amazon CloudFront API Reference</i>. This guide
|
|
233
|
-
*
|
|
234
|
-
*
|
|
233
|
+
* <p>This is the <i>Amazon CloudFront API Reference</i>. This guide is for developers
|
|
234
|
+
* who need detailed information about CloudFront API actions, data types, and errors. For
|
|
235
|
+
* detailed information about CloudFront features, see the
|
|
236
|
+
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
235
237
|
*/
|
|
236
238
|
export declare class CloudFrontClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CloudFrontClientResolvedConfig> {
|
|
237
239
|
/**
|
|
@@ -17,8 +17,8 @@ export interface AssociateAliasCommandOutput extends __MetadataBearer {
|
|
|
17
17
|
* <p>To use this operation to associate an alias with a distribution, you provide the alias
|
|
18
18
|
* and the ID of the target distribution for the alias. For more information, including how
|
|
19
19
|
* to set up the target distribution, prerequisites that you must complete, and other
|
|
20
|
-
* restrictions, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-move">Moving an alternate domain name to a different
|
|
21
|
-
*
|
|
20
|
+
* restrictions, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-move">Moving an alternate domain name to a different
|
|
21
|
+
* distribution</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
22
22
|
* @example
|
|
23
23
|
* Use a bare-bones client and the command you need to make an API call.
|
|
24
24
|
* ```javascript
|
|
@@ -8,11 +8,11 @@ export interface CopyDistributionCommandInput extends CopyDistributionRequest {
|
|
|
8
8
|
export interface CopyDistributionCommandOutput extends CopyDistributionResult, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Creates a staging distribution using the configuration of the provided primary
|
|
12
|
-
* A staging distribution is a copy of an existing distribution (called the
|
|
13
|
-
* distribution) that you can use in a continuous deployment workflow.</p>
|
|
14
|
-
* <p>After you create a staging distribution, you can use <code>UpdateDistribution</code>
|
|
15
|
-
* modify the staging distribution’s configuration. Then you can use
|
|
11
|
+
* <p>Creates a staging distribution using the configuration of the provided primary
|
|
12
|
+
* distribution. A staging distribution is a copy of an existing distribution (called the
|
|
13
|
+
* primary distribution) that you can use in a continuous deployment workflow.</p>
|
|
14
|
+
* <p>After you create a staging distribution, you can use <code>UpdateDistribution</code>
|
|
15
|
+
* to modify the staging distribution’s configuration. Then you can use
|
|
16
16
|
* <code>CreateContinuousDeploymentPolicy</code> to incrementally move traffic to the
|
|
17
17
|
* staging distribution.</p>
|
|
18
18
|
* @example
|
|
@@ -9,26 +9,28 @@ export interface CreateCachePolicyCommandOutput extends CreateCachePolicyResult,
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Creates a cache policy.</p>
|
|
12
|
-
* <p>After you create a cache policy, you can attach it to one or more cache behaviors.
|
|
13
|
-
* attached to a cache behavior, the cache policy determines the
|
|
12
|
+
* <p>After you create a cache policy, you can attach it to one or more cache behaviors.
|
|
13
|
+
* When it’s attached to a cache behavior, the cache policy determines the
|
|
14
|
+
* following:</p>
|
|
14
15
|
* <ul>
|
|
15
16
|
* <li>
|
|
16
|
-
* <p>The values that CloudFront includes in the <i>cache key</i>. These
|
|
17
|
-
* include HTTP headers, cookies, and URL query strings. CloudFront uses the
|
|
18
|
-
* find an object in its cache that it can return to the
|
|
17
|
+
* <p>The values that CloudFront includes in the <i>cache key</i>. These
|
|
18
|
+
* values can include HTTP headers, cookies, and URL query strings. CloudFront uses the
|
|
19
|
+
* cache key to find an object in its cache that it can return to the
|
|
20
|
+
* viewer.</p>
|
|
19
21
|
* </li>
|
|
20
22
|
* <li>
|
|
21
|
-
* <p>The default, minimum, and maximum time to live (TTL) values that you want
|
|
22
|
-
* in the CloudFront cache.</p>
|
|
23
|
+
* <p>The default, minimum, and maximum time to live (TTL) values that you want
|
|
24
|
+
* objects to stay in the CloudFront cache.</p>
|
|
23
25
|
* </li>
|
|
24
26
|
* </ul>
|
|
25
|
-
* <p>The headers, cookies, and query strings that are included in the cache key are
|
|
26
|
-
* included in requests that CloudFront sends to the origin. CloudFront sends a request
|
|
27
|
-
* find an object in its cache that matches the request’s cache key. If you
|
|
28
|
-
* values to the origin but <i>not</i> include them in the cache
|
|
29
|
-
* <code>OriginRequestPolicy</code>.</p>
|
|
27
|
+
* <p>The headers, cookies, and query strings that are included in the cache key are
|
|
28
|
+
* automatically included in requests that CloudFront sends to the origin. CloudFront sends a request
|
|
29
|
+
* when it can’t find an object in its cache that matches the request’s cache key. If you
|
|
30
|
+
* want to send values to the origin but <i>not</i> include them in the cache
|
|
31
|
+
* key, use <code>OriginRequestPolicy</code>.</p>
|
|
30
32
|
* <p>For more information about cache policies, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html">Controlling the cache key</a> in the
|
|
31
|
-
*
|
|
33
|
+
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
32
34
|
* @example
|
|
33
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
36
|
* ```javascript
|
|
@@ -9,9 +9,10 @@ export interface CreateCloudFrontOriginAccessIdentityCommandOutput extends Creat
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Creates a new origin access identity. If you're using Amazon S3 for your origin, you can
|
|
12
|
-
* use an origin access identity to require users to access your content using a CloudFront URL
|
|
13
|
-
* of the Amazon S3 URL. For more information about how to use origin access identities,
|
|
14
|
-
*
|
|
12
|
+
* use an origin access identity to require users to access your content using a CloudFront URL
|
|
13
|
+
* instead of the Amazon S3 URL. For more information about how to use origin access identities,
|
|
14
|
+
* see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html">Serving Private
|
|
15
|
+
* Content through CloudFront</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
15
16
|
* @example
|
|
16
17
|
* Use a bare-bones client and the command you need to make an API call.
|
|
17
18
|
* ```javascript
|
|
@@ -8,16 +8,15 @@ export interface CreateContinuousDeploymentPolicyCommandInput extends CreateCont
|
|
|
8
8
|
export interface CreateContinuousDeploymentPolicyCommandOutput extends CreateContinuousDeploymentPolicyResult, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Creates a continuous deployment policy that distributes traffic for a custom domain
|
|
12
|
-
* two different CloudFront distributions.</p>
|
|
13
|
-
* <p>To use a continuous deployment policy, first use
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* production traffic to the new configuration.</p>
|
|
11
|
+
* <p>Creates a continuous deployment policy that distributes traffic for a custom domain
|
|
12
|
+
* name to two different CloudFront distributions.</p>
|
|
13
|
+
* <p>To use a continuous deployment policy, first use <code>CopyDistribution</code> to
|
|
14
|
+
* create a staging distribution, then use <code>UpdateDistribution</code> to modify the
|
|
15
|
+
* staging distribution’s configuration.</p>
|
|
16
|
+
* <p>After you create and update a staging distribution, you can use a continuous
|
|
17
|
+
* deployment policy to incrementally move traffic to the staging distribution. This
|
|
18
|
+
* workflow enables you to test changes to a distribution’s configuration before moving all
|
|
19
|
+
* of your domain’s production traffic to the new configuration.</p>
|
|
21
20
|
* @example
|
|
22
21
|
* Use a bare-bones client and the command you need to make an API call.
|
|
23
22
|
* ```javascript
|
|
@@ -12,11 +12,11 @@ export interface CreateFunctionCommandOutput extends CreateFunctionResult, __Met
|
|
|
12
12
|
* <p>To create a function, you provide the function code and some configuration information
|
|
13
13
|
* about the function. The response contains an Amazon Resource Name (ARN) that uniquely
|
|
14
14
|
* identifies the function.</p>
|
|
15
|
-
* <p>When you create a function, it’s in the <code>DEVELOPMENT</code> stage. In this stage,
|
|
16
|
-
* can test the function with <code>TestFunction</code>, and update it with
|
|
17
|
-
*
|
|
15
|
+
* <p>When you create a function, it’s in the <code>DEVELOPMENT</code> stage. In this stage,
|
|
16
|
+
* you can test the function with <code>TestFunction</code>, and update it with
|
|
17
|
+
* <code>UpdateFunction</code>.</p>
|
|
18
18
|
* <p>When you’re ready to use your function with a CloudFront distribution, use
|
|
19
|
-
*
|
|
19
|
+
* <code>PublishFunction</code> to copy the function from the <code>DEVELOPMENT</code>
|
|
20
20
|
* stage to <code>LIVE</code>. When it’s live, you can attach the function to a
|
|
21
21
|
* distribution’s cache behavior, using the function’s ARN.</p>
|
|
22
22
|
* @example
|
|
@@ -9,13 +9,14 @@ export interface CreateKeyGroupCommandOutput extends CreateKeyGroupResult, __Met
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Creates a key group that you can use with <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html">CloudFront signed URLs and signed cookies</a>.</p>
|
|
12
|
-
* <p>To create a key group, you must specify at least one public key for the key group.
|
|
13
|
-
* create a key group, you can reference it from one or more cache behaviors.
|
|
14
|
-
* reference a key group in a cache behavior, CloudFront requires signed URLs or signed
|
|
15
|
-
* for all requests that match the cache behavior. The URLs or cookies must be
|
|
16
|
-
* a private key whose corresponding public key is in the key group. The signed
|
|
17
|
-
* cookie contains information about which public key CloudFront should use to verify the
|
|
18
|
-
* signature. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html">Serving private content</a> in the
|
|
12
|
+
* <p>To create a key group, you must specify at least one public key for the key group.
|
|
13
|
+
* After you create a key group, you can reference it from one or more cache behaviors.
|
|
14
|
+
* When you reference a key group in a cache behavior, CloudFront requires signed URLs or signed
|
|
15
|
+
* cookies for all requests that match the cache behavior. The URLs or cookies must be
|
|
16
|
+
* signed with a private key whose corresponding public key is in the key group. The signed
|
|
17
|
+
* URL or cookie contains information about which public key CloudFront should use to verify the
|
|
18
|
+
* signature. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html">Serving private content</a> in the
|
|
19
|
+
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
19
20
|
* @example
|
|
20
21
|
* Use a bare-bones client and the command you need to make an API call.
|
|
21
22
|
* ```javascript
|
|
@@ -10,8 +10,8 @@ export interface CreateMonitoringSubscriptionCommandOutput extends CreateMonitor
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Enables additional CloudWatch metrics for the specified CloudFront distribution. The
|
|
12
12
|
* additional metrics incur an additional cost.</p>
|
|
13
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/viewing-cloudfront-metrics.html#monitoring-console.distributions-additional">Viewing additional CloudFront distribution metrics</a> in
|
|
14
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
13
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/viewing-cloudfront-metrics.html#monitoring-console.distributions-additional">Viewing additional CloudFront distribution metrics</a> in
|
|
14
|
+
* the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
15
15
|
* @example
|
|
16
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
17
17
|
* ```javascript
|
|
@@ -8,13 +8,13 @@ export interface CreateOriginAccessControlCommandInput extends CreateOriginAcces
|
|
|
8
8
|
export interface CreateOriginAccessControlCommandOutput extends CreateOriginAccessControlResult, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Creates a new origin access control in CloudFront. After you create an origin access
|
|
12
|
-
* can add it to an origin in a CloudFront distribution so that CloudFront sends
|
|
13
|
-
* requests to the origin.</p>
|
|
11
|
+
* <p>Creates a new origin access control in CloudFront. After you create an origin access
|
|
12
|
+
* control, you can add it to an origin in a CloudFront distribution so that CloudFront sends
|
|
13
|
+
* authenticated (signed) requests to the origin.</p>
|
|
14
14
|
* <p>For an Amazon S3 origin, this makes it possible to block public access to the Amazon S3 bucket
|
|
15
15
|
* so that viewers (users) can access the content in the bucket only through CloudFront.</p>
|
|
16
16
|
* <p>For more information about using a CloudFront origin access control, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html">Restricting access to an Amazon S3 origin</a> in the
|
|
17
|
-
*
|
|
17
|
+
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
18
18
|
* @example
|
|
19
19
|
* Use a bare-bones client and the command you need to make an API call.
|
|
20
20
|
* ```javascript
|
|
@@ -9,30 +9,32 @@ export interface CreateOriginRequestPolicyCommandOutput extends CreateOriginRequ
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Creates an origin request policy.</p>
|
|
12
|
-
* <p>After you create an origin request policy, you can attach it to one or more cache
|
|
13
|
-
* When it’s attached to a cache behavior, the origin request policy determines
|
|
14
|
-
* that CloudFront includes in requests that it sends to the origin. Each request that
|
|
15
|
-
* to the origin includes the following:</p>
|
|
12
|
+
* <p>After you create an origin request policy, you can attach it to one or more cache
|
|
13
|
+
* behaviors. When it’s attached to a cache behavior, the origin request policy determines
|
|
14
|
+
* the values that CloudFront includes in requests that it sends to the origin. Each request that
|
|
15
|
+
* CloudFront sends to the origin includes the following:</p>
|
|
16
16
|
* <ul>
|
|
17
17
|
* <li>
|
|
18
18
|
* <p>The request body and the URL path (without the domain name) from the viewer
|
|
19
19
|
* request.</p>
|
|
20
20
|
* </li>
|
|
21
21
|
* <li>
|
|
22
|
-
* <p>The headers that CloudFront automatically includes in every origin request,
|
|
23
|
-
* <code>Host</code>, <code>User-Agent</code>, and
|
|
22
|
+
* <p>The headers that CloudFront automatically includes in every origin request,
|
|
23
|
+
* including <code>Host</code>, <code>User-Agent</code>, and
|
|
24
|
+
* <code>X-Amz-Cf-Id</code>.</p>
|
|
24
25
|
* </li>
|
|
25
26
|
* <li>
|
|
26
|
-
* <p>All HTTP headers, cookies, and URL query strings that are specified in the
|
|
27
|
-
* the origin request policy. These can include items from the
|
|
28
|
-
* in the case of headers, additional ones that are added by
|
|
27
|
+
* <p>All HTTP headers, cookies, and URL query strings that are specified in the
|
|
28
|
+
* cache policy or the origin request policy. These can include items from the
|
|
29
|
+
* viewer request and, in the case of headers, additional ones that are added by
|
|
30
|
+
* CloudFront.</p>
|
|
29
31
|
* </li>
|
|
30
32
|
* </ul>
|
|
31
33
|
* <p>CloudFront sends a request when it can’t find a valid object in its cache that matches the
|
|
32
34
|
* request. If you want to send values to the origin and also include them in the cache
|
|
33
35
|
* key, use <code>CachePolicy</code>.</p>
|
|
34
36
|
* <p>For more information about origin request policies, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html">Controlling origin requests</a> in the
|
|
35
|
-
*
|
|
37
|
+
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
36
38
|
* @example
|
|
37
39
|
* Use a bare-bones client and the command you need to make an API call.
|
|
38
40
|
* ```javascript
|
|
@@ -11,7 +11,8 @@ export interface CreateRealtimeLogConfigCommandOutput extends CreateRealtimeLogC
|
|
|
11
11
|
* <p>Creates a real-time log configuration.</p>
|
|
12
12
|
* <p>After you create a real-time log configuration, you can attach it to one or more cache
|
|
13
13
|
* behaviors to send real-time log data to the specified Amazon Kinesis data stream.</p>
|
|
14
|
-
* <p>For more information about real-time log configurations, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html">Real-time logs</a> in the
|
|
14
|
+
* <p>For more information about real-time log configurations, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html">Real-time logs</a> in the
|
|
15
|
+
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
15
16
|
* @example
|
|
16
17
|
* Use a bare-bones client and the command you need to make an API call.
|
|
17
18
|
* ```javascript
|
|
@@ -12,10 +12,10 @@ export interface CreateResponseHeadersPolicyCommandOutput extends CreateResponse
|
|
|
12
12
|
* <p>A response headers policy contains information about a set of HTTP response headers
|
|
13
13
|
* and their values. To create a response headers policy, you provide some metadata about
|
|
14
14
|
* the policy, and a set of configurations that specify the response headers.</p>
|
|
15
|
-
* <p>After you create a response headers policy, you can use its ID to attach it to one or
|
|
16
|
-
* cache behaviors in a CloudFront distribution. When it’s attached to a cache behavior,
|
|
17
|
-
* adds the headers in the policy to HTTP responses that it sends for requests that
|
|
18
|
-
* the cache behavior.</p>
|
|
15
|
+
* <p>After you create a response headers policy, you can use its ID to attach it to one or
|
|
16
|
+
* more cache behaviors in a CloudFront distribution. When it’s attached to a cache behavior,
|
|
17
|
+
* CloudFront adds the headers in the policy to HTTP responses that it sends for requests that
|
|
18
|
+
* match the cache behavior.</p>
|
|
19
19
|
* @example
|
|
20
20
|
* Use a bare-bones client and the command you need to make an API call.
|
|
21
21
|
* ```javascript
|
|
@@ -8,9 +8,9 @@ export interface CreateStreamingDistributionCommandInput extends CreateStreaming
|
|
|
8
8
|
export interface CreateStreamingDistributionCommandOutput extends CreateStreamingDistributionResult, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>This API is deprecated.
|
|
12
|
-
*
|
|
13
|
-
*
|
|
11
|
+
* <p>This API is deprecated. Amazon CloudFront is deprecating real-time messaging protocol (RTMP)
|
|
12
|
+
* distributions on December 31, 2020. For more information, <a href="http://forums.aws.amazon.com/ann.jspa?annID=7356">read the announcement</a> on the Amazon CloudFront discussion
|
|
13
|
+
* forum.</p>
|
|
14
14
|
* @example
|
|
15
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
16
|
* ```javascript
|
|
@@ -8,9 +8,9 @@ export interface CreateStreamingDistributionWithTagsCommandInput extends CreateS
|
|
|
8
8
|
export interface CreateStreamingDistributionWithTagsCommandOutput extends CreateStreamingDistributionWithTagsResult, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>This API is deprecated.
|
|
12
|
-
*
|
|
13
|
-
*
|
|
11
|
+
* <p>This API is deprecated. Amazon CloudFront is deprecating real-time messaging protocol (RTMP)
|
|
12
|
+
* distributions on December 31, 2020. For more information, <a href="http://forums.aws.amazon.com/ann.jspa?annID=7356">read the announcement</a> on the Amazon CloudFront discussion
|
|
13
|
+
* forum.</p>
|
|
14
14
|
* @example
|
|
15
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
16
|
* ```javascript
|
|
@@ -9,11 +9,11 @@ export interface DeleteCachePolicyCommandOutput extends __MetadataBearer {
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Deletes a cache policy.</p>
|
|
12
|
-
* <p>You cannot delete a cache policy if it’s attached to a cache behavior. First update
|
|
13
|
-
* distributions to remove the cache policy from all cache behaviors, then delete the
|
|
14
|
-
* policy.</p>
|
|
15
|
-
* <p>To delete a cache policy, you must provide the policy’s identifier and version. To get
|
|
16
|
-
* values, you can use <code>ListCachePolicies</code> or
|
|
12
|
+
* <p>You cannot delete a cache policy if it’s attached to a cache behavior. First update
|
|
13
|
+
* your distributions to remove the cache policy from all cache behaviors, then delete the
|
|
14
|
+
* cache policy.</p>
|
|
15
|
+
* <p>To delete a cache policy, you must provide the policy’s identifier and version. To get
|
|
16
|
+
* these values, you can use <code>ListCachePolicies</code> or
|
|
17
17
|
* <code>GetCachePolicy</code>.</p>
|
|
18
18
|
* @example
|
|
19
19
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -9,12 +9,12 @@ export interface DeleteFunctionCommandOutput extends __MetadataBearer {
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Deletes a CloudFront function.</p>
|
|
12
|
-
* <p>You cannot delete a function if it’s associated with a cache behavior. First, update
|
|
13
|
-
* distributions to remove the function association from all cache behaviors, then
|
|
14
|
-
* the function.</p>
|
|
12
|
+
* <p>You cannot delete a function if it’s associated with a cache behavior. First, update
|
|
13
|
+
* your distributions to remove the function association from all cache behaviors, then
|
|
14
|
+
* delete the function.</p>
|
|
15
15
|
* <p>To delete a function, you must provide the function’s name and version
|
|
16
|
-
*
|
|
17
|
-
*
|
|
16
|
+
* (<code>ETag</code> value). To get these values, you can use
|
|
17
|
+
* <code>ListFunctions</code> and <code>DescribeFunction</code>.</p>
|
|
18
18
|
* @example
|
|
19
19
|
* Use a bare-bones client and the command you need to make an API call.
|
|
20
20
|
* ```javascript
|
|
@@ -14,7 +14,7 @@ export interface DeleteKeyGroupCommandOutput extends __MetadataBearer {
|
|
|
14
14
|
* group.</p>
|
|
15
15
|
* <p>To delete a key group, you must provide the key group’s identifier and version. To get
|
|
16
16
|
* these values, use <code>ListKeyGroups</code> followed by <code>GetKeyGroup</code> or
|
|
17
|
-
*
|
|
17
|
+
* <code>GetKeyGroupConfig</code>.</p>
|
|
18
18
|
* @example
|
|
19
19
|
* Use a bare-bones client and the command you need to make an API call.
|
|
20
20
|
* ```javascript
|
|
@@ -8,7 +8,8 @@ export interface DeleteMonitoringSubscriptionCommandInput extends DeleteMonitori
|
|
|
8
8
|
export interface DeleteMonitoringSubscriptionCommandOutput extends DeleteMonitoringSubscriptionResult, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Disables additional CloudWatch metrics for the specified CloudFront
|
|
11
|
+
* <p>Disables additional CloudWatch metrics for the specified CloudFront
|
|
12
|
+
* distribution.</p>
|
|
12
13
|
* @example
|
|
13
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
15
|
* ```javascript
|
|
@@ -9,9 +9,9 @@ export interface DeleteOriginAccessControlCommandOutput extends __MetadataBearer
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Deletes a CloudFront origin access control.</p>
|
|
12
|
-
* <p>You cannot delete an origin access control if it's in use. First, update all
|
|
13
|
-
* to remove the origin access control from all origins, then delete the
|
|
14
|
-
* control.</p>
|
|
12
|
+
* <p>You cannot delete an origin access control if it's in use. First, update all
|
|
13
|
+
* distributions to remove the origin access control from all origins, then delete the
|
|
14
|
+
* origin access control.</p>
|
|
15
15
|
* @example
|
|
16
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
17
17
|
* ```javascript
|
|
@@ -9,12 +9,12 @@ export interface DeleteOriginRequestPolicyCommandOutput extends __MetadataBearer
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Deletes an origin request policy.</p>
|
|
12
|
-
* <p>You cannot delete an origin request policy if it’s attached to any cache behaviors.
|
|
13
|
-
* update your distributions to remove the origin request policy from all cache
|
|
14
|
-
* then delete the origin request policy.</p>
|
|
15
|
-
* <p>To delete an origin request policy, you must provide the policy’s identifier and
|
|
16
|
-
* get the identifier, you can use <code>ListOriginRequestPolicies</code> or
|
|
17
|
-
*
|
|
12
|
+
* <p>You cannot delete an origin request policy if it’s attached to any cache behaviors.
|
|
13
|
+
* First update your distributions to remove the origin request policy from all cache
|
|
14
|
+
* behaviors, then delete the origin request policy.</p>
|
|
15
|
+
* <p>To delete an origin request policy, you must provide the policy’s identifier and
|
|
16
|
+
* version. To get the identifier, you can use <code>ListOriginRequestPolicies</code> or
|
|
17
|
+
* <code>GetOriginRequestPolicy</code>.</p>
|
|
18
18
|
* @example
|
|
19
19
|
* Use a bare-bones client and the command you need to make an API call.
|
|
20
20
|
* ```javascript
|
|
@@ -12,8 +12,8 @@ export interface DeleteRealtimeLogConfigCommandOutput extends __MetadataBearer {
|
|
|
12
12
|
* <p>You cannot delete a real-time log configuration if it’s attached to a cache behavior.
|
|
13
13
|
* First update your distributions to remove the real-time log configuration from all cache
|
|
14
14
|
* behaviors, then delete the real-time log configuration.</p>
|
|
15
|
-
* <p>To delete a real-time log configuration, you can provide the configuration’s name or
|
|
16
|
-
* Amazon Resource Name (ARN). You must provide at least one. If you provide both, CloudFront
|
|
15
|
+
* <p>To delete a real-time log configuration, you can provide the configuration’s name or
|
|
16
|
+
* its Amazon Resource Name (ARN). You must provide at least one. If you provide both, CloudFront
|
|
17
17
|
* uses the name to identify the real-time log configuration to delete.</p>
|
|
18
18
|
* @example
|
|
19
19
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -19,43 +19,45 @@ export interface DeleteStreamingDistributionCommandOutput extends __MetadataBear
|
|
|
19
19
|
* <p>Disable the RTMP distribution.</p>
|
|
20
20
|
* </li>
|
|
21
21
|
* <li>
|
|
22
|
-
* <p>Submit a <code>GET Streaming Distribution Config</code> request to get the
|
|
23
|
-
* configuration and the <code>Etag</code> header for the distribution.
|
|
22
|
+
* <p>Submit a <code>GET Streaming Distribution Config</code> request to get the
|
|
23
|
+
* current configuration and the <code>Etag</code> header for the distribution.
|
|
24
|
+
* </p>
|
|
24
25
|
* </li>
|
|
25
26
|
* <li>
|
|
26
27
|
* <p>Update the XML document that was returned in the response to your <code>GET
|
|
27
|
-
* Streaming Distribution Config</code> request to change the value of
|
|
28
|
-
*
|
|
28
|
+
* Streaming Distribution Config</code> request to change the value of
|
|
29
|
+
* <code>Enabled</code> to <code>false</code>.</p>
|
|
29
30
|
* </li>
|
|
30
31
|
* <li>
|
|
31
32
|
* <p>Submit a <code>PUT Streaming Distribution Config</code> request to update the
|
|
32
|
-
* configuration for your distribution. In the request body, include the XML
|
|
33
|
-
* you updated in Step 3. Then set the value of the HTTP
|
|
34
|
-
*
|
|
35
|
-
*
|
|
33
|
+
* configuration for your distribution. In the request body, include the XML
|
|
34
|
+
* document that you updated in Step 3. Then set the value of the HTTP
|
|
35
|
+
* <code>If-Match</code> header to the value of the <code>ETag</code> header
|
|
36
|
+
* that CloudFront returned when you submitted the <code>GET Streaming Distribution
|
|
37
|
+
* Config</code> request in Step 2.</p>
|
|
36
38
|
* </li>
|
|
37
39
|
* <li>
|
|
38
|
-
* <p>Review the response to the <code>PUT Streaming Distribution Config</code>
|
|
39
|
-
* to confirm that the distribution was successfully disabled.</p>
|
|
40
|
+
* <p>Review the response to the <code>PUT Streaming Distribution Config</code>
|
|
41
|
+
* request to confirm that the distribution was successfully disabled.</p>
|
|
40
42
|
* </li>
|
|
41
43
|
* <li>
|
|
42
|
-
* <p>Submit a <code>GET Streaming Distribution Config</code> request to confirm
|
|
43
|
-
* your changes have propagated. When propagation is complete, the value of
|
|
44
|
+
* <p>Submit a <code>GET Streaming Distribution Config</code> request to confirm
|
|
45
|
+
* that your changes have propagated. When propagation is complete, the value of
|
|
44
46
|
* <code>Status</code> is <code>Deployed</code>.</p>
|
|
45
47
|
* </li>
|
|
46
48
|
* <li>
|
|
47
|
-
* <p>Submit a <code>DELETE Streaming Distribution</code> request. Set the value of
|
|
48
|
-
* HTTP <code>If-Match</code> header to the value of the <code>ETag</code>
|
|
49
|
-
* returned when you submitted the <code>GET Streaming
|
|
50
|
-
*
|
|
49
|
+
* <p>Submit a <code>DELETE Streaming Distribution</code> request. Set the value of
|
|
50
|
+
* the HTTP <code>If-Match</code> header to the value of the <code>ETag</code>
|
|
51
|
+
* header that CloudFront returned when you submitted the <code>GET Streaming
|
|
52
|
+
* Distribution Config</code> request in Step 2.</p>
|
|
51
53
|
* </li>
|
|
52
54
|
* <li>
|
|
53
|
-
* <p>Review the response to your <code>DELETE Streaming Distribution</code> request
|
|
54
|
-
* confirm that the distribution was successfully deleted.</p>
|
|
55
|
+
* <p>Review the response to your <code>DELETE Streaming Distribution</code> request
|
|
56
|
+
* to confirm that the distribution was successfully deleted.</p>
|
|
55
57
|
* </li>
|
|
56
58
|
* </ol>
|
|
57
|
-
* <p>For information about deleting a distribution using the CloudFront console, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/HowToDeleteDistribution.html">Deleting a
|
|
58
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
59
|
+
* <p>For information about deleting a distribution using the CloudFront console, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/HowToDeleteDistribution.html">Deleting a
|
|
60
|
+
* Distribution</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
59
61
|
* @example
|
|
60
62
|
* Use a bare-bones client and the command you need to make an API call.
|
|
61
63
|
* ```javascript
|
|
@@ -8,8 +8,8 @@ export interface DescribeFunctionCommandInput extends DescribeFunctionRequest {
|
|
|
8
8
|
export interface DescribeFunctionCommandOutput extends DescribeFunctionResult, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Gets configuration information and metadata about a CloudFront function, but not the
|
|
12
|
-
* code. To get a function’s code, use <code>GetFunction</code>.</p>
|
|
11
|
+
* <p>Gets configuration information and metadata about a CloudFront function, but not the
|
|
12
|
+
* function’s code. To get a function’s code, use <code>GetFunction</code>.</p>
|
|
13
13
|
* <p>To get configuration information and metadata about a function, you must provide the
|
|
14
14
|
* function’s name and stage. To get these values, you can use
|
|
15
15
|
* <code>ListFunctions</code>.</p>
|
|
@@ -17,11 +17,11 @@ export interface GetCachePolicyCommandOutput extends GetCachePolicyResult, __Met
|
|
|
17
17
|
* <p>The date and time when the policy was last modified.</p>
|
|
18
18
|
* </li>
|
|
19
19
|
* </ul>
|
|
20
|
-
* <p>To get a cache policy, you must provide the policy’s identifier. If the cache policy
|
|
21
|
-
* attached to a distribution’s cache behavior, you can get the policy’s identifier
|
|
22
|
-
* <code>ListDistributions</code> or <code>GetDistribution</code>. If the cache
|
|
23
|
-
* not attached to a cache behavior, you can get the identifier using
|
|
24
|
-
*
|
|
20
|
+
* <p>To get a cache policy, you must provide the policy’s identifier. If the cache policy
|
|
21
|
+
* is attached to a distribution’s cache behavior, you can get the policy’s identifier
|
|
22
|
+
* using <code>ListDistributions</code> or <code>GetDistribution</code>. If the cache
|
|
23
|
+
* policy is not attached to a cache behavior, you can get the identifier using
|
|
24
|
+
* <code>ListCachePolicies</code>.</p>
|
|
25
25
|
* @example
|
|
26
26
|
* Use a bare-bones client and the command you need to make an API call.
|
|
27
27
|
* ```javascript
|
|
@@ -9,11 +9,11 @@ export interface GetCachePolicyConfigCommandOutput extends GetCachePolicyConfigR
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Gets a cache policy configuration.</p>
|
|
12
|
-
* <p>To get a cache policy configuration, you must provide the policy’s identifier. If the
|
|
13
|
-
* policy is attached to a distribution’s cache behavior, you can get the policy’s
|
|
12
|
+
* <p>To get a cache policy configuration, you must provide the policy’s identifier. If the
|
|
13
|
+
* cache policy is attached to a distribution’s cache behavior, you can get the policy’s
|
|
14
14
|
* identifier using <code>ListDistributions</code> or <code>GetDistribution</code>. If the
|
|
15
15
|
* cache policy is not attached to a cache behavior, you can get the identifier using
|
|
16
|
-
*
|
|
16
|
+
* <code>ListCachePolicies</code>.</p>
|
|
17
17
|
* @example
|
|
18
18
|
* Use a bare-bones client and the command you need to make an API call.
|
|
19
19
|
* ```javascript
|