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