@aws-sdk/client-synthetics 3.477.0 → 3.481.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 (117) hide show
  1. package/dist-cjs/commands/AssociateResourceCommand.js +18 -41
  2. package/dist-cjs/commands/CreateCanaryCommand.js +18 -41
  3. package/dist-cjs/commands/CreateGroupCommand.js +18 -41
  4. package/dist-cjs/commands/DeleteCanaryCommand.js +18 -41
  5. package/dist-cjs/commands/DeleteGroupCommand.js +18 -41
  6. package/dist-cjs/commands/DescribeCanariesCommand.js +18 -41
  7. package/dist-cjs/commands/DescribeCanariesLastRunCommand.js +18 -41
  8. package/dist-cjs/commands/DescribeRuntimeVersionsCommand.js +18 -41
  9. package/dist-cjs/commands/DisassociateResourceCommand.js +18 -41
  10. package/dist-cjs/commands/GetCanaryCommand.js +18 -41
  11. package/dist-cjs/commands/GetCanaryRunsCommand.js +18 -41
  12. package/dist-cjs/commands/GetGroupCommand.js +18 -41
  13. package/dist-cjs/commands/ListAssociatedGroupsCommand.js +18 -41
  14. package/dist-cjs/commands/ListGroupResourcesCommand.js +18 -41
  15. package/dist-cjs/commands/ListGroupsCommand.js +18 -41
  16. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  17. package/dist-cjs/commands/StartCanaryCommand.js +18 -41
  18. package/dist-cjs/commands/StopCanaryCommand.js +18 -41
  19. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  20. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  21. package/dist-cjs/commands/UpdateCanaryCommand.js +18 -41
  22. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  23. package/dist-cjs/pagination/DescribeCanariesLastRunPaginator.js +2 -24
  24. package/dist-cjs/pagination/DescribeCanariesPaginator.js +2 -24
  25. package/dist-cjs/pagination/DescribeRuntimeVersionsPaginator.js +2 -24
  26. package/dist-cjs/pagination/GetCanaryRunsPaginator.js +2 -24
  27. package/dist-cjs/pagination/ListAssociatedGroupsPaginator.js +2 -24
  28. package/dist-cjs/pagination/ListGroupResourcesPaginator.js +2 -24
  29. package/dist-cjs/pagination/ListGroupsPaginator.js +2 -24
  30. package/dist-es/commands/AssociateResourceCommand.js +18 -41
  31. package/dist-es/commands/CreateCanaryCommand.js +18 -41
  32. package/dist-es/commands/CreateGroupCommand.js +18 -41
  33. package/dist-es/commands/DeleteCanaryCommand.js +18 -41
  34. package/dist-es/commands/DeleteGroupCommand.js +18 -41
  35. package/dist-es/commands/DescribeCanariesCommand.js +18 -41
  36. package/dist-es/commands/DescribeCanariesLastRunCommand.js +18 -41
  37. package/dist-es/commands/DescribeRuntimeVersionsCommand.js +18 -41
  38. package/dist-es/commands/DisassociateResourceCommand.js +18 -41
  39. package/dist-es/commands/GetCanaryCommand.js +18 -41
  40. package/dist-es/commands/GetCanaryRunsCommand.js +18 -41
  41. package/dist-es/commands/GetGroupCommand.js +18 -41
  42. package/dist-es/commands/ListAssociatedGroupsCommand.js +18 -41
  43. package/dist-es/commands/ListGroupResourcesCommand.js +18 -41
  44. package/dist-es/commands/ListGroupsCommand.js +18 -41
  45. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  46. package/dist-es/commands/StartCanaryCommand.js +18 -41
  47. package/dist-es/commands/StopCanaryCommand.js +18 -41
  48. package/dist-es/commands/TagResourceCommand.js +18 -41
  49. package/dist-es/commands/UntagResourceCommand.js +18 -41
  50. package/dist-es/commands/UpdateCanaryCommand.js +18 -41
  51. package/dist-es/endpoint/EndpointParameters.js +6 -0
  52. package/dist-es/pagination/DescribeCanariesLastRunPaginator.js +2 -23
  53. package/dist-es/pagination/DescribeCanariesPaginator.js +2 -23
  54. package/dist-es/pagination/DescribeRuntimeVersionsPaginator.js +2 -23
  55. package/dist-es/pagination/GetCanaryRunsPaginator.js +2 -23
  56. package/dist-es/pagination/ListAssociatedGroupsPaginator.js +2 -23
  57. package/dist-es/pagination/ListGroupResourcesPaginator.js +2 -23
  58. package/dist-es/pagination/ListGroupsPaginator.js +2 -23
  59. package/dist-types/commands/AssociateResourceCommand.d.ts +6 -21
  60. package/dist-types/commands/CreateCanaryCommand.d.ts +6 -21
  61. package/dist-types/commands/CreateGroupCommand.d.ts +6 -21
  62. package/dist-types/commands/DeleteCanaryCommand.d.ts +6 -21
  63. package/dist-types/commands/DeleteGroupCommand.d.ts +6 -21
  64. package/dist-types/commands/DescribeCanariesCommand.d.ts +6 -21
  65. package/dist-types/commands/DescribeCanariesLastRunCommand.d.ts +6 -21
  66. package/dist-types/commands/DescribeRuntimeVersionsCommand.d.ts +6 -21
  67. package/dist-types/commands/DisassociateResourceCommand.d.ts +6 -21
  68. package/dist-types/commands/GetCanaryCommand.d.ts +6 -21
  69. package/dist-types/commands/GetCanaryRunsCommand.d.ts +6 -21
  70. package/dist-types/commands/GetGroupCommand.d.ts +6 -21
  71. package/dist-types/commands/ListAssociatedGroupsCommand.d.ts +6 -21
  72. package/dist-types/commands/ListGroupResourcesCommand.d.ts +6 -21
  73. package/dist-types/commands/ListGroupsCommand.d.ts +6 -21
  74. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  75. package/dist-types/commands/StartCanaryCommand.d.ts +6 -21
  76. package/dist-types/commands/StopCanaryCommand.d.ts +6 -21
  77. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  78. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  79. package/dist-types/commands/UpdateCanaryCommand.d.ts +6 -21
  80. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  81. package/dist-types/pagination/DescribeCanariesLastRunPaginator.d.ts +1 -1
  82. package/dist-types/pagination/DescribeCanariesPaginator.d.ts +1 -1
  83. package/dist-types/pagination/DescribeRuntimeVersionsPaginator.d.ts +1 -1
  84. package/dist-types/pagination/GetCanaryRunsPaginator.d.ts +1 -1
  85. package/dist-types/pagination/ListAssociatedGroupsPaginator.d.ts +1 -1
  86. package/dist-types/pagination/ListGroupResourcesPaginator.d.ts +1 -1
  87. package/dist-types/pagination/ListGroupsPaginator.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/AssociateResourceCommand.d.ts +14 -23
  89. package/dist-types/ts3.4/commands/CreateCanaryCommand.d.ts +14 -23
  90. package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +14 -23
  91. package/dist-types/ts3.4/commands/DeleteCanaryCommand.d.ts +14 -23
  92. package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +14 -23
  93. package/dist-types/ts3.4/commands/DescribeCanariesCommand.d.ts +14 -23
  94. package/dist-types/ts3.4/commands/DescribeCanariesLastRunCommand.d.ts +12 -24
  95. package/dist-types/ts3.4/commands/DescribeRuntimeVersionsCommand.d.ts +12 -24
  96. package/dist-types/ts3.4/commands/DisassociateResourceCommand.d.ts +12 -24
  97. package/dist-types/ts3.4/commands/GetCanaryCommand.d.ts +14 -23
  98. package/dist-types/ts3.4/commands/GetCanaryRunsCommand.d.ts +14 -23
  99. package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +14 -23
  100. package/dist-types/ts3.4/commands/ListAssociatedGroupsCommand.d.ts +12 -24
  101. package/dist-types/ts3.4/commands/ListGroupResourcesCommand.d.ts +14 -23
  102. package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +14 -23
  103. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  104. package/dist-types/ts3.4/commands/StartCanaryCommand.d.ts +14 -23
  105. package/dist-types/ts3.4/commands/StopCanaryCommand.d.ts +14 -23
  106. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  107. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  108. package/dist-types/ts3.4/commands/UpdateCanaryCommand.d.ts +14 -23
  109. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  110. package/dist-types/ts3.4/pagination/DescribeCanariesLastRunPaginator.d.ts +3 -3
  111. package/dist-types/ts3.4/pagination/DescribeCanariesPaginator.d.ts +3 -3
  112. package/dist-types/ts3.4/pagination/DescribeRuntimeVersionsPaginator.d.ts +3 -3
  113. package/dist-types/ts3.4/pagination/GetCanaryRunsPaginator.d.ts +3 -3
  114. package/dist-types/ts3.4/pagination/ListAssociatedGroupsPaginator.d.ts +3 -3
  115. package/dist-types/ts3.4/pagination/ListGroupResourcesPaginator.d.ts +3 -3
  116. package/dist-types/ts3.4/pagination/ListGroupsPaginator.d.ts +3 -3
  117. package/package.json +11 -11
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class AssociateResourceCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AssociateResourceCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "SyntheticsClient";
29
- const commandName = "AssociateResourceCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Synthetics",
38
- operation: "AssociateResource",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_AssociateResourceCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_AssociateResourceCommand)(output, context);
49
- }
10
+ class AssociateResourceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("Synthetics", "AssociateResource", {})
22
+ .n("SyntheticsClient", "AssociateResourceCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_AssociateResourceCommand)
25
+ .de(Aws_restJson1_1.de_AssociateResourceCommand)
26
+ .build() {
50
27
  }
51
28
  exports.AssociateResourceCommand = AssociateResourceCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class CreateCanaryCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateCanaryCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "SyntheticsClient";
29
- const commandName = "CreateCanaryCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Synthetics",
38
- operation: "CreateCanary",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_CreateCanaryCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_CreateCanaryCommand)(output, context);
49
- }
10
+ class CreateCanaryCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("Synthetics", "CreateCanary", {})
22
+ .n("SyntheticsClient", "CreateCanaryCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_CreateCanaryCommand)
25
+ .de(Aws_restJson1_1.de_CreateCanaryCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateCanaryCommand = CreateCanaryCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class CreateGroupCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateGroupCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "SyntheticsClient";
29
- const commandName = "CreateGroupCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Synthetics",
38
- operation: "CreateGroup",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_CreateGroupCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_CreateGroupCommand)(output, context);
49
- }
10
+ class CreateGroupCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("Synthetics", "CreateGroup", {})
22
+ .n("SyntheticsClient", "CreateGroupCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_CreateGroupCommand)
25
+ .de(Aws_restJson1_1.de_CreateGroupCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateGroupCommand = CreateGroupCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DeleteCanaryCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteCanaryCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "SyntheticsClient";
29
- const commandName = "DeleteCanaryCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Synthetics",
38
- operation: "DeleteCanary",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_DeleteCanaryCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DeleteCanaryCommand)(output, context);
49
- }
10
+ class DeleteCanaryCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("Synthetics", "DeleteCanary", {})
22
+ .n("SyntheticsClient", "DeleteCanaryCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DeleteCanaryCommand)
25
+ .de(Aws_restJson1_1.de_DeleteCanaryCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DeleteCanaryCommand = DeleteCanaryCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DeleteGroupCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteGroupCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "SyntheticsClient";
29
- const commandName = "DeleteGroupCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Synthetics",
38
- operation: "DeleteGroup",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_DeleteGroupCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DeleteGroupCommand)(output, context);
49
- }
10
+ class DeleteGroupCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("Synthetics", "DeleteGroup", {})
22
+ .n("SyntheticsClient", "DeleteGroupCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DeleteGroupCommand)
25
+ .de(Aws_restJson1_1.de_DeleteGroupCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DeleteGroupCommand = DeleteGroupCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DescribeCanariesCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeCanariesCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "SyntheticsClient";
29
- const commandName = "DescribeCanariesCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Synthetics",
38
- operation: "DescribeCanaries",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_DescribeCanariesCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DescribeCanariesCommand)(output, context);
49
- }
10
+ class DescribeCanariesCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("Synthetics", "DescribeCanaries", {})
22
+ .n("SyntheticsClient", "DescribeCanariesCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DescribeCanariesCommand)
25
+ .de(Aws_restJson1_1.de_DescribeCanariesCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeCanariesCommand = DescribeCanariesCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DescribeCanariesLastRunCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeCanariesLastRunCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "SyntheticsClient";
29
- const commandName = "DescribeCanariesLastRunCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Synthetics",
38
- operation: "DescribeCanariesLastRun",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_DescribeCanariesLastRunCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DescribeCanariesLastRunCommand)(output, context);
49
- }
10
+ class DescribeCanariesLastRunCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("Synthetics", "DescribeCanariesLastRun", {})
22
+ .n("SyntheticsClient", "DescribeCanariesLastRunCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DescribeCanariesLastRunCommand)
25
+ .de(Aws_restJson1_1.de_DescribeCanariesLastRunCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeCanariesLastRunCommand = DescribeCanariesLastRunCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DescribeRuntimeVersionsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeRuntimeVersionsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "SyntheticsClient";
29
- const commandName = "DescribeRuntimeVersionsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Synthetics",
38
- operation: "DescribeRuntimeVersions",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_DescribeRuntimeVersionsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DescribeRuntimeVersionsCommand)(output, context);
49
- }
10
+ class DescribeRuntimeVersionsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("Synthetics", "DescribeRuntimeVersions", {})
22
+ .n("SyntheticsClient", "DescribeRuntimeVersionsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DescribeRuntimeVersionsCommand)
25
+ .de(Aws_restJson1_1.de_DescribeRuntimeVersionsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeRuntimeVersionsCommand = DescribeRuntimeVersionsCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DisassociateResourceCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DisassociateResourceCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "SyntheticsClient";
29
- const commandName = "DisassociateResourceCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Synthetics",
38
- operation: "DisassociateResource",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_DisassociateResourceCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DisassociateResourceCommand)(output, context);
49
- }
10
+ class DisassociateResourceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("Synthetics", "DisassociateResource", {})
22
+ .n("SyntheticsClient", "DisassociateResourceCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DisassociateResourceCommand)
25
+ .de(Aws_restJson1_1.de_DisassociateResourceCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DisassociateResourceCommand = DisassociateResourceCommand;