@aws-sdk/client-synthetics 3.335.0 → 3.338.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 (97) hide show
  1. package/dist-cjs/SyntheticsClient.js +2 -1
  2. package/dist-cjs/commands/AssociateResourceCommand.js +2 -1
  3. package/dist-cjs/commands/CreateCanaryCommand.js +2 -1
  4. package/dist-cjs/commands/CreateGroupCommand.js +2 -1
  5. package/dist-cjs/commands/DeleteCanaryCommand.js +2 -1
  6. package/dist-cjs/commands/DeleteGroupCommand.js +2 -1
  7. package/dist-cjs/commands/DescribeCanariesCommand.js +2 -1
  8. package/dist-cjs/commands/DescribeCanariesLastRunCommand.js +2 -1
  9. package/dist-cjs/commands/DescribeRuntimeVersionsCommand.js +2 -1
  10. package/dist-cjs/commands/DisassociateResourceCommand.js +2 -1
  11. package/dist-cjs/commands/GetCanaryCommand.js +2 -1
  12. package/dist-cjs/commands/GetCanaryRunsCommand.js +2 -1
  13. package/dist-cjs/commands/GetGroupCommand.js +2 -1
  14. package/dist-cjs/commands/ListAssociatedGroupsCommand.js +2 -1
  15. package/dist-cjs/commands/ListGroupResourcesCommand.js +2 -1
  16. package/dist-cjs/commands/ListGroupsCommand.js +2 -1
  17. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -1
  18. package/dist-cjs/commands/StartCanaryCommand.js +2 -1
  19. package/dist-cjs/commands/StopCanaryCommand.js +2 -1
  20. package/dist-cjs/commands/TagResourceCommand.js +2 -1
  21. package/dist-cjs/commands/UntagResourceCommand.js +2 -1
  22. package/dist-cjs/commands/UpdateCanaryCommand.js +2 -1
  23. package/dist-cjs/index.js +2 -2
  24. package/dist-cjs/models/SyntheticsServiceException.js +2 -1
  25. package/dist-es/SyntheticsClient.js +1 -0
  26. package/dist-es/commands/AssociateResourceCommand.js +1 -0
  27. package/dist-es/commands/CreateCanaryCommand.js +1 -0
  28. package/dist-es/commands/CreateGroupCommand.js +1 -0
  29. package/dist-es/commands/DeleteCanaryCommand.js +1 -0
  30. package/dist-es/commands/DeleteGroupCommand.js +1 -0
  31. package/dist-es/commands/DescribeCanariesCommand.js +1 -0
  32. package/dist-es/commands/DescribeCanariesLastRunCommand.js +1 -0
  33. package/dist-es/commands/DescribeRuntimeVersionsCommand.js +1 -0
  34. package/dist-es/commands/DisassociateResourceCommand.js +1 -0
  35. package/dist-es/commands/GetCanaryCommand.js +1 -0
  36. package/dist-es/commands/GetCanaryRunsCommand.js +1 -0
  37. package/dist-es/commands/GetGroupCommand.js +1 -0
  38. package/dist-es/commands/ListAssociatedGroupsCommand.js +1 -0
  39. package/dist-es/commands/ListGroupResourcesCommand.js +1 -0
  40. package/dist-es/commands/ListGroupsCommand.js +1 -0
  41. package/dist-es/commands/ListTagsForResourceCommand.js +1 -0
  42. package/dist-es/commands/StartCanaryCommand.js +1 -0
  43. package/dist-es/commands/StopCanaryCommand.js +1 -0
  44. package/dist-es/commands/TagResourceCommand.js +1 -0
  45. package/dist-es/commands/UntagResourceCommand.js +1 -0
  46. package/dist-es/commands/UpdateCanaryCommand.js +1 -0
  47. package/dist-es/index.js +2 -2
  48. package/dist-es/models/SyntheticsServiceException.js +1 -0
  49. package/dist-types/SyntheticsClient.d.ts +3 -3
  50. package/dist-types/commands/AssociateResourceCommand.d.ts +4 -0
  51. package/dist-types/commands/CreateCanaryCommand.d.ts +4 -0
  52. package/dist-types/commands/CreateGroupCommand.d.ts +4 -0
  53. package/dist-types/commands/DeleteCanaryCommand.d.ts +4 -0
  54. package/dist-types/commands/DeleteGroupCommand.d.ts +4 -0
  55. package/dist-types/commands/DescribeCanariesCommand.d.ts +4 -0
  56. package/dist-types/commands/DescribeCanariesLastRunCommand.d.ts +4 -0
  57. package/dist-types/commands/DescribeRuntimeVersionsCommand.d.ts +4 -0
  58. package/dist-types/commands/DisassociateResourceCommand.d.ts +4 -0
  59. package/dist-types/commands/GetCanaryCommand.d.ts +4 -0
  60. package/dist-types/commands/GetCanaryRunsCommand.d.ts +4 -0
  61. package/dist-types/commands/GetGroupCommand.d.ts +4 -0
  62. package/dist-types/commands/ListAssociatedGroupsCommand.d.ts +4 -0
  63. package/dist-types/commands/ListGroupResourcesCommand.d.ts +4 -0
  64. package/dist-types/commands/ListGroupsCommand.d.ts +4 -0
  65. package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -0
  66. package/dist-types/commands/StartCanaryCommand.d.ts +4 -0
  67. package/dist-types/commands/StopCanaryCommand.d.ts +4 -0
  68. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  69. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  70. package/dist-types/commands/UpdateCanaryCommand.d.ts +4 -0
  71. package/dist-types/index.d.ts +22 -2
  72. package/dist-types/models/SyntheticsServiceException.d.ts +1 -0
  73. package/dist-types/ts3.4/SyntheticsClient.d.ts +3 -3
  74. package/dist-types/ts3.4/commands/AssociateResourceCommand.d.ts +1 -0
  75. package/dist-types/ts3.4/commands/CreateCanaryCommand.d.ts +1 -0
  76. package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +1 -0
  77. package/dist-types/ts3.4/commands/DeleteCanaryCommand.d.ts +1 -0
  78. package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +1 -0
  79. package/dist-types/ts3.4/commands/DescribeCanariesCommand.d.ts +1 -0
  80. package/dist-types/ts3.4/commands/DescribeCanariesLastRunCommand.d.ts +1 -0
  81. package/dist-types/ts3.4/commands/DescribeRuntimeVersionsCommand.d.ts +1 -0
  82. package/dist-types/ts3.4/commands/DisassociateResourceCommand.d.ts +1 -0
  83. package/dist-types/ts3.4/commands/GetCanaryCommand.d.ts +1 -0
  84. package/dist-types/ts3.4/commands/GetCanaryRunsCommand.d.ts +1 -0
  85. package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +1 -0
  86. package/dist-types/ts3.4/commands/ListAssociatedGroupsCommand.d.ts +1 -0
  87. package/dist-types/ts3.4/commands/ListGroupResourcesCommand.d.ts +1 -0
  88. package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +1 -0
  89. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -0
  90. package/dist-types/ts3.4/commands/StartCanaryCommand.d.ts +1 -0
  91. package/dist-types/ts3.4/commands/StopCanaryCommand.d.ts +1 -0
  92. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -0
  93. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -0
  94. package/dist-types/ts3.4/commands/UpdateCanaryCommand.d.ts +1 -0
  95. package/dist-types/ts3.4/index.d.ts +2 -2
  96. package/dist-types/ts3.4/models/SyntheticsServiceException.d.ts +1 -0
  97. package/package.json +28 -28
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SyntheticsClient = void 0;
3
+ exports.SyntheticsClient = exports.__Client = void 0;
4
4
  const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
6
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
@@ -11,6 +11,7 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
11
11
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
12
12
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
13
13
  const smithy_client_1 = require("@aws-sdk/smithy-client");
14
+ Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
14
15
  const EndpointParameters_1 = require("./endpoint/EndpointParameters");
15
16
  const runtimeConfig_1 = require("./runtimeConfig");
16
17
  class SyntheticsClient extends smithy_client_1.Client {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AssociateResourceCommand = void 0;
3
+ exports.AssociateResourceCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class AssociateResourceCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateCanaryCommand = void 0;
3
+ exports.CreateCanaryCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class CreateCanaryCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateGroupCommand = void 0;
3
+ exports.CreateGroupCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class CreateGroupCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteCanaryCommand = void 0;
3
+ exports.DeleteCanaryCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class DeleteCanaryCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteGroupCommand = void 0;
3
+ exports.DeleteGroupCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class DeleteGroupCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DescribeCanariesCommand = void 0;
3
+ exports.DescribeCanariesCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class DescribeCanariesCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DescribeCanariesLastRunCommand = void 0;
3
+ exports.DescribeCanariesLastRunCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class DescribeCanariesLastRunCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DescribeRuntimeVersionsCommand = void 0;
3
+ exports.DescribeRuntimeVersionsCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class DescribeRuntimeVersionsCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DisassociateResourceCommand = void 0;
3
+ exports.DisassociateResourceCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class DisassociateResourceCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetCanaryCommand = void 0;
3
+ exports.GetCanaryCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class GetCanaryCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetCanaryRunsCommand = void 0;
3
+ exports.GetCanaryRunsCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class GetCanaryRunsCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetGroupCommand = void 0;
3
+ exports.GetGroupCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class GetGroupCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListAssociatedGroupsCommand = void 0;
3
+ exports.ListAssociatedGroupsCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class ListAssociatedGroupsCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListGroupResourcesCommand = void 0;
3
+ exports.ListGroupResourcesCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class ListGroupResourcesCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListGroupsCommand = void 0;
3
+ exports.ListGroupsCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class ListGroupsCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListTagsForResourceCommand = void 0;
3
+ exports.ListTagsForResourceCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class ListTagsForResourceCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StartCanaryCommand = void 0;
3
+ exports.StartCanaryCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class StartCanaryCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StopCanaryCommand = void 0;
3
+ exports.StopCanaryCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class StopCanaryCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TagResourceCommand = void 0;
3
+ exports.TagResourceCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class TagResourceCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UntagResourceCommand = void 0;
3
+ exports.UntagResourceCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class UntagResourceCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateCanaryCommand = void 0;
3
+ exports.UpdateCanaryCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class UpdateCanaryCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
package/dist-cjs/index.js CHANGED
@@ -2,10 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SyntheticsServiceException = void 0;
4
4
  const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("./Synthetics"), exports);
6
5
  tslib_1.__exportStar(require("./SyntheticsClient"), exports);
6
+ tslib_1.__exportStar(require("./Synthetics"), exports);
7
7
  tslib_1.__exportStar(require("./commands"), exports);
8
- tslib_1.__exportStar(require("./models"), exports);
9
8
  tslib_1.__exportStar(require("./pagination"), exports);
9
+ tslib_1.__exportStar(require("./models"), exports);
10
10
  var SyntheticsServiceException_1 = require("./models/SyntheticsServiceException");
11
11
  Object.defineProperty(exports, "SyntheticsServiceException", { enumerable: true, get: function () { return SyntheticsServiceException_1.SyntheticsServiceException; } });
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SyntheticsServiceException = void 0;
3
+ exports.SyntheticsServiceException = exports.__ServiceException = void 0;
4
4
  const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
5
6
  class SyntheticsServiceException extends smithy_client_1.ServiceException {
6
7
  constructor(options) {
7
8
  super(options);
@@ -10,6 +10,7 @@ import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware
10
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
11
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
12
12
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
13
+ export { __Client };
13
14
  export class SyntheticsClient extends __Client {
14
15
  constructor(configuration) {
15
16
  const _config_0 = __getRuntimeConfig(configuration);
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_AssociateResourceCommand, se_AssociateResourceCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class AssociateResourceCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_CreateCanaryCommand, se_CreateCanaryCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class CreateCanaryCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_CreateGroupCommand, se_CreateGroupCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class CreateGroupCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_DeleteCanaryCommand, se_DeleteCanaryCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class DeleteCanaryCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_DeleteGroupCommand, se_DeleteGroupCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class DeleteGroupCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_DescribeCanariesCommand, se_DescribeCanariesCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class DescribeCanariesCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_DescribeCanariesLastRunCommand, se_DescribeCanariesLastRunCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class DescribeCanariesLastRunCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_DescribeRuntimeVersionsCommand, se_DescribeRuntimeVersionsCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class DescribeRuntimeVersionsCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_DisassociateResourceCommand, se_DisassociateResourceCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class DisassociateResourceCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_GetCanaryCommand, se_GetCanaryCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class GetCanaryCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_GetCanaryRunsCommand, se_GetCanaryRunsCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class GetCanaryRunsCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_GetGroupCommand, se_GetGroupCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class GetGroupCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_ListAssociatedGroupsCommand, se_ListAssociatedGroupsCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class ListAssociatedGroupsCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_ListGroupResourcesCommand, se_ListGroupResourcesCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class ListGroupResourcesCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_ListGroupsCommand, se_ListGroupsCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class ListGroupsCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class ListTagsForResourceCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_StartCanaryCommand, se_StartCanaryCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class StartCanaryCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_StopCanaryCommand, se_StopCanaryCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class StopCanaryCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class TagResourceCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class UntagResourceCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_UpdateCanaryCommand, se_UpdateCanaryCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class UpdateCanaryCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
package/dist-es/index.js CHANGED
@@ -1,6 +1,6 @@
1
- export * from "./Synthetics";
2
1
  export * from "./SyntheticsClient";
2
+ export * from "./Synthetics";
3
3
  export * from "./commands";
4
- export * from "./models";
5
4
  export * from "./pagination";
5
+ export * from "./models";
6
6
  export { SyntheticsServiceException } from "./models/SyntheticsServiceException";
@@ -1,4 +1,5 @@
1
1
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
2
+ export { __ServiceException };
2
3
  export class SyntheticsServiceException extends __ServiceException {
3
4
  constructor(options) {
4
5
  super(options);
@@ -30,6 +30,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
30
30
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
31
31
  import { UpdateCanaryCommandInput, UpdateCanaryCommandOutput } from "./commands/UpdateCanaryCommand";
32
32
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
33
+ export { __Client };
33
34
  /**
34
35
  * @public
35
36
  */
@@ -144,7 +145,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
144
145
  /**
145
146
  * @public
146
147
  */
147
- type SyntheticsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
148
+ export type SyntheticsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
148
149
  /**
149
150
  * @public
150
151
  *
@@ -155,7 +156,7 @@ export interface SyntheticsClientConfig extends SyntheticsClientConfigType {
155
156
  /**
156
157
  * @public
157
158
  */
158
- type SyntheticsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
159
+ export type SyntheticsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
159
160
  /**
160
161
  * @public
161
162
  *
@@ -195,4 +196,3 @@ export declare class SyntheticsClient extends __Client<__HttpHandlerOptions, Ser
195
196
  */
196
197
  destroy(): void;
197
198
  }
198
- export {};
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { AssociateResourceRequest, AssociateResourceResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SyntheticsClientResolvedConfig } from "../SyntheticsClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CreateCanaryRequest, CreateCanaryResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SyntheticsClientResolvedConfig } from "../SyntheticsClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CreateGroupRequest, CreateGroupResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SyntheticsClientResolvedConfig } from "../SyntheticsClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *