@aws-sdk/client-cloudfront 3.36.0 → 3.39.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/CHANGELOG.md +42 -0
- package/dist-cjs/CloudFront.js +0 -6
- package/dist-cjs/CloudFrontClient.js +0 -11
- package/dist-cjs/commands/AssociateAliasCommand.js +0 -34
- package/dist-cjs/commands/CreateCachePolicyCommand.js +0 -44
- package/dist-cjs/commands/CreateCloudFrontOriginAccessIdentityCommand.js +0 -27
- package/dist-cjs/commands/CreateDistributionCommand.js +0 -36
- package/dist-cjs/commands/CreateDistributionWithTagsCommand.js +0 -24
- package/dist-cjs/commands/CreateFieldLevelEncryptionConfigCommand.js +0 -24
- package/dist-cjs/commands/CreateFieldLevelEncryptionProfileCommand.js +0 -24
- package/dist-cjs/commands/CreateFunctionCommand.js +0 -34
- package/dist-cjs/commands/CreateInvalidationCommand.js +0 -24
- package/dist-cjs/commands/CreateKeyGroupCommand.js +0 -31
- package/dist-cjs/commands/CreateMonitoringSubscriptionCommand.js +0 -27
- package/dist-cjs/commands/CreateOriginRequestPolicyCommand.js +0 -48
- package/dist-cjs/commands/CreatePublicKeyCommand.js +0 -24
- package/dist-cjs/commands/CreateRealtimeLogConfigCommand.js +0 -27
- package/dist-cjs/commands/CreateStreamingDistributionCommand.js +0 -26
- package/dist-cjs/commands/CreateStreamingDistributionWithTagsCommand.js +0 -26
- package/dist-cjs/commands/DeleteCachePolicyCommand.js +0 -30
- package/dist-cjs/commands/DeleteCloudFrontOriginAccessIdentityCommand.js +0 -24
- package/dist-cjs/commands/DeleteDistributionCommand.js +0 -24
- package/dist-cjs/commands/DeleteFieldLevelEncryptionConfigCommand.js +0 -24
- package/dist-cjs/commands/DeleteFieldLevelEncryptionProfileCommand.js +0 -24
- package/dist-cjs/commands/DeleteFunctionCommand.js +0 -30
- package/dist-cjs/commands/DeleteKeyGroupCommand.js +0 -30
- package/dist-cjs/commands/DeleteMonitoringSubscriptionCommand.js +0 -24
- package/dist-cjs/commands/DeleteOriginRequestPolicyCommand.js +0 -30
- package/dist-cjs/commands/DeletePublicKeyCommand.js +0 -24
- package/dist-cjs/commands/DeleteRealtimeLogConfigCommand.js +0 -30
- package/dist-cjs/commands/DeleteStreamingDistributionCommand.js +0 -71
- package/dist-cjs/commands/DescribeFunctionCommand.js +0 -28
- package/dist-cjs/commands/GetCachePolicyCommand.js +0 -37
- package/dist-cjs/commands/GetCachePolicyConfigCommand.js +0 -29
- package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityCommand.js +0 -24
- package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js +0 -24
- package/dist-cjs/commands/GetDistributionCommand.js +0 -24
- package/dist-cjs/commands/GetDistributionConfigCommand.js +0 -24
- package/dist-cjs/commands/GetFieldLevelEncryptionCommand.js +0 -24
- package/dist-cjs/commands/GetFieldLevelEncryptionConfigCommand.js +0 -24
- package/dist-cjs/commands/GetFieldLevelEncryptionProfileCommand.js +0 -24
- package/dist-cjs/commands/GetFieldLevelEncryptionProfileConfigCommand.js +0 -24
- package/dist-cjs/commands/GetFunctionCommand.js +0 -27
- package/dist-cjs/commands/GetInvalidationCommand.js +0 -24
- package/dist-cjs/commands/GetKeyGroupCommand.js +0 -29
- package/dist-cjs/commands/GetKeyGroupConfigCommand.js +0 -29
- package/dist-cjs/commands/GetMonitoringSubscriptionCommand.js +0 -25
- package/dist-cjs/commands/GetOriginRequestPolicyCommand.js +0 -37
- package/dist-cjs/commands/GetOriginRequestPolicyConfigCommand.js +0 -30
- package/dist-cjs/commands/GetPublicKeyCommand.js +0 -24
- package/dist-cjs/commands/GetPublicKeyConfigCommand.js +0 -24
- package/dist-cjs/commands/GetRealtimeLogConfigCommand.js +0 -27
- package/dist-cjs/commands/GetStreamingDistributionCommand.js +0 -24
- package/dist-cjs/commands/GetStreamingDistributionConfigCommand.js +0 -24
- package/dist-cjs/commands/ListCachePoliciesCommand.js +0 -31
- package/dist-cjs/commands/ListCloudFrontOriginAccessIdentitiesCommand.js +0 -24
- package/dist-cjs/commands/ListConflictingAliasesCommand.js +0 -46
- package/dist-cjs/commands/ListDistributionsByCachePolicyIdCommand.js +0 -30
- package/dist-cjs/commands/ListDistributionsByKeyGroupCommand.js +0 -30
- package/dist-cjs/commands/ListDistributionsByOriginRequestPolicyIdCommand.js +0 -30
- package/dist-cjs/commands/ListDistributionsByRealtimeLogConfigCommand.js +0 -33
- package/dist-cjs/commands/ListDistributionsByWebACLIdCommand.js +0 -24
- package/dist-cjs/commands/ListDistributionsCommand.js +0 -24
- package/dist-cjs/commands/ListFieldLevelEncryptionConfigsCommand.js +0 -24
- package/dist-cjs/commands/ListFieldLevelEncryptionProfilesCommand.js +0 -24
- package/dist-cjs/commands/ListFunctionsCommand.js +0 -31
- package/dist-cjs/commands/ListInvalidationsCommand.js +0 -24
- package/dist-cjs/commands/ListKeyGroupsCommand.js +0 -29
- package/dist-cjs/commands/ListOriginRequestPoliciesCommand.js +0 -31
- package/dist-cjs/commands/ListPublicKeysCommand.js +0 -24
- package/dist-cjs/commands/ListRealtimeLogConfigsCommand.js +0 -29
- package/dist-cjs/commands/ListStreamingDistributionsCommand.js +0 -24
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
- package/dist-cjs/commands/PublishFunctionCommand.js +0 -32
- package/dist-cjs/commands/TagResourceCommand.js +0 -24
- package/dist-cjs/commands/TestFunctionCommand.js +0 -33
- package/dist-cjs/commands/UntagResourceCommand.js +0 -24
- package/dist-cjs/commands/UpdateCachePolicyCommand.js +0 -41
- package/dist-cjs/commands/UpdateCloudFrontOriginAccessIdentityCommand.js +0 -24
- package/dist-cjs/commands/UpdateDistributionCommand.js +0 -102
- package/dist-cjs/commands/UpdateFieldLevelEncryptionConfigCommand.js +0 -24
- package/dist-cjs/commands/UpdateFieldLevelEncryptionProfileCommand.js +0 -24
- package/dist-cjs/commands/UpdateFunctionCommand.js +0 -29
- package/dist-cjs/commands/UpdateKeyGroupCommand.js +0 -41
- package/dist-cjs/commands/UpdateOriginRequestPolicyCommand.js +0 -41
- package/dist-cjs/commands/UpdatePublicKeyCommand.js +0 -24
- package/dist-cjs/commands/UpdateRealtimeLogConfigCommand.js +0 -44
- package/dist-cjs/commands/UpdateStreamingDistributionCommand.js +0 -24
- package/dist-cjs/commands/index.js +88 -0
- package/dist-cjs/endpoints.js +6 -1
- package/dist-cjs/index.js +5 -95
- package/dist-cjs/models/models_0.js +0 -828
- package/dist-cjs/models/models_1.js +0 -369
- package/dist-cjs/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.js +0 -10
- package/dist-cjs/pagination/ListDistributionsPaginator.js +0 -10
- package/dist-cjs/pagination/ListInvalidationsPaginator.js +0 -10
- package/dist-cjs/pagination/ListStreamingDistributionsPaginator.js +0 -10
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/protocols/Aws_restXml.js +0 -2
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-cjs/waiters/index.js +6 -0
- package/dist-cjs/waiters/waitForDistributionDeployed.js +0 -9
- package/dist-cjs/waiters/waitForInvalidationCompleted.js +0 -9
- package/dist-cjs/waiters/waitForStreamingDistributionDeployed.js +0 -9
- package/dist-es/commands/index.js +85 -0
- package/dist-es/endpoints.js +6 -1
- package/dist-es/index.js +5 -95
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/waiters/index.js +3 -0
- package/dist-types/commands/index.d.ts +85 -0
- package/dist-types/index.d.ts +5 -95
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/CloudFront.d.ts +86 -743
- package/dist-types/ts3.4/CloudFrontClient.d.ts +24 -92
- package/dist-types/ts3.4/commands/AssociateAliasCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/CreateCachePolicyCommand.d.ts +2 -40
- package/dist-types/ts3.4/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/CreateDistributionCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/CreateDistributionWithTagsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateFieldLevelEncryptionConfigCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateFieldLevelEncryptionProfileCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateFunctionCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/CreateInvalidationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateKeyGroupCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/CreateMonitoringSubscriptionCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/CreateOriginRequestPolicyCommand.d.ts +2 -44
- package/dist-types/ts3.4/commands/CreatePublicKeyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateRealtimeLogConfigCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/CreateStreamingDistributionCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateStreamingDistributionWithTagsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteCachePolicyCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteDistributionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DeleteKeyGroupCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DeleteMonitoringSubscriptionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteOriginRequestPolicyCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DeletePublicKeyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteRealtimeLogConfigCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DeleteStreamingDistributionCommand.d.ts +2 -67
- package/dist-types/ts3.4/commands/DescribeFunctionCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/GetCachePolicyCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/GetCachePolicyConfigCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetDistributionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetDistributionConfigCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetFieldLevelEncryptionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetFieldLevelEncryptionConfigCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetFieldLevelEncryptionProfileCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetFieldLevelEncryptionProfileConfigCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetFunctionCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/GetInvalidationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetKeyGroupCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/GetKeyGroupConfigCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/GetMonitoringSubscriptionCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetOriginRequestPolicyCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/GetOriginRequestPolicyConfigCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetPublicKeyConfigCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetRealtimeLogConfigCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/GetStreamingDistributionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetStreamingDistributionConfigCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListCachePoliciesCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/ListCloudFrontOriginAccessIdentitiesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListConflictingAliasesCommand.d.ts +2 -42
- package/dist-types/ts3.4/commands/ListDistributionsByCachePolicyIdCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/ListDistributionsByKeyGroupCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/ListDistributionsByOriginRequestPolicyIdCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/ListDistributionsByWebACLIdCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListDistributionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListFieldLevelEncryptionConfigsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListFieldLevelEncryptionProfilesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/ListInvalidationsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListKeyGroupsCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/ListOriginRequestPoliciesCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/ListPublicKeysCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListRealtimeLogConfigsCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/ListStreamingDistributionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PublishFunctionCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/TestFunctionCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateCachePolicyCommand.d.ts +2 -37
- package/dist-types/ts3.4/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateDistributionCommand.d.ts +2 -98
- package/dist-types/ts3.4/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateFunctionCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/UpdateKeyGroupCommand.d.ts +2 -37
- package/dist-types/ts3.4/commands/UpdateOriginRequestPolicyCommand.d.ts +2 -37
- package/dist-types/ts3.4/commands/UpdatePublicKeyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateRealtimeLogConfigCommand.d.ts +2 -40
- package/dist-types/ts3.4/commands/UpdateStreamingDistributionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/index.d.ts +85 -0
- package/dist-types/ts3.4/index.d.ts +5 -95
- package/dist-types/ts3.4/models/models_0.d.ts +105 -6590
- package/dist-types/ts3.4/models/models_1.d.ts +486 -1713
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/dist-types/ts3.4/waiters/index.d.ts +3 -0
- package/dist-types/ts3.4/waiters/waitForDistributionDeployed.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForInvalidationCompleted.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForStreamingDistributionDeployed.d.ts +2 -9
- package/dist-types/waiters/index.d.ts +3 -0
- package/package.json +34 -34
|
@@ -94,127 +94,59 @@ import { UpdateStreamingDistributionCommandInput, UpdateStreamingDistributionCom
|
|
|
94
94
|
export declare type ServiceInputTypes = AssociateAliasCommandInput | CreateCachePolicyCommandInput | CreateCloudFrontOriginAccessIdentityCommandInput | CreateDistributionCommandInput | CreateDistributionWithTagsCommandInput | CreateFieldLevelEncryptionConfigCommandInput | CreateFieldLevelEncryptionProfileCommandInput | CreateFunctionCommandInput | CreateInvalidationCommandInput | CreateKeyGroupCommandInput | CreateMonitoringSubscriptionCommandInput | CreateOriginRequestPolicyCommandInput | CreatePublicKeyCommandInput | CreateRealtimeLogConfigCommandInput | CreateStreamingDistributionCommandInput | CreateStreamingDistributionWithTagsCommandInput | DeleteCachePolicyCommandInput | DeleteCloudFrontOriginAccessIdentityCommandInput | DeleteDistributionCommandInput | DeleteFieldLevelEncryptionConfigCommandInput | DeleteFieldLevelEncryptionProfileCommandInput | DeleteFunctionCommandInput | DeleteKeyGroupCommandInput | DeleteMonitoringSubscriptionCommandInput | DeleteOriginRequestPolicyCommandInput | DeletePublicKeyCommandInput | DeleteRealtimeLogConfigCommandInput | DeleteStreamingDistributionCommandInput | DescribeFunctionCommandInput | GetCachePolicyCommandInput | GetCachePolicyConfigCommandInput | GetCloudFrontOriginAccessIdentityCommandInput | GetCloudFrontOriginAccessIdentityConfigCommandInput | GetDistributionCommandInput | GetDistributionConfigCommandInput | GetFieldLevelEncryptionCommandInput | GetFieldLevelEncryptionConfigCommandInput | GetFieldLevelEncryptionProfileCommandInput | GetFieldLevelEncryptionProfileConfigCommandInput | GetFunctionCommandInput | GetInvalidationCommandInput | GetKeyGroupCommandInput | GetKeyGroupConfigCommandInput | GetMonitoringSubscriptionCommandInput | GetOriginRequestPolicyCommandInput | GetOriginRequestPolicyConfigCommandInput | GetPublicKeyCommandInput | GetPublicKeyConfigCommandInput | GetRealtimeLogConfigCommandInput | GetStreamingDistributionCommandInput | GetStreamingDistributionConfigCommandInput | ListCachePoliciesCommandInput | ListCloudFrontOriginAccessIdentitiesCommandInput | ListConflictingAliasesCommandInput | ListDistributionsByCachePolicyIdCommandInput | ListDistributionsByKeyGroupCommandInput | ListDistributionsByOriginRequestPolicyIdCommandInput | ListDistributionsByRealtimeLogConfigCommandInput | ListDistributionsByWebACLIdCommandInput | ListDistributionsCommandInput | ListFieldLevelEncryptionConfigsCommandInput | ListFieldLevelEncryptionProfilesCommandInput | ListFunctionsCommandInput | ListInvalidationsCommandInput | ListKeyGroupsCommandInput | ListOriginRequestPoliciesCommandInput | ListPublicKeysCommandInput | ListRealtimeLogConfigsCommandInput | ListStreamingDistributionsCommandInput | ListTagsForResourceCommandInput | PublishFunctionCommandInput | TagResourceCommandInput | TestFunctionCommandInput | UntagResourceCommandInput | UpdateCachePolicyCommandInput | UpdateCloudFrontOriginAccessIdentityCommandInput | UpdateDistributionCommandInput | UpdateFieldLevelEncryptionConfigCommandInput | UpdateFieldLevelEncryptionProfileCommandInput | UpdateFunctionCommandInput | UpdateKeyGroupCommandInput | UpdateOriginRequestPolicyCommandInput | UpdatePublicKeyCommandInput | UpdateRealtimeLogConfigCommandInput | UpdateStreamingDistributionCommandInput;
|
|
95
95
|
export declare type ServiceOutputTypes = AssociateAliasCommandOutput | CreateCachePolicyCommandOutput | CreateCloudFrontOriginAccessIdentityCommandOutput | CreateDistributionCommandOutput | CreateDistributionWithTagsCommandOutput | CreateFieldLevelEncryptionConfigCommandOutput | CreateFieldLevelEncryptionProfileCommandOutput | CreateFunctionCommandOutput | CreateInvalidationCommandOutput | CreateKeyGroupCommandOutput | CreateMonitoringSubscriptionCommandOutput | CreateOriginRequestPolicyCommandOutput | CreatePublicKeyCommandOutput | CreateRealtimeLogConfigCommandOutput | CreateStreamingDistributionCommandOutput | CreateStreamingDistributionWithTagsCommandOutput | DeleteCachePolicyCommandOutput | DeleteCloudFrontOriginAccessIdentityCommandOutput | DeleteDistributionCommandOutput | DeleteFieldLevelEncryptionConfigCommandOutput | DeleteFieldLevelEncryptionProfileCommandOutput | DeleteFunctionCommandOutput | DeleteKeyGroupCommandOutput | DeleteMonitoringSubscriptionCommandOutput | DeleteOriginRequestPolicyCommandOutput | DeletePublicKeyCommandOutput | DeleteRealtimeLogConfigCommandOutput | DeleteStreamingDistributionCommandOutput | DescribeFunctionCommandOutput | GetCachePolicyCommandOutput | GetCachePolicyConfigCommandOutput | GetCloudFrontOriginAccessIdentityCommandOutput | GetCloudFrontOriginAccessIdentityConfigCommandOutput | GetDistributionCommandOutput | GetDistributionConfigCommandOutput | GetFieldLevelEncryptionCommandOutput | GetFieldLevelEncryptionConfigCommandOutput | GetFieldLevelEncryptionProfileCommandOutput | GetFieldLevelEncryptionProfileConfigCommandOutput | GetFunctionCommandOutput | GetInvalidationCommandOutput | GetKeyGroupCommandOutput | GetKeyGroupConfigCommandOutput | GetMonitoringSubscriptionCommandOutput | GetOriginRequestPolicyCommandOutput | GetOriginRequestPolicyConfigCommandOutput | GetPublicKeyCommandOutput | GetPublicKeyConfigCommandOutput | GetRealtimeLogConfigCommandOutput | GetStreamingDistributionCommandOutput | GetStreamingDistributionConfigCommandOutput | ListCachePoliciesCommandOutput | ListCloudFrontOriginAccessIdentitiesCommandOutput | ListConflictingAliasesCommandOutput | ListDistributionsByCachePolicyIdCommandOutput | ListDistributionsByKeyGroupCommandOutput | ListDistributionsByOriginRequestPolicyIdCommandOutput | ListDistributionsByRealtimeLogConfigCommandOutput | ListDistributionsByWebACLIdCommandOutput | ListDistributionsCommandOutput | ListFieldLevelEncryptionConfigsCommandOutput | ListFieldLevelEncryptionProfilesCommandOutput | ListFunctionsCommandOutput | ListInvalidationsCommandOutput | ListKeyGroupsCommandOutput | ListOriginRequestPoliciesCommandOutput | ListPublicKeysCommandOutput | ListRealtimeLogConfigsCommandOutput | ListStreamingDistributionsCommandOutput | ListTagsForResourceCommandOutput | PublishFunctionCommandOutput | TagResourceCommandOutput | TestFunctionCommandOutput | UntagResourceCommandOutput | UpdateCachePolicyCommandOutput | UpdateCloudFrontOriginAccessIdentityCommandOutput | UpdateDistributionCommandOutput | UpdateFieldLevelEncryptionConfigCommandOutput | UpdateFieldLevelEncryptionProfileCommandOutput | UpdateFunctionCommandOutput | UpdateKeyGroupCommandOutput | UpdateOriginRequestPolicyCommandOutput | UpdatePublicKeyCommandOutput | UpdateRealtimeLogConfigCommandOutput | UpdateStreamingDistributionCommandOutput;
|
|
96
96
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
97
|
-
|
|
98
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
99
|
-
*/
|
|
97
|
+
|
|
100
98
|
requestHandler?: __HttpHandler;
|
|
101
|
-
|
|
102
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
103
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
104
|
-
* @internal
|
|
105
|
-
*/
|
|
99
|
+
|
|
106
100
|
sha256?: __HashConstructor;
|
|
107
|
-
|
|
108
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
109
|
-
* @internal
|
|
110
|
-
*/
|
|
101
|
+
|
|
111
102
|
urlParser?: __UrlParser;
|
|
112
|
-
|
|
113
|
-
* A function that can calculate the length of a request body.
|
|
114
|
-
* @internal
|
|
115
|
-
*/
|
|
103
|
+
|
|
116
104
|
bodyLengthChecker?: (body: any) => number | undefined;
|
|
117
|
-
|
|
118
|
-
* A function that converts a stream into an array of bytes.
|
|
119
|
-
* @internal
|
|
120
|
-
*/
|
|
105
|
+
|
|
121
106
|
streamCollector?: __StreamCollector;
|
|
122
|
-
|
|
123
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
124
|
-
* @internal
|
|
125
|
-
*/
|
|
107
|
+
|
|
126
108
|
base64Decoder?: __Decoder;
|
|
127
|
-
|
|
128
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
129
|
-
* @internal
|
|
130
|
-
*/
|
|
109
|
+
|
|
131
110
|
base64Encoder?: __Encoder;
|
|
132
|
-
|
|
133
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
134
|
-
* @internal
|
|
135
|
-
*/
|
|
111
|
+
|
|
136
112
|
utf8Decoder?: __Decoder;
|
|
137
|
-
|
|
138
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
139
|
-
* @internal
|
|
140
|
-
*/
|
|
113
|
+
|
|
141
114
|
utf8Encoder?: __Encoder;
|
|
142
|
-
|
|
143
|
-
* The runtime environment.
|
|
144
|
-
* @internal
|
|
145
|
-
*/
|
|
115
|
+
|
|
146
116
|
runtime?: string;
|
|
147
|
-
|
|
148
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
149
|
-
* trait of an operation.
|
|
150
|
-
*/
|
|
117
|
+
|
|
151
118
|
disableHostPrefix?: boolean;
|
|
152
|
-
|
|
153
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
154
|
-
*/
|
|
119
|
+
|
|
155
120
|
maxAttempts?: number | __Provider<number>;
|
|
156
|
-
|
|
157
|
-
* Specifies which retry algorithm to use.
|
|
158
|
-
*/
|
|
121
|
+
|
|
159
122
|
retryMode?: string | __Provider<string>;
|
|
160
|
-
|
|
161
|
-
* Optional logger for logging debug/info/warn/error.
|
|
162
|
-
*/
|
|
123
|
+
|
|
163
124
|
logger?: __Logger;
|
|
164
|
-
|
|
165
|
-
* Unique service identifier.
|
|
166
|
-
* @internal
|
|
167
|
-
*/
|
|
125
|
+
|
|
168
126
|
serviceId?: string;
|
|
169
|
-
|
|
170
|
-
* The AWS region to which this client will send requests
|
|
171
|
-
*/
|
|
127
|
+
|
|
172
128
|
region?: string | __Provider<string>;
|
|
173
|
-
|
|
174
|
-
* Default credentials provider; Not available in browser runtime.
|
|
175
|
-
* @internal
|
|
176
|
-
*/
|
|
129
|
+
|
|
177
130
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
178
|
-
|
|
179
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
180
|
-
* @internal
|
|
181
|
-
*/
|
|
131
|
+
|
|
182
132
|
regionInfoProvider?: RegionInfoProvider;
|
|
183
|
-
|
|
184
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
185
|
-
* @internal
|
|
186
|
-
*/
|
|
133
|
+
|
|
187
134
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
188
135
|
}
|
|
189
136
|
declare type CloudFrontClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
190
|
-
|
|
191
|
-
* The configuration interface of CloudFrontClient class constructor that set the region, credentials and other options.
|
|
192
|
-
*/
|
|
137
|
+
|
|
193
138
|
export interface CloudFrontClientConfig extends CloudFrontClientConfigType {
|
|
194
139
|
}
|
|
195
140
|
declare type CloudFrontClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
196
|
-
|
|
197
|
-
* The resolved configuration interface of CloudFrontClient class. This is resolved and normalized from the {@link CloudFrontClientConfig | constructor configuration interface}.
|
|
198
|
-
*/
|
|
141
|
+
|
|
199
142
|
export interface CloudFrontClientResolvedConfig extends CloudFrontClientResolvedConfigType {
|
|
200
143
|
}
|
|
201
|
-
|
|
202
|
-
* <fullname>Amazon CloudFront</fullname>
|
|
203
|
-
* <p>This is the <i>Amazon CloudFront API Reference</i>. This guide
|
|
204
|
-
* is for developers who need detailed information about
|
|
205
|
-
* CloudFront API actions, data types, and errors. For detailed information about CloudFront features, see the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
206
|
-
*/
|
|
144
|
+
|
|
207
145
|
export declare class CloudFrontClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CloudFrontClientResolvedConfig> {
|
|
208
|
-
|
|
209
|
-
* The resolved configuration of CloudFrontClient class. This is resolved and normalized from the {@link CloudFrontClientConfig | constructor configuration interface}.
|
|
210
|
-
*/
|
|
146
|
+
|
|
211
147
|
readonly config: CloudFrontClientResolvedConfig;
|
|
212
148
|
constructor(configuration: CloudFrontClientConfig);
|
|
213
|
-
|
|
214
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
215
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
216
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
217
|
-
*/
|
|
149
|
+
|
|
218
150
|
destroy(): void;
|
|
219
151
|
}
|
|
220
152
|
export {};
|
|
@@ -6,39 +6,11 @@ export interface AssociateAliasCommandInput extends AssociateAliasRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface AssociateAliasCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Associates an alias (also known as a CNAME or an alternate domain name) with a CloudFront
|
|
11
|
-
* distribution.</p>
|
|
12
|
-
* <p>With this operation you can move an alias that’s already in use on a CloudFront distribution
|
|
13
|
-
* to a different distribution in one step. This prevents the downtime that could occur if
|
|
14
|
-
* you first remove the alias from one distribution and then separately add the alias to
|
|
15
|
-
* another distribution.</p>
|
|
16
|
-
* <p>To use this operation to associate an alias with a distribution, you provide the alias
|
|
17
|
-
* and the ID of the target distribution for the alias. For more information, including how
|
|
18
|
-
* to set up the target distribution, prerequisites that you must complete, and other
|
|
19
|
-
* 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 distribution</a>
|
|
20
|
-
* in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
21
|
-
* @example
|
|
22
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
23
|
-
* ```javascript
|
|
24
|
-
* import { CloudFrontClient, AssociateAliasCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
25
|
-
* // const { CloudFrontClient, AssociateAliasCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
26
|
-
* const client = new CloudFrontClient(config);
|
|
27
|
-
* const command = new AssociateAliasCommand(input);
|
|
28
|
-
* const response = await client.send(command);
|
|
29
|
-
* ```
|
|
30
|
-
*
|
|
31
|
-
* @see {@link AssociateAliasCommandInput} for command's `input` shape.
|
|
32
|
-
* @see {@link AssociateAliasCommandOutput} for command's `response` shape.
|
|
33
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
34
|
-
*
|
|
35
|
-
*/
|
|
9
|
+
|
|
36
10
|
export declare class AssociateAliasCommand extends $Command<AssociateAliasCommandInput, AssociateAliasCommandOutput, CloudFrontClientResolvedConfig> {
|
|
37
11
|
readonly input: AssociateAliasCommandInput;
|
|
38
12
|
constructor(input: AssociateAliasCommandInput);
|
|
39
|
-
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
13
|
+
|
|
42
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateAliasCommandInput, AssociateAliasCommandOutput>;
|
|
43
15
|
private serialize;
|
|
44
16
|
private deserialize;
|
|
@@ -6,49 +6,11 @@ export interface CreateCachePolicyCommandInput extends CreateCachePolicyRequest
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateCachePolicyCommandOutput extends CreateCachePolicyResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Creates a cache policy.</p>
|
|
11
|
-
* <p>After you create a cache policy, you can attach it to one or more cache behaviors. When it’s
|
|
12
|
-
* attached to a cache behavior, the cache policy determines the following:</p>
|
|
13
|
-
* <ul>
|
|
14
|
-
* <li>
|
|
15
|
-
* <p>The values that CloudFront includes in the <i>cache key</i>. These values can
|
|
16
|
-
* include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to
|
|
17
|
-
* find an object in its cache that it can return to the viewer.</p>
|
|
18
|
-
* </li>
|
|
19
|
-
* <li>
|
|
20
|
-
* <p>The default, minimum, and maximum time to live (TTL) values that you want objects to stay
|
|
21
|
-
* in the CloudFront cache.</p>
|
|
22
|
-
* </li>
|
|
23
|
-
* </ul>
|
|
24
|
-
* <p>The headers, cookies, and query strings that are included in the cache key are automatically
|
|
25
|
-
* included in requests that CloudFront sends to the origin. CloudFront sends a request when it can’t
|
|
26
|
-
* find an object in its cache that matches the request’s cache key. If you want to send
|
|
27
|
-
* values to the origin but <i>not</i> include them in the cache key, use
|
|
28
|
-
* <code>OriginRequestPolicy</code>.</p>
|
|
29
|
-
* <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
|
|
30
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { CloudFrontClient, CreateCachePolicyCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
35
|
-
* // const { CloudFrontClient, CreateCachePolicyCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
36
|
-
* const client = new CloudFrontClient(config);
|
|
37
|
-
* const command = new CreateCachePolicyCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link CreateCachePolicyCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link CreateCachePolicyCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
9
|
+
|
|
46
10
|
export declare class CreateCachePolicyCommand extends $Command<CreateCachePolicyCommandInput, CreateCachePolicyCommandOutput, CloudFrontClientResolvedConfig> {
|
|
47
11
|
readonly input: CreateCachePolicyCommandInput;
|
|
48
12
|
constructor(input: CreateCachePolicyCommandInput);
|
|
49
|
-
|
|
50
|
-
* @internal
|
|
51
|
-
*/
|
|
13
|
+
|
|
52
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateCachePolicyCommandInput, CreateCachePolicyCommandOutput>;
|
|
53
15
|
private serialize;
|
|
54
16
|
private deserialize;
|
|
@@ -6,32 +6,11 @@ export interface CreateCloudFrontOriginAccessIdentityCommandInput extends Create
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateCloudFrontOriginAccessIdentityCommandOutput extends CreateCloudFrontOriginAccessIdentityResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Creates a new origin access identity. If you're using Amazon S3 for your origin, you can
|
|
11
|
-
* use an origin access identity to require users to access your content using a CloudFront URL instead
|
|
12
|
-
* of the Amazon S3 URL. For more information about how to use origin access identities, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html">Serving Private Content through CloudFront</a> in the
|
|
13
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { CloudFrontClient, CreateCloudFrontOriginAccessIdentityCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
18
|
-
* // const { CloudFrontClient, CreateCloudFrontOriginAccessIdentityCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
19
|
-
* const client = new CloudFrontClient(config);
|
|
20
|
-
* const command = new CreateCloudFrontOriginAccessIdentityCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link CreateCloudFrontOriginAccessIdentityCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link CreateCloudFrontOriginAccessIdentityCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
9
|
+
|
|
29
10
|
export declare class CreateCloudFrontOriginAccessIdentityCommand extends $Command<CreateCloudFrontOriginAccessIdentityCommandInput, CreateCloudFrontOriginAccessIdentityCommandOutput, CloudFrontClientResolvedConfig> {
|
|
30
11
|
readonly input: CreateCloudFrontOriginAccessIdentityCommandInput;
|
|
31
12
|
constructor(input: CreateCloudFrontOriginAccessIdentityCommandInput);
|
|
32
|
-
|
|
33
|
-
* @internal
|
|
34
|
-
*/
|
|
13
|
+
|
|
35
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateCloudFrontOriginAccessIdentityCommandInput, CreateCloudFrontOriginAccessIdentityCommandOutput>;
|
|
36
15
|
private serialize;
|
|
37
16
|
private deserialize;
|
|
@@ -6,41 +6,11 @@ export interface CreateDistributionCommandInput extends CreateDistributionReques
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateDistributionCommandOutput extends CreateDistributionResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Creates a new web distribution. You create a CloudFront distribution to tell CloudFront where you
|
|
11
|
-
* want content to be delivered from, and the details about how to track and manage content delivery. Send a <code>POST</code> request to the
|
|
12
|
-
* <code>/<i>CloudFront API version</i>/distribution</code>/<code>distribution ID</code> resource.</p>
|
|
13
|
-
* <important>
|
|
14
|
-
* <p>When you update a distribution, there are more required fields than when you create a distribution.
|
|
15
|
-
* When you update your distribution by using
|
|
16
|
-
* <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html">UpdateDistribution</a>,
|
|
17
|
-
* follow the steps included
|
|
18
|
-
* in the documentation to get the current configuration
|
|
19
|
-
* and then make your updates. This helps to make sure that you include all of the required fields. To view a summary,
|
|
20
|
-
* see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-overview-required-fields.html">Required
|
|
21
|
-
* Fields for Create Distribution and Update Distribution</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
22
|
-
* </important>
|
|
23
|
-
* @example
|
|
24
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
-
* ```javascript
|
|
26
|
-
* import { CloudFrontClient, CreateDistributionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
27
|
-
* // const { CloudFrontClient, CreateDistributionCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
28
|
-
* const client = new CloudFrontClient(config);
|
|
29
|
-
* const command = new CreateDistributionCommand(input);
|
|
30
|
-
* const response = await client.send(command);
|
|
31
|
-
* ```
|
|
32
|
-
*
|
|
33
|
-
* @see {@link CreateDistributionCommandInput} for command's `input` shape.
|
|
34
|
-
* @see {@link CreateDistributionCommandOutput} for command's `response` shape.
|
|
35
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
36
|
-
*
|
|
37
|
-
*/
|
|
9
|
+
|
|
38
10
|
export declare class CreateDistributionCommand extends $Command<CreateDistributionCommandInput, CreateDistributionCommandOutput, CloudFrontClientResolvedConfig> {
|
|
39
11
|
readonly input: CreateDistributionCommandInput;
|
|
40
12
|
constructor(input: CreateDistributionCommandInput);
|
|
41
|
-
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
13
|
+
|
|
44
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateDistributionCommandInput, CreateDistributionCommandOutput>;
|
|
45
15
|
private serialize;
|
|
46
16
|
private deserialize;
|
|
@@ -6,29 +6,11 @@ export interface CreateDistributionWithTagsCommandInput extends CreateDistributi
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateDistributionWithTagsCommandOutput extends CreateDistributionWithTagsResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Create a new distribution with tags.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { CloudFrontClient, CreateDistributionWithTagsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
15
|
-
* // const { CloudFrontClient, CreateDistributionWithTagsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
16
|
-
* const client = new CloudFrontClient(config);
|
|
17
|
-
* const command = new CreateDistributionWithTagsCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link CreateDistributionWithTagsCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link CreateDistributionWithTagsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class CreateDistributionWithTagsCommand extends $Command<CreateDistributionWithTagsCommandInput, CreateDistributionWithTagsCommandOutput, CloudFrontClientResolvedConfig> {
|
|
27
11
|
readonly input: CreateDistributionWithTagsCommandInput;
|
|
28
12
|
constructor(input: CreateDistributionWithTagsCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateDistributionWithTagsCommandInput, CreateDistributionWithTagsCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|
|
@@ -6,29 +6,11 @@ export interface CreateFieldLevelEncryptionConfigCommandInput extends CreateFiel
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateFieldLevelEncryptionConfigCommandOutput extends CreateFieldLevelEncryptionConfigResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Create a new field-level encryption configuration.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { CloudFrontClient, CreateFieldLevelEncryptionConfigCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
15
|
-
* // const { CloudFrontClient, CreateFieldLevelEncryptionConfigCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
16
|
-
* const client = new CloudFrontClient(config);
|
|
17
|
-
* const command = new CreateFieldLevelEncryptionConfigCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link CreateFieldLevelEncryptionConfigCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link CreateFieldLevelEncryptionConfigCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class CreateFieldLevelEncryptionConfigCommand extends $Command<CreateFieldLevelEncryptionConfigCommandInput, CreateFieldLevelEncryptionConfigCommandOutput, CloudFrontClientResolvedConfig> {
|
|
27
11
|
readonly input: CreateFieldLevelEncryptionConfigCommandInput;
|
|
28
12
|
constructor(input: CreateFieldLevelEncryptionConfigCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateFieldLevelEncryptionConfigCommandInput, CreateFieldLevelEncryptionConfigCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|
|
@@ -6,29 +6,11 @@ export interface CreateFieldLevelEncryptionProfileCommandInput extends CreateFie
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateFieldLevelEncryptionProfileCommandOutput extends CreateFieldLevelEncryptionProfileResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Create a field-level encryption profile.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { CloudFrontClient, CreateFieldLevelEncryptionProfileCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
15
|
-
* // const { CloudFrontClient, CreateFieldLevelEncryptionProfileCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
16
|
-
* const client = new CloudFrontClient(config);
|
|
17
|
-
* const command = new CreateFieldLevelEncryptionProfileCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link CreateFieldLevelEncryptionProfileCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link CreateFieldLevelEncryptionProfileCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class CreateFieldLevelEncryptionProfileCommand extends $Command<CreateFieldLevelEncryptionProfileCommandInput, CreateFieldLevelEncryptionProfileCommandOutput, CloudFrontClientResolvedConfig> {
|
|
27
11
|
readonly input: CreateFieldLevelEncryptionProfileCommandInput;
|
|
28
12
|
constructor(input: CreateFieldLevelEncryptionProfileCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateFieldLevelEncryptionProfileCommandInput, CreateFieldLevelEncryptionProfileCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|
|
@@ -6,39 +6,11 @@ export interface CreateFunctionCommandInput extends CreateFunctionRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateFunctionCommandOutput extends CreateFunctionResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Creates a CloudFront function.</p>
|
|
11
|
-
* <p>To create a function, you provide the function code and some configuration information
|
|
12
|
-
* about the function. The response contains an Amazon Resource Name (ARN) that uniquely
|
|
13
|
-
* identifies the function.</p>
|
|
14
|
-
* <p>When you create a function, it’s in the <code>DEVELOPMENT</code> stage. In this stage, you
|
|
15
|
-
* can test the function with <code>TestFunction</code>, and update it with
|
|
16
|
-
* <code>UpdateFunction</code>.</p>
|
|
17
|
-
* <p>When you’re ready to use your function with a CloudFront distribution, use
|
|
18
|
-
* <code>PublishFunction</code> to copy the function from the <code>DEVELOPMENT</code>
|
|
19
|
-
* stage to <code>LIVE</code>. When it’s live, you can attach the function to a
|
|
20
|
-
* distribution’s cache behavior, using the function’s ARN.</p>
|
|
21
|
-
* @example
|
|
22
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
23
|
-
* ```javascript
|
|
24
|
-
* import { CloudFrontClient, CreateFunctionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
25
|
-
* // const { CloudFrontClient, CreateFunctionCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
26
|
-
* const client = new CloudFrontClient(config);
|
|
27
|
-
* const command = new CreateFunctionCommand(input);
|
|
28
|
-
* const response = await client.send(command);
|
|
29
|
-
* ```
|
|
30
|
-
*
|
|
31
|
-
* @see {@link CreateFunctionCommandInput} for command's `input` shape.
|
|
32
|
-
* @see {@link CreateFunctionCommandOutput} for command's `response` shape.
|
|
33
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
34
|
-
*
|
|
35
|
-
*/
|
|
9
|
+
|
|
36
10
|
export declare class CreateFunctionCommand extends $Command<CreateFunctionCommandInput, CreateFunctionCommandOutput, CloudFrontClientResolvedConfig> {
|
|
37
11
|
readonly input: CreateFunctionCommandInput;
|
|
38
12
|
constructor(input: CreateFunctionCommandInput);
|
|
39
|
-
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
13
|
+
|
|
42
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateFunctionCommandInput, CreateFunctionCommandOutput>;
|
|
43
15
|
private serialize;
|
|
44
16
|
private deserialize;
|
|
@@ -6,29 +6,11 @@ export interface CreateInvalidationCommandInput extends CreateInvalidationReques
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateInvalidationCommandOutput extends CreateInvalidationResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Create a new invalidation. </p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { CloudFrontClient, CreateInvalidationCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
15
|
-
* // const { CloudFrontClient, CreateInvalidationCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
16
|
-
* const client = new CloudFrontClient(config);
|
|
17
|
-
* const command = new CreateInvalidationCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link CreateInvalidationCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link CreateInvalidationCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class CreateInvalidationCommand extends $Command<CreateInvalidationCommandInput, CreateInvalidationCommandOutput, CloudFrontClientResolvedConfig> {
|
|
27
11
|
readonly input: CreateInvalidationCommandInput;
|
|
28
12
|
constructor(input: CreateInvalidationCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateInvalidationCommandInput, CreateInvalidationCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|
|
@@ -6,36 +6,11 @@ export interface CreateKeyGroupCommandInput extends CreateKeyGroupRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateKeyGroupCommandOutput extends CreateKeyGroupResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <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>
|
|
11
|
-
* <p>To create a key group, you must specify at least one public key for the key group. After you
|
|
12
|
-
* create a key group, you can reference it from one or more cache behaviors. When you
|
|
13
|
-
* reference a key group in a cache behavior, CloudFront requires signed URLs or signed cookies
|
|
14
|
-
* for all requests that match the cache behavior. The URLs or cookies must be signed with
|
|
15
|
-
* a private key whose corresponding public key is in the key group. The signed URL or
|
|
16
|
-
* cookie contains information about which public key CloudFront should use to verify the
|
|
17
|
-
* signature. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html">Serving private content</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
18
|
-
* @example
|
|
19
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
-
* ```javascript
|
|
21
|
-
* import { CloudFrontClient, CreateKeyGroupCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
22
|
-
* // const { CloudFrontClient, CreateKeyGroupCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
23
|
-
* const client = new CloudFrontClient(config);
|
|
24
|
-
* const command = new CreateKeyGroupCommand(input);
|
|
25
|
-
* const response = await client.send(command);
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @see {@link CreateKeyGroupCommandInput} for command's `input` shape.
|
|
29
|
-
* @see {@link CreateKeyGroupCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
9
|
+
|
|
33
10
|
export declare class CreateKeyGroupCommand extends $Command<CreateKeyGroupCommandInput, CreateKeyGroupCommandOutput, CloudFrontClientResolvedConfig> {
|
|
34
11
|
readonly input: CreateKeyGroupCommandInput;
|
|
35
12
|
constructor(input: CreateKeyGroupCommandInput);
|
|
36
|
-
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
13
|
+
|
|
39
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateKeyGroupCommandInput, CreateKeyGroupCommandOutput>;
|
|
40
15
|
private serialize;
|
|
41
16
|
private deserialize;
|
|
@@ -6,32 +6,11 @@ export interface CreateMonitoringSubscriptionCommandInput extends CreateMonitori
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateMonitoringSubscriptionCommandOutput extends CreateMonitoringSubscriptionResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Enables additional CloudWatch metrics for the specified CloudFront distribution. The
|
|
11
|
-
* additional metrics incur an additional cost.</p>
|
|
12
|
-
* <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 the
|
|
13
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { CloudFrontClient, CreateMonitoringSubscriptionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
18
|
-
* // const { CloudFrontClient, CreateMonitoringSubscriptionCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
19
|
-
* const client = new CloudFrontClient(config);
|
|
20
|
-
* const command = new CreateMonitoringSubscriptionCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link CreateMonitoringSubscriptionCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link CreateMonitoringSubscriptionCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
9
|
+
|
|
29
10
|
export declare class CreateMonitoringSubscriptionCommand extends $Command<CreateMonitoringSubscriptionCommandInput, CreateMonitoringSubscriptionCommandOutput, CloudFrontClientResolvedConfig> {
|
|
30
11
|
readonly input: CreateMonitoringSubscriptionCommandInput;
|
|
31
12
|
constructor(input: CreateMonitoringSubscriptionCommandInput);
|
|
32
|
-
|
|
33
|
-
* @internal
|
|
34
|
-
*/
|
|
13
|
+
|
|
35
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateMonitoringSubscriptionCommandInput, CreateMonitoringSubscriptionCommandOutput>;
|
|
36
15
|
private serialize;
|
|
37
16
|
private deserialize;
|
|
@@ -6,53 +6,11 @@ export interface CreateOriginRequestPolicyCommandInput extends CreateOriginReque
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateOriginRequestPolicyCommandOutput extends CreateOriginRequestPolicyResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Creates an origin request policy.</p>
|
|
11
|
-
* <p>After you create an origin request policy, you can attach it to one or more cache behaviors.
|
|
12
|
-
* When it’s attached to a cache behavior, the origin request policy determines the values
|
|
13
|
-
* that CloudFront includes in requests that it sends to the origin. Each request that CloudFront sends
|
|
14
|
-
* to the origin includes the following:</p>
|
|
15
|
-
* <ul>
|
|
16
|
-
* <li>
|
|
17
|
-
* <p>The request body and the URL path (without the domain name) from the viewer
|
|
18
|
-
* request.</p>
|
|
19
|
-
* </li>
|
|
20
|
-
* <li>
|
|
21
|
-
* <p>The headers that CloudFront automatically includes in every origin request, including
|
|
22
|
-
* <code>Host</code>, <code>User-Agent</code>, and <code>X-Amz-Cf-Id</code>.</p>
|
|
23
|
-
* </li>
|
|
24
|
-
* <li>
|
|
25
|
-
* <p>All HTTP headers, cookies, and URL query strings that are specified in the cache policy or
|
|
26
|
-
* the origin request policy. These can include items from the viewer request and,
|
|
27
|
-
* in the case of headers, additional ones that are added by CloudFront.</p>
|
|
28
|
-
* </li>
|
|
29
|
-
* </ul>
|
|
30
|
-
* <p>CloudFront sends a request when it can’t find a valid object in its cache that matches the
|
|
31
|
-
* request. If you want to send values to the origin and also include them in the cache
|
|
32
|
-
* key, use <code>CachePolicy</code>.</p>
|
|
33
|
-
* <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
|
|
34
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
35
|
-
* @example
|
|
36
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
-
* ```javascript
|
|
38
|
-
* import { CloudFrontClient, CreateOriginRequestPolicyCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
39
|
-
* // const { CloudFrontClient, CreateOriginRequestPolicyCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
40
|
-
* const client = new CloudFrontClient(config);
|
|
41
|
-
* const command = new CreateOriginRequestPolicyCommand(input);
|
|
42
|
-
* const response = await client.send(command);
|
|
43
|
-
* ```
|
|
44
|
-
*
|
|
45
|
-
* @see {@link CreateOriginRequestPolicyCommandInput} for command's `input` shape.
|
|
46
|
-
* @see {@link CreateOriginRequestPolicyCommandOutput} for command's `response` shape.
|
|
47
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
48
|
-
*
|
|
49
|
-
*/
|
|
9
|
+
|
|
50
10
|
export declare class CreateOriginRequestPolicyCommand extends $Command<CreateOriginRequestPolicyCommandInput, CreateOriginRequestPolicyCommandOutput, CloudFrontClientResolvedConfig> {
|
|
51
11
|
readonly input: CreateOriginRequestPolicyCommandInput;
|
|
52
12
|
constructor(input: CreateOriginRequestPolicyCommandInput);
|
|
53
|
-
|
|
54
|
-
* @internal
|
|
55
|
-
*/
|
|
13
|
+
|
|
56
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateOriginRequestPolicyCommandInput, CreateOriginRequestPolicyCommandOutput>;
|
|
57
15
|
private serialize;
|
|
58
16
|
private deserialize;
|