@aws-sdk/client-cloudfront 3.36.1 → 3.40.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 +43 -0
- package/dist-cjs/CloudFront.js +105 -0
- package/dist-cjs/commands/CreateResponseHeadersPolicyCommand.js +36 -0
- package/dist-cjs/commands/DeleteMonitoringSubscriptionCommand.js +2 -1
- package/dist-cjs/commands/DeleteOriginRequestPolicyCommand.js +2 -2
- package/dist-cjs/commands/DeletePublicKeyCommand.js +2 -2
- package/dist-cjs/commands/DeleteRealtimeLogConfigCommand.js +2 -2
- package/dist-cjs/commands/DeleteResponseHeadersPolicyCommand.js +36 -0
- package/dist-cjs/commands/DeleteStreamingDistributionCommand.js +2 -2
- package/dist-cjs/commands/DescribeFunctionCommand.js +3 -3
- package/dist-cjs/commands/GetCachePolicyCommand.js +3 -3
- package/dist-cjs/commands/GetCachePolicyConfigCommand.js +3 -3
- package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityCommand.js +3 -3
- package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js +3 -3
- package/dist-cjs/commands/GetDistributionCommand.js +3 -3
- package/dist-cjs/commands/GetDistributionConfigCommand.js +3 -3
- package/dist-cjs/commands/GetFieldLevelEncryptionCommand.js +3 -3
- package/dist-cjs/commands/GetResponseHeadersPolicyCommand.js +36 -0
- package/dist-cjs/commands/GetResponseHeadersPolicyConfigCommand.js +36 -0
- package/dist-cjs/commands/ListDistributionsByResponseHeadersPolicyIdCommand.js +36 -0
- package/dist-cjs/commands/ListResponseHeadersPoliciesCommand.js +36 -0
- package/dist-cjs/commands/UpdateResponseHeadersPolicyCommand.js +36 -0
- package/dist-cjs/commands/index.js +95 -0
- package/dist-cjs/endpoints.js +84 -6
- package/dist-cjs/index.js +5 -95
- package/dist-cjs/models/models_0.js +174 -166
- package/dist-cjs/models/models_1.js +257 -3
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/protocols/Aws_restXml.js +1725 -120
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-cjs/waiters/index.js +6 -0
- package/dist-es/CloudFront.js +105 -0
- package/dist-es/commands/CreateResponseHeadersPolicyCommand.js +39 -0
- package/dist-es/commands/DeleteMonitoringSubscriptionCommand.js +2 -1
- package/dist-es/commands/DeleteOriginRequestPolicyCommand.js +1 -1
- package/dist-es/commands/DeletePublicKeyCommand.js +1 -1
- package/dist-es/commands/DeleteRealtimeLogConfigCommand.js +1 -1
- package/dist-es/commands/DeleteResponseHeadersPolicyCommand.js +39 -0
- package/dist-es/commands/DeleteStreamingDistributionCommand.js +1 -1
- package/dist-es/commands/DescribeFunctionCommand.js +1 -1
- package/dist-es/commands/GetCachePolicyCommand.js +1 -1
- package/dist-es/commands/GetCachePolicyConfigCommand.js +1 -1
- package/dist-es/commands/GetCloudFrontOriginAccessIdentityCommand.js +1 -1
- package/dist-es/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js +1 -1
- package/dist-es/commands/GetDistributionCommand.js +1 -1
- package/dist-es/commands/GetDistributionConfigCommand.js +1 -1
- package/dist-es/commands/GetFieldLevelEncryptionCommand.js +1 -1
- package/dist-es/commands/GetResponseHeadersPolicyCommand.js +39 -0
- package/dist-es/commands/GetResponseHeadersPolicyConfigCommand.js +39 -0
- package/dist-es/commands/ListDistributionsByResponseHeadersPolicyIdCommand.js +39 -0
- package/dist-es/commands/ListResponseHeadersPoliciesCommand.js +39 -0
- package/dist-es/commands/UpdateResponseHeadersPolicyCommand.js +39 -0
- package/dist-es/commands/index.js +92 -0
- package/dist-es/endpoints.js +84 -6
- package/dist-es/index.js +5 -95
- package/dist-es/models/models_0.js +122 -109
- package/dist-es/models/models_1.js +169 -2
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_restXml.js +2398 -664
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-es/waiters/index.js +3 -0
- package/dist-types/CloudFront.d.ts +109 -3
- package/dist-types/CloudFrontClient.d.ts +17 -2
- package/dist-types/commands/CreateResponseHeadersPolicyCommand.d.ts +42 -0
- package/dist-types/commands/DeleteMonitoringSubscriptionCommand.d.ts +2 -1
- package/dist-types/commands/DeleteOriginRequestPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeletePublicKeyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRealtimeLogConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResponseHeadersPolicyCommand.d.ts +41 -0
- package/dist-types/commands/DeleteStreamingDistributionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFunctionCommand.d.ts +1 -1
- package/dist-types/commands/GetCachePolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetCachePolicyConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
- package/dist-types/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetDistributionCommand.d.ts +1 -1
- package/dist-types/commands/GetDistributionConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetFieldLevelEncryptionCommand.d.ts +1 -1
- package/dist-types/commands/GetResponseHeadersPolicyCommand.d.ts +42 -0
- package/dist-types/commands/GetResponseHeadersPolicyConfigCommand.d.ts +41 -0
- package/dist-types/commands/ListCachePoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListDistributionsByResponseHeadersPolicyIdCommand.d.ts +41 -0
- package/dist-types/commands/ListFunctionsCommand.d.ts +1 -1
- package/dist-types/commands/ListOriginRequestPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListResponseHeadersPoliciesCommand.d.ts +42 -0
- package/dist-types/commands/UpdateResponseHeadersPolicyCommand.d.ts +53 -0
- package/dist-types/commands/index.d.ts +92 -0
- package/dist-types/index.d.ts +5 -95
- package/dist-types/models/models_0.d.ts +990 -676
- package/dist-types/models/models_1.d.ts +746 -51
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/protocols/Aws_restXml.d.ts +21 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/CloudFront.d.ts +35 -0
- package/dist-types/ts3.4/CloudFrontClient.d.ts +13 -2
- package/dist-types/ts3.4/commands/CreateResponseHeadersPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteMonitoringSubscriptionCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteOriginRequestPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeletePublicKeyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteRealtimeLogConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteResponseHeadersPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteStreamingDistributionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeFunctionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCachePolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCachePolicyConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDistributionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDistributionConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetFieldLevelEncryptionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetResponseHeadersPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetResponseHeadersPolicyConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDistributionsByResponseHeadersPolicyIdCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListResponseHeadersPoliciesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateResponseHeadersPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +92 -0
- package/dist-types/ts3.4/index.d.ts +5 -95
- package/dist-types/ts3.4/models/models_0.d.ts +10 -0
- package/dist-types/ts3.4/models/models_1.d.ts +418 -19
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +21 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/waiters/index.d.ts +3 -0
- package/dist-types/waiters/index.d.ts +3 -0
- package/package.json +34 -34
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListDistributionsByResponseHeadersPolicyIdCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
|
+
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
|
+
class ListDistributionsByResponseHeadersPolicyIdCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "CloudFrontClient";
|
|
18
|
+
const commandName = "ListDistributionsByResponseHeadersPolicyIdCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.ListDistributionsByResponseHeadersPolicyIdRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.ListDistributionsByResponseHeadersPolicyIdResult.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restXml_1.serializeAws_restXmlListDistributionsByResponseHeadersPolicyIdCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restXml_1.deserializeAws_restXmlListDistributionsByResponseHeadersPolicyIdCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListDistributionsByResponseHeadersPolicyIdCommand = ListDistributionsByResponseHeadersPolicyIdCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListResponseHeadersPoliciesCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
|
+
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
|
+
class ListResponseHeadersPoliciesCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "CloudFrontClient";
|
|
18
|
+
const commandName = "ListResponseHeadersPoliciesCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.ListResponseHeadersPoliciesRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.ListResponseHeadersPoliciesResult.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restXml_1.serializeAws_restXmlListResponseHeadersPoliciesCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restXml_1.deserializeAws_restXmlListResponseHeadersPoliciesCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListResponseHeadersPoliciesCommand = ListResponseHeadersPoliciesCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateResponseHeadersPolicyCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
|
+
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
|
+
class UpdateResponseHeadersPolicyCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "CloudFrontClient";
|
|
18
|
+
const commandName = "UpdateResponseHeadersPolicyCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.UpdateResponseHeadersPolicyRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.UpdateResponseHeadersPolicyResult.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restXml_1.serializeAws_restXmlUpdateResponseHeadersPolicyCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restXml_1.deserializeAws_restXmlUpdateResponseHeadersPolicyCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.UpdateResponseHeadersPolicyCommand = UpdateResponseHeadersPolicyCommand;
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./AssociateAliasCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./CreateCachePolicyCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./CreateCloudFrontOriginAccessIdentityCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./CreateDistributionCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./CreateDistributionWithTagsCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./CreateFieldLevelEncryptionConfigCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./CreateFieldLevelEncryptionProfileCommand"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./CreateFunctionCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./CreateInvalidationCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./CreateKeyGroupCommand"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./CreateMonitoringSubscriptionCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./CreateOriginRequestPolicyCommand"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./CreatePublicKeyCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./CreateRealtimeLogConfigCommand"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./CreateResponseHeadersPolicyCommand"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./CreateStreamingDistributionCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./CreateStreamingDistributionWithTagsCommand"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./DeleteCachePolicyCommand"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./DeleteCloudFrontOriginAccessIdentityCommand"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./DeleteDistributionCommand"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./DeleteFieldLevelEncryptionConfigCommand"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./DeleteFieldLevelEncryptionProfileCommand"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./DeleteFunctionCommand"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./DeleteKeyGroupCommand"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./DeleteMonitoringSubscriptionCommand"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./DeleteOriginRequestPolicyCommand"), exports);
|
|
30
|
+
tslib_1.__exportStar(require("./DeletePublicKeyCommand"), exports);
|
|
31
|
+
tslib_1.__exportStar(require("./DeleteRealtimeLogConfigCommand"), exports);
|
|
32
|
+
tslib_1.__exportStar(require("./DeleteResponseHeadersPolicyCommand"), exports);
|
|
33
|
+
tslib_1.__exportStar(require("./DeleteStreamingDistributionCommand"), exports);
|
|
34
|
+
tslib_1.__exportStar(require("./DescribeFunctionCommand"), exports);
|
|
35
|
+
tslib_1.__exportStar(require("./GetCachePolicyCommand"), exports);
|
|
36
|
+
tslib_1.__exportStar(require("./GetCachePolicyConfigCommand"), exports);
|
|
37
|
+
tslib_1.__exportStar(require("./GetCloudFrontOriginAccessIdentityCommand"), exports);
|
|
38
|
+
tslib_1.__exportStar(require("./GetCloudFrontOriginAccessIdentityConfigCommand"), exports);
|
|
39
|
+
tslib_1.__exportStar(require("./GetDistributionCommand"), exports);
|
|
40
|
+
tslib_1.__exportStar(require("./GetDistributionConfigCommand"), exports);
|
|
41
|
+
tslib_1.__exportStar(require("./GetFieldLevelEncryptionCommand"), exports);
|
|
42
|
+
tslib_1.__exportStar(require("./GetFieldLevelEncryptionConfigCommand"), exports);
|
|
43
|
+
tslib_1.__exportStar(require("./GetFieldLevelEncryptionProfileCommand"), exports);
|
|
44
|
+
tslib_1.__exportStar(require("./GetFieldLevelEncryptionProfileConfigCommand"), exports);
|
|
45
|
+
tslib_1.__exportStar(require("./GetFunctionCommand"), exports);
|
|
46
|
+
tslib_1.__exportStar(require("./GetInvalidationCommand"), exports);
|
|
47
|
+
tslib_1.__exportStar(require("./GetKeyGroupCommand"), exports);
|
|
48
|
+
tslib_1.__exportStar(require("./GetKeyGroupConfigCommand"), exports);
|
|
49
|
+
tslib_1.__exportStar(require("./GetMonitoringSubscriptionCommand"), exports);
|
|
50
|
+
tslib_1.__exportStar(require("./GetOriginRequestPolicyCommand"), exports);
|
|
51
|
+
tslib_1.__exportStar(require("./GetOriginRequestPolicyConfigCommand"), exports);
|
|
52
|
+
tslib_1.__exportStar(require("./GetPublicKeyCommand"), exports);
|
|
53
|
+
tslib_1.__exportStar(require("./GetPublicKeyConfigCommand"), exports);
|
|
54
|
+
tslib_1.__exportStar(require("./GetRealtimeLogConfigCommand"), exports);
|
|
55
|
+
tslib_1.__exportStar(require("./GetResponseHeadersPolicyCommand"), exports);
|
|
56
|
+
tslib_1.__exportStar(require("./GetResponseHeadersPolicyConfigCommand"), exports);
|
|
57
|
+
tslib_1.__exportStar(require("./GetStreamingDistributionCommand"), exports);
|
|
58
|
+
tslib_1.__exportStar(require("./GetStreamingDistributionConfigCommand"), exports);
|
|
59
|
+
tslib_1.__exportStar(require("./ListCachePoliciesCommand"), exports);
|
|
60
|
+
tslib_1.__exportStar(require("./ListCloudFrontOriginAccessIdentitiesCommand"), exports);
|
|
61
|
+
tslib_1.__exportStar(require("./ListConflictingAliasesCommand"), exports);
|
|
62
|
+
tslib_1.__exportStar(require("./ListDistributionsByCachePolicyIdCommand"), exports);
|
|
63
|
+
tslib_1.__exportStar(require("./ListDistributionsByKeyGroupCommand"), exports);
|
|
64
|
+
tslib_1.__exportStar(require("./ListDistributionsByOriginRequestPolicyIdCommand"), exports);
|
|
65
|
+
tslib_1.__exportStar(require("./ListDistributionsByRealtimeLogConfigCommand"), exports);
|
|
66
|
+
tslib_1.__exportStar(require("./ListDistributionsByResponseHeadersPolicyIdCommand"), exports);
|
|
67
|
+
tslib_1.__exportStar(require("./ListDistributionsByWebACLIdCommand"), exports);
|
|
68
|
+
tslib_1.__exportStar(require("./ListDistributionsCommand"), exports);
|
|
69
|
+
tslib_1.__exportStar(require("./ListFieldLevelEncryptionConfigsCommand"), exports);
|
|
70
|
+
tslib_1.__exportStar(require("./ListFieldLevelEncryptionProfilesCommand"), exports);
|
|
71
|
+
tslib_1.__exportStar(require("./ListFunctionsCommand"), exports);
|
|
72
|
+
tslib_1.__exportStar(require("./ListInvalidationsCommand"), exports);
|
|
73
|
+
tslib_1.__exportStar(require("./ListKeyGroupsCommand"), exports);
|
|
74
|
+
tslib_1.__exportStar(require("./ListOriginRequestPoliciesCommand"), exports);
|
|
75
|
+
tslib_1.__exportStar(require("./ListPublicKeysCommand"), exports);
|
|
76
|
+
tslib_1.__exportStar(require("./ListRealtimeLogConfigsCommand"), exports);
|
|
77
|
+
tslib_1.__exportStar(require("./ListResponseHeadersPoliciesCommand"), exports);
|
|
78
|
+
tslib_1.__exportStar(require("./ListStreamingDistributionsCommand"), exports);
|
|
79
|
+
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
80
|
+
tslib_1.__exportStar(require("./PublishFunctionCommand"), exports);
|
|
81
|
+
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
82
|
+
tslib_1.__exportStar(require("./TestFunctionCommand"), exports);
|
|
83
|
+
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
84
|
+
tslib_1.__exportStar(require("./UpdateCachePolicyCommand"), exports);
|
|
85
|
+
tslib_1.__exportStar(require("./UpdateCloudFrontOriginAccessIdentityCommand"), exports);
|
|
86
|
+
tslib_1.__exportStar(require("./UpdateDistributionCommand"), exports);
|
|
87
|
+
tslib_1.__exportStar(require("./UpdateFieldLevelEncryptionConfigCommand"), exports);
|
|
88
|
+
tslib_1.__exportStar(require("./UpdateFieldLevelEncryptionProfileCommand"), exports);
|
|
89
|
+
tslib_1.__exportStar(require("./UpdateFunctionCommand"), exports);
|
|
90
|
+
tslib_1.__exportStar(require("./UpdateKeyGroupCommand"), exports);
|
|
91
|
+
tslib_1.__exportStar(require("./UpdateOriginRequestPolicyCommand"), exports);
|
|
92
|
+
tslib_1.__exportStar(require("./UpdatePublicKeyCommand"), exports);
|
|
93
|
+
tslib_1.__exportStar(require("./UpdateRealtimeLogConfigCommand"), exports);
|
|
94
|
+
tslib_1.__exportStar(require("./UpdateResponseHeadersPolicyCommand"), exports);
|
|
95
|
+
tslib_1.__exportStar(require("./UpdateStreamingDistributionCommand"), exports);
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -4,11 +4,21 @@ exports.defaultRegionInfoProvider = void 0;
|
|
|
4
4
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
5
|
const regionHash = {
|
|
6
6
|
"aws-cn-global": {
|
|
7
|
-
|
|
7
|
+
variants: [
|
|
8
|
+
{
|
|
9
|
+
hostname: "cloudfront.cn-northwest-1.amazonaws.com.cn",
|
|
10
|
+
tags: [],
|
|
11
|
+
},
|
|
12
|
+
],
|
|
8
13
|
signingRegion: "cn-northwest-1",
|
|
9
14
|
},
|
|
10
15
|
"aws-global": {
|
|
11
|
-
|
|
16
|
+
variants: [
|
|
17
|
+
{
|
|
18
|
+
hostname: "cloudfront.amazonaws.com",
|
|
19
|
+
tags: [],
|
|
20
|
+
},
|
|
21
|
+
],
|
|
12
22
|
signingRegion: "us-east-1",
|
|
13
23
|
},
|
|
14
24
|
};
|
|
@@ -38,23 +48,91 @@ const partitionHash = {
|
|
|
38
48
|
"us-west-1",
|
|
39
49
|
"us-west-2",
|
|
40
50
|
],
|
|
51
|
+
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
52
|
+
variants: [
|
|
53
|
+
{
|
|
54
|
+
hostname: "cloudfront.{region}.amazonaws.com",
|
|
55
|
+
tags: [],
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
hostname: "cloudfront-fips.{region}.amazonaws.com",
|
|
59
|
+
tags: ["fips"],
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
hostname: "cloudfront-fips.{region}.api.aws",
|
|
63
|
+
tags: ["dualstack", "fips"],
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
hostname: "cloudfront.{region}.api.aws",
|
|
67
|
+
tags: ["dualstack"],
|
|
68
|
+
},
|
|
69
|
+
],
|
|
41
70
|
endpoint: "aws-global",
|
|
42
71
|
},
|
|
43
72
|
"aws-cn": {
|
|
44
73
|
regions: ["aws-cn-global", "cn-north-1", "cn-northwest-1"],
|
|
74
|
+
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
75
|
+
variants: [
|
|
76
|
+
{
|
|
77
|
+
hostname: "cloudfront.{region}.amazonaws.com.cn",
|
|
78
|
+
tags: [],
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
hostname: "cloudfront-fips.{region}.amazonaws.com.cn",
|
|
82
|
+
tags: ["fips"],
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
hostname: "cloudfront-fips.{region}.api.amazonwebservices.com.cn",
|
|
86
|
+
tags: ["dualstack", "fips"],
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
hostname: "cloudfront.{region}.api.amazonwebservices.com.cn",
|
|
90
|
+
tags: ["dualstack"],
|
|
91
|
+
},
|
|
92
|
+
],
|
|
45
93
|
endpoint: "aws-cn-global",
|
|
46
94
|
},
|
|
47
95
|
"aws-iso": {
|
|
48
|
-
regions: ["us-iso-east-1"],
|
|
49
|
-
|
|
96
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
97
|
+
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
98
|
+
variants: [
|
|
99
|
+
{
|
|
100
|
+
hostname: "cloudfront.{region}.c2s.ic.gov",
|
|
101
|
+
tags: [],
|
|
102
|
+
},
|
|
103
|
+
],
|
|
50
104
|
},
|
|
51
105
|
"aws-iso-b": {
|
|
52
106
|
regions: ["us-isob-east-1"],
|
|
53
|
-
|
|
107
|
+
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
108
|
+
variants: [
|
|
109
|
+
{
|
|
110
|
+
hostname: "cloudfront.{region}.sc2s.sgov.gov",
|
|
111
|
+
tags: [],
|
|
112
|
+
},
|
|
113
|
+
],
|
|
54
114
|
},
|
|
55
115
|
"aws-us-gov": {
|
|
56
116
|
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
57
|
-
|
|
117
|
+
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
118
|
+
variants: [
|
|
119
|
+
{
|
|
120
|
+
hostname: "cloudfront.{region}.amazonaws.com",
|
|
121
|
+
tags: [],
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
hostname: "cloudfront-fips.{region}.amazonaws.com",
|
|
125
|
+
tags: ["fips"],
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
hostname: "cloudfront-fips.{region}.api.aws",
|
|
129
|
+
tags: ["dualstack", "fips"],
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
hostname: "cloudfront.{region}.api.aws",
|
|
133
|
+
tags: ["dualstack"],
|
|
134
|
+
},
|
|
135
|
+
],
|
|
58
136
|
},
|
|
59
137
|
};
|
|
60
138
|
const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,99 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./CloudFrontClient"), exports);
|
|
5
4
|
tslib_1.__exportStar(require("./CloudFront"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./
|
|
7
|
-
tslib_1.__exportStar(require("./commands
|
|
8
|
-
tslib_1.__exportStar(require("./
|
|
9
|
-
tslib_1.__exportStar(require("./
|
|
10
|
-
tslib_1.__exportStar(require("./
|
|
11
|
-
tslib_1.__exportStar(require("./commands/CreateFieldLevelEncryptionConfigCommand"), exports);
|
|
12
|
-
tslib_1.__exportStar(require("./commands/CreateFieldLevelEncryptionProfileCommand"), exports);
|
|
13
|
-
tslib_1.__exportStar(require("./commands/CreateFunctionCommand"), exports);
|
|
14
|
-
tslib_1.__exportStar(require("./commands/CreateInvalidationCommand"), exports);
|
|
15
|
-
tslib_1.__exportStar(require("./commands/CreateKeyGroupCommand"), exports);
|
|
16
|
-
tslib_1.__exportStar(require("./commands/CreateMonitoringSubscriptionCommand"), exports);
|
|
17
|
-
tslib_1.__exportStar(require("./commands/CreateOriginRequestPolicyCommand"), exports);
|
|
18
|
-
tslib_1.__exportStar(require("./commands/CreatePublicKeyCommand"), exports);
|
|
19
|
-
tslib_1.__exportStar(require("./commands/CreateRealtimeLogConfigCommand"), exports);
|
|
20
|
-
tslib_1.__exportStar(require("./commands/CreateStreamingDistributionCommand"), exports);
|
|
21
|
-
tslib_1.__exportStar(require("./commands/CreateStreamingDistributionWithTagsCommand"), exports);
|
|
22
|
-
tslib_1.__exportStar(require("./commands/DeleteCachePolicyCommand"), exports);
|
|
23
|
-
tslib_1.__exportStar(require("./commands/DeleteCloudFrontOriginAccessIdentityCommand"), exports);
|
|
24
|
-
tslib_1.__exportStar(require("./commands/DeleteDistributionCommand"), exports);
|
|
25
|
-
tslib_1.__exportStar(require("./commands/DeleteFieldLevelEncryptionConfigCommand"), exports);
|
|
26
|
-
tslib_1.__exportStar(require("./commands/DeleteFieldLevelEncryptionProfileCommand"), exports);
|
|
27
|
-
tslib_1.__exportStar(require("./commands/DeleteFunctionCommand"), exports);
|
|
28
|
-
tslib_1.__exportStar(require("./commands/DeleteKeyGroupCommand"), exports);
|
|
29
|
-
tslib_1.__exportStar(require("./commands/DeleteMonitoringSubscriptionCommand"), exports);
|
|
30
|
-
tslib_1.__exportStar(require("./commands/DeleteOriginRequestPolicyCommand"), exports);
|
|
31
|
-
tslib_1.__exportStar(require("./commands/DeletePublicKeyCommand"), exports);
|
|
32
|
-
tslib_1.__exportStar(require("./commands/DeleteRealtimeLogConfigCommand"), exports);
|
|
33
|
-
tslib_1.__exportStar(require("./commands/DeleteStreamingDistributionCommand"), exports);
|
|
34
|
-
tslib_1.__exportStar(require("./commands/DescribeFunctionCommand"), exports);
|
|
35
|
-
tslib_1.__exportStar(require("./commands/GetCachePolicyCommand"), exports);
|
|
36
|
-
tslib_1.__exportStar(require("./commands/GetCachePolicyConfigCommand"), exports);
|
|
37
|
-
tslib_1.__exportStar(require("./commands/GetCloudFrontOriginAccessIdentityCommand"), exports);
|
|
38
|
-
tslib_1.__exportStar(require("./commands/GetCloudFrontOriginAccessIdentityConfigCommand"), exports);
|
|
39
|
-
tslib_1.__exportStar(require("./commands/GetDistributionCommand"), exports);
|
|
40
|
-
tslib_1.__exportStar(require("./waiters/waitForDistributionDeployed"), exports);
|
|
41
|
-
tslib_1.__exportStar(require("./commands/GetDistributionConfigCommand"), exports);
|
|
42
|
-
tslib_1.__exportStar(require("./commands/GetFieldLevelEncryptionCommand"), exports);
|
|
43
|
-
tslib_1.__exportStar(require("./commands/GetFieldLevelEncryptionConfigCommand"), exports);
|
|
44
|
-
tslib_1.__exportStar(require("./commands/GetFieldLevelEncryptionProfileCommand"), exports);
|
|
45
|
-
tslib_1.__exportStar(require("./commands/GetFieldLevelEncryptionProfileConfigCommand"), exports);
|
|
46
|
-
tslib_1.__exportStar(require("./commands/GetFunctionCommand"), exports);
|
|
47
|
-
tslib_1.__exportStar(require("./commands/GetInvalidationCommand"), exports);
|
|
48
|
-
tslib_1.__exportStar(require("./waiters/waitForInvalidationCompleted"), exports);
|
|
49
|
-
tslib_1.__exportStar(require("./commands/GetKeyGroupCommand"), exports);
|
|
50
|
-
tslib_1.__exportStar(require("./commands/GetKeyGroupConfigCommand"), exports);
|
|
51
|
-
tslib_1.__exportStar(require("./commands/GetMonitoringSubscriptionCommand"), exports);
|
|
52
|
-
tslib_1.__exportStar(require("./commands/GetOriginRequestPolicyCommand"), exports);
|
|
53
|
-
tslib_1.__exportStar(require("./commands/GetOriginRequestPolicyConfigCommand"), exports);
|
|
54
|
-
tslib_1.__exportStar(require("./commands/GetPublicKeyCommand"), exports);
|
|
55
|
-
tslib_1.__exportStar(require("./commands/GetPublicKeyConfigCommand"), exports);
|
|
56
|
-
tslib_1.__exportStar(require("./commands/GetRealtimeLogConfigCommand"), exports);
|
|
57
|
-
tslib_1.__exportStar(require("./commands/GetStreamingDistributionCommand"), exports);
|
|
58
|
-
tslib_1.__exportStar(require("./waiters/waitForStreamingDistributionDeployed"), exports);
|
|
59
|
-
tslib_1.__exportStar(require("./commands/GetStreamingDistributionConfigCommand"), exports);
|
|
60
|
-
tslib_1.__exportStar(require("./commands/ListCachePoliciesCommand"), exports);
|
|
61
|
-
tslib_1.__exportStar(require("./commands/ListCloudFrontOriginAccessIdentitiesCommand"), exports);
|
|
62
|
-
tslib_1.__exportStar(require("./pagination/ListCloudFrontOriginAccessIdentitiesPaginator"), exports);
|
|
63
|
-
tslib_1.__exportStar(require("./commands/ListConflictingAliasesCommand"), exports);
|
|
64
|
-
tslib_1.__exportStar(require("./commands/ListDistributionsCommand"), exports);
|
|
65
|
-
tslib_1.__exportStar(require("./pagination/ListDistributionsPaginator"), exports);
|
|
66
|
-
tslib_1.__exportStar(require("./commands/ListDistributionsByCachePolicyIdCommand"), exports);
|
|
67
|
-
tslib_1.__exportStar(require("./commands/ListDistributionsByKeyGroupCommand"), exports);
|
|
68
|
-
tslib_1.__exportStar(require("./commands/ListDistributionsByOriginRequestPolicyIdCommand"), exports);
|
|
69
|
-
tslib_1.__exportStar(require("./commands/ListDistributionsByRealtimeLogConfigCommand"), exports);
|
|
70
|
-
tslib_1.__exportStar(require("./commands/ListDistributionsByWebACLIdCommand"), exports);
|
|
71
|
-
tslib_1.__exportStar(require("./commands/ListFieldLevelEncryptionConfigsCommand"), exports);
|
|
72
|
-
tslib_1.__exportStar(require("./commands/ListFieldLevelEncryptionProfilesCommand"), exports);
|
|
73
|
-
tslib_1.__exportStar(require("./commands/ListFunctionsCommand"), exports);
|
|
74
|
-
tslib_1.__exportStar(require("./commands/ListInvalidationsCommand"), exports);
|
|
75
|
-
tslib_1.__exportStar(require("./pagination/ListInvalidationsPaginator"), exports);
|
|
76
|
-
tslib_1.__exportStar(require("./commands/ListKeyGroupsCommand"), exports);
|
|
77
|
-
tslib_1.__exportStar(require("./commands/ListOriginRequestPoliciesCommand"), exports);
|
|
78
|
-
tslib_1.__exportStar(require("./commands/ListPublicKeysCommand"), exports);
|
|
79
|
-
tslib_1.__exportStar(require("./commands/ListRealtimeLogConfigsCommand"), exports);
|
|
80
|
-
tslib_1.__exportStar(require("./commands/ListStreamingDistributionsCommand"), exports);
|
|
81
|
-
tslib_1.__exportStar(require("./pagination/ListStreamingDistributionsPaginator"), exports);
|
|
82
|
-
tslib_1.__exportStar(require("./commands/ListTagsForResourceCommand"), exports);
|
|
83
|
-
tslib_1.__exportStar(require("./commands/PublishFunctionCommand"), exports);
|
|
84
|
-
tslib_1.__exportStar(require("./commands/TagResourceCommand"), exports);
|
|
85
|
-
tslib_1.__exportStar(require("./commands/TestFunctionCommand"), exports);
|
|
86
|
-
tslib_1.__exportStar(require("./commands/UntagResourceCommand"), exports);
|
|
87
|
-
tslib_1.__exportStar(require("./commands/UpdateCachePolicyCommand"), exports);
|
|
88
|
-
tslib_1.__exportStar(require("./commands/UpdateCloudFrontOriginAccessIdentityCommand"), exports);
|
|
89
|
-
tslib_1.__exportStar(require("./commands/UpdateDistributionCommand"), exports);
|
|
90
|
-
tslib_1.__exportStar(require("./commands/UpdateFieldLevelEncryptionConfigCommand"), exports);
|
|
91
|
-
tslib_1.__exportStar(require("./commands/UpdateFieldLevelEncryptionProfileCommand"), exports);
|
|
92
|
-
tslib_1.__exportStar(require("./commands/UpdateFunctionCommand"), exports);
|
|
93
|
-
tslib_1.__exportStar(require("./commands/UpdateKeyGroupCommand"), exports);
|
|
94
|
-
tslib_1.__exportStar(require("./commands/UpdateOriginRequestPolicyCommand"), exports);
|
|
95
|
-
tslib_1.__exportStar(require("./commands/UpdatePublicKeyCommand"), exports);
|
|
96
|
-
tslib_1.__exportStar(require("./commands/UpdateRealtimeLogConfigCommand"), exports);
|
|
97
|
-
tslib_1.__exportStar(require("./commands/UpdateStreamingDistributionCommand"), exports);
|
|
98
|
-
tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
|
|
99
|
-
tslib_1.__exportStar(require("./models/index"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./CloudFrontClient"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./models"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./pagination"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./waiters"), exports);
|