@aws-sdk/client-cloudfront 3.930.0 → 3.932.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +10669 -13590
- package/dist-cjs/runtimeConfig.shared.js +6 -0
- package/dist-es/CloudFrontClient.js +2 -0
- package/dist-es/commands/AssociateAliasCommand.js +3 -9
- package/dist-es/commands/AssociateDistributionTenantWebACLCommand.js +3 -9
- package/dist-es/commands/AssociateDistributionWebACLCommand.js +3 -9
- package/dist-es/commands/CopyDistributionCommand.js +3 -10
- package/dist-es/commands/CreateAnycastIpListCommand.js +3 -9
- package/dist-es/commands/CreateCachePolicyCommand.js +3 -9
- package/dist-es/commands/CreateCloudFrontOriginAccessIdentityCommand.js +3 -9
- package/dist-es/commands/CreateConnectionGroupCommand.js +3 -9
- package/dist-es/commands/CreateContinuousDeploymentPolicyCommand.js +3 -9
- package/dist-es/commands/CreateDistributionCommand.js +3 -10
- package/dist-es/commands/CreateDistributionTenantCommand.js +3 -9
- package/dist-es/commands/CreateDistributionWithTagsCommand.js +3 -10
- package/dist-es/commands/CreateFieldLevelEncryptionConfigCommand.js +3 -9
- package/dist-es/commands/CreateFieldLevelEncryptionProfileCommand.js +3 -9
- package/dist-es/commands/CreateFunctionCommand.js +3 -10
- package/dist-es/commands/CreateInvalidationCommand.js +3 -9
- package/dist-es/commands/CreateInvalidationForDistributionTenantCommand.js +3 -9
- package/dist-es/commands/CreateKeyGroupCommand.js +3 -9
- package/dist-es/commands/CreateKeyValueStoreCommand.js +3 -9
- package/dist-es/commands/CreateMonitoringSubscriptionCommand.js +3 -9
- package/dist-es/commands/CreateOriginAccessControlCommand.js +3 -9
- package/dist-es/commands/CreateOriginRequestPolicyCommand.js +3 -9
- package/dist-es/commands/CreatePublicKeyCommand.js +3 -9
- package/dist-es/commands/CreateRealtimeLogConfigCommand.js +3 -9
- package/dist-es/commands/CreateResponseHeadersPolicyCommand.js +3 -9
- package/dist-es/commands/CreateStreamingDistributionCommand.js +3 -9
- package/dist-es/commands/CreateStreamingDistributionWithTagsCommand.js +3 -9
- package/dist-es/commands/CreateVpcOriginCommand.js +3 -9
- package/dist-es/commands/DeleteAnycastIpListCommand.js +3 -9
- package/dist-es/commands/DeleteCachePolicyCommand.js +3 -9
- package/dist-es/commands/DeleteCloudFrontOriginAccessIdentityCommand.js +3 -9
- package/dist-es/commands/DeleteConnectionGroupCommand.js +3 -9
- package/dist-es/commands/DeleteContinuousDeploymentPolicyCommand.js +3 -9
- package/dist-es/commands/DeleteDistributionCommand.js +3 -9
- package/dist-es/commands/DeleteDistributionTenantCommand.js +3 -9
- package/dist-es/commands/DeleteFieldLevelEncryptionConfigCommand.js +3 -9
- package/dist-es/commands/DeleteFieldLevelEncryptionProfileCommand.js +3 -9
- package/dist-es/commands/DeleteFunctionCommand.js +3 -9
- package/dist-es/commands/DeleteKeyGroupCommand.js +3 -9
- package/dist-es/commands/DeleteKeyValueStoreCommand.js +3 -9
- package/dist-es/commands/DeleteMonitoringSubscriptionCommand.js +3 -9
- package/dist-es/commands/DeleteOriginAccessControlCommand.js +3 -9
- package/dist-es/commands/DeleteOriginRequestPolicyCommand.js +3 -9
- package/dist-es/commands/DeletePublicKeyCommand.js +3 -9
- package/dist-es/commands/DeleteRealtimeLogConfigCommand.js +3 -9
- package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -9
- package/dist-es/commands/DeleteResponseHeadersPolicyCommand.js +3 -9
- package/dist-es/commands/DeleteStreamingDistributionCommand.js +3 -9
- package/dist-es/commands/DeleteVpcOriginCommand.js +3 -9
- package/dist-es/commands/DescribeFunctionCommand.js +3 -9
- package/dist-es/commands/DescribeKeyValueStoreCommand.js +3 -9
- package/dist-es/commands/DisassociateDistributionTenantWebACLCommand.js +3 -9
- package/dist-es/commands/DisassociateDistributionWebACLCommand.js +3 -9
- package/dist-es/commands/GetAnycastIpListCommand.js +3 -9
- package/dist-es/commands/GetCachePolicyCommand.js +3 -9
- package/dist-es/commands/GetCachePolicyConfigCommand.js +3 -9
- package/dist-es/commands/GetCloudFrontOriginAccessIdentityCommand.js +3 -9
- package/dist-es/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js +3 -9
- package/dist-es/commands/GetConnectionGroupByRoutingEndpointCommand.js +3 -9
- package/dist-es/commands/GetConnectionGroupCommand.js +3 -9
- package/dist-es/commands/GetContinuousDeploymentPolicyCommand.js +3 -9
- package/dist-es/commands/GetContinuousDeploymentPolicyConfigCommand.js +3 -9
- package/dist-es/commands/GetDistributionCommand.js +3 -10
- package/dist-es/commands/GetDistributionConfigCommand.js +3 -10
- package/dist-es/commands/GetDistributionTenantByDomainCommand.js +3 -9
- package/dist-es/commands/GetDistributionTenantCommand.js +3 -9
- package/dist-es/commands/GetFieldLevelEncryptionCommand.js +3 -9
- package/dist-es/commands/GetFieldLevelEncryptionConfigCommand.js +3 -9
- package/dist-es/commands/GetFieldLevelEncryptionProfileCommand.js +3 -9
- package/dist-es/commands/GetFieldLevelEncryptionProfileConfigCommand.js +3 -9
- package/dist-es/commands/GetFunctionCommand.js +3 -10
- package/dist-es/commands/GetInvalidationCommand.js +3 -9
- package/dist-es/commands/GetInvalidationForDistributionTenantCommand.js +3 -9
- package/dist-es/commands/GetKeyGroupCommand.js +3 -9
- package/dist-es/commands/GetKeyGroupConfigCommand.js +3 -9
- package/dist-es/commands/GetManagedCertificateDetailsCommand.js +3 -9
- package/dist-es/commands/GetMonitoringSubscriptionCommand.js +3 -9
- package/dist-es/commands/GetOriginAccessControlCommand.js +3 -9
- package/dist-es/commands/GetOriginAccessControlConfigCommand.js +3 -9
- package/dist-es/commands/GetOriginRequestPolicyCommand.js +3 -9
- package/dist-es/commands/GetOriginRequestPolicyConfigCommand.js +3 -9
- package/dist-es/commands/GetPublicKeyCommand.js +3 -9
- package/dist-es/commands/GetPublicKeyConfigCommand.js +3 -9
- package/dist-es/commands/GetRealtimeLogConfigCommand.js +3 -9
- package/dist-es/commands/GetResourcePolicyCommand.js +3 -9
- package/dist-es/commands/GetResponseHeadersPolicyCommand.js +3 -9
- package/dist-es/commands/GetResponseHeadersPolicyConfigCommand.js +3 -9
- package/dist-es/commands/GetStreamingDistributionCommand.js +3 -9
- package/dist-es/commands/GetStreamingDistributionConfigCommand.js +3 -9
- package/dist-es/commands/GetVpcOriginCommand.js +3 -9
- package/dist-es/commands/ListAnycastIpListsCommand.js +3 -9
- package/dist-es/commands/ListCachePoliciesCommand.js +3 -9
- package/dist-es/commands/ListCloudFrontOriginAccessIdentitiesCommand.js +3 -9
- package/dist-es/commands/ListConflictingAliasesCommand.js +3 -9
- package/dist-es/commands/ListConnectionGroupsCommand.js +3 -9
- package/dist-es/commands/ListContinuousDeploymentPoliciesCommand.js +3 -9
- package/dist-es/commands/ListDistributionTenantsByCustomizationCommand.js +3 -9
- package/dist-es/commands/ListDistributionTenantsCommand.js +3 -9
- package/dist-es/commands/ListDistributionsByAnycastIpListIdCommand.js +3 -10
- package/dist-es/commands/ListDistributionsByCachePolicyIdCommand.js +3 -9
- package/dist-es/commands/ListDistributionsByConnectionModeCommand.js +3 -10
- package/dist-es/commands/ListDistributionsByKeyGroupCommand.js +3 -9
- package/dist-es/commands/ListDistributionsByOriginRequestPolicyIdCommand.js +3 -9
- package/dist-es/commands/ListDistributionsByOwnedResourceCommand.js +3 -9
- package/dist-es/commands/ListDistributionsByRealtimeLogConfigCommand.js +3 -10
- package/dist-es/commands/ListDistributionsByResponseHeadersPolicyIdCommand.js +3 -9
- package/dist-es/commands/ListDistributionsByVpcOriginIdCommand.js +3 -9
- package/dist-es/commands/ListDistributionsByWebACLIdCommand.js +3 -10
- package/dist-es/commands/ListDistributionsCommand.js +3 -10
- package/dist-es/commands/ListDomainConflictsCommand.js +3 -9
- package/dist-es/commands/ListFieldLevelEncryptionConfigsCommand.js +3 -9
- package/dist-es/commands/ListFieldLevelEncryptionProfilesCommand.js +3 -9
- package/dist-es/commands/ListFunctionsCommand.js +3 -9
- package/dist-es/commands/ListInvalidationsCommand.js +3 -9
- package/dist-es/commands/ListInvalidationsForDistributionTenantCommand.js +3 -9
- package/dist-es/commands/ListKeyGroupsCommand.js +3 -9
- package/dist-es/commands/ListKeyValueStoresCommand.js +3 -9
- package/dist-es/commands/ListOriginAccessControlsCommand.js +3 -9
- package/dist-es/commands/ListOriginRequestPoliciesCommand.js +3 -9
- package/dist-es/commands/ListPublicKeysCommand.js +3 -9
- package/dist-es/commands/ListRealtimeLogConfigsCommand.js +3 -9
- package/dist-es/commands/ListResponseHeadersPoliciesCommand.js +3 -9
- package/dist-es/commands/ListStreamingDistributionsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListVpcOriginsCommand.js +3 -9
- package/dist-es/commands/PublishFunctionCommand.js +3 -9
- package/dist-es/commands/PutResourcePolicyCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/TestFunctionCommand.js +3 -10
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateAnycastIpListCommand.js +3 -9
- package/dist-es/commands/UpdateCachePolicyCommand.js +3 -9
- package/dist-es/commands/UpdateCloudFrontOriginAccessIdentityCommand.js +3 -9
- package/dist-es/commands/UpdateConnectionGroupCommand.js +3 -9
- package/dist-es/commands/UpdateContinuousDeploymentPolicyCommand.js +3 -9
- package/dist-es/commands/UpdateDistributionCommand.js +3 -10
- package/dist-es/commands/UpdateDistributionTenantCommand.js +3 -9
- package/dist-es/commands/UpdateDistributionWithStagingConfigCommand.js +3 -10
- package/dist-es/commands/UpdateDomainAssociationCommand.js +3 -9
- package/dist-es/commands/UpdateFieldLevelEncryptionConfigCommand.js +3 -9
- package/dist-es/commands/UpdateFieldLevelEncryptionProfileCommand.js +3 -9
- package/dist-es/commands/UpdateFunctionCommand.js +3 -10
- package/dist-es/commands/UpdateKeyGroupCommand.js +3 -9
- package/dist-es/commands/UpdateKeyValueStoreCommand.js +3 -9
- package/dist-es/commands/UpdateOriginAccessControlCommand.js +3 -9
- package/dist-es/commands/UpdateOriginRequestPolicyCommand.js +3 -9
- package/dist-es/commands/UpdatePublicKeyCommand.js +3 -9
- package/dist-es/commands/UpdateRealtimeLogConfigCommand.js +3 -9
- package/dist-es/commands/UpdateResponseHeadersPolicyCommand.js +3 -9
- package/dist-es/commands/UpdateStreamingDistributionCommand.js +3 -9
- package/dist-es/commands/UpdateVpcOriginCommand.js +3 -9
- package/dist-es/commands/VerifyDnsConfigurationCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -73
- package/dist-es/models/models_1.js +0 -42
- package/dist-es/models/models_2.js +0 -32
- package/dist-es/runtimeConfig.shared.js +6 -0
- package/dist-es/schemas/schemas_0.js +10270 -0
- package/dist-types/CloudFrontClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -68
- package/dist-types/models/models_1.d.ts +0 -40
- package/dist-types/models/models_2.d.ts +0 -28
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +861 -0
- package/dist-types/ts3.4/CloudFrontClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -43
- package/dist-types/ts3.4/models/models_1.d.ts +0 -30
- package/dist-types/ts3.4/models/models_2.d.ts +0 -19
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +6 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +6 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +6 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +7 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +867 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_restXml.js +0 -12260
- package/dist-types/protocols/Aws_restXml.d.ts +0 -1370
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +0 -1829
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateDistributionWithStagingConfigCommand, se_UpdateDistributionWithStagingConfigCommand, } from "../protocols/Aws_restXml";
|
|
4
|
+
import { UpdateDistributionWithStagingConfig } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateDistributionWithStagingConfigCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("Cloudfront2020_05_31", "UpdateDistributionWithStagingConfig", {})
|
|
18
13
|
.n("CloudFrontClient", "UpdateDistributionWithStagingConfigCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateDistributionWithStagingConfigCommand)
|
|
21
|
-
.de(de_UpdateDistributionWithStagingConfigCommand)
|
|
14
|
+
.sc(UpdateDistributionWithStagingConfig)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateDomainAssociation } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateDomainAssociationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Cloudfront2020_05_31", "UpdateDomainAssociation", {})
|
|
17
13
|
.n("CloudFrontClient", "UpdateDomainAssociationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateDomainAssociationCommand)
|
|
20
|
-
.de(de_UpdateDomainAssociationCommand)
|
|
14
|
+
.sc(UpdateDomainAssociation)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateFieldLevelEncryptionConfig } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateFieldLevelEncryptionConfigCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Cloudfront2020_05_31", "UpdateFieldLevelEncryptionConfig", {})
|
|
17
13
|
.n("CloudFrontClient", "UpdateFieldLevelEncryptionConfigCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateFieldLevelEncryptionConfigCommand)
|
|
20
|
-
.de(de_UpdateFieldLevelEncryptionConfigCommand)
|
|
14
|
+
.sc(UpdateFieldLevelEncryptionConfig)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateFieldLevelEncryptionProfile } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateFieldLevelEncryptionProfileCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Cloudfront2020_05_31", "UpdateFieldLevelEncryptionProfile", {})
|
|
17
13
|
.n("CloudFrontClient", "UpdateFieldLevelEncryptionProfileCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateFieldLevelEncryptionProfileCommand)
|
|
20
|
-
.de(de_UpdateFieldLevelEncryptionProfileCommand)
|
|
14
|
+
.sc(UpdateFieldLevelEncryptionProfile)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateFunctionCommand, se_UpdateFunctionCommand } from "../protocols/Aws_restXml";
|
|
4
|
+
import { UpdateFunction } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateFunctionCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("Cloudfront2020_05_31", "UpdateFunction", {})
|
|
18
13
|
.n("CloudFrontClient", "UpdateFunctionCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateFunctionCommand)
|
|
21
|
-
.de(de_UpdateFunctionCommand)
|
|
14
|
+
.sc(UpdateFunction)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateKeyGroup } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateKeyGroupCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Cloudfront2020_05_31", "UpdateKeyGroup", {})
|
|
17
13
|
.n("CloudFrontClient", "UpdateKeyGroupCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateKeyGroupCommand)
|
|
20
|
-
.de(de_UpdateKeyGroupCommand)
|
|
14
|
+
.sc(UpdateKeyGroup)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateKeyValueStore } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateKeyValueStoreCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Cloudfront2020_05_31", "UpdateKeyValueStore", {})
|
|
17
13
|
.n("CloudFrontClient", "UpdateKeyValueStoreCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateKeyValueStoreCommand)
|
|
20
|
-
.de(de_UpdateKeyValueStoreCommand)
|
|
14
|
+
.sc(UpdateKeyValueStore)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateOriginAccessControl } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateOriginAccessControlCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Cloudfront2020_05_31", "UpdateOriginAccessControl", {})
|
|
17
13
|
.n("CloudFrontClient", "UpdateOriginAccessControlCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateOriginAccessControlCommand)
|
|
20
|
-
.de(de_UpdateOriginAccessControlCommand)
|
|
14
|
+
.sc(UpdateOriginAccessControl)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateOriginRequestPolicy } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateOriginRequestPolicyCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Cloudfront2020_05_31", "UpdateOriginRequestPolicy", {})
|
|
17
13
|
.n("CloudFrontClient", "UpdateOriginRequestPolicyCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateOriginRequestPolicyCommand)
|
|
20
|
-
.de(de_UpdateOriginRequestPolicyCommand)
|
|
14
|
+
.sc(UpdateOriginRequestPolicy)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdatePublicKey } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdatePublicKeyCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Cloudfront2020_05_31", "UpdatePublicKey", {})
|
|
17
13
|
.n("CloudFrontClient", "UpdatePublicKeyCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdatePublicKeyCommand)
|
|
20
|
-
.de(de_UpdatePublicKeyCommand)
|
|
14
|
+
.sc(UpdatePublicKey)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateRealtimeLogConfig } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateRealtimeLogConfigCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Cloudfront2020_05_31", "UpdateRealtimeLogConfig", {})
|
|
17
13
|
.n("CloudFrontClient", "UpdateRealtimeLogConfigCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateRealtimeLogConfigCommand)
|
|
20
|
-
.de(de_UpdateRealtimeLogConfigCommand)
|
|
14
|
+
.sc(UpdateRealtimeLogConfig)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateResponseHeadersPolicy } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateResponseHeadersPolicyCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Cloudfront2020_05_31", "UpdateResponseHeadersPolicy", {})
|
|
17
13
|
.n("CloudFrontClient", "UpdateResponseHeadersPolicyCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateResponseHeadersPolicyCommand)
|
|
20
|
-
.de(de_UpdateResponseHeadersPolicyCommand)
|
|
14
|
+
.sc(UpdateResponseHeadersPolicy)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateStreamingDistribution } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateStreamingDistributionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Cloudfront2020_05_31", "UpdateStreamingDistribution", {})
|
|
17
13
|
.n("CloudFrontClient", "UpdateStreamingDistributionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateStreamingDistributionCommand)
|
|
20
|
-
.de(de_UpdateStreamingDistributionCommand)
|
|
14
|
+
.sc(UpdateStreamingDistribution)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateVpcOrigin } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateVpcOriginCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Cloudfront2020_05_31", "UpdateVpcOrigin", {})
|
|
17
13
|
.n("CloudFrontClient", "UpdateVpcOriginCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateVpcOriginCommand)
|
|
20
|
-
.de(de_UpdateVpcOriginCommand)
|
|
14
|
+
.sc(UpdateVpcOrigin)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { VerifyDnsConfiguration } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class VerifyDnsConfigurationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Cloudfront2020_05_31", "VerifyDnsConfiguration", {})
|
|
17
13
|
.n("CloudFrontClient", "VerifyDnsConfigurationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_VerifyDnsConfigurationCommand)
|
|
20
|
-
.de(de_VerifyDnsConfigurationCommand)
|
|
14
|
+
.sc(VerifyDnsConfiguration)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { CloudFrontServiceException as __BaseException } from "./CloudFrontServiceException";
|
|
3
2
|
export const ResponseHeadersPolicyAccessControlAllowMethodsValues = {
|
|
4
3
|
ALL: "ALL",
|
|
@@ -1728,75 +1727,3 @@ export const OriginAccessControlSigningBehaviors = {
|
|
|
1728
1727
|
export const OriginAccessControlSigningProtocols = {
|
|
1729
1728
|
sigv4: "sigv4",
|
|
1730
1729
|
};
|
|
1731
|
-
export const OriginCustomHeaderFilterSensitiveLog = (obj) => ({
|
|
1732
|
-
...obj,
|
|
1733
|
-
...(obj.HeaderValue && { HeaderValue: SENSITIVE_STRING }),
|
|
1734
|
-
});
|
|
1735
|
-
export const CustomHeadersFilterSensitiveLog = (obj) => ({
|
|
1736
|
-
...obj,
|
|
1737
|
-
...(obj.Items && { Items: obj.Items.map((item) => OriginCustomHeaderFilterSensitiveLog(item)) }),
|
|
1738
|
-
});
|
|
1739
|
-
export const OriginFilterSensitiveLog = (obj) => ({
|
|
1740
|
-
...obj,
|
|
1741
|
-
...(obj.CustomHeaders && { CustomHeaders: CustomHeadersFilterSensitiveLog(obj.CustomHeaders) }),
|
|
1742
|
-
});
|
|
1743
|
-
export const OriginsFilterSensitiveLog = (obj) => ({
|
|
1744
|
-
...obj,
|
|
1745
|
-
});
|
|
1746
|
-
export const StringSchemaConfigFilterSensitiveLog = (obj) => ({
|
|
1747
|
-
...obj,
|
|
1748
|
-
...(obj.Comment && { Comment: SENSITIVE_STRING }),
|
|
1749
|
-
});
|
|
1750
|
-
export const ParameterDefinitionSchemaFilterSensitiveLog = (obj) => ({
|
|
1751
|
-
...obj,
|
|
1752
|
-
...(obj.StringSchema && { StringSchema: StringSchemaConfigFilterSensitiveLog(obj.StringSchema) }),
|
|
1753
|
-
});
|
|
1754
|
-
export const ParameterDefinitionFilterSensitiveLog = (obj) => ({
|
|
1755
|
-
...obj,
|
|
1756
|
-
...(obj.Definition && { Definition: ParameterDefinitionSchemaFilterSensitiveLog(obj.Definition) }),
|
|
1757
|
-
});
|
|
1758
|
-
export const TenantConfigFilterSensitiveLog = (obj) => ({
|
|
1759
|
-
...obj,
|
|
1760
|
-
...(obj.ParameterDefinitions && {
|
|
1761
|
-
ParameterDefinitions: obj.ParameterDefinitions.map((item) => ParameterDefinitionFilterSensitiveLog(item)),
|
|
1762
|
-
}),
|
|
1763
|
-
});
|
|
1764
|
-
export const DistributionConfigFilterSensitiveLog = (obj) => ({
|
|
1765
|
-
...obj,
|
|
1766
|
-
...(obj.Comment && { Comment: SENSITIVE_STRING }),
|
|
1767
|
-
...(obj.TenantConfig && { TenantConfig: TenantConfigFilterSensitiveLog(obj.TenantConfig) }),
|
|
1768
|
-
});
|
|
1769
|
-
export const DistributionFilterSensitiveLog = (obj) => ({
|
|
1770
|
-
...obj,
|
|
1771
|
-
...(obj.DistributionConfig && { DistributionConfig: DistributionConfigFilterSensitiveLog(obj.DistributionConfig) }),
|
|
1772
|
-
});
|
|
1773
|
-
export const CopyDistributionResultFilterSensitiveLog = (obj) => ({
|
|
1774
|
-
...obj,
|
|
1775
|
-
...(obj.Distribution && { Distribution: DistributionFilterSensitiveLog(obj.Distribution) }),
|
|
1776
|
-
});
|
|
1777
|
-
export const CreateDistributionRequestFilterSensitiveLog = (obj) => ({
|
|
1778
|
-
...obj,
|
|
1779
|
-
...(obj.DistributionConfig && { DistributionConfig: DistributionConfigFilterSensitiveLog(obj.DistributionConfig) }),
|
|
1780
|
-
});
|
|
1781
|
-
export const CreateDistributionResultFilterSensitiveLog = (obj) => ({
|
|
1782
|
-
...obj,
|
|
1783
|
-
...(obj.Distribution && { Distribution: DistributionFilterSensitiveLog(obj.Distribution) }),
|
|
1784
|
-
});
|
|
1785
|
-
export const DistributionConfigWithTagsFilterSensitiveLog = (obj) => ({
|
|
1786
|
-
...obj,
|
|
1787
|
-
...(obj.DistributionConfig && { DistributionConfig: DistributionConfigFilterSensitiveLog(obj.DistributionConfig) }),
|
|
1788
|
-
});
|
|
1789
|
-
export const CreateDistributionWithTagsRequestFilterSensitiveLog = (obj) => ({
|
|
1790
|
-
...obj,
|
|
1791
|
-
...(obj.DistributionConfigWithTags && {
|
|
1792
|
-
DistributionConfigWithTags: DistributionConfigWithTagsFilterSensitiveLog(obj.DistributionConfigWithTags),
|
|
1793
|
-
}),
|
|
1794
|
-
});
|
|
1795
|
-
export const CreateDistributionWithTagsResultFilterSensitiveLog = (obj) => ({
|
|
1796
|
-
...obj,
|
|
1797
|
-
...(obj.Distribution && { Distribution: DistributionFilterSensitiveLog(obj.Distribution) }),
|
|
1798
|
-
});
|
|
1799
|
-
export const CreateFunctionRequestFilterSensitiveLog = (obj) => ({
|
|
1800
|
-
...obj,
|
|
1801
|
-
...(obj.FunctionCode && { FunctionCode: SENSITIVE_STRING }),
|
|
1802
|
-
});
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { CloudFrontServiceException as __BaseException } from "./CloudFrontServiceException";
|
|
3
|
-
import { DistributionConfigFilterSensitiveLog, DistributionFilterSensitiveLog, } from "./models_0";
|
|
4
2
|
export class OriginAccessControlAlreadyExists extends __BaseException {
|
|
5
3
|
name = "OriginAccessControlAlreadyExists";
|
|
6
4
|
$fault = "client";
|
|
@@ -611,43 +609,3 @@ export const OriginRequestPolicyType = {
|
|
|
611
609
|
custom: "custom",
|
|
612
610
|
managed: "managed",
|
|
613
611
|
};
|
|
614
|
-
export const GetDistributionResultFilterSensitiveLog = (obj) => ({
|
|
615
|
-
...obj,
|
|
616
|
-
...(obj.Distribution && { Distribution: DistributionFilterSensitiveLog(obj.Distribution) }),
|
|
617
|
-
});
|
|
618
|
-
export const GetDistributionConfigResultFilterSensitiveLog = (obj) => ({
|
|
619
|
-
...obj,
|
|
620
|
-
...(obj.DistributionConfig && { DistributionConfig: DistributionConfigFilterSensitiveLog(obj.DistributionConfig) }),
|
|
621
|
-
});
|
|
622
|
-
export const GetFunctionResultFilterSensitiveLog = (obj) => ({
|
|
623
|
-
...obj,
|
|
624
|
-
...(obj.FunctionCode && { FunctionCode: SENSITIVE_STRING }),
|
|
625
|
-
});
|
|
626
|
-
export const DistributionSummaryFilterSensitiveLog = (obj) => ({
|
|
627
|
-
...obj,
|
|
628
|
-
...(obj.Comment && { Comment: SENSITIVE_STRING }),
|
|
629
|
-
});
|
|
630
|
-
export const DistributionListFilterSensitiveLog = (obj) => ({
|
|
631
|
-
...obj,
|
|
632
|
-
...(obj.Items && { Items: obj.Items.map((item) => DistributionSummaryFilterSensitiveLog(item)) }),
|
|
633
|
-
});
|
|
634
|
-
export const ListDistributionsResultFilterSensitiveLog = (obj) => ({
|
|
635
|
-
...obj,
|
|
636
|
-
...(obj.DistributionList && { DistributionList: DistributionListFilterSensitiveLog(obj.DistributionList) }),
|
|
637
|
-
});
|
|
638
|
-
export const ListDistributionsByAnycastIpListIdResultFilterSensitiveLog = (obj) => ({
|
|
639
|
-
...obj,
|
|
640
|
-
...(obj.DistributionList && { DistributionList: DistributionListFilterSensitiveLog(obj.DistributionList) }),
|
|
641
|
-
});
|
|
642
|
-
export const ListDistributionsByConnectionModeResultFilterSensitiveLog = (obj) => ({
|
|
643
|
-
...obj,
|
|
644
|
-
...(obj.DistributionList && { DistributionList: DistributionListFilterSensitiveLog(obj.DistributionList) }),
|
|
645
|
-
});
|
|
646
|
-
export const ListDistributionsByRealtimeLogConfigResultFilterSensitiveLog = (obj) => ({
|
|
647
|
-
...obj,
|
|
648
|
-
...(obj.DistributionList && { DistributionList: DistributionListFilterSensitiveLog(obj.DistributionList) }),
|
|
649
|
-
});
|
|
650
|
-
export const ListDistributionsByWebACLIdResultFilterSensitiveLog = (obj) => ({
|
|
651
|
-
...obj,
|
|
652
|
-
...(obj.DistributionList && { DistributionList: DistributionListFilterSensitiveLog(obj.DistributionList) }),
|
|
653
|
-
});
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { CloudFrontServiceException as __BaseException } from "./CloudFrontServiceException";
|
|
3
|
-
import { DistributionConfigFilterSensitiveLog, DistributionFilterSensitiveLog, } from "./models_0";
|
|
4
2
|
export const ResponseHeadersPolicyType = {
|
|
5
3
|
custom: "custom",
|
|
6
4
|
managed: "managed",
|
|
@@ -24,33 +22,3 @@ export const DnsConfigurationStatus = {
|
|
|
24
22
|
Unknown: "unknown-configuration",
|
|
25
23
|
Valid: "valid-configuration",
|
|
26
24
|
};
|
|
27
|
-
export const TestFunctionRequestFilterSensitiveLog = (obj) => ({
|
|
28
|
-
...obj,
|
|
29
|
-
...(obj.EventObject && { EventObject: SENSITIVE_STRING }),
|
|
30
|
-
});
|
|
31
|
-
export const TestResultFilterSensitiveLog = (obj) => ({
|
|
32
|
-
...obj,
|
|
33
|
-
...(obj.FunctionExecutionLogs && { FunctionExecutionLogs: SENSITIVE_STRING }),
|
|
34
|
-
...(obj.FunctionErrorMessage && { FunctionErrorMessage: SENSITIVE_STRING }),
|
|
35
|
-
...(obj.FunctionOutput && { FunctionOutput: SENSITIVE_STRING }),
|
|
36
|
-
});
|
|
37
|
-
export const TestFunctionResultFilterSensitiveLog = (obj) => ({
|
|
38
|
-
...obj,
|
|
39
|
-
...(obj.TestResult && { TestResult: TestResultFilterSensitiveLog(obj.TestResult) }),
|
|
40
|
-
});
|
|
41
|
-
export const UpdateDistributionRequestFilterSensitiveLog = (obj) => ({
|
|
42
|
-
...obj,
|
|
43
|
-
...(obj.DistributionConfig && { DistributionConfig: DistributionConfigFilterSensitiveLog(obj.DistributionConfig) }),
|
|
44
|
-
});
|
|
45
|
-
export const UpdateDistributionResultFilterSensitiveLog = (obj) => ({
|
|
46
|
-
...obj,
|
|
47
|
-
...(obj.Distribution && { Distribution: DistributionFilterSensitiveLog(obj.Distribution) }),
|
|
48
|
-
});
|
|
49
|
-
export const UpdateDistributionWithStagingConfigResultFilterSensitiveLog = (obj) => ({
|
|
50
|
-
...obj,
|
|
51
|
-
...(obj.Distribution && { Distribution: DistributionFilterSensitiveLog(obj.Distribution) }),
|
|
52
|
-
});
|
|
53
|
-
export const UpdateFunctionRequestFilterSensitiveLog = (obj) => ({
|
|
54
|
-
...obj,
|
|
55
|
-
...(obj.FunctionCode && { FunctionCode: SENSITIVE_STRING }),
|
|
56
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestXmlProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,11 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ??
|
|
27
|
+
new AwsRestXmlProtocol({
|
|
28
|
+
defaultNamespace: "com.amazonaws.cloudfront",
|
|
29
|
+
xmlNamespace: "http://cloudfront.amazonaws.com/doc/2020-05-31/",
|
|
30
|
+
}),
|
|
25
31
|
serviceId: config?.serviceId ?? "CloudFront",
|
|
26
32
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
33
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|