@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 { ListStreamingDistributionsRequestFilterSensitiveLog, ListStreamingDistributionsResultFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_restXmlListStreamingDistributionsCommand, serializeAws_restXmlListStreamingDistributionsCommand, } from "../protocols/Aws_restXml";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListStreamingDistributionsCommand = (function (_super) {
|
|
7
|
+
__extends(ListStreamingDistributionsCommand, _super);
|
|
8
|
+
function ListStreamingDistributionsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListStreamingDistributionsCommand.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 = "ListStreamingDistributionsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListStreamingDistributionsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListStreamingDistributionsResultFilterSensitiveLog,
|
|
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
|
+
ListStreamingDistributionsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restXmlListStreamingDistributionsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListStreamingDistributionsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restXmlListStreamingDistributionsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListStreamingDistributionsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListStreamingDistributionsCommand };
|
|
@@ -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 { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResultFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_restXmlListTagsForResourceCommand, serializeAws_restXmlListTagsForResourceCommand, } from "../protocols/Aws_restXml";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListTagsForResourceCommand = (function (_super) {
|
|
7
|
+
__extends(ListTagsForResourceCommand, _super);
|
|
8
|
+
function ListTagsForResourceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListTagsForResourceCommand.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 = "ListTagsForResourceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListTagsForResourceResultFilterSensitiveLog,
|
|
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
|
+
ListTagsForResourceCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restXmlListTagsForResourceCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restXmlListTagsForResourceCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListTagsForResourceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListTagsForResourceCommand };
|
|
@@ -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 { PublishFunctionRequestFilterSensitiveLog, PublishFunctionResultFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_restXmlPublishFunctionCommand, serializeAws_restXmlPublishFunctionCommand, } from "../protocols/Aws_restXml";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var PublishFunctionCommand = (function (_super) {
|
|
7
|
+
__extends(PublishFunctionCommand, _super);
|
|
8
|
+
function PublishFunctionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
PublishFunctionCommand.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 = "PublishFunctionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: PublishFunctionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: PublishFunctionResultFilterSensitiveLog,
|
|
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
|
+
PublishFunctionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restXmlPublishFunctionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
PublishFunctionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restXmlPublishFunctionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return PublishFunctionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { PublishFunctionCommand };
|
|
@@ -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 { TagResourceRequestFilterSensitiveLog } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_restXmlTagResourceCommand, serializeAws_restXmlTagResourceCommand, } from "../protocols/Aws_restXml";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var TagResourceCommand = (function (_super) {
|
|
7
|
+
__extends(TagResourceCommand, _super);
|
|
8
|
+
function TagResourceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
TagResourceCommand.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 = "TagResourceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
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
|
+
TagResourceCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restXmlTagResourceCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
TagResourceCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restXmlTagResourceCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return TagResourceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { TagResourceCommand };
|
|
@@ -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 { TestFunctionRequestFilterSensitiveLog, TestFunctionResultFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_restXmlTestFunctionCommand, serializeAws_restXmlTestFunctionCommand, } from "../protocols/Aws_restXml";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var TestFunctionCommand = (function (_super) {
|
|
7
|
+
__extends(TestFunctionCommand, _super);
|
|
8
|
+
function TestFunctionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
TestFunctionCommand.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 = "TestFunctionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: TestFunctionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: TestFunctionResultFilterSensitiveLog,
|
|
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
|
+
TestFunctionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restXmlTestFunctionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
TestFunctionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restXmlTestFunctionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return TestFunctionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { TestFunctionCommand };
|
|
@@ -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 { UntagResourceRequestFilterSensitiveLog } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_restXmlUntagResourceCommand, serializeAws_restXmlUntagResourceCommand, } from "../protocols/Aws_restXml";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UntagResourceCommand = (function (_super) {
|
|
7
|
+
__extends(UntagResourceCommand, _super);
|
|
8
|
+
function UntagResourceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UntagResourceCommand.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 = "UntagResourceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
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
|
+
UntagResourceCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restXmlUntagResourceCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UntagResourceCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restXmlUntagResourceCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UntagResourceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UntagResourceCommand };
|
|
@@ -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 { UpdateCachePolicyRequestFilterSensitiveLog, UpdateCachePolicyResultFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_restXmlUpdateCachePolicyCommand, serializeAws_restXmlUpdateCachePolicyCommand, } from "../protocols/Aws_restXml";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateCachePolicyCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateCachePolicyCommand, _super);
|
|
8
|
+
function UpdateCachePolicyCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateCachePolicyCommand.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 = "UpdateCachePolicyCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateCachePolicyRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateCachePolicyResultFilterSensitiveLog,
|
|
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
|
+
UpdateCachePolicyCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restXmlUpdateCachePolicyCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateCachePolicyCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restXmlUpdateCachePolicyCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateCachePolicyCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateCachePolicyCommand };
|
|
@@ -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 { UpdateCloudFrontOriginAccessIdentityRequestFilterSensitiveLog, UpdateCloudFrontOriginAccessIdentityResultFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_restXmlUpdateCloudFrontOriginAccessIdentityCommand, serializeAws_restXmlUpdateCloudFrontOriginAccessIdentityCommand, } from "../protocols/Aws_restXml";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateCloudFrontOriginAccessIdentityCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateCloudFrontOriginAccessIdentityCommand, _super);
|
|
8
|
+
function UpdateCloudFrontOriginAccessIdentityCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateCloudFrontOriginAccessIdentityCommand.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 = "UpdateCloudFrontOriginAccessIdentityCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateCloudFrontOriginAccessIdentityRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateCloudFrontOriginAccessIdentityResultFilterSensitiveLog,
|
|
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
|
+
UpdateCloudFrontOriginAccessIdentityCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restXmlUpdateCloudFrontOriginAccessIdentityCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateCloudFrontOriginAccessIdentityCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restXmlUpdateCloudFrontOriginAccessIdentityCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateCloudFrontOriginAccessIdentityCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateCloudFrontOriginAccessIdentityCommand };
|
|
@@ -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 { UpdateDistributionRequestFilterSensitiveLog, UpdateDistributionResultFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_restXmlUpdateDistributionCommand, serializeAws_restXmlUpdateDistributionCommand, } from "../protocols/Aws_restXml";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateDistributionCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateDistributionCommand, _super);
|
|
8
|
+
function UpdateDistributionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateDistributionCommand.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 = "UpdateDistributionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateDistributionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateDistributionResultFilterSensitiveLog,
|
|
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
|
+
UpdateDistributionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restXmlUpdateDistributionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateDistributionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restXmlUpdateDistributionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateDistributionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateDistributionCommand };
|
|
@@ -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 { UpdateFieldLevelEncryptionConfigRequestFilterSensitiveLog, UpdateFieldLevelEncryptionConfigResultFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_restXmlUpdateFieldLevelEncryptionConfigCommand, serializeAws_restXmlUpdateFieldLevelEncryptionConfigCommand, } from "../protocols/Aws_restXml";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateFieldLevelEncryptionConfigCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateFieldLevelEncryptionConfigCommand, _super);
|
|
8
|
+
function UpdateFieldLevelEncryptionConfigCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateFieldLevelEncryptionConfigCommand.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 = "UpdateFieldLevelEncryptionConfigCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateFieldLevelEncryptionConfigRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateFieldLevelEncryptionConfigResultFilterSensitiveLog,
|
|
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
|
+
UpdateFieldLevelEncryptionConfigCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restXmlUpdateFieldLevelEncryptionConfigCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateFieldLevelEncryptionConfigCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restXmlUpdateFieldLevelEncryptionConfigCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateFieldLevelEncryptionConfigCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateFieldLevelEncryptionConfigCommand };
|