@aws-sdk/client-cloudfront 3.37.0 → 3.41.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 +91 -5
- 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 +91 -5
- 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/AssociateAliasCommand.d.ts +1 -1
- package/dist-types/commands/CreateCachePolicyCommand.d.ts +1 -1
- package/dist-types/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
- package/dist-types/commands/CreateDistributionCommand.d.ts +1 -1
- package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +1 -1
- package/dist-types/commands/CreateFieldLevelEncryptionConfigCommand.d.ts +1 -1
- package/dist-types/commands/CreateFieldLevelEncryptionProfileCommand.d.ts +1 -1
- package/dist-types/commands/CreateFunctionCommand.d.ts +1 -1
- package/dist-types/commands/CreateInvalidationCommand.d.ts +1 -1
- package/dist-types/commands/CreateKeyGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateMonitoringSubscriptionCommand.d.ts +1 -1
- package/dist-types/commands/CreateOriginRequestPolicyCommand.d.ts +1 -1
- package/dist-types/commands/CreatePublicKeyCommand.d.ts +1 -1
- package/dist-types/commands/CreateRealtimeLogConfigCommand.d.ts +1 -1
- package/dist-types/commands/CreateResponseHeadersPolicyCommand.d.ts +42 -0
- package/dist-types/commands/CreateStreamingDistributionCommand.d.ts +1 -1
- package/dist-types/commands/CreateStreamingDistributionWithTagsCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCachePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDistributionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFunctionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteKeyGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMonitoringSubscriptionCommand.d.ts +3 -2
- package/dist-types/commands/DeleteOriginRequestPolicyCommand.d.ts +2 -2
- package/dist-types/commands/DeletePublicKeyCommand.d.ts +2 -2
- package/dist-types/commands/DeleteRealtimeLogConfigCommand.d.ts +2 -2
- package/dist-types/commands/DeleteResponseHeadersPolicyCommand.d.ts +41 -0
- package/dist-types/commands/DeleteStreamingDistributionCommand.d.ts +2 -2
- package/dist-types/commands/DescribeFunctionCommand.d.ts +2 -2
- package/dist-types/commands/GetCachePolicyCommand.d.ts +2 -2
- package/dist-types/commands/GetCachePolicyConfigCommand.d.ts +2 -2
- package/dist-types/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +2 -2
- package/dist-types/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +2 -2
- package/dist-types/commands/GetDistributionCommand.d.ts +2 -2
- package/dist-types/commands/GetDistributionConfigCommand.d.ts +2 -2
- package/dist-types/commands/GetFieldLevelEncryptionCommand.d.ts +2 -2
- package/dist-types/commands/GetFieldLevelEncryptionConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetFieldLevelEncryptionProfileCommand.d.ts +1 -1
- package/dist-types/commands/GetFieldLevelEncryptionProfileConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetFunctionCommand.d.ts +1 -1
- package/dist-types/commands/GetInvalidationCommand.d.ts +1 -1
- package/dist-types/commands/GetKeyGroupCommand.d.ts +1 -1
- package/dist-types/commands/GetKeyGroupConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetMonitoringSubscriptionCommand.d.ts +1 -1
- package/dist-types/commands/GetOriginRequestPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetOriginRequestPolicyConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetPublicKeyCommand.d.ts +1 -1
- package/dist-types/commands/GetPublicKeyConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetRealtimeLogConfigCommand.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/GetStreamingDistributionCommand.d.ts +1 -1
- package/dist-types/commands/GetStreamingDistributionConfigCommand.d.ts +1 -1
- package/dist-types/commands/ListCachePoliciesCommand.d.ts +2 -2
- package/dist-types/commands/ListCloudFrontOriginAccessIdentitiesCommand.d.ts +1 -1
- package/dist-types/commands/ListConflictingAliasesCommand.d.ts +1 -1
- package/dist-types/commands/ListDistributionsByCachePolicyIdCommand.d.ts +1 -1
- package/dist-types/commands/ListDistributionsByKeyGroupCommand.d.ts +1 -1
- package/dist-types/commands/ListDistributionsByOriginRequestPolicyIdCommand.d.ts +1 -1
- package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +1 -1
- package/dist-types/commands/ListDistributionsByResponseHeadersPolicyIdCommand.d.ts +41 -0
- package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +1 -1
- package/dist-types/commands/ListDistributionsCommand.d.ts +1 -1
- package/dist-types/commands/ListFieldLevelEncryptionConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListFieldLevelEncryptionProfilesCommand.d.ts +1 -1
- package/dist-types/commands/ListFunctionsCommand.d.ts +2 -2
- package/dist-types/commands/ListInvalidationsCommand.d.ts +1 -1
- package/dist-types/commands/ListKeyGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListOriginRequestPoliciesCommand.d.ts +2 -2
- package/dist-types/commands/ListPublicKeysCommand.d.ts +1 -1
- package/dist-types/commands/ListRealtimeLogConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListResponseHeadersPoliciesCommand.d.ts +42 -0
- package/dist-types/commands/ListStreamingDistributionsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/PublishFunctionCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/TestFunctionCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCachePolicyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDistributionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFunctionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateKeyGroupCommand.d.ts +1 -1
- package/dist-types/commands/UpdateOriginRequestPolicyCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePublicKeyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRealtimeLogConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateResponseHeadersPolicyCommand.d.ts +53 -0
- package/dist-types/commands/UpdateStreamingDistributionCommand.d.ts +1 -1
- 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 +27 -27
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
|
+
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
4
5
|
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
6
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
6
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
@@ -10,7 +11,7 @@ import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
|
10
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
11
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
12
13
|
export var getRuntimeConfig = function (config) {
|
|
13
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
14
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
14
15
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
15
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector,
|
|
16
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
16
17
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
|
-
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
|
|
4
|
+
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { Hash } from "@aws-sdk/hash-node";
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
@@ -14,8 +14,8 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
15
|
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
16
16
|
export var getRuntimeConfig = function (config) {
|
|
17
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
17
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
18
|
emitWarningIfUnsupportedVersion(process.version);
|
|
19
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector,
|
|
20
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
21
21
|
};
|
|
@@ -14,6 +14,7 @@ import { CreateMonitoringSubscriptionCommandInput, CreateMonitoringSubscriptionC
|
|
|
14
14
|
import { CreateOriginRequestPolicyCommandInput, CreateOriginRequestPolicyCommandOutput } from "./commands/CreateOriginRequestPolicyCommand";
|
|
15
15
|
import { CreatePublicKeyCommandInput, CreatePublicKeyCommandOutput } from "./commands/CreatePublicKeyCommand";
|
|
16
16
|
import { CreateRealtimeLogConfigCommandInput, CreateRealtimeLogConfigCommandOutput } from "./commands/CreateRealtimeLogConfigCommand";
|
|
17
|
+
import { CreateResponseHeadersPolicyCommandInput, CreateResponseHeadersPolicyCommandOutput } from "./commands/CreateResponseHeadersPolicyCommand";
|
|
17
18
|
import { CreateStreamingDistributionCommandInput, CreateStreamingDistributionCommandOutput } from "./commands/CreateStreamingDistributionCommand";
|
|
18
19
|
import { CreateStreamingDistributionWithTagsCommandInput, CreateStreamingDistributionWithTagsCommandOutput } from "./commands/CreateStreamingDistributionWithTagsCommand";
|
|
19
20
|
import { DeleteCachePolicyCommandInput, DeleteCachePolicyCommandOutput } from "./commands/DeleteCachePolicyCommand";
|
|
@@ -27,6 +28,7 @@ import { DeleteMonitoringSubscriptionCommandInput, DeleteMonitoringSubscriptionC
|
|
|
27
28
|
import { DeleteOriginRequestPolicyCommandInput, DeleteOriginRequestPolicyCommandOutput } from "./commands/DeleteOriginRequestPolicyCommand";
|
|
28
29
|
import { DeletePublicKeyCommandInput, DeletePublicKeyCommandOutput } from "./commands/DeletePublicKeyCommand";
|
|
29
30
|
import { DeleteRealtimeLogConfigCommandInput, DeleteRealtimeLogConfigCommandOutput } from "./commands/DeleteRealtimeLogConfigCommand";
|
|
31
|
+
import { DeleteResponseHeadersPolicyCommandInput, DeleteResponseHeadersPolicyCommandOutput } from "./commands/DeleteResponseHeadersPolicyCommand";
|
|
30
32
|
import { DeleteStreamingDistributionCommandInput, DeleteStreamingDistributionCommandOutput } from "./commands/DeleteStreamingDistributionCommand";
|
|
31
33
|
import { DescribeFunctionCommandInput, DescribeFunctionCommandOutput } from "./commands/DescribeFunctionCommand";
|
|
32
34
|
import { GetCachePolicyCommandInput, GetCachePolicyCommandOutput } from "./commands/GetCachePolicyCommand";
|
|
@@ -49,6 +51,8 @@ import { GetOriginRequestPolicyConfigCommandInput, GetOriginRequestPolicyConfigC
|
|
|
49
51
|
import { GetPublicKeyCommandInput, GetPublicKeyCommandOutput } from "./commands/GetPublicKeyCommand";
|
|
50
52
|
import { GetPublicKeyConfigCommandInput, GetPublicKeyConfigCommandOutput } from "./commands/GetPublicKeyConfigCommand";
|
|
51
53
|
import { GetRealtimeLogConfigCommandInput, GetRealtimeLogConfigCommandOutput } from "./commands/GetRealtimeLogConfigCommand";
|
|
54
|
+
import { GetResponseHeadersPolicyCommandInput, GetResponseHeadersPolicyCommandOutput } from "./commands/GetResponseHeadersPolicyCommand";
|
|
55
|
+
import { GetResponseHeadersPolicyConfigCommandInput, GetResponseHeadersPolicyConfigCommandOutput } from "./commands/GetResponseHeadersPolicyConfigCommand";
|
|
52
56
|
import { GetStreamingDistributionCommandInput, GetStreamingDistributionCommandOutput } from "./commands/GetStreamingDistributionCommand";
|
|
53
57
|
import { GetStreamingDistributionConfigCommandInput, GetStreamingDistributionConfigCommandOutput } from "./commands/GetStreamingDistributionConfigCommand";
|
|
54
58
|
import { ListCachePoliciesCommandInput, ListCachePoliciesCommandOutput } from "./commands/ListCachePoliciesCommand";
|
|
@@ -58,6 +62,7 @@ import { ListDistributionsByCachePolicyIdCommandInput, ListDistributionsByCacheP
|
|
|
58
62
|
import { ListDistributionsByKeyGroupCommandInput, ListDistributionsByKeyGroupCommandOutput } from "./commands/ListDistributionsByKeyGroupCommand";
|
|
59
63
|
import { ListDistributionsByOriginRequestPolicyIdCommandInput, ListDistributionsByOriginRequestPolicyIdCommandOutput } from "./commands/ListDistributionsByOriginRequestPolicyIdCommand";
|
|
60
64
|
import { ListDistributionsByRealtimeLogConfigCommandInput, ListDistributionsByRealtimeLogConfigCommandOutput } from "./commands/ListDistributionsByRealtimeLogConfigCommand";
|
|
65
|
+
import { ListDistributionsByResponseHeadersPolicyIdCommandInput, ListDistributionsByResponseHeadersPolicyIdCommandOutput } from "./commands/ListDistributionsByResponseHeadersPolicyIdCommand";
|
|
61
66
|
import { ListDistributionsByWebACLIdCommandInput, ListDistributionsByWebACLIdCommandOutput } from "./commands/ListDistributionsByWebACLIdCommand";
|
|
62
67
|
import { ListDistributionsCommandInput, ListDistributionsCommandOutput } from "./commands/ListDistributionsCommand";
|
|
63
68
|
import { ListFieldLevelEncryptionConfigsCommandInput, ListFieldLevelEncryptionConfigsCommandOutput } from "./commands/ListFieldLevelEncryptionConfigsCommand";
|
|
@@ -68,6 +73,7 @@ import { ListKeyGroupsCommandInput, ListKeyGroupsCommandOutput } from "./command
|
|
|
68
73
|
import { ListOriginRequestPoliciesCommandInput, ListOriginRequestPoliciesCommandOutput } from "./commands/ListOriginRequestPoliciesCommand";
|
|
69
74
|
import { ListPublicKeysCommandInput, ListPublicKeysCommandOutput } from "./commands/ListPublicKeysCommand";
|
|
70
75
|
import { ListRealtimeLogConfigsCommandInput, ListRealtimeLogConfigsCommandOutput } from "./commands/ListRealtimeLogConfigsCommand";
|
|
76
|
+
import { ListResponseHeadersPoliciesCommandInput, ListResponseHeadersPoliciesCommandOutput } from "./commands/ListResponseHeadersPoliciesCommand";
|
|
71
77
|
import { ListStreamingDistributionsCommandInput, ListStreamingDistributionsCommandOutput } from "./commands/ListStreamingDistributionsCommand";
|
|
72
78
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
73
79
|
import { PublishFunctionCommandInput, PublishFunctionCommandOutput } from "./commands/PublishFunctionCommand";
|
|
@@ -84,6 +90,7 @@ import { UpdateKeyGroupCommandInput, UpdateKeyGroupCommandOutput } from "./comma
|
|
|
84
90
|
import { UpdateOriginRequestPolicyCommandInput, UpdateOriginRequestPolicyCommandOutput } from "./commands/UpdateOriginRequestPolicyCommand";
|
|
85
91
|
import { UpdatePublicKeyCommandInput, UpdatePublicKeyCommandOutput } from "./commands/UpdatePublicKeyCommand";
|
|
86
92
|
import { UpdateRealtimeLogConfigCommandInput, UpdateRealtimeLogConfigCommandOutput } from "./commands/UpdateRealtimeLogConfigCommand";
|
|
93
|
+
import { UpdateResponseHeadersPolicyCommandInput, UpdateResponseHeadersPolicyCommandOutput } from "./commands/UpdateResponseHeadersPolicyCommand";
|
|
87
94
|
import { UpdateStreamingDistributionCommandInput, UpdateStreamingDistributionCommandOutput } from "./commands/UpdateStreamingDistributionCommand";
|
|
88
95
|
/**
|
|
89
96
|
* <fullname>Amazon CloudFront</fullname>
|
|
@@ -268,6 +275,19 @@ export declare class CloudFront extends CloudFrontClient {
|
|
|
268
275
|
createRealtimeLogConfig(args: CreateRealtimeLogConfigCommandInput, options?: __HttpHandlerOptions): Promise<CreateRealtimeLogConfigCommandOutput>;
|
|
269
276
|
createRealtimeLogConfig(args: CreateRealtimeLogConfigCommandInput, cb: (err: any, data?: CreateRealtimeLogConfigCommandOutput) => void): void;
|
|
270
277
|
createRealtimeLogConfig(args: CreateRealtimeLogConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRealtimeLogConfigCommandOutput) => void): void;
|
|
278
|
+
/**
|
|
279
|
+
* <p>Creates a response headers policy.</p>
|
|
280
|
+
* <p>A response headers policy contains information about a set of HTTP response headers
|
|
281
|
+
* and their values. To create a response headers policy, you provide some metadata about
|
|
282
|
+
* the policy, and a set of configurations that specify the response headers.</p>
|
|
283
|
+
* <p>After you create a response headers policy, you can use its ID to attach it to one or more
|
|
284
|
+
* cache behaviors in a CloudFront distribution. When it’s attached to a cache behavior, CloudFront
|
|
285
|
+
* adds the headers in the policy to HTTP responses that it sends for requests that match
|
|
286
|
+
* the cache behavior.</p>
|
|
287
|
+
*/
|
|
288
|
+
createResponseHeadersPolicy(args: CreateResponseHeadersPolicyCommandInput, options?: __HttpHandlerOptions): Promise<CreateResponseHeadersPolicyCommandOutput>;
|
|
289
|
+
createResponseHeadersPolicy(args: CreateResponseHeadersPolicyCommandInput, cb: (err: any, data?: CreateResponseHeadersPolicyCommandOutput) => void): void;
|
|
290
|
+
createResponseHeadersPolicy(args: CreateResponseHeadersPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateResponseHeadersPolicyCommandOutput) => void): void;
|
|
271
291
|
/**
|
|
272
292
|
* <p>This API is deprecated.
|
|
273
293
|
* Amazon CloudFront is deprecating real-time messaging protocol (RTMP) distributions on December 31, 2020.
|
|
@@ -380,6 +400,18 @@ export declare class CloudFront extends CloudFrontClient {
|
|
|
380
400
|
deleteRealtimeLogConfig(args: DeleteRealtimeLogConfigCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRealtimeLogConfigCommandOutput>;
|
|
381
401
|
deleteRealtimeLogConfig(args: DeleteRealtimeLogConfigCommandInput, cb: (err: any, data?: DeleteRealtimeLogConfigCommandOutput) => void): void;
|
|
382
402
|
deleteRealtimeLogConfig(args: DeleteRealtimeLogConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRealtimeLogConfigCommandOutput) => void): void;
|
|
403
|
+
/**
|
|
404
|
+
* <p>Deletes a response headers policy.</p>
|
|
405
|
+
* <p>You cannot delete a response headers policy if it’s attached to a cache behavior.
|
|
406
|
+
* First update your distributions to remove the response headers policy from all cache
|
|
407
|
+
* behaviors, then delete the response headers policy.</p>
|
|
408
|
+
* <p>To delete a response headers policy, you must provide the policy’s identifier and
|
|
409
|
+
* version. To get these values, you can use <code>ListResponseHeadersPolicies</code> or
|
|
410
|
+
* <code>GetResponseHeadersPolicy</code>. </p>
|
|
411
|
+
*/
|
|
412
|
+
deleteResponseHeadersPolicy(args: DeleteResponseHeadersPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteResponseHeadersPolicyCommandOutput>;
|
|
413
|
+
deleteResponseHeadersPolicy(args: DeleteResponseHeadersPolicyCommandInput, cb: (err: any, data?: DeleteResponseHeadersPolicyCommandOutput) => void): void;
|
|
414
|
+
deleteResponseHeadersPolicy(args: DeleteResponseHeadersPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResponseHeadersPolicyCommandOutput) => void): void;
|
|
383
415
|
/**
|
|
384
416
|
* <p>Delete a streaming distribution. To delete an RTMP distribution using the CloudFront API,
|
|
385
417
|
* perform the following steps.</p>
|
|
@@ -617,6 +649,31 @@ export declare class CloudFront extends CloudFrontClient {
|
|
|
617
649
|
getRealtimeLogConfig(args: GetRealtimeLogConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetRealtimeLogConfigCommandOutput>;
|
|
618
650
|
getRealtimeLogConfig(args: GetRealtimeLogConfigCommandInput, cb: (err: any, data?: GetRealtimeLogConfigCommandOutput) => void): void;
|
|
619
651
|
getRealtimeLogConfig(args: GetRealtimeLogConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRealtimeLogConfigCommandOutput) => void): void;
|
|
652
|
+
/**
|
|
653
|
+
* <p>Gets a response headers policy, including metadata (the policy’s identifier and the date and
|
|
654
|
+
* time when the policy was last modified).</p>
|
|
655
|
+
* <p>To get a response headers policy, you must provide the policy’s identifier. If the
|
|
656
|
+
* response headers policy is attached to a distribution’s cache behavior, you can get the
|
|
657
|
+
* policy’s identifier using <code>ListDistributions</code> or
|
|
658
|
+
* <code>GetDistribution</code>. If the response headers policy is not attached to a cache
|
|
659
|
+
* behavior, you can get the identifier using
|
|
660
|
+
* <code>ListResponseHeadersPolicies</code>.</p>
|
|
661
|
+
*/
|
|
662
|
+
getResponseHeadersPolicy(args: GetResponseHeadersPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetResponseHeadersPolicyCommandOutput>;
|
|
663
|
+
getResponseHeadersPolicy(args: GetResponseHeadersPolicyCommandInput, cb: (err: any, data?: GetResponseHeadersPolicyCommandOutput) => void): void;
|
|
664
|
+
getResponseHeadersPolicy(args: GetResponseHeadersPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResponseHeadersPolicyCommandOutput) => void): void;
|
|
665
|
+
/**
|
|
666
|
+
* <p>Gets a response headers policy configuration.</p>
|
|
667
|
+
* <p>To get a response headers policy configuration, you must provide the policy’s
|
|
668
|
+
* identifier. If the response headers policy is attached to a distribution’s cache
|
|
669
|
+
* behavior, you can get the policy’s identifier using <code>ListDistributions</code> or
|
|
670
|
+
* <code>GetDistribution</code>. If the response headers policy is not attached to a
|
|
671
|
+
* cache behavior, you can get the identifier using
|
|
672
|
+
* <code>ListResponseHeadersPolicies</code>.</p>
|
|
673
|
+
*/
|
|
674
|
+
getResponseHeadersPolicyConfig(args: GetResponseHeadersPolicyConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetResponseHeadersPolicyConfigCommandOutput>;
|
|
675
|
+
getResponseHeadersPolicyConfig(args: GetResponseHeadersPolicyConfigCommandInput, cb: (err: any, data?: GetResponseHeadersPolicyConfigCommandOutput) => void): void;
|
|
676
|
+
getResponseHeadersPolicyConfig(args: GetResponseHeadersPolicyConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResponseHeadersPolicyConfigCommandOutput) => void): void;
|
|
620
677
|
/**
|
|
621
678
|
* <p>Gets information about a specified RTMP distribution, including the distribution configuration.</p>
|
|
622
679
|
*/
|
|
@@ -632,7 +689,7 @@ export declare class CloudFront extends CloudFrontClient {
|
|
|
632
689
|
/**
|
|
633
690
|
* <p>Gets a list of cache policies.</p>
|
|
634
691
|
* <p>You can optionally apply a filter to return only the managed policies created by Amazon Web Services, or
|
|
635
|
-
* only the custom policies created in your account.</p>
|
|
692
|
+
* only the custom policies created in your Amazon Web Services account.</p>
|
|
636
693
|
* <p>You can optionally specify the maximum number of items to receive in the response. If
|
|
637
694
|
* the total number of items in the list exceeds the maximum that you specify, or the
|
|
638
695
|
* default maximum, the response is paginated. To get the next page of items, send a
|
|
@@ -733,6 +790,18 @@ export declare class CloudFront extends CloudFrontClient {
|
|
|
733
790
|
listDistributionsByRealtimeLogConfig(args: ListDistributionsByRealtimeLogConfigCommandInput, options?: __HttpHandlerOptions): Promise<ListDistributionsByRealtimeLogConfigCommandOutput>;
|
|
734
791
|
listDistributionsByRealtimeLogConfig(args: ListDistributionsByRealtimeLogConfigCommandInput, cb: (err: any, data?: ListDistributionsByRealtimeLogConfigCommandOutput) => void): void;
|
|
735
792
|
listDistributionsByRealtimeLogConfig(args: ListDistributionsByRealtimeLogConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDistributionsByRealtimeLogConfigCommandOutput) => void): void;
|
|
793
|
+
/**
|
|
794
|
+
* <p>Gets a list of distribution IDs for distributions that have a cache behavior that’s
|
|
795
|
+
* associated with the specified response headers policy.</p>
|
|
796
|
+
* <p>You can optionally specify the maximum number of items to receive in the response. If
|
|
797
|
+
* the total number of items in the list exceeds the maximum that you specify, or the
|
|
798
|
+
* default maximum, the response is paginated. To get the next page of items, send a
|
|
799
|
+
* subsequent request that specifies the <code>NextMarker</code> value from the current
|
|
800
|
+
* response as the <code>Marker</code> value in the subsequent request.</p>
|
|
801
|
+
*/
|
|
802
|
+
listDistributionsByResponseHeadersPolicyId(args: ListDistributionsByResponseHeadersPolicyIdCommandInput, options?: __HttpHandlerOptions): Promise<ListDistributionsByResponseHeadersPolicyIdCommandOutput>;
|
|
803
|
+
listDistributionsByResponseHeadersPolicyId(args: ListDistributionsByResponseHeadersPolicyIdCommandInput, cb: (err: any, data?: ListDistributionsByResponseHeadersPolicyIdCommandOutput) => void): void;
|
|
804
|
+
listDistributionsByResponseHeadersPolicyId(args: ListDistributionsByResponseHeadersPolicyIdCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDistributionsByResponseHeadersPolicyIdCommandOutput) => void): void;
|
|
736
805
|
/**
|
|
737
806
|
* <p>List the distributions that are associated with a specified WAF web ACL.</p>
|
|
738
807
|
*/
|
|
@@ -752,7 +821,7 @@ export declare class CloudFront extends CloudFrontClient {
|
|
|
752
821
|
listFieldLevelEncryptionProfiles(args: ListFieldLevelEncryptionProfilesCommandInput, cb: (err: any, data?: ListFieldLevelEncryptionProfilesCommandOutput) => void): void;
|
|
753
822
|
listFieldLevelEncryptionProfiles(args: ListFieldLevelEncryptionProfilesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFieldLevelEncryptionProfilesCommandOutput) => void): void;
|
|
754
823
|
/**
|
|
755
|
-
* <p>Gets a list of all CloudFront functions in your account.</p>
|
|
824
|
+
* <p>Gets a list of all CloudFront functions in your Amazon Web Services account.</p>
|
|
756
825
|
* <p>You can optionally apply a filter to return only the functions that are in the
|
|
757
826
|
* specified stage, either <code>DEVELOPMENT</code> or <code>LIVE</code>.</p>
|
|
758
827
|
* <p>You can optionally specify the maximum number of items to receive in the response. If
|
|
@@ -784,7 +853,7 @@ export declare class CloudFront extends CloudFrontClient {
|
|
|
784
853
|
/**
|
|
785
854
|
* <p>Gets a list of origin request policies.</p>
|
|
786
855
|
* <p>You can optionally apply a filter to return only the managed policies created by Amazon Web Services, or
|
|
787
|
-
* only the custom policies created in your account.</p>
|
|
856
|
+
* only the custom policies created in your Amazon Web Services account.</p>
|
|
788
857
|
* <p>You can optionally specify the maximum number of items to receive in the response. If
|
|
789
858
|
* the total number of items in the list exceeds the maximum that you specify, or the
|
|
790
859
|
* default maximum, the response is paginated. To get the next page of items, send a
|
|
@@ -811,6 +880,19 @@ export declare class CloudFront extends CloudFrontClient {
|
|
|
811
880
|
listRealtimeLogConfigs(args: ListRealtimeLogConfigsCommandInput, options?: __HttpHandlerOptions): Promise<ListRealtimeLogConfigsCommandOutput>;
|
|
812
881
|
listRealtimeLogConfigs(args: ListRealtimeLogConfigsCommandInput, cb: (err: any, data?: ListRealtimeLogConfigsCommandOutput) => void): void;
|
|
813
882
|
listRealtimeLogConfigs(args: ListRealtimeLogConfigsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRealtimeLogConfigsCommandOutput) => void): void;
|
|
883
|
+
/**
|
|
884
|
+
* <p>Gets a list of response headers policies.</p>
|
|
885
|
+
* <p>You can optionally apply a filter to get only the managed policies created by Amazon Web Services,
|
|
886
|
+
* or only the custom policies created in your Amazon Web Services account.</p>
|
|
887
|
+
* <p>You can optionally specify the maximum number of items to receive in the response. If
|
|
888
|
+
* the total number of items in the list exceeds the maximum that you specify, or the
|
|
889
|
+
* default maximum, the response is paginated. To get the next page of items, send a
|
|
890
|
+
* subsequent request that specifies the <code>NextMarker</code> value from the current
|
|
891
|
+
* response as the <code>Marker</code> value in the subsequent request.</p>
|
|
892
|
+
*/
|
|
893
|
+
listResponseHeadersPolicies(args: ListResponseHeadersPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<ListResponseHeadersPoliciesCommandOutput>;
|
|
894
|
+
listResponseHeadersPolicies(args: ListResponseHeadersPoliciesCommandInput, cb: (err: any, data?: ListResponseHeadersPoliciesCommandOutput) => void): void;
|
|
895
|
+
listResponseHeadersPolicies(args: ListResponseHeadersPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResponseHeadersPoliciesCommandOutput) => void): void;
|
|
814
896
|
/**
|
|
815
897
|
* <p>List streaming distributions. </p>
|
|
816
898
|
*/
|
|
@@ -1078,6 +1160,30 @@ export declare class CloudFront extends CloudFrontClient {
|
|
|
1078
1160
|
updateRealtimeLogConfig(args: UpdateRealtimeLogConfigCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRealtimeLogConfigCommandOutput>;
|
|
1079
1161
|
updateRealtimeLogConfig(args: UpdateRealtimeLogConfigCommandInput, cb: (err: any, data?: UpdateRealtimeLogConfigCommandOutput) => void): void;
|
|
1080
1162
|
updateRealtimeLogConfig(args: UpdateRealtimeLogConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRealtimeLogConfigCommandOutput) => void): void;
|
|
1163
|
+
/**
|
|
1164
|
+
* <p>Updates a response headers policy.</p>
|
|
1165
|
+
* <p>When you update a response headers policy, the entire policy is replaced. You cannot
|
|
1166
|
+
* update some policy fields independent of others. To update a response headers policy
|
|
1167
|
+
* configuration:</p>
|
|
1168
|
+
* <ol>
|
|
1169
|
+
* <li>
|
|
1170
|
+
* <p>Use <code>GetResponseHeadersPolicyConfig</code> to get the current policy’s
|
|
1171
|
+
* configuration.</p>
|
|
1172
|
+
* </li>
|
|
1173
|
+
* <li>
|
|
1174
|
+
* <p>Modify the fields in the response headers policy configuration that you want
|
|
1175
|
+
* to update.</p>
|
|
1176
|
+
* </li>
|
|
1177
|
+
* <li>
|
|
1178
|
+
* <p>Call <code>UpdateResponseHeadersPolicy</code>, providing the entire response
|
|
1179
|
+
* headers policy configuration, including the fields that you modified and those
|
|
1180
|
+
* that you didn’t.</p>
|
|
1181
|
+
* </li>
|
|
1182
|
+
* </ol>
|
|
1183
|
+
*/
|
|
1184
|
+
updateResponseHeadersPolicy(args: UpdateResponseHeadersPolicyCommandInput, options?: __HttpHandlerOptions): Promise<UpdateResponseHeadersPolicyCommandOutput>;
|
|
1185
|
+
updateResponseHeadersPolicy(args: UpdateResponseHeadersPolicyCommandInput, cb: (err: any, data?: UpdateResponseHeadersPolicyCommandOutput) => void): void;
|
|
1186
|
+
updateResponseHeadersPolicy(args: UpdateResponseHeadersPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateResponseHeadersPolicyCommandOutput) => void): void;
|
|
1081
1187
|
/**
|
|
1082
1188
|
* <p>Update a streaming distribution. </p>
|
|
1083
1189
|
*/
|
|
@@ -20,6 +20,7 @@ import { CreateMonitoringSubscriptionCommandInput, CreateMonitoringSubscriptionC
|
|
|
20
20
|
import { CreateOriginRequestPolicyCommandInput, CreateOriginRequestPolicyCommandOutput } from "./commands/CreateOriginRequestPolicyCommand";
|
|
21
21
|
import { CreatePublicKeyCommandInput, CreatePublicKeyCommandOutput } from "./commands/CreatePublicKeyCommand";
|
|
22
22
|
import { CreateRealtimeLogConfigCommandInput, CreateRealtimeLogConfigCommandOutput } from "./commands/CreateRealtimeLogConfigCommand";
|
|
23
|
+
import { CreateResponseHeadersPolicyCommandInput, CreateResponseHeadersPolicyCommandOutput } from "./commands/CreateResponseHeadersPolicyCommand";
|
|
23
24
|
import { CreateStreamingDistributionCommandInput, CreateStreamingDistributionCommandOutput } from "./commands/CreateStreamingDistributionCommand";
|
|
24
25
|
import { CreateStreamingDistributionWithTagsCommandInput, CreateStreamingDistributionWithTagsCommandOutput } from "./commands/CreateStreamingDistributionWithTagsCommand";
|
|
25
26
|
import { DeleteCachePolicyCommandInput, DeleteCachePolicyCommandOutput } from "./commands/DeleteCachePolicyCommand";
|
|
@@ -33,6 +34,7 @@ import { DeleteMonitoringSubscriptionCommandInput, DeleteMonitoringSubscriptionC
|
|
|
33
34
|
import { DeleteOriginRequestPolicyCommandInput, DeleteOriginRequestPolicyCommandOutput } from "./commands/DeleteOriginRequestPolicyCommand";
|
|
34
35
|
import { DeletePublicKeyCommandInput, DeletePublicKeyCommandOutput } from "./commands/DeletePublicKeyCommand";
|
|
35
36
|
import { DeleteRealtimeLogConfigCommandInput, DeleteRealtimeLogConfigCommandOutput } from "./commands/DeleteRealtimeLogConfigCommand";
|
|
37
|
+
import { DeleteResponseHeadersPolicyCommandInput, DeleteResponseHeadersPolicyCommandOutput } from "./commands/DeleteResponseHeadersPolicyCommand";
|
|
36
38
|
import { DeleteStreamingDistributionCommandInput, DeleteStreamingDistributionCommandOutput } from "./commands/DeleteStreamingDistributionCommand";
|
|
37
39
|
import { DescribeFunctionCommandInput, DescribeFunctionCommandOutput } from "./commands/DescribeFunctionCommand";
|
|
38
40
|
import { GetCachePolicyCommandInput, GetCachePolicyCommandOutput } from "./commands/GetCachePolicyCommand";
|
|
@@ -55,6 +57,8 @@ import { GetOriginRequestPolicyConfigCommandInput, GetOriginRequestPolicyConfigC
|
|
|
55
57
|
import { GetPublicKeyCommandInput, GetPublicKeyCommandOutput } from "./commands/GetPublicKeyCommand";
|
|
56
58
|
import { GetPublicKeyConfigCommandInput, GetPublicKeyConfigCommandOutput } from "./commands/GetPublicKeyConfigCommand";
|
|
57
59
|
import { GetRealtimeLogConfigCommandInput, GetRealtimeLogConfigCommandOutput } from "./commands/GetRealtimeLogConfigCommand";
|
|
60
|
+
import { GetResponseHeadersPolicyCommandInput, GetResponseHeadersPolicyCommandOutput } from "./commands/GetResponseHeadersPolicyCommand";
|
|
61
|
+
import { GetResponseHeadersPolicyConfigCommandInput, GetResponseHeadersPolicyConfigCommandOutput } from "./commands/GetResponseHeadersPolicyConfigCommand";
|
|
58
62
|
import { GetStreamingDistributionCommandInput, GetStreamingDistributionCommandOutput } from "./commands/GetStreamingDistributionCommand";
|
|
59
63
|
import { GetStreamingDistributionConfigCommandInput, GetStreamingDistributionConfigCommandOutput } from "./commands/GetStreamingDistributionConfigCommand";
|
|
60
64
|
import { ListCachePoliciesCommandInput, ListCachePoliciesCommandOutput } from "./commands/ListCachePoliciesCommand";
|
|
@@ -64,6 +68,7 @@ import { ListDistributionsByCachePolicyIdCommandInput, ListDistributionsByCacheP
|
|
|
64
68
|
import { ListDistributionsByKeyGroupCommandInput, ListDistributionsByKeyGroupCommandOutput } from "./commands/ListDistributionsByKeyGroupCommand";
|
|
65
69
|
import { ListDistributionsByOriginRequestPolicyIdCommandInput, ListDistributionsByOriginRequestPolicyIdCommandOutput } from "./commands/ListDistributionsByOriginRequestPolicyIdCommand";
|
|
66
70
|
import { ListDistributionsByRealtimeLogConfigCommandInput, ListDistributionsByRealtimeLogConfigCommandOutput } from "./commands/ListDistributionsByRealtimeLogConfigCommand";
|
|
71
|
+
import { ListDistributionsByResponseHeadersPolicyIdCommandInput, ListDistributionsByResponseHeadersPolicyIdCommandOutput } from "./commands/ListDistributionsByResponseHeadersPolicyIdCommand";
|
|
67
72
|
import { ListDistributionsByWebACLIdCommandInput, ListDistributionsByWebACLIdCommandOutput } from "./commands/ListDistributionsByWebACLIdCommand";
|
|
68
73
|
import { ListDistributionsCommandInput, ListDistributionsCommandOutput } from "./commands/ListDistributionsCommand";
|
|
69
74
|
import { ListFieldLevelEncryptionConfigsCommandInput, ListFieldLevelEncryptionConfigsCommandOutput } from "./commands/ListFieldLevelEncryptionConfigsCommand";
|
|
@@ -74,6 +79,7 @@ import { ListKeyGroupsCommandInput, ListKeyGroupsCommandOutput } from "./command
|
|
|
74
79
|
import { ListOriginRequestPoliciesCommandInput, ListOriginRequestPoliciesCommandOutput } from "./commands/ListOriginRequestPoliciesCommand";
|
|
75
80
|
import { ListPublicKeysCommandInput, ListPublicKeysCommandOutput } from "./commands/ListPublicKeysCommand";
|
|
76
81
|
import { ListRealtimeLogConfigsCommandInput, ListRealtimeLogConfigsCommandOutput } from "./commands/ListRealtimeLogConfigsCommand";
|
|
82
|
+
import { ListResponseHeadersPoliciesCommandInput, ListResponseHeadersPoliciesCommandOutput } from "./commands/ListResponseHeadersPoliciesCommand";
|
|
77
83
|
import { ListStreamingDistributionsCommandInput, ListStreamingDistributionsCommandOutput } from "./commands/ListStreamingDistributionsCommand";
|
|
78
84
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
79
85
|
import { PublishFunctionCommandInput, PublishFunctionCommandOutput } from "./commands/PublishFunctionCommand";
|
|
@@ -90,9 +96,10 @@ import { UpdateKeyGroupCommandInput, UpdateKeyGroupCommandOutput } from "./comma
|
|
|
90
96
|
import { UpdateOriginRequestPolicyCommandInput, UpdateOriginRequestPolicyCommandOutput } from "./commands/UpdateOriginRequestPolicyCommand";
|
|
91
97
|
import { UpdatePublicKeyCommandInput, UpdatePublicKeyCommandOutput } from "./commands/UpdatePublicKeyCommand";
|
|
92
98
|
import { UpdateRealtimeLogConfigCommandInput, UpdateRealtimeLogConfigCommandOutput } from "./commands/UpdateRealtimeLogConfigCommand";
|
|
99
|
+
import { UpdateResponseHeadersPolicyCommandInput, UpdateResponseHeadersPolicyCommandOutput } from "./commands/UpdateResponseHeadersPolicyCommand";
|
|
93
100
|
import { UpdateStreamingDistributionCommandInput, UpdateStreamingDistributionCommandOutput } from "./commands/UpdateStreamingDistributionCommand";
|
|
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
|
-
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;
|
|
101
|
+
export declare type ServiceInputTypes = AssociateAliasCommandInput | CreateCachePolicyCommandInput | CreateCloudFrontOriginAccessIdentityCommandInput | CreateDistributionCommandInput | CreateDistributionWithTagsCommandInput | CreateFieldLevelEncryptionConfigCommandInput | CreateFieldLevelEncryptionProfileCommandInput | CreateFunctionCommandInput | CreateInvalidationCommandInput | CreateKeyGroupCommandInput | CreateMonitoringSubscriptionCommandInput | CreateOriginRequestPolicyCommandInput | CreatePublicKeyCommandInput | CreateRealtimeLogConfigCommandInput | CreateResponseHeadersPolicyCommandInput | CreateStreamingDistributionCommandInput | CreateStreamingDistributionWithTagsCommandInput | DeleteCachePolicyCommandInput | DeleteCloudFrontOriginAccessIdentityCommandInput | DeleteDistributionCommandInput | DeleteFieldLevelEncryptionConfigCommandInput | DeleteFieldLevelEncryptionProfileCommandInput | DeleteFunctionCommandInput | DeleteKeyGroupCommandInput | DeleteMonitoringSubscriptionCommandInput | DeleteOriginRequestPolicyCommandInput | DeletePublicKeyCommandInput | DeleteRealtimeLogConfigCommandInput | DeleteResponseHeadersPolicyCommandInput | DeleteStreamingDistributionCommandInput | DescribeFunctionCommandInput | GetCachePolicyCommandInput | GetCachePolicyConfigCommandInput | GetCloudFrontOriginAccessIdentityCommandInput | GetCloudFrontOriginAccessIdentityConfigCommandInput | GetDistributionCommandInput | GetDistributionConfigCommandInput | GetFieldLevelEncryptionCommandInput | GetFieldLevelEncryptionConfigCommandInput | GetFieldLevelEncryptionProfileCommandInput | GetFieldLevelEncryptionProfileConfigCommandInput | GetFunctionCommandInput | GetInvalidationCommandInput | GetKeyGroupCommandInput | GetKeyGroupConfigCommandInput | GetMonitoringSubscriptionCommandInput | GetOriginRequestPolicyCommandInput | GetOriginRequestPolicyConfigCommandInput | GetPublicKeyCommandInput | GetPublicKeyConfigCommandInput | GetRealtimeLogConfigCommandInput | GetResponseHeadersPolicyCommandInput | GetResponseHeadersPolicyConfigCommandInput | GetStreamingDistributionCommandInput | GetStreamingDistributionConfigCommandInput | ListCachePoliciesCommandInput | ListCloudFrontOriginAccessIdentitiesCommandInput | ListConflictingAliasesCommandInput | ListDistributionsByCachePolicyIdCommandInput | ListDistributionsByKeyGroupCommandInput | ListDistributionsByOriginRequestPolicyIdCommandInput | ListDistributionsByRealtimeLogConfigCommandInput | ListDistributionsByResponseHeadersPolicyIdCommandInput | ListDistributionsByWebACLIdCommandInput | ListDistributionsCommandInput | ListFieldLevelEncryptionConfigsCommandInput | ListFieldLevelEncryptionProfilesCommandInput | ListFunctionsCommandInput | ListInvalidationsCommandInput | ListKeyGroupsCommandInput | ListOriginRequestPoliciesCommandInput | ListPublicKeysCommandInput | ListRealtimeLogConfigsCommandInput | ListResponseHeadersPoliciesCommandInput | ListStreamingDistributionsCommandInput | ListTagsForResourceCommandInput | PublishFunctionCommandInput | TagResourceCommandInput | TestFunctionCommandInput | UntagResourceCommandInput | UpdateCachePolicyCommandInput | UpdateCloudFrontOriginAccessIdentityCommandInput | UpdateDistributionCommandInput | UpdateFieldLevelEncryptionConfigCommandInput | UpdateFieldLevelEncryptionProfileCommandInput | UpdateFunctionCommandInput | UpdateKeyGroupCommandInput | UpdateOriginRequestPolicyCommandInput | UpdatePublicKeyCommandInput | UpdateRealtimeLogConfigCommandInput | UpdateResponseHeadersPolicyCommandInput | UpdateStreamingDistributionCommandInput;
|
|
102
|
+
export declare type ServiceOutputTypes = AssociateAliasCommandOutput | CreateCachePolicyCommandOutput | CreateCloudFrontOriginAccessIdentityCommandOutput | CreateDistributionCommandOutput | CreateDistributionWithTagsCommandOutput | CreateFieldLevelEncryptionConfigCommandOutput | CreateFieldLevelEncryptionProfileCommandOutput | CreateFunctionCommandOutput | CreateInvalidationCommandOutput | CreateKeyGroupCommandOutput | CreateMonitoringSubscriptionCommandOutput | CreateOriginRequestPolicyCommandOutput | CreatePublicKeyCommandOutput | CreateRealtimeLogConfigCommandOutput | CreateResponseHeadersPolicyCommandOutput | CreateStreamingDistributionCommandOutput | CreateStreamingDistributionWithTagsCommandOutput | DeleteCachePolicyCommandOutput | DeleteCloudFrontOriginAccessIdentityCommandOutput | DeleteDistributionCommandOutput | DeleteFieldLevelEncryptionConfigCommandOutput | DeleteFieldLevelEncryptionProfileCommandOutput | DeleteFunctionCommandOutput | DeleteKeyGroupCommandOutput | DeleteMonitoringSubscriptionCommandOutput | DeleteOriginRequestPolicyCommandOutput | DeletePublicKeyCommandOutput | DeleteRealtimeLogConfigCommandOutput | DeleteResponseHeadersPolicyCommandOutput | DeleteStreamingDistributionCommandOutput | DescribeFunctionCommandOutput | GetCachePolicyCommandOutput | GetCachePolicyConfigCommandOutput | GetCloudFrontOriginAccessIdentityCommandOutput | GetCloudFrontOriginAccessIdentityConfigCommandOutput | GetDistributionCommandOutput | GetDistributionConfigCommandOutput | GetFieldLevelEncryptionCommandOutput | GetFieldLevelEncryptionConfigCommandOutput | GetFieldLevelEncryptionProfileCommandOutput | GetFieldLevelEncryptionProfileConfigCommandOutput | GetFunctionCommandOutput | GetInvalidationCommandOutput | GetKeyGroupCommandOutput | GetKeyGroupConfigCommandOutput | GetMonitoringSubscriptionCommandOutput | GetOriginRequestPolicyCommandOutput | GetOriginRequestPolicyConfigCommandOutput | GetPublicKeyCommandOutput | GetPublicKeyConfigCommandOutput | GetRealtimeLogConfigCommandOutput | GetResponseHeadersPolicyCommandOutput | GetResponseHeadersPolicyConfigCommandOutput | GetStreamingDistributionCommandOutput | GetStreamingDistributionConfigCommandOutput | ListCachePoliciesCommandOutput | ListCloudFrontOriginAccessIdentitiesCommandOutput | ListConflictingAliasesCommandOutput | ListDistributionsByCachePolicyIdCommandOutput | ListDistributionsByKeyGroupCommandOutput | ListDistributionsByOriginRequestPolicyIdCommandOutput | ListDistributionsByRealtimeLogConfigCommandOutput | ListDistributionsByResponseHeadersPolicyIdCommandOutput | ListDistributionsByWebACLIdCommandOutput | ListDistributionsCommandOutput | ListFieldLevelEncryptionConfigsCommandOutput | ListFieldLevelEncryptionProfilesCommandOutput | ListFunctionsCommandOutput | ListInvalidationsCommandOutput | ListKeyGroupsCommandOutput | ListOriginRequestPoliciesCommandOutput | ListPublicKeysCommandOutput | ListRealtimeLogConfigsCommandOutput | ListResponseHeadersPoliciesCommandOutput | ListStreamingDistributionsCommandOutput | ListTagsForResourceCommandOutput | PublishFunctionCommandOutput | TagResourceCommandOutput | TestFunctionCommandOutput | UntagResourceCommandOutput | UpdateCachePolicyCommandOutput | UpdateCloudFrontOriginAccessIdentityCommandOutput | UpdateDistributionCommandOutput | UpdateFieldLevelEncryptionConfigCommandOutput | UpdateFieldLevelEncryptionProfileCommandOutput | UpdateFunctionCommandOutput | UpdateKeyGroupCommandOutput | UpdateOriginRequestPolicyCommandOutput | UpdatePublicKeyCommandOutput | UpdateRealtimeLogConfigCommandOutput | UpdateResponseHeadersPolicyCommandOutput | UpdateStreamingDistributionCommandOutput;
|
|
96
103
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
97
104
|
/**
|
|
98
105
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -161,6 +168,14 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
161
168
|
* Optional logger for logging debug/info/warn/error.
|
|
162
169
|
*/
|
|
163
170
|
logger?: __Logger;
|
|
171
|
+
/**
|
|
172
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
173
|
+
*/
|
|
174
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
175
|
+
/**
|
|
176
|
+
* Enables FIPS compatible endpoints.
|
|
177
|
+
*/
|
|
178
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
164
179
|
/**
|
|
165
180
|
* Unique service identifier.
|
|
166
181
|
* @internal
|
|
@@ -30,7 +30,7 @@ export interface AssociateAliasCommandOutput extends __MetadataBearer {
|
|
|
30
30
|
*
|
|
31
31
|
* @see {@link AssociateAliasCommandInput} for command's `input` shape.
|
|
32
32
|
* @see {@link AssociateAliasCommandOutput} for command's `response` shape.
|
|
33
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for
|
|
33
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
34
34
|
*
|
|
35
35
|
*/
|
|
36
36
|
export declare class AssociateAliasCommand extends $Command<AssociateAliasCommandInput, AssociateAliasCommandOutput, CloudFrontClientResolvedConfig> {
|
|
@@ -40,7 +40,7 @@ export interface CreateCachePolicyCommandOutput extends CreateCachePolicyResult,
|
|
|
40
40
|
*
|
|
41
41
|
* @see {@link CreateCachePolicyCommandInput} for command's `input` shape.
|
|
42
42
|
* @see {@link CreateCachePolicyCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for
|
|
43
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
44
44
|
*
|
|
45
45
|
*/
|
|
46
46
|
export declare class CreateCachePolicyCommand extends $Command<CreateCachePolicyCommandInput, CreateCachePolicyCommandOutput, CloudFrontClientResolvedConfig> {
|
|
@@ -23,7 +23,7 @@ export interface CreateCloudFrontOriginAccessIdentityCommandOutput extends Creat
|
|
|
23
23
|
*
|
|
24
24
|
* @see {@link CreateCloudFrontOriginAccessIdentityCommandInput} for command's `input` shape.
|
|
25
25
|
* @see {@link CreateCloudFrontOriginAccessIdentityCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for
|
|
26
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
27
27
|
*
|
|
28
28
|
*/
|
|
29
29
|
export declare class CreateCloudFrontOriginAccessIdentityCommand extends $Command<CreateCloudFrontOriginAccessIdentityCommandInput, CreateCloudFrontOriginAccessIdentityCommandOutput, CloudFrontClientResolvedConfig> {
|
|
@@ -32,7 +32,7 @@ export interface CreateDistributionCommandOutput extends CreateDistributionResul
|
|
|
32
32
|
*
|
|
33
33
|
* @see {@link CreateDistributionCommandInput} for command's `input` shape.
|
|
34
34
|
* @see {@link CreateDistributionCommandOutput} for command's `response` shape.
|
|
35
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for
|
|
35
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
36
36
|
*
|
|
37
37
|
*/
|
|
38
38
|
export declare class CreateDistributionCommand extends $Command<CreateDistributionCommandInput, CreateDistributionCommandOutput, CloudFrontClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface CreateDistributionWithTagsCommandOutput extends CreateDistribut
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link CreateDistributionWithTagsCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link CreateDistributionWithTagsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class CreateDistributionWithTagsCommand extends $Command<CreateDistributionWithTagsCommandInput, CreateDistributionWithTagsCommandOutput, CloudFrontClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface CreateFieldLevelEncryptionConfigCommandOutput extends CreateFie
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link CreateFieldLevelEncryptionConfigCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link CreateFieldLevelEncryptionConfigCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class CreateFieldLevelEncryptionConfigCommand extends $Command<CreateFieldLevelEncryptionConfigCommandInput, CreateFieldLevelEncryptionConfigCommandOutput, CloudFrontClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface CreateFieldLevelEncryptionProfileCommandOutput extends CreateFi
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link CreateFieldLevelEncryptionProfileCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link CreateFieldLevelEncryptionProfileCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class CreateFieldLevelEncryptionProfileCommand extends $Command<CreateFieldLevelEncryptionProfileCommandInput, CreateFieldLevelEncryptionProfileCommandOutput, CloudFrontClientResolvedConfig> {
|
|
@@ -30,7 +30,7 @@ export interface CreateFunctionCommandOutput extends CreateFunctionResult, __Met
|
|
|
30
30
|
*
|
|
31
31
|
* @see {@link CreateFunctionCommandInput} for command's `input` shape.
|
|
32
32
|
* @see {@link CreateFunctionCommandOutput} for command's `response` shape.
|
|
33
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for
|
|
33
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
34
34
|
*
|
|
35
35
|
*/
|
|
36
36
|
export declare class CreateFunctionCommand extends $Command<CreateFunctionCommandInput, CreateFunctionCommandOutput, CloudFrontClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface CreateInvalidationCommandOutput extends CreateInvalidationResul
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link CreateInvalidationCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link CreateInvalidationCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class CreateInvalidationCommand extends $Command<CreateInvalidationCommandInput, CreateInvalidationCommandOutput, CloudFrontClientResolvedConfig> {
|
|
@@ -27,7 +27,7 @@ export interface CreateKeyGroupCommandOutput extends CreateKeyGroupResult, __Met
|
|
|
27
27
|
*
|
|
28
28
|
* @see {@link CreateKeyGroupCommandInput} for command's `input` shape.
|
|
29
29
|
* @see {@link CreateKeyGroupCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for
|
|
30
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
31
31
|
*
|
|
32
32
|
*/
|
|
33
33
|
export declare class CreateKeyGroupCommand extends $Command<CreateKeyGroupCommandInput, CreateKeyGroupCommandOutput, CloudFrontClientResolvedConfig> {
|
|
@@ -23,7 +23,7 @@ export interface CreateMonitoringSubscriptionCommandOutput extends CreateMonitor
|
|
|
23
23
|
*
|
|
24
24
|
* @see {@link CreateMonitoringSubscriptionCommandInput} for command's `input` shape.
|
|
25
25
|
* @see {@link CreateMonitoringSubscriptionCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for
|
|
26
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
27
27
|
*
|
|
28
28
|
*/
|
|
29
29
|
export declare class CreateMonitoringSubscriptionCommand extends $Command<CreateMonitoringSubscriptionCommandInput, CreateMonitoringSubscriptionCommandOutput, CloudFrontClientResolvedConfig> {
|
|
@@ -44,7 +44,7 @@ export interface CreateOriginRequestPolicyCommandOutput extends CreateOriginRequ
|
|
|
44
44
|
*
|
|
45
45
|
* @see {@link CreateOriginRequestPolicyCommandInput} for command's `input` shape.
|
|
46
46
|
* @see {@link CreateOriginRequestPolicyCommandOutput} for command's `response` shape.
|
|
47
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for
|
|
47
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
48
48
|
*
|
|
49
49
|
*/
|
|
50
50
|
export declare class CreateOriginRequestPolicyCommand extends $Command<CreateOriginRequestPolicyCommandInput, CreateOriginRequestPolicyCommandOutput, CloudFrontClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface CreatePublicKeyCommandOutput extends CreatePublicKeyResult, __M
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link CreatePublicKeyCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link CreatePublicKeyCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class CreatePublicKeyCommand extends $Command<CreatePublicKeyCommandInput, CreatePublicKeyCommandOutput, CloudFrontClientResolvedConfig> {
|
|
@@ -23,7 +23,7 @@ export interface CreateRealtimeLogConfigCommandOutput extends CreateRealtimeLogC
|
|
|
23
23
|
*
|
|
24
24
|
* @see {@link CreateRealtimeLogConfigCommandInput} for command's `input` shape.
|
|
25
25
|
* @see {@link CreateRealtimeLogConfigCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for
|
|
26
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
27
27
|
*
|
|
28
28
|
*/
|
|
29
29
|
export declare class CreateRealtimeLogConfigCommand extends $Command<CreateRealtimeLogConfigCommandInput, CreateRealtimeLogConfigCommandOutput, CloudFrontClientResolvedConfig> {
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
4
|
+
import { CreateResponseHeadersPolicyRequest, CreateResponseHeadersPolicyResult } from "../models/models_0";
|
|
5
|
+
export interface CreateResponseHeadersPolicyCommandInput extends CreateResponseHeadersPolicyRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateResponseHeadersPolicyCommandOutput extends CreateResponseHeadersPolicyResult, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Creates a response headers policy.</p>
|
|
11
|
+
* <p>A response headers policy contains information about a set of HTTP response headers
|
|
12
|
+
* and their values. To create a response headers policy, you provide some metadata about
|
|
13
|
+
* the policy, and a set of configurations that specify the response headers.</p>
|
|
14
|
+
* <p>After you create a response headers policy, you can use its ID to attach it to one or more
|
|
15
|
+
* cache behaviors in a CloudFront distribution. When it’s attached to a cache behavior, CloudFront
|
|
16
|
+
* adds the headers in the policy to HTTP responses that it sends for requests that match
|
|
17
|
+
* the cache behavior.</p>
|
|
18
|
+
* @example
|
|
19
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
+
* ```javascript
|
|
21
|
+
* import { CloudFrontClient, CreateResponseHeadersPolicyCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
22
|
+
* // const { CloudFrontClient, CreateResponseHeadersPolicyCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
23
|
+
* const client = new CloudFrontClient(config);
|
|
24
|
+
* const command = new CreateResponseHeadersPolicyCommand(input);
|
|
25
|
+
* const response = await client.send(command);
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* @see {@link CreateResponseHeadersPolicyCommandInput} for command's `input` shape.
|
|
29
|
+
* @see {@link CreateResponseHeadersPolicyCommandOutput} for command's `response` shape.
|
|
30
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
export declare class CreateResponseHeadersPolicyCommand extends $Command<CreateResponseHeadersPolicyCommandInput, CreateResponseHeadersPolicyCommandOutput, CloudFrontClientResolvedConfig> {
|
|
34
|
+
readonly input: CreateResponseHeadersPolicyCommandInput;
|
|
35
|
+
constructor(input: CreateResponseHeadersPolicyCommandInput);
|
|
36
|
+
/**
|
|
37
|
+
* @internal
|
|
38
|
+
*/
|
|
39
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateResponseHeadersPolicyCommandInput, CreateResponseHeadersPolicyCommandOutput>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -22,7 +22,7 @@ export interface CreateStreamingDistributionCommandOutput extends CreateStreamin
|
|
|
22
22
|
*
|
|
23
23
|
* @see {@link CreateStreamingDistributionCommandInput} for command's `input` shape.
|
|
24
24
|
* @see {@link CreateStreamingDistributionCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for
|
|
25
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
28
|
export declare class CreateStreamingDistributionCommand extends $Command<CreateStreamingDistributionCommandInput, CreateStreamingDistributionCommandOutput, CloudFrontClientResolvedConfig> {
|
|
@@ -22,7 +22,7 @@ export interface CreateStreamingDistributionWithTagsCommandOutput extends Create
|
|
|
22
22
|
*
|
|
23
23
|
* @see {@link CreateStreamingDistributionWithTagsCommandInput} for command's `input` shape.
|
|
24
24
|
* @see {@link CreateStreamingDistributionWithTagsCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for
|
|
25
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
28
|
export declare class CreateStreamingDistributionWithTagsCommand extends $Command<CreateStreamingDistributionWithTagsCommandInput, CreateStreamingDistributionWithTagsCommandOutput, CloudFrontClientResolvedConfig> {
|