@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.
Files changed (118) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/CloudFront.js +394 -401
  3. package/dist-es/CloudFrontClient.js +22 -28
  4. package/dist-es/commands/AssociateAliasCommand.js +22 -29
  5. package/dist-es/commands/CreateCachePolicyCommand.js +21 -28
  6. package/dist-es/commands/CreateCloudFrontOriginAccessIdentityCommand.js +21 -28
  7. package/dist-es/commands/CreateDistributionCommand.js +21 -28
  8. package/dist-es/commands/CreateDistributionWithTagsCommand.js +21 -28
  9. package/dist-es/commands/CreateFieldLevelEncryptionConfigCommand.js +21 -28
  10. package/dist-es/commands/CreateFieldLevelEncryptionProfileCommand.js +21 -28
  11. package/dist-es/commands/CreateFunctionCommand.js +21 -28
  12. package/dist-es/commands/CreateInvalidationCommand.js +21 -28
  13. package/dist-es/commands/CreateKeyGroupCommand.js +21 -28
  14. package/dist-es/commands/CreateMonitoringSubscriptionCommand.js +21 -28
  15. package/dist-es/commands/CreateOriginAccessControlCommand.js +21 -28
  16. package/dist-es/commands/CreateOriginRequestPolicyCommand.js +21 -28
  17. package/dist-es/commands/CreatePublicKeyCommand.js +21 -28
  18. package/dist-es/commands/CreateRealtimeLogConfigCommand.js +21 -28
  19. package/dist-es/commands/CreateResponseHeadersPolicyCommand.js +21 -28
  20. package/dist-es/commands/CreateStreamingDistributionCommand.js +21 -28
  21. package/dist-es/commands/CreateStreamingDistributionWithTagsCommand.js +21 -28
  22. package/dist-es/commands/DeleteCachePolicyCommand.js +22 -29
  23. package/dist-es/commands/DeleteCloudFrontOriginAccessIdentityCommand.js +22 -29
  24. package/dist-es/commands/DeleteDistributionCommand.js +22 -29
  25. package/dist-es/commands/DeleteFieldLevelEncryptionConfigCommand.js +22 -29
  26. package/dist-es/commands/DeleteFieldLevelEncryptionProfileCommand.js +22 -29
  27. package/dist-es/commands/DeleteFunctionCommand.js +22 -29
  28. package/dist-es/commands/DeleteKeyGroupCommand.js +22 -29
  29. package/dist-es/commands/DeleteMonitoringSubscriptionCommand.js +21 -28
  30. package/dist-es/commands/DeleteOriginAccessControlCommand.js +22 -29
  31. package/dist-es/commands/DeleteOriginRequestPolicyCommand.js +22 -29
  32. package/dist-es/commands/DeletePublicKeyCommand.js +22 -29
  33. package/dist-es/commands/DeleteRealtimeLogConfigCommand.js +22 -29
  34. package/dist-es/commands/DeleteResponseHeadersPolicyCommand.js +22 -29
  35. package/dist-es/commands/DeleteStreamingDistributionCommand.js +22 -29
  36. package/dist-es/commands/DescribeFunctionCommand.js +21 -28
  37. package/dist-es/commands/GetCachePolicyCommand.js +21 -28
  38. package/dist-es/commands/GetCachePolicyConfigCommand.js +21 -28
  39. package/dist-es/commands/GetCloudFrontOriginAccessIdentityCommand.js +21 -28
  40. package/dist-es/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js +21 -28
  41. package/dist-es/commands/GetDistributionCommand.js +21 -28
  42. package/dist-es/commands/GetDistributionConfigCommand.js +21 -28
  43. package/dist-es/commands/GetFieldLevelEncryptionCommand.js +21 -28
  44. package/dist-es/commands/GetFieldLevelEncryptionConfigCommand.js +21 -28
  45. package/dist-es/commands/GetFieldLevelEncryptionProfileCommand.js +21 -28
  46. package/dist-es/commands/GetFieldLevelEncryptionProfileConfigCommand.js +21 -28
  47. package/dist-es/commands/GetFunctionCommand.js +21 -28
  48. package/dist-es/commands/GetInvalidationCommand.js +21 -28
  49. package/dist-es/commands/GetKeyGroupCommand.js +21 -28
  50. package/dist-es/commands/GetKeyGroupConfigCommand.js +21 -28
  51. package/dist-es/commands/GetMonitoringSubscriptionCommand.js +21 -28
  52. package/dist-es/commands/GetOriginAccessControlCommand.js +21 -28
  53. package/dist-es/commands/GetOriginAccessControlConfigCommand.js +21 -28
  54. package/dist-es/commands/GetOriginRequestPolicyCommand.js +21 -28
  55. package/dist-es/commands/GetOriginRequestPolicyConfigCommand.js +21 -28
  56. package/dist-es/commands/GetPublicKeyCommand.js +21 -28
  57. package/dist-es/commands/GetPublicKeyConfigCommand.js +21 -28
  58. package/dist-es/commands/GetRealtimeLogConfigCommand.js +21 -28
  59. package/dist-es/commands/GetResponseHeadersPolicyCommand.js +21 -28
  60. package/dist-es/commands/GetResponseHeadersPolicyConfigCommand.js +21 -28
  61. package/dist-es/commands/GetStreamingDistributionCommand.js +21 -28
  62. package/dist-es/commands/GetStreamingDistributionConfigCommand.js +21 -28
  63. package/dist-es/commands/ListCachePoliciesCommand.js +21 -28
  64. package/dist-es/commands/ListCloudFrontOriginAccessIdentitiesCommand.js +21 -28
  65. package/dist-es/commands/ListConflictingAliasesCommand.js +21 -28
  66. package/dist-es/commands/ListDistributionsByCachePolicyIdCommand.js +21 -28
  67. package/dist-es/commands/ListDistributionsByKeyGroupCommand.js +21 -28
  68. package/dist-es/commands/ListDistributionsByOriginRequestPolicyIdCommand.js +21 -28
  69. package/dist-es/commands/ListDistributionsByRealtimeLogConfigCommand.js +21 -28
  70. package/dist-es/commands/ListDistributionsByResponseHeadersPolicyIdCommand.js +21 -28
  71. package/dist-es/commands/ListDistributionsByWebACLIdCommand.js +21 -28
  72. package/dist-es/commands/ListDistributionsCommand.js +21 -28
  73. package/dist-es/commands/ListFieldLevelEncryptionConfigsCommand.js +21 -28
  74. package/dist-es/commands/ListFieldLevelEncryptionProfilesCommand.js +21 -28
  75. package/dist-es/commands/ListFunctionsCommand.js +21 -28
  76. package/dist-es/commands/ListInvalidationsCommand.js +21 -28
  77. package/dist-es/commands/ListKeyGroupsCommand.js +21 -28
  78. package/dist-es/commands/ListOriginAccessControlsCommand.js +21 -28
  79. package/dist-es/commands/ListOriginRequestPoliciesCommand.js +21 -28
  80. package/dist-es/commands/ListPublicKeysCommand.js +21 -28
  81. package/dist-es/commands/ListRealtimeLogConfigsCommand.js +21 -28
  82. package/dist-es/commands/ListResponseHeadersPoliciesCommand.js +21 -28
  83. package/dist-es/commands/ListStreamingDistributionsCommand.js +21 -28
  84. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  85. package/dist-es/commands/PublishFunctionCommand.js +21 -28
  86. package/dist-es/commands/TagResourceCommand.js +22 -29
  87. package/dist-es/commands/TestFunctionCommand.js +21 -28
  88. package/dist-es/commands/UntagResourceCommand.js +22 -29
  89. package/dist-es/commands/UpdateCachePolicyCommand.js +21 -28
  90. package/dist-es/commands/UpdateCloudFrontOriginAccessIdentityCommand.js +21 -28
  91. package/dist-es/commands/UpdateDistributionCommand.js +21 -28
  92. package/dist-es/commands/UpdateFieldLevelEncryptionConfigCommand.js +21 -28
  93. package/dist-es/commands/UpdateFieldLevelEncryptionProfileCommand.js +21 -28
  94. package/dist-es/commands/UpdateFunctionCommand.js +21 -28
  95. package/dist-es/commands/UpdateKeyGroupCommand.js +21 -28
  96. package/dist-es/commands/UpdateOriginAccessControlCommand.js +21 -28
  97. package/dist-es/commands/UpdateOriginRequestPolicyCommand.js +21 -28
  98. package/dist-es/commands/UpdatePublicKeyCommand.js +21 -28
  99. package/dist-es/commands/UpdateRealtimeLogConfigCommand.js +21 -28
  100. package/dist-es/commands/UpdateResponseHeadersPolicyCommand.js +21 -28
  101. package/dist-es/commands/UpdateStreamingDistributionCommand.js +21 -28
  102. package/dist-es/endpoints.js +8 -8
  103. package/dist-es/models/CloudFrontServiceException.js +5 -10
  104. package/dist-es/models/models_0.js +2003 -1689
  105. package/dist-es/models/models_1.js +770 -414
  106. package/dist-es/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.js +25 -68
  107. package/dist-es/pagination/ListDistributionsPaginator.js +25 -68
  108. package/dist-es/pagination/ListInvalidationsPaginator.js +25 -68
  109. package/dist-es/pagination/ListStreamingDistributionsPaginator.js +25 -68
  110. package/dist-es/protocols/Aws_restXml.js +9557 -12767
  111. package/dist-es/runtimeConfig.browser.js +26 -12
  112. package/dist-es/runtimeConfig.js +30 -12
  113. package/dist-es/runtimeConfig.native.js +8 -5
  114. package/dist-es/runtimeConfig.shared.js +8 -11
  115. package/dist-es/waiters/waitForDistributionDeployed.js +28 -48
  116. package/dist-es/waiters/waitForInvalidationCompleted.js +28 -48
  117. package/dist-es/waiters/waitForStreamingDistributionDeployed.js +28 -48
  118. 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 { GetFieldLevelEncryptionRequestFilterSensitiveLog, GetFieldLevelEncryptionResultFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restXmlGetFieldLevelEncryptionCommand, serializeAws_restXmlGetFieldLevelEncryptionCommand, } from "../protocols/Aws_restXml";
6
- var GetFieldLevelEncryptionCommand = (function (_super) {
7
- __extends(GetFieldLevelEncryptionCommand, _super);
8
- function GetFieldLevelEncryptionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetFieldLevelEncryptionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetFieldLevelEncryptionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "CloudFrontClient";
18
- var commandName = "GetFieldLevelEncryptionCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "CloudFrontClient";
15
+ const commandName = "GetFieldLevelEncryptionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetFieldLevelEncryptionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetFieldLevelEncryptionResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetFieldLevelEncryptionCommand.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_restXmlGetFieldLevelEncryptionCommand(input, context);
33
- };
34
- GetFieldLevelEncryptionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restXmlGetFieldLevelEncryptionCommand(output, context);
36
- };
37
- return GetFieldLevelEncryptionCommand;
38
- }($Command));
39
- export { GetFieldLevelEncryptionCommand };
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 { GetFieldLevelEncryptionConfigRequestFilterSensitiveLog, GetFieldLevelEncryptionConfigResultFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restXmlGetFieldLevelEncryptionConfigCommand, serializeAws_restXmlGetFieldLevelEncryptionConfigCommand, } from "../protocols/Aws_restXml";
6
- var GetFieldLevelEncryptionConfigCommand = (function (_super) {
7
- __extends(GetFieldLevelEncryptionConfigCommand, _super);
8
- function GetFieldLevelEncryptionConfigCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetFieldLevelEncryptionConfigCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetFieldLevelEncryptionConfigCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "CloudFrontClient";
18
- var commandName = "GetFieldLevelEncryptionConfigCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "CloudFrontClient";
15
+ const commandName = "GetFieldLevelEncryptionConfigCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetFieldLevelEncryptionConfigRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetFieldLevelEncryptionConfigResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetFieldLevelEncryptionConfigCommand.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_restXmlGetFieldLevelEncryptionConfigCommand(input, context);
33
- };
34
- GetFieldLevelEncryptionConfigCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restXmlGetFieldLevelEncryptionConfigCommand(output, context);
36
- };
37
- return GetFieldLevelEncryptionConfigCommand;
38
- }($Command));
39
- export { GetFieldLevelEncryptionConfigCommand };
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 { GetFieldLevelEncryptionProfileRequestFilterSensitiveLog, GetFieldLevelEncryptionProfileResultFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restXmlGetFieldLevelEncryptionProfileCommand, serializeAws_restXmlGetFieldLevelEncryptionProfileCommand, } from "../protocols/Aws_restXml";
6
- var GetFieldLevelEncryptionProfileCommand = (function (_super) {
7
- __extends(GetFieldLevelEncryptionProfileCommand, _super);
8
- function GetFieldLevelEncryptionProfileCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetFieldLevelEncryptionProfileCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetFieldLevelEncryptionProfileCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "CloudFrontClient";
18
- var commandName = "GetFieldLevelEncryptionProfileCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "CloudFrontClient";
15
+ const commandName = "GetFieldLevelEncryptionProfileCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetFieldLevelEncryptionProfileRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetFieldLevelEncryptionProfileResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetFieldLevelEncryptionProfileCommand.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_restXmlGetFieldLevelEncryptionProfileCommand(input, context);
33
- };
34
- GetFieldLevelEncryptionProfileCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restXmlGetFieldLevelEncryptionProfileCommand(output, context);
36
- };
37
- return GetFieldLevelEncryptionProfileCommand;
38
- }($Command));
39
- export { GetFieldLevelEncryptionProfileCommand };
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 { GetFieldLevelEncryptionProfileConfigRequestFilterSensitiveLog, GetFieldLevelEncryptionProfileConfigResultFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restXmlGetFieldLevelEncryptionProfileConfigCommand, serializeAws_restXmlGetFieldLevelEncryptionProfileConfigCommand, } from "../protocols/Aws_restXml";
6
- var GetFieldLevelEncryptionProfileConfigCommand = (function (_super) {
7
- __extends(GetFieldLevelEncryptionProfileConfigCommand, _super);
8
- function GetFieldLevelEncryptionProfileConfigCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetFieldLevelEncryptionProfileConfigCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetFieldLevelEncryptionProfileConfigCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "CloudFrontClient";
18
- var commandName = "GetFieldLevelEncryptionProfileConfigCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "CloudFrontClient";
15
+ const commandName = "GetFieldLevelEncryptionProfileConfigCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetFieldLevelEncryptionProfileConfigRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetFieldLevelEncryptionProfileConfigResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetFieldLevelEncryptionProfileConfigCommand.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_restXmlGetFieldLevelEncryptionProfileConfigCommand(input, context);
33
- };
34
- GetFieldLevelEncryptionProfileConfigCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restXmlGetFieldLevelEncryptionProfileConfigCommand(output, context);
36
- };
37
- return GetFieldLevelEncryptionProfileConfigCommand;
38
- }($Command));
39
- export { GetFieldLevelEncryptionProfileConfigCommand };
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 { GetFunctionRequestFilterSensitiveLog, GetFunctionResultFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restXmlGetFunctionCommand, serializeAws_restXmlGetFunctionCommand, } from "../protocols/Aws_restXml";
6
- var GetFunctionCommand = (function (_super) {
7
- __extends(GetFunctionCommand, _super);
8
- function GetFunctionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetFunctionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetFunctionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "CloudFrontClient";
18
- var commandName = "GetFunctionCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "CloudFrontClient";
15
+ const commandName = "GetFunctionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetFunctionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetFunctionResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetFunctionCommand.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_restXmlGetFunctionCommand(input, context);
33
- };
34
- GetFunctionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restXmlGetFunctionCommand(output, context);
36
- };
37
- return GetFunctionCommand;
38
- }($Command));
39
- export { GetFunctionCommand };
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 { GetInvalidationRequestFilterSensitiveLog, GetInvalidationResultFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restXmlGetInvalidationCommand, serializeAws_restXmlGetInvalidationCommand, } from "../protocols/Aws_restXml";
6
- var GetInvalidationCommand = (function (_super) {
7
- __extends(GetInvalidationCommand, _super);
8
- function GetInvalidationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetInvalidationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetInvalidationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "CloudFrontClient";
18
- var commandName = "GetInvalidationCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "CloudFrontClient";
15
+ const commandName = "GetInvalidationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetInvalidationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetInvalidationResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetInvalidationCommand.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_restXmlGetInvalidationCommand(input, context);
33
- };
34
- GetInvalidationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restXmlGetInvalidationCommand(output, context);
36
- };
37
- return GetInvalidationCommand;
38
- }($Command));
39
- export { GetInvalidationCommand };
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 { GetKeyGroupRequestFilterSensitiveLog, GetKeyGroupResultFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restXmlGetKeyGroupCommand, serializeAws_restXmlGetKeyGroupCommand, } from "../protocols/Aws_restXml";
6
- var GetKeyGroupCommand = (function (_super) {
7
- __extends(GetKeyGroupCommand, _super);
8
- function GetKeyGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetKeyGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetKeyGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "CloudFrontClient";
18
- var commandName = "GetKeyGroupCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "CloudFrontClient";
15
+ const commandName = "GetKeyGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetKeyGroupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetKeyGroupResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetKeyGroupCommand.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_restXmlGetKeyGroupCommand(input, context);
33
- };
34
- GetKeyGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restXmlGetKeyGroupCommand(output, context);
36
- };
37
- return GetKeyGroupCommand;
38
- }($Command));
39
- export { GetKeyGroupCommand };
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 { GetKeyGroupConfigRequestFilterSensitiveLog, GetKeyGroupConfigResultFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restXmlGetKeyGroupConfigCommand, serializeAws_restXmlGetKeyGroupConfigCommand, } from "../protocols/Aws_restXml";
6
- var GetKeyGroupConfigCommand = (function (_super) {
7
- __extends(GetKeyGroupConfigCommand, _super);
8
- function GetKeyGroupConfigCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetKeyGroupConfigCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetKeyGroupConfigCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "CloudFrontClient";
18
- var commandName = "GetKeyGroupConfigCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "CloudFrontClient";
15
+ const commandName = "GetKeyGroupConfigCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetKeyGroupConfigRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetKeyGroupConfigResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetKeyGroupConfigCommand.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_restXmlGetKeyGroupConfigCommand(input, context);
33
- };
34
- GetKeyGroupConfigCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restXmlGetKeyGroupConfigCommand(output, context);
36
- };
37
- return GetKeyGroupConfigCommand;
38
- }($Command));
39
- export { GetKeyGroupConfigCommand };
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 { GetMonitoringSubscriptionRequestFilterSensitiveLog, GetMonitoringSubscriptionResultFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restXmlGetMonitoringSubscriptionCommand, serializeAws_restXmlGetMonitoringSubscriptionCommand, } from "../protocols/Aws_restXml";
6
- var GetMonitoringSubscriptionCommand = (function (_super) {
7
- __extends(GetMonitoringSubscriptionCommand, _super);
8
- function GetMonitoringSubscriptionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetMonitoringSubscriptionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetMonitoringSubscriptionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "CloudFrontClient";
18
- var commandName = "GetMonitoringSubscriptionCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "CloudFrontClient";
15
+ const commandName = "GetMonitoringSubscriptionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetMonitoringSubscriptionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetMonitoringSubscriptionResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetMonitoringSubscriptionCommand.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_restXmlGetMonitoringSubscriptionCommand(input, context);
33
- };
34
- GetMonitoringSubscriptionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restXmlGetMonitoringSubscriptionCommand(output, context);
36
- };
37
- return GetMonitoringSubscriptionCommand;
38
- }($Command));
39
- export { GetMonitoringSubscriptionCommand };
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 { GetOriginAccessControlRequestFilterSensitiveLog, GetOriginAccessControlResultFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restXmlGetOriginAccessControlCommand, serializeAws_restXmlGetOriginAccessControlCommand, } from "../protocols/Aws_restXml";
6
- var GetOriginAccessControlCommand = (function (_super) {
7
- __extends(GetOriginAccessControlCommand, _super);
8
- function GetOriginAccessControlCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetOriginAccessControlCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetOriginAccessControlCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "CloudFrontClient";
18
- var commandName = "GetOriginAccessControlCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "CloudFrontClient";
15
+ const commandName = "GetOriginAccessControlCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetOriginAccessControlRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetOriginAccessControlResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetOriginAccessControlCommand.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_restXmlGetOriginAccessControlCommand(input, context);
33
- };
34
- GetOriginAccessControlCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restXmlGetOriginAccessControlCommand(output, context);
36
- };
37
- return GetOriginAccessControlCommand;
38
- }($Command));
39
- export { GetOriginAccessControlCommand };
31
+ }
32
+ }