@aws-sdk/client-codeguruprofiler 3.928.0 → 3.930.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 (44) hide show
  1. package/dist-cjs/index.js +1138 -1110
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/CodeGuruProfilerClient.js +2 -0
  4. package/dist-es/commands/AddNotificationChannelsCommand.js +3 -9
  5. package/dist-es/commands/BatchGetFrameMetricDataCommand.js +3 -9
  6. package/dist-es/commands/ConfigureAgentCommand.js +3 -9
  7. package/dist-es/commands/CreateProfilingGroupCommand.js +3 -9
  8. package/dist-es/commands/DeleteProfilingGroupCommand.js +3 -9
  9. package/dist-es/commands/DescribeProfilingGroupCommand.js +3 -9
  10. package/dist-es/commands/GetFindingsReportAccountSummaryCommand.js +3 -9
  11. package/dist-es/commands/GetNotificationConfigurationCommand.js +3 -9
  12. package/dist-es/commands/GetPolicyCommand.js +3 -9
  13. package/dist-es/commands/GetProfileCommand.js +3 -9
  14. package/dist-es/commands/GetRecommendationsCommand.js +3 -9
  15. package/dist-es/commands/ListFindingsReportsCommand.js +3 -9
  16. package/dist-es/commands/ListProfileTimesCommand.js +3 -9
  17. package/dist-es/commands/ListProfilingGroupsCommand.js +3 -9
  18. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  19. package/dist-es/commands/PostAgentProfileCommand.js +3 -9
  20. package/dist-es/commands/PutPermissionCommand.js +3 -9
  21. package/dist-es/commands/RemoveNotificationChannelCommand.js +3 -9
  22. package/dist-es/commands/RemovePermissionCommand.js +3 -9
  23. package/dist-es/commands/SubmitFeedbackCommand.js +3 -9
  24. package/dist-es/commands/TagResourceCommand.js +3 -9
  25. package/dist-es/commands/UntagResourceCommand.js +3 -9
  26. package/dist-es/commands/UpdateProfilingGroupCommand.js +3 -9
  27. package/dist-es/runtimeConfig.shared.js +2 -0
  28. package/dist-es/schemas/schemas_0.js +1101 -0
  29. package/dist-types/CodeGuruProfilerClient.d.ts +10 -1
  30. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  31. package/dist-types/runtimeConfig.d.ts +1 -0
  32. package/dist-types/runtimeConfig.native.d.ts +1 -0
  33. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  34. package/dist-types/schemas/schemas_0.d.ts +120 -0
  35. package/dist-types/ts3.4/CodeGuruProfilerClient.d.ts +4 -0
  36. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  37. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  38. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  39. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  40. package/dist-types/ts3.4/schemas/schemas_0.d.ts +126 -0
  41. package/package.json +34 -35
  42. package/dist-es/protocols/Aws_restJson1.js +0 -949
  43. package/dist-types/protocols/Aws_restJson1.d.ts +0 -209
  44. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -281
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.codeguruprofiler" }),
28
30
  serviceId: config?.serviceId ?? "CodeGuruProfiler",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class CodeGuruProfilerClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_AddNotificationChannelsCommand, se_AddNotificationChannelsCommand } from "../protocols/Aws_restJson1";
4
+ import { AddNotificationChannels } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AddNotificationChannelsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeGuruProfiler", "AddNotificationChannels", {})
17
13
  .n("CodeGuruProfilerClient", "AddNotificationChannelsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AddNotificationChannelsCommand)
20
- .de(de_AddNotificationChannelsCommand)
14
+ .sc(AddNotificationChannels)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_BatchGetFrameMetricDataCommand, se_BatchGetFrameMetricDataCommand } from "../protocols/Aws_restJson1";
4
+ import { BatchGetFrameMetricData } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchGetFrameMetricDataCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeGuruProfiler", "BatchGetFrameMetricData", {})
17
13
  .n("CodeGuruProfilerClient", "BatchGetFrameMetricDataCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchGetFrameMetricDataCommand)
20
- .de(de_BatchGetFrameMetricDataCommand)
14
+ .sc(BatchGetFrameMetricData)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ConfigureAgentCommand, se_ConfigureAgentCommand } from "../protocols/Aws_restJson1";
4
+ import { ConfigureAgent } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ConfigureAgentCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeGuruProfiler", "ConfigureAgent", {})
17
13
  .n("CodeGuruProfilerClient", "ConfigureAgentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ConfigureAgentCommand)
20
- .de(de_ConfigureAgentCommand)
14
+ .sc(ConfigureAgent)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateProfilingGroupCommand, se_CreateProfilingGroupCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateProfilingGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateProfilingGroupCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeGuruProfiler", "CreateProfilingGroup", {})
17
13
  .n("CodeGuruProfilerClient", "CreateProfilingGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateProfilingGroupCommand)
20
- .de(de_CreateProfilingGroupCommand)
14
+ .sc(CreateProfilingGroup)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteProfilingGroupCommand, se_DeleteProfilingGroupCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteProfilingGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteProfilingGroupCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeGuruProfiler", "DeleteProfilingGroup", {})
17
13
  .n("CodeGuruProfilerClient", "DeleteProfilingGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteProfilingGroupCommand)
20
- .de(de_DeleteProfilingGroupCommand)
14
+ .sc(DeleteProfilingGroup)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeProfilingGroupCommand, se_DescribeProfilingGroupCommand } from "../protocols/Aws_restJson1";
4
+ import { DescribeProfilingGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeProfilingGroupCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeGuruProfiler", "DescribeProfilingGroup", {})
17
13
  .n("CodeGuruProfilerClient", "DescribeProfilingGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeProfilingGroupCommand)
20
- .de(de_DescribeProfilingGroupCommand)
14
+ .sc(DescribeProfilingGroup)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetFindingsReportAccountSummaryCommand, se_GetFindingsReportAccountSummaryCommand, } from "../protocols/Aws_restJson1";
4
+ import { GetFindingsReportAccountSummary } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetFindingsReportAccountSummaryCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeGuruProfiler", "GetFindingsReportAccountSummary", {})
17
13
  .n("CodeGuruProfilerClient", "GetFindingsReportAccountSummaryCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetFindingsReportAccountSummaryCommand)
20
- .de(de_GetFindingsReportAccountSummaryCommand)
14
+ .sc(GetFindingsReportAccountSummary)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetNotificationConfigurationCommand, se_GetNotificationConfigurationCommand, } from "../protocols/Aws_restJson1";
4
+ import { GetNotificationConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetNotificationConfigurationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeGuruProfiler", "GetNotificationConfiguration", {})
17
13
  .n("CodeGuruProfilerClient", "GetNotificationConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetNotificationConfigurationCommand)
20
- .de(de_GetNotificationConfigurationCommand)
14
+ .sc(GetNotificationConfiguration)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetPolicyCommand, se_GetPolicyCommand } from "../protocols/Aws_restJson1";
4
+ import { GetPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetPolicyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeGuruProfiler", "GetPolicy", {})
17
13
  .n("CodeGuruProfilerClient", "GetPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetPolicyCommand)
20
- .de(de_GetPolicyCommand)
14
+ .sc(GetPolicy)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetProfileCommand, se_GetProfileCommand } from "../protocols/Aws_restJson1";
4
+ import { GetProfile } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetProfileCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeGuruProfiler", "GetProfile", {})
17
13
  .n("CodeGuruProfilerClient", "GetProfileCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetProfileCommand)
20
- .de(de_GetProfileCommand)
14
+ .sc(GetProfile)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetRecommendationsCommand, se_GetRecommendationsCommand } from "../protocols/Aws_restJson1";
4
+ import { GetRecommendations } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetRecommendationsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeGuruProfiler", "GetRecommendations", {})
17
13
  .n("CodeGuruProfilerClient", "GetRecommendationsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetRecommendationsCommand)
20
- .de(de_GetRecommendationsCommand)
14
+ .sc(GetRecommendations)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListFindingsReportsCommand, se_ListFindingsReportsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListFindingsReports } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListFindingsReportsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeGuruProfiler", "ListFindingsReports", {})
17
13
  .n("CodeGuruProfilerClient", "ListFindingsReportsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListFindingsReportsCommand)
20
- .de(de_ListFindingsReportsCommand)
14
+ .sc(ListFindingsReports)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListProfileTimesCommand, se_ListProfileTimesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListProfileTimes } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListProfileTimesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeGuruProfiler", "ListProfileTimes", {})
17
13
  .n("CodeGuruProfilerClient", "ListProfileTimesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListProfileTimesCommand)
20
- .de(de_ListProfileTimesCommand)
14
+ .sc(ListProfileTimes)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListProfilingGroupsCommand, se_ListProfilingGroupsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListProfilingGroups } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListProfilingGroupsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeGuruProfiler", "ListProfilingGroups", {})
17
13
  .n("CodeGuruProfilerClient", "ListProfilingGroupsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListProfilingGroupsCommand)
20
- .de(de_ListProfilingGroupsCommand)
14
+ .sc(ListProfilingGroups)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsForResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeGuruProfiler", "ListTagsForResource", {})
17
13
  .n("CodeGuruProfilerClient", "ListTagsForResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsForResourceCommand)
20
- .de(de_ListTagsForResourceCommand)
14
+ .sc(ListTagsForResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_PostAgentProfileCommand, se_PostAgentProfileCommand } from "../protocols/Aws_restJson1";
4
+ import { PostAgentProfile } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PostAgentProfileCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeGuruProfiler", "PostAgentProfile", {})
17
13
  .n("CodeGuruProfilerClient", "PostAgentProfileCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PostAgentProfileCommand)
20
- .de(de_PostAgentProfileCommand)
14
+ .sc(PostAgentProfile)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_PutPermissionCommand, se_PutPermissionCommand } from "../protocols/Aws_restJson1";
4
+ import { PutPermission } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutPermissionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeGuruProfiler", "PutPermission", {})
17
13
  .n("CodeGuruProfilerClient", "PutPermissionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutPermissionCommand)
20
- .de(de_PutPermissionCommand)
14
+ .sc(PutPermission)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RemoveNotificationChannelCommand, se_RemoveNotificationChannelCommand } from "../protocols/Aws_restJson1";
4
+ import { RemoveNotificationChannel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RemoveNotificationChannelCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeGuruProfiler", "RemoveNotificationChannel", {})
17
13
  .n("CodeGuruProfilerClient", "RemoveNotificationChannelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RemoveNotificationChannelCommand)
20
- .de(de_RemoveNotificationChannelCommand)
14
+ .sc(RemoveNotificationChannel)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RemovePermissionCommand, se_RemovePermissionCommand } from "../protocols/Aws_restJson1";
4
+ import { RemovePermission } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RemovePermissionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeGuruProfiler", "RemovePermission", {})
17
13
  .n("CodeGuruProfilerClient", "RemovePermissionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RemovePermissionCommand)
20
- .de(de_RemovePermissionCommand)
14
+ .sc(RemovePermission)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_SubmitFeedbackCommand, se_SubmitFeedbackCommand } from "../protocols/Aws_restJson1";
4
+ import { SubmitFeedback } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SubmitFeedbackCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeGuruProfiler", "SubmitFeedback", {})
17
13
  .n("CodeGuruProfilerClient", "SubmitFeedbackCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SubmitFeedbackCommand)
20
- .de(de_SubmitFeedbackCommand)
14
+ .sc(SubmitFeedback)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { TagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeGuruProfiler", "TagResource", {})
17
13
  .n("CodeGuruProfilerClient", "TagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TagResourceCommand)
20
- .de(de_TagResourceCommand)
14
+ .sc(TagResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { UntagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeGuruProfiler", "UntagResource", {})
17
13
  .n("CodeGuruProfilerClient", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
21
15
  .build() {
22
16
  }