@aws-sdk/client-cloudfront 3.181.0 → 3.183.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 +8 -0
- package/dist-es/CloudFront.js +394 -401
- package/dist-es/CloudFrontClient.js +22 -28
- package/dist-es/commands/AssociateAliasCommand.js +22 -29
- package/dist-es/commands/CreateCachePolicyCommand.js +21 -28
- package/dist-es/commands/CreateCloudFrontOriginAccessIdentityCommand.js +21 -28
- package/dist-es/commands/CreateDistributionCommand.js +21 -28
- package/dist-es/commands/CreateDistributionWithTagsCommand.js +21 -28
- package/dist-es/commands/CreateFieldLevelEncryptionConfigCommand.js +21 -28
- package/dist-es/commands/CreateFieldLevelEncryptionProfileCommand.js +21 -28
- package/dist-es/commands/CreateFunctionCommand.js +21 -28
- package/dist-es/commands/CreateInvalidationCommand.js +21 -28
- package/dist-es/commands/CreateKeyGroupCommand.js +21 -28
- package/dist-es/commands/CreateMonitoringSubscriptionCommand.js +21 -28
- package/dist-es/commands/CreateOriginAccessControlCommand.js +21 -28
- package/dist-es/commands/CreateOriginRequestPolicyCommand.js +21 -28
- package/dist-es/commands/CreatePublicKeyCommand.js +21 -28
- package/dist-es/commands/CreateRealtimeLogConfigCommand.js +21 -28
- package/dist-es/commands/CreateResponseHeadersPolicyCommand.js +21 -28
- package/dist-es/commands/CreateStreamingDistributionCommand.js +21 -28
- package/dist-es/commands/CreateStreamingDistributionWithTagsCommand.js +21 -28
- package/dist-es/commands/DeleteCachePolicyCommand.js +22 -29
- package/dist-es/commands/DeleteCloudFrontOriginAccessIdentityCommand.js +22 -29
- package/dist-es/commands/DeleteDistributionCommand.js +22 -29
- package/dist-es/commands/DeleteFieldLevelEncryptionConfigCommand.js +22 -29
- package/dist-es/commands/DeleteFieldLevelEncryptionProfileCommand.js +22 -29
- package/dist-es/commands/DeleteFunctionCommand.js +22 -29
- package/dist-es/commands/DeleteKeyGroupCommand.js +22 -29
- package/dist-es/commands/DeleteMonitoringSubscriptionCommand.js +21 -28
- package/dist-es/commands/DeleteOriginAccessControlCommand.js +22 -29
- package/dist-es/commands/DeleteOriginRequestPolicyCommand.js +22 -29
- package/dist-es/commands/DeletePublicKeyCommand.js +22 -29
- package/dist-es/commands/DeleteRealtimeLogConfigCommand.js +22 -29
- package/dist-es/commands/DeleteResponseHeadersPolicyCommand.js +22 -29
- package/dist-es/commands/DeleteStreamingDistributionCommand.js +22 -29
- package/dist-es/commands/DescribeFunctionCommand.js +21 -28
- package/dist-es/commands/GetCachePolicyCommand.js +21 -28
- package/dist-es/commands/GetCachePolicyConfigCommand.js +21 -28
- package/dist-es/commands/GetCloudFrontOriginAccessIdentityCommand.js +21 -28
- package/dist-es/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js +21 -28
- package/dist-es/commands/GetDistributionCommand.js +21 -28
- package/dist-es/commands/GetDistributionConfigCommand.js +21 -28
- package/dist-es/commands/GetFieldLevelEncryptionCommand.js +21 -28
- package/dist-es/commands/GetFieldLevelEncryptionConfigCommand.js +21 -28
- package/dist-es/commands/GetFieldLevelEncryptionProfileCommand.js +21 -28
- package/dist-es/commands/GetFieldLevelEncryptionProfileConfigCommand.js +21 -28
- package/dist-es/commands/GetFunctionCommand.js +21 -28
- package/dist-es/commands/GetInvalidationCommand.js +21 -28
- package/dist-es/commands/GetKeyGroupCommand.js +21 -28
- package/dist-es/commands/GetKeyGroupConfigCommand.js +21 -28
- package/dist-es/commands/GetMonitoringSubscriptionCommand.js +21 -28
- package/dist-es/commands/GetOriginAccessControlCommand.js +21 -28
- package/dist-es/commands/GetOriginAccessControlConfigCommand.js +21 -28
- package/dist-es/commands/GetOriginRequestPolicyCommand.js +21 -28
- package/dist-es/commands/GetOriginRequestPolicyConfigCommand.js +21 -28
- package/dist-es/commands/GetPublicKeyCommand.js +21 -28
- package/dist-es/commands/GetPublicKeyConfigCommand.js +21 -28
- package/dist-es/commands/GetRealtimeLogConfigCommand.js +21 -28
- package/dist-es/commands/GetResponseHeadersPolicyCommand.js +21 -28
- package/dist-es/commands/GetResponseHeadersPolicyConfigCommand.js +21 -28
- package/dist-es/commands/GetStreamingDistributionCommand.js +21 -28
- package/dist-es/commands/GetStreamingDistributionConfigCommand.js +21 -28
- package/dist-es/commands/ListCachePoliciesCommand.js +21 -28
- package/dist-es/commands/ListCloudFrontOriginAccessIdentitiesCommand.js +21 -28
- package/dist-es/commands/ListConflictingAliasesCommand.js +21 -28
- package/dist-es/commands/ListDistributionsByCachePolicyIdCommand.js +21 -28
- package/dist-es/commands/ListDistributionsByKeyGroupCommand.js +21 -28
- package/dist-es/commands/ListDistributionsByOriginRequestPolicyIdCommand.js +21 -28
- package/dist-es/commands/ListDistributionsByRealtimeLogConfigCommand.js +21 -28
- package/dist-es/commands/ListDistributionsByResponseHeadersPolicyIdCommand.js +21 -28
- package/dist-es/commands/ListDistributionsByWebACLIdCommand.js +21 -28
- package/dist-es/commands/ListDistributionsCommand.js +21 -28
- package/dist-es/commands/ListFieldLevelEncryptionConfigsCommand.js +21 -28
- package/dist-es/commands/ListFieldLevelEncryptionProfilesCommand.js +21 -28
- package/dist-es/commands/ListFunctionsCommand.js +21 -28
- package/dist-es/commands/ListInvalidationsCommand.js +21 -28
- package/dist-es/commands/ListKeyGroupsCommand.js +21 -28
- package/dist-es/commands/ListOriginAccessControlsCommand.js +21 -28
- package/dist-es/commands/ListOriginRequestPoliciesCommand.js +21 -28
- package/dist-es/commands/ListPublicKeysCommand.js +21 -28
- package/dist-es/commands/ListRealtimeLogConfigsCommand.js +21 -28
- package/dist-es/commands/ListResponseHeadersPoliciesCommand.js +21 -28
- package/dist-es/commands/ListStreamingDistributionsCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/PublishFunctionCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +22 -29
- package/dist-es/commands/TestFunctionCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +22 -29
- package/dist-es/commands/UpdateCachePolicyCommand.js +21 -28
- package/dist-es/commands/UpdateCloudFrontOriginAccessIdentityCommand.js +21 -28
- package/dist-es/commands/UpdateDistributionCommand.js +21 -28
- package/dist-es/commands/UpdateFieldLevelEncryptionConfigCommand.js +21 -28
- package/dist-es/commands/UpdateFieldLevelEncryptionProfileCommand.js +21 -28
- package/dist-es/commands/UpdateFunctionCommand.js +21 -28
- package/dist-es/commands/UpdateKeyGroupCommand.js +21 -28
- package/dist-es/commands/UpdateOriginAccessControlCommand.js +21 -28
- package/dist-es/commands/UpdateOriginRequestPolicyCommand.js +21 -28
- package/dist-es/commands/UpdatePublicKeyCommand.js +21 -28
- package/dist-es/commands/UpdateRealtimeLogConfigCommand.js +21 -28
- package/dist-es/commands/UpdateResponseHeadersPolicyCommand.js +21 -28
- package/dist-es/commands/UpdateStreamingDistributionCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/CloudFrontServiceException.js +5 -10
- package/dist-es/models/models_0.js +2003 -1689
- package/dist-es/models/models_1.js +770 -414
- package/dist-es/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.js +25 -68
- package/dist-es/pagination/ListDistributionsPaginator.js +25 -68
- package/dist-es/pagination/ListInvalidationsPaginator.js +25 -68
- package/dist-es/pagination/ListStreamingDistributionsPaginator.js +25 -68
- package/dist-es/protocols/Aws_restXml.js +9557 -12767
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/dist-es/waiters/waitForDistributionDeployed.js +28 -48
- package/dist-es/waiters/waitForInvalidationCompleted.js +28 -48
- package/dist-es/waiters/waitForStreamingDistributionDeployed.js +28 -48
- package/package.json +35 -35
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { ListCachePoliciesRequestFilterSensitiveLog, ListCachePoliciesResultFilterSensitiveLog, } from "../models/models_1";
|
|
5
4
|
import { deserializeAws_restXmlListCachePoliciesCommand, serializeAws_restXmlListCachePoliciesCommand, } from "../protocols/Aws_restXml";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class ListCachePoliciesCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "CloudFrontClient";
|
|
15
|
+
const commandName = "ListCachePoliciesCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: ListCachePoliciesRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: ListCachePoliciesResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
ListCachePoliciesCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restXmlListCachePoliciesCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restXmlListCachePoliciesCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { ListCachePoliciesCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { ListCloudFrontOriginAccessIdentitiesRequestFilterSensitiveLog, ListCloudFrontOriginAccessIdentitiesResultFilterSensitiveLog, } from "../models/models_1";
|
|
5
4
|
import { deserializeAws_restXmlListCloudFrontOriginAccessIdentitiesCommand, serializeAws_restXmlListCloudFrontOriginAccessIdentitiesCommand, } from "../protocols/Aws_restXml";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class ListCloudFrontOriginAccessIdentitiesCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "CloudFrontClient";
|
|
15
|
+
const commandName = "ListCloudFrontOriginAccessIdentitiesCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: ListCloudFrontOriginAccessIdentitiesRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: ListCloudFrontOriginAccessIdentitiesResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
ListCloudFrontOriginAccessIdentitiesCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restXmlListCloudFrontOriginAccessIdentitiesCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restXmlListCloudFrontOriginAccessIdentitiesCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { ListCloudFrontOriginAccessIdentitiesCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { ListConflictingAliasesRequestFilterSensitiveLog, ListConflictingAliasesResultFilterSensitiveLog, } from "../models/models_1";
|
|
5
4
|
import { deserializeAws_restXmlListConflictingAliasesCommand, serializeAws_restXmlListConflictingAliasesCommand, } from "../protocols/Aws_restXml";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class ListConflictingAliasesCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "CloudFrontClient";
|
|
15
|
+
const commandName = "ListConflictingAliasesCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: ListConflictingAliasesRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: ListConflictingAliasesResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
ListConflictingAliasesCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restXmlListConflictingAliasesCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restXmlListConflictingAliasesCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { ListConflictingAliasesCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { ListDistributionsByCachePolicyIdRequestFilterSensitiveLog, ListDistributionsByCachePolicyIdResultFilterSensitiveLog, } from "../models/models_1";
|
|
5
4
|
import { deserializeAws_restXmlListDistributionsByCachePolicyIdCommand, serializeAws_restXmlListDistributionsByCachePolicyIdCommand, } from "../protocols/Aws_restXml";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class ListDistributionsByCachePolicyIdCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "CloudFrontClient";
|
|
15
|
+
const commandName = "ListDistributionsByCachePolicyIdCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: ListDistributionsByCachePolicyIdRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: ListDistributionsByCachePolicyIdResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
ListDistributionsByCachePolicyIdCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restXmlListDistributionsByCachePolicyIdCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restXmlListDistributionsByCachePolicyIdCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { ListDistributionsByCachePolicyIdCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { ListDistributionsByKeyGroupRequestFilterSensitiveLog, ListDistributionsByKeyGroupResultFilterSensitiveLog, } from "../models/models_1";
|
|
5
4
|
import { deserializeAws_restXmlListDistributionsByKeyGroupCommand, serializeAws_restXmlListDistributionsByKeyGroupCommand, } from "../protocols/Aws_restXml";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class ListDistributionsByKeyGroupCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "CloudFrontClient";
|
|
15
|
+
const commandName = "ListDistributionsByKeyGroupCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: ListDistributionsByKeyGroupRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: ListDistributionsByKeyGroupResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
ListDistributionsByKeyGroupCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restXmlListDistributionsByKeyGroupCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restXmlListDistributionsByKeyGroupCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { ListDistributionsByKeyGroupCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { ListDistributionsByOriginRequestPolicyIdRequestFilterSensitiveLog, ListDistributionsByOriginRequestPolicyIdResultFilterSensitiveLog, } from "../models/models_1";
|
|
5
4
|
import { deserializeAws_restXmlListDistributionsByOriginRequestPolicyIdCommand, serializeAws_restXmlListDistributionsByOriginRequestPolicyIdCommand, } from "../protocols/Aws_restXml";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class ListDistributionsByOriginRequestPolicyIdCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "CloudFrontClient";
|
|
15
|
+
const commandName = "ListDistributionsByOriginRequestPolicyIdCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: ListDistributionsByOriginRequestPolicyIdRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: ListDistributionsByOriginRequestPolicyIdResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
ListDistributionsByOriginRequestPolicyIdCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restXmlListDistributionsByOriginRequestPolicyIdCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restXmlListDistributionsByOriginRequestPolicyIdCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { ListDistributionsByOriginRequestPolicyIdCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { ListDistributionsByRealtimeLogConfigRequestFilterSensitiveLog, ListDistributionsByRealtimeLogConfigResultFilterSensitiveLog, } from "../models/models_1";
|
|
5
4
|
import { deserializeAws_restXmlListDistributionsByRealtimeLogConfigCommand, serializeAws_restXmlListDistributionsByRealtimeLogConfigCommand, } from "../protocols/Aws_restXml";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class ListDistributionsByRealtimeLogConfigCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "CloudFrontClient";
|
|
15
|
+
const commandName = "ListDistributionsByRealtimeLogConfigCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: ListDistributionsByRealtimeLogConfigRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: ListDistributionsByRealtimeLogConfigResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
ListDistributionsByRealtimeLogConfigCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restXmlListDistributionsByRealtimeLogConfigCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restXmlListDistributionsByRealtimeLogConfigCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { ListDistributionsByRealtimeLogConfigCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { ListDistributionsByResponseHeadersPolicyIdRequestFilterSensitiveLog, ListDistributionsByResponseHeadersPolicyIdResultFilterSensitiveLog, } from "../models/models_1";
|
|
5
4
|
import { deserializeAws_restXmlListDistributionsByResponseHeadersPolicyIdCommand, serializeAws_restXmlListDistributionsByResponseHeadersPolicyIdCommand, } from "../protocols/Aws_restXml";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class ListDistributionsByResponseHeadersPolicyIdCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "CloudFrontClient";
|
|
15
|
+
const commandName = "ListDistributionsByResponseHeadersPolicyIdCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: ListDistributionsByResponseHeadersPolicyIdRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: ListDistributionsByResponseHeadersPolicyIdResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
ListDistributionsByResponseHeadersPolicyIdCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restXmlListDistributionsByResponseHeadersPolicyIdCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restXmlListDistributionsByResponseHeadersPolicyIdCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { ListDistributionsByResponseHeadersPolicyIdCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { ListDistributionsByWebACLIdRequestFilterSensitiveLog, ListDistributionsByWebACLIdResultFilterSensitiveLog, } from "../models/models_1";
|
|
5
4
|
import { deserializeAws_restXmlListDistributionsByWebACLIdCommand, serializeAws_restXmlListDistributionsByWebACLIdCommand, } from "../protocols/Aws_restXml";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class ListDistributionsByWebACLIdCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "CloudFrontClient";
|
|
15
|
+
const commandName = "ListDistributionsByWebACLIdCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: ListDistributionsByWebACLIdRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: ListDistributionsByWebACLIdResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
ListDistributionsByWebACLIdCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restXmlListDistributionsByWebACLIdCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restXmlListDistributionsByWebACLIdCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { ListDistributionsByWebACLIdCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { ListDistributionsRequestFilterSensitiveLog, ListDistributionsResultFilterSensitiveLog, } from "../models/models_1";
|
|
5
4
|
import { deserializeAws_restXmlListDistributionsCommand, serializeAws_restXmlListDistributionsCommand, } from "../protocols/Aws_restXml";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class ListDistributionsCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "CloudFrontClient";
|
|
15
|
+
const commandName = "ListDistributionsCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: ListDistributionsRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: ListDistributionsResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
ListDistributionsCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restXmlListDistributionsCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restXmlListDistributionsCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { ListDistributionsCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|