@aws-sdk/client-codeguruprofiler 3.1076.0 → 3.1078.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 (89) hide show
  1. package/dist-cjs/index.js +34 -235
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AddNotificationChannelsCommand.js +2 -14
  4. package/dist-es/commands/BatchGetFrameMetricDataCommand.js +2 -14
  5. package/dist-es/commands/ConfigureAgentCommand.js +2 -14
  6. package/dist-es/commands/CreateProfilingGroupCommand.js +2 -14
  7. package/dist-es/commands/DeleteProfilingGroupCommand.js +2 -14
  8. package/dist-es/commands/DescribeProfilingGroupCommand.js +2 -14
  9. package/dist-es/commands/GetFindingsReportAccountSummaryCommand.js +2 -14
  10. package/dist-es/commands/GetNotificationConfigurationCommand.js +2 -14
  11. package/dist-es/commands/GetPolicyCommand.js +2 -14
  12. package/dist-es/commands/GetProfileCommand.js +2 -14
  13. package/dist-es/commands/GetRecommendationsCommand.js +2 -14
  14. package/dist-es/commands/ListFindingsReportsCommand.js +2 -14
  15. package/dist-es/commands/ListProfileTimesCommand.js +2 -14
  16. package/dist-es/commands/ListProfilingGroupsCommand.js +2 -14
  17. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  18. package/dist-es/commands/PostAgentProfileCommand.js +2 -14
  19. package/dist-es/commands/PutPermissionCommand.js +2 -14
  20. package/dist-es/commands/RemoveNotificationChannelCommand.js +2 -14
  21. package/dist-es/commands/RemovePermissionCommand.js +2 -14
  22. package/dist-es/commands/SubmitFeedbackCommand.js +2 -14
  23. package/dist-es/commands/TagResourceCommand.js +2 -14
  24. package/dist-es/commands/UntagResourceCommand.js +2 -14
  25. package/dist-es/commands/UpdateProfilingGroupCommand.js +2 -14
  26. package/dist-es/index.js +1 -0
  27. package/dist-es/runtimeConfig.browser.js +0 -2
  28. package/dist-es/runtimeConfig.js +1 -2
  29. package/dist-es/runtimeConfig.native.js +0 -2
  30. package/dist-es/runtimeConfig.shared.js +2 -0
  31. package/dist-types/commandBuilder.d.ts +18 -0
  32. package/dist-types/commands/AddNotificationChannelsCommand.d.ts +3 -8
  33. package/dist-types/commands/BatchGetFrameMetricDataCommand.d.ts +3 -8
  34. package/dist-types/commands/ConfigureAgentCommand.d.ts +3 -8
  35. package/dist-types/commands/CreateProfilingGroupCommand.d.ts +3 -8
  36. package/dist-types/commands/DeleteProfilingGroupCommand.d.ts +3 -8
  37. package/dist-types/commands/DescribeProfilingGroupCommand.d.ts +3 -8
  38. package/dist-types/commands/GetFindingsReportAccountSummaryCommand.d.ts +3 -8
  39. package/dist-types/commands/GetNotificationConfigurationCommand.d.ts +3 -8
  40. package/dist-types/commands/GetPolicyCommand.d.ts +3 -8
  41. package/dist-types/commands/GetProfileCommand.d.ts +3 -8
  42. package/dist-types/commands/GetRecommendationsCommand.d.ts +3 -8
  43. package/dist-types/commands/ListFindingsReportsCommand.d.ts +3 -8
  44. package/dist-types/commands/ListProfileTimesCommand.d.ts +3 -8
  45. package/dist-types/commands/ListProfilingGroupsCommand.d.ts +3 -8
  46. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  47. package/dist-types/commands/PostAgentProfileCommand.d.ts +3 -8
  48. package/dist-types/commands/PutPermissionCommand.d.ts +3 -8
  49. package/dist-types/commands/RemoveNotificationChannelCommand.d.ts +3 -8
  50. package/dist-types/commands/RemovePermissionCommand.d.ts +3 -8
  51. package/dist-types/commands/SubmitFeedbackCommand.d.ts +3 -8
  52. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  53. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  54. package/dist-types/commands/UpdateProfilingGroupCommand.d.ts +3 -8
  55. package/dist-types/index.d.ts +1 -0
  56. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  57. package/dist-types/runtimeConfig.d.ts +1 -1
  58. package/dist-types/runtimeConfig.native.d.ts +1 -1
  59. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  60. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  61. package/dist-types/ts3.4/commands/AddNotificationChannelsCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/BatchGetFrameMetricDataCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/ConfigureAgentCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/CreateProfilingGroupCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/DeleteProfilingGroupCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/DescribeProfilingGroupCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/GetFindingsReportAccountSummaryCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/GetNotificationConfigurationCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/GetProfileCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/GetRecommendationsCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/ListFindingsReportsCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/ListProfileTimesCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/ListProfilingGroupsCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/PostAgentProfileCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/PutPermissionCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/RemoveNotificationChannelCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/SubmitFeedbackCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/UpdateProfilingGroupCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/index.d.ts +1 -0
  85. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  86. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  87. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  88. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  89. package/package.json +8 -10
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
10
11
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
13
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
15
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
16
  const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultCodeGuruProfilerHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
20
  return {
@@ -67,7 +69,7 @@ const commonParams = {
67
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
68
70
  };
69
71
 
70
- var version = "3.1075.0";
72
+ var version = "3.1077.0";
71
73
  var packageInfo = {
72
74
  version: version};
73
75
 
@@ -923,6 +925,7 @@ const getRuntimeConfig$1 = (config) => {
923
925
  serviceTarget: "CodeGuruProfiler",
924
926
  },
925
927
  serviceId: config?.serviceId ?? "CodeGuruProfiler",
928
+ sha256: config?.sha256 ?? Sha256,
926
929
  urlParser: config?.urlParser ?? parseUrl,
927
930
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
928
931
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -956,7 +959,6 @@ const getRuntimeConfig = (config) => {
956
959
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
957
960
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
958
961
  }, config),
959
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
960
962
  streamCollector: config?.streamCollector ?? streamCollector,
961
963
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
962
964
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1044,280 +1046,77 @@ class CodeGuruProfilerClient extends Client {
1044
1046
  }
1045
1047
  }
1046
1048
 
1047
- class AddNotificationChannelsCommand extends Command
1048
- .classBuilder()
1049
- .ep(commonParams)
1050
- .m(function (Command, cs, config, o) {
1051
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1052
- })
1053
- .s("CodeGuruProfiler", "AddNotificationChannels", {})
1054
- .n("CodeGuruProfilerClient", "AddNotificationChannelsCommand")
1055
- .sc(AddNotificationChannels$)
1056
- .build() {
1049
+ const command = makeBuilder(commonParams, "CodeGuruProfiler", "CodeGuruProfilerClient", getEndpointPlugin);
1050
+ const _ep0 = {};
1051
+ const _mw0 = (Command, cs, config, o) => [];
1052
+
1053
+ class AddNotificationChannelsCommand extends command(_ep0, _mw0, "AddNotificationChannels", AddNotificationChannels$) {
1057
1054
  }
1058
1055
 
1059
- class BatchGetFrameMetricDataCommand extends Command
1060
- .classBuilder()
1061
- .ep(commonParams)
1062
- .m(function (Command, cs, config, o) {
1063
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1064
- })
1065
- .s("CodeGuruProfiler", "BatchGetFrameMetricData", {})
1066
- .n("CodeGuruProfilerClient", "BatchGetFrameMetricDataCommand")
1067
- .sc(BatchGetFrameMetricData$)
1068
- .build() {
1056
+ class BatchGetFrameMetricDataCommand extends command(_ep0, _mw0, "BatchGetFrameMetricData", BatchGetFrameMetricData$) {
1069
1057
  }
1070
1058
 
1071
- class ConfigureAgentCommand extends Command
1072
- .classBuilder()
1073
- .ep(commonParams)
1074
- .m(function (Command, cs, config, o) {
1075
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1076
- })
1077
- .s("CodeGuruProfiler", "ConfigureAgent", {})
1078
- .n("CodeGuruProfilerClient", "ConfigureAgentCommand")
1079
- .sc(ConfigureAgent$)
1080
- .build() {
1059
+ class ConfigureAgentCommand extends command(_ep0, _mw0, "ConfigureAgent", ConfigureAgent$) {
1081
1060
  }
1082
1061
 
1083
- class CreateProfilingGroupCommand extends Command
1084
- .classBuilder()
1085
- .ep(commonParams)
1086
- .m(function (Command, cs, config, o) {
1087
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1088
- })
1089
- .s("CodeGuruProfiler", "CreateProfilingGroup", {})
1090
- .n("CodeGuruProfilerClient", "CreateProfilingGroupCommand")
1091
- .sc(CreateProfilingGroup$)
1092
- .build() {
1062
+ class CreateProfilingGroupCommand extends command(_ep0, _mw0, "CreateProfilingGroup", CreateProfilingGroup$) {
1093
1063
  }
1094
1064
 
1095
- class DeleteProfilingGroupCommand extends Command
1096
- .classBuilder()
1097
- .ep(commonParams)
1098
- .m(function (Command, cs, config, o) {
1099
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1100
- })
1101
- .s("CodeGuruProfiler", "DeleteProfilingGroup", {})
1102
- .n("CodeGuruProfilerClient", "DeleteProfilingGroupCommand")
1103
- .sc(DeleteProfilingGroup$)
1104
- .build() {
1065
+ class DeleteProfilingGroupCommand extends command(_ep0, _mw0, "DeleteProfilingGroup", DeleteProfilingGroup$) {
1105
1066
  }
1106
1067
 
1107
- class DescribeProfilingGroupCommand extends Command
1108
- .classBuilder()
1109
- .ep(commonParams)
1110
- .m(function (Command, cs, config, o) {
1111
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1112
- })
1113
- .s("CodeGuruProfiler", "DescribeProfilingGroup", {})
1114
- .n("CodeGuruProfilerClient", "DescribeProfilingGroupCommand")
1115
- .sc(DescribeProfilingGroup$)
1116
- .build() {
1068
+ class DescribeProfilingGroupCommand extends command(_ep0, _mw0, "DescribeProfilingGroup", DescribeProfilingGroup$) {
1117
1069
  }
1118
1070
 
1119
- class GetFindingsReportAccountSummaryCommand extends Command
1120
- .classBuilder()
1121
- .ep(commonParams)
1122
- .m(function (Command, cs, config, o) {
1123
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1124
- })
1125
- .s("CodeGuruProfiler", "GetFindingsReportAccountSummary", {})
1126
- .n("CodeGuruProfilerClient", "GetFindingsReportAccountSummaryCommand")
1127
- .sc(GetFindingsReportAccountSummary$)
1128
- .build() {
1071
+ class GetFindingsReportAccountSummaryCommand extends command(_ep0, _mw0, "GetFindingsReportAccountSummary", GetFindingsReportAccountSummary$) {
1129
1072
  }
1130
1073
 
1131
- class GetNotificationConfigurationCommand extends Command
1132
- .classBuilder()
1133
- .ep(commonParams)
1134
- .m(function (Command, cs, config, o) {
1135
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1136
- })
1137
- .s("CodeGuruProfiler", "GetNotificationConfiguration", {})
1138
- .n("CodeGuruProfilerClient", "GetNotificationConfigurationCommand")
1139
- .sc(GetNotificationConfiguration$)
1140
- .build() {
1074
+ class GetNotificationConfigurationCommand extends command(_ep0, _mw0, "GetNotificationConfiguration", GetNotificationConfiguration$) {
1141
1075
  }
1142
1076
 
1143
- class GetPolicyCommand extends Command
1144
- .classBuilder()
1145
- .ep(commonParams)
1146
- .m(function (Command, cs, config, o) {
1147
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1148
- })
1149
- .s("CodeGuruProfiler", "GetPolicy", {})
1150
- .n("CodeGuruProfilerClient", "GetPolicyCommand")
1151
- .sc(GetPolicy$)
1152
- .build() {
1077
+ class GetPolicyCommand extends command(_ep0, _mw0, "GetPolicy", GetPolicy$) {
1153
1078
  }
1154
1079
 
1155
- class GetProfileCommand extends Command
1156
- .classBuilder()
1157
- .ep(commonParams)
1158
- .m(function (Command, cs, config, o) {
1159
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1160
- })
1161
- .s("CodeGuruProfiler", "GetProfile", {})
1162
- .n("CodeGuruProfilerClient", "GetProfileCommand")
1163
- .sc(GetProfile$)
1164
- .build() {
1080
+ class GetProfileCommand extends command(_ep0, _mw0, "GetProfile", GetProfile$) {
1165
1081
  }
1166
1082
 
1167
- class GetRecommendationsCommand extends Command
1168
- .classBuilder()
1169
- .ep(commonParams)
1170
- .m(function (Command, cs, config, o) {
1171
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1172
- })
1173
- .s("CodeGuruProfiler", "GetRecommendations", {})
1174
- .n("CodeGuruProfilerClient", "GetRecommendationsCommand")
1175
- .sc(GetRecommendations$)
1176
- .build() {
1083
+ class GetRecommendationsCommand extends command(_ep0, _mw0, "GetRecommendations", GetRecommendations$) {
1177
1084
  }
1178
1085
 
1179
- class ListFindingsReportsCommand extends Command
1180
- .classBuilder()
1181
- .ep(commonParams)
1182
- .m(function (Command, cs, config, o) {
1183
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1184
- })
1185
- .s("CodeGuruProfiler", "ListFindingsReports", {})
1186
- .n("CodeGuruProfilerClient", "ListFindingsReportsCommand")
1187
- .sc(ListFindingsReports$)
1188
- .build() {
1086
+ class ListFindingsReportsCommand extends command(_ep0, _mw0, "ListFindingsReports", ListFindingsReports$) {
1189
1087
  }
1190
1088
 
1191
- class ListProfileTimesCommand extends Command
1192
- .classBuilder()
1193
- .ep(commonParams)
1194
- .m(function (Command, cs, config, o) {
1195
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1196
- })
1197
- .s("CodeGuruProfiler", "ListProfileTimes", {})
1198
- .n("CodeGuruProfilerClient", "ListProfileTimesCommand")
1199
- .sc(ListProfileTimes$)
1200
- .build() {
1089
+ class ListProfileTimesCommand extends command(_ep0, _mw0, "ListProfileTimes", ListProfileTimes$) {
1201
1090
  }
1202
1091
 
1203
- class ListProfilingGroupsCommand extends Command
1204
- .classBuilder()
1205
- .ep(commonParams)
1206
- .m(function (Command, cs, config, o) {
1207
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1208
- })
1209
- .s("CodeGuruProfiler", "ListProfilingGroups", {})
1210
- .n("CodeGuruProfilerClient", "ListProfilingGroupsCommand")
1211
- .sc(ListProfilingGroups$)
1212
- .build() {
1092
+ class ListProfilingGroupsCommand extends command(_ep0, _mw0, "ListProfilingGroups", ListProfilingGroups$) {
1213
1093
  }
1214
1094
 
1215
- class ListTagsForResourceCommand extends Command
1216
- .classBuilder()
1217
- .ep(commonParams)
1218
- .m(function (Command, cs, config, o) {
1219
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1220
- })
1221
- .s("CodeGuruProfiler", "ListTagsForResource", {})
1222
- .n("CodeGuruProfilerClient", "ListTagsForResourceCommand")
1223
- .sc(ListTagsForResource$)
1224
- .build() {
1095
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1225
1096
  }
1226
1097
 
1227
- class PostAgentProfileCommand extends Command
1228
- .classBuilder()
1229
- .ep(commonParams)
1230
- .m(function (Command, cs, config, o) {
1231
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1232
- })
1233
- .s("CodeGuruProfiler", "PostAgentProfile", {})
1234
- .n("CodeGuruProfilerClient", "PostAgentProfileCommand")
1235
- .sc(PostAgentProfile$)
1236
- .build() {
1098
+ class PostAgentProfileCommand extends command(_ep0, _mw0, "PostAgentProfile", PostAgentProfile$) {
1237
1099
  }
1238
1100
 
1239
- class PutPermissionCommand extends Command
1240
- .classBuilder()
1241
- .ep(commonParams)
1242
- .m(function (Command, cs, config, o) {
1243
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1244
- })
1245
- .s("CodeGuruProfiler", "PutPermission", {})
1246
- .n("CodeGuruProfilerClient", "PutPermissionCommand")
1247
- .sc(PutPermission$)
1248
- .build() {
1101
+ class PutPermissionCommand extends command(_ep0, _mw0, "PutPermission", PutPermission$) {
1249
1102
  }
1250
1103
 
1251
- class RemoveNotificationChannelCommand extends Command
1252
- .classBuilder()
1253
- .ep(commonParams)
1254
- .m(function (Command, cs, config, o) {
1255
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1256
- })
1257
- .s("CodeGuruProfiler", "RemoveNotificationChannel", {})
1258
- .n("CodeGuruProfilerClient", "RemoveNotificationChannelCommand")
1259
- .sc(RemoveNotificationChannel$)
1260
- .build() {
1104
+ class RemoveNotificationChannelCommand extends command(_ep0, _mw0, "RemoveNotificationChannel", RemoveNotificationChannel$) {
1261
1105
  }
1262
1106
 
1263
- class RemovePermissionCommand extends Command
1264
- .classBuilder()
1265
- .ep(commonParams)
1266
- .m(function (Command, cs, config, o) {
1267
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1268
- })
1269
- .s("CodeGuruProfiler", "RemovePermission", {})
1270
- .n("CodeGuruProfilerClient", "RemovePermissionCommand")
1271
- .sc(RemovePermission$)
1272
- .build() {
1107
+ class RemovePermissionCommand extends command(_ep0, _mw0, "RemovePermission", RemovePermission$) {
1273
1108
  }
1274
1109
 
1275
- class SubmitFeedbackCommand extends Command
1276
- .classBuilder()
1277
- .ep(commonParams)
1278
- .m(function (Command, cs, config, o) {
1279
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1280
- })
1281
- .s("CodeGuruProfiler", "SubmitFeedback", {})
1282
- .n("CodeGuruProfilerClient", "SubmitFeedbackCommand")
1283
- .sc(SubmitFeedback$)
1284
- .build() {
1110
+ class SubmitFeedbackCommand extends command(_ep0, _mw0, "SubmitFeedback", SubmitFeedback$) {
1285
1111
  }
1286
1112
 
1287
- class TagResourceCommand extends Command
1288
- .classBuilder()
1289
- .ep(commonParams)
1290
- .m(function (Command, cs, config, o) {
1291
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1292
- })
1293
- .s("CodeGuruProfiler", "TagResource", {})
1294
- .n("CodeGuruProfilerClient", "TagResourceCommand")
1295
- .sc(TagResource$)
1296
- .build() {
1113
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1297
1114
  }
1298
1115
 
1299
- class UntagResourceCommand extends Command
1300
- .classBuilder()
1301
- .ep(commonParams)
1302
- .m(function (Command, cs, config, o) {
1303
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1304
- })
1305
- .s("CodeGuruProfiler", "UntagResource", {})
1306
- .n("CodeGuruProfilerClient", "UntagResourceCommand")
1307
- .sc(UntagResource$)
1308
- .build() {
1116
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1309
1117
  }
1310
1118
 
1311
- class UpdateProfilingGroupCommand extends Command
1312
- .classBuilder()
1313
- .ep(commonParams)
1314
- .m(function (Command, cs, config, o) {
1315
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1316
- })
1317
- .s("CodeGuruProfiler", "UpdateProfilingGroup", {})
1318
- .n("CodeGuruProfilerClient", "UpdateProfilingGroupCommand")
1319
- .sc(UpdateProfilingGroup$)
1320
- .build() {
1119
+ class UpdateProfilingGroupCommand extends command(_ep0, _mw0, "UpdateProfilingGroup", UpdateProfilingGroup$) {
1321
1120
  }
1322
1121
 
1323
1122
  const paginateGetFindingsReportAccountSummary = createPaginator(CodeGuruProfilerClient, GetFindingsReportAccountSummaryCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "CodeGuruProfiler", "CodeGuruProfilerClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { AddNotificationChannels$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AddNotificationChannelsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeGuruProfiler", "AddNotificationChannels", {})
13
- .n("CodeGuruProfilerClient", "AddNotificationChannelsCommand")
14
- .sc(AddNotificationChannels$)
15
- .build() {
3
+ export class AddNotificationChannelsCommand extends command(_ep0, _mw0, "AddNotificationChannels", AddNotificationChannels$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { BatchGetFrameMetricData$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchGetFrameMetricDataCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeGuruProfiler", "BatchGetFrameMetricData", {})
13
- .n("CodeGuruProfilerClient", "BatchGetFrameMetricDataCommand")
14
- .sc(BatchGetFrameMetricData$)
15
- .build() {
3
+ export class BatchGetFrameMetricDataCommand extends command(_ep0, _mw0, "BatchGetFrameMetricData", BatchGetFrameMetricData$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ConfigureAgent$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ConfigureAgentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeGuruProfiler", "ConfigureAgent", {})
13
- .n("CodeGuruProfilerClient", "ConfigureAgentCommand")
14
- .sc(ConfigureAgent$)
15
- .build() {
3
+ export class ConfigureAgentCommand extends command(_ep0, _mw0, "ConfigureAgent", ConfigureAgent$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateProfilingGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateProfilingGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeGuruProfiler", "CreateProfilingGroup", {})
13
- .n("CodeGuruProfilerClient", "CreateProfilingGroupCommand")
14
- .sc(CreateProfilingGroup$)
15
- .build() {
3
+ export class CreateProfilingGroupCommand extends command(_ep0, _mw0, "CreateProfilingGroup", CreateProfilingGroup$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteProfilingGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteProfilingGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeGuruProfiler", "DeleteProfilingGroup", {})
13
- .n("CodeGuruProfilerClient", "DeleteProfilingGroupCommand")
14
- .sc(DeleteProfilingGroup$)
15
- .build() {
3
+ export class DeleteProfilingGroupCommand extends command(_ep0, _mw0, "DeleteProfilingGroup", DeleteProfilingGroup$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeProfilingGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeProfilingGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeGuruProfiler", "DescribeProfilingGroup", {})
13
- .n("CodeGuruProfilerClient", "DescribeProfilingGroupCommand")
14
- .sc(DescribeProfilingGroup$)
15
- .build() {
3
+ export class DescribeProfilingGroupCommand extends command(_ep0, _mw0, "DescribeProfilingGroup", DescribeProfilingGroup$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetFindingsReportAccountSummary$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetFindingsReportAccountSummaryCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeGuruProfiler", "GetFindingsReportAccountSummary", {})
13
- .n("CodeGuruProfilerClient", "GetFindingsReportAccountSummaryCommand")
14
- .sc(GetFindingsReportAccountSummary$)
15
- .build() {
3
+ export class GetFindingsReportAccountSummaryCommand extends command(_ep0, _mw0, "GetFindingsReportAccountSummary", GetFindingsReportAccountSummary$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetNotificationConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetNotificationConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeGuruProfiler", "GetNotificationConfiguration", {})
13
- .n("CodeGuruProfilerClient", "GetNotificationConfigurationCommand")
14
- .sc(GetNotificationConfiguration$)
15
- .build() {
3
+ export class GetNotificationConfigurationCommand extends command(_ep0, _mw0, "GetNotificationConfiguration", GetNotificationConfiguration$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeGuruProfiler", "GetPolicy", {})
13
- .n("CodeGuruProfilerClient", "GetPolicyCommand")
14
- .sc(GetPolicy$)
15
- .build() {
3
+ export class GetPolicyCommand extends command(_ep0, _mw0, "GetPolicy", GetPolicy$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetProfile$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetProfileCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeGuruProfiler", "GetProfile", {})
13
- .n("CodeGuruProfilerClient", "GetProfileCommand")
14
- .sc(GetProfile$)
15
- .build() {
3
+ export class GetProfileCommand extends command(_ep0, _mw0, "GetProfile", GetProfile$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetRecommendations$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetRecommendationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeGuruProfiler", "GetRecommendations", {})
13
- .n("CodeGuruProfilerClient", "GetRecommendationsCommand")
14
- .sc(GetRecommendations$)
15
- .build() {
3
+ export class GetRecommendationsCommand extends command(_ep0, _mw0, "GetRecommendations", GetRecommendations$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListFindingsReports$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListFindingsReportsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeGuruProfiler", "ListFindingsReports", {})
13
- .n("CodeGuruProfilerClient", "ListFindingsReportsCommand")
14
- .sc(ListFindingsReports$)
15
- .build() {
3
+ export class ListFindingsReportsCommand extends command(_ep0, _mw0, "ListFindingsReports", ListFindingsReports$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListProfileTimes$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListProfileTimesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeGuruProfiler", "ListProfileTimes", {})
13
- .n("CodeGuruProfilerClient", "ListProfileTimesCommand")
14
- .sc(ListProfileTimes$)
15
- .build() {
3
+ export class ListProfileTimesCommand extends command(_ep0, _mw0, "ListProfileTimes", ListProfileTimes$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListProfilingGroups$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListProfilingGroupsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeGuruProfiler", "ListProfilingGroups", {})
13
- .n("CodeGuruProfilerClient", "ListProfilingGroupsCommand")
14
- .sc(ListProfilingGroups$)
15
- .build() {
3
+ export class ListProfilingGroupsCommand extends command(_ep0, _mw0, "ListProfilingGroups", ListProfilingGroups$) {
16
4
  }