@aws-sdk/client-support 3.1077.0 → 3.1079.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 (56) hide show
  1. package/dist-cjs/index.js +24 -163
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AddAttachmentsToSetCommand.js +2 -14
  4. package/dist-es/commands/AddCommunicationToCaseCommand.js +2 -14
  5. package/dist-es/commands/CreateCaseCommand.js +2 -14
  6. package/dist-es/commands/DescribeAttachmentCommand.js +2 -14
  7. package/dist-es/commands/DescribeCasesCommand.js +2 -14
  8. package/dist-es/commands/DescribeCommunicationsCommand.js +2 -14
  9. package/dist-es/commands/DescribeCreateCaseOptionsCommand.js +2 -14
  10. package/dist-es/commands/DescribeServicesCommand.js +2 -14
  11. package/dist-es/commands/DescribeSeverityLevelsCommand.js +2 -14
  12. package/dist-es/commands/DescribeSupportedLanguagesCommand.js +2 -14
  13. package/dist-es/commands/DescribeTrustedAdvisorCheckRefreshStatusesCommand.js +2 -14
  14. package/dist-es/commands/DescribeTrustedAdvisorCheckResultCommand.js +2 -14
  15. package/dist-es/commands/DescribeTrustedAdvisorCheckSummariesCommand.js +2 -14
  16. package/dist-es/commands/DescribeTrustedAdvisorChecksCommand.js +2 -14
  17. package/dist-es/commands/RefreshTrustedAdvisorCheckCommand.js +2 -14
  18. package/dist-es/commands/ResolveCaseCommand.js +2 -14
  19. package/dist-es/index.js +1 -0
  20. package/dist-types/commandBuilder.d.ts +18 -0
  21. package/dist-types/commands/AddAttachmentsToSetCommand.d.ts +3 -8
  22. package/dist-types/commands/AddCommunicationToCaseCommand.d.ts +3 -8
  23. package/dist-types/commands/CreateCaseCommand.d.ts +3 -8
  24. package/dist-types/commands/DescribeAttachmentCommand.d.ts +3 -8
  25. package/dist-types/commands/DescribeCasesCommand.d.ts +3 -8
  26. package/dist-types/commands/DescribeCommunicationsCommand.d.ts +3 -8
  27. package/dist-types/commands/DescribeCreateCaseOptionsCommand.d.ts +3 -8
  28. package/dist-types/commands/DescribeServicesCommand.d.ts +3 -8
  29. package/dist-types/commands/DescribeSeverityLevelsCommand.d.ts +3 -8
  30. package/dist-types/commands/DescribeSupportedLanguagesCommand.d.ts +3 -8
  31. package/dist-types/commands/DescribeTrustedAdvisorCheckRefreshStatusesCommand.d.ts +3 -8
  32. package/dist-types/commands/DescribeTrustedAdvisorCheckResultCommand.d.ts +3 -8
  33. package/dist-types/commands/DescribeTrustedAdvisorCheckSummariesCommand.d.ts +3 -8
  34. package/dist-types/commands/DescribeTrustedAdvisorChecksCommand.d.ts +3 -8
  35. package/dist-types/commands/RefreshTrustedAdvisorCheckCommand.d.ts +3 -8
  36. package/dist-types/commands/ResolveCaseCommand.d.ts +3 -8
  37. package/dist-types/index.d.ts +1 -0
  38. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  39. package/dist-types/ts3.4/commands/AddAttachmentsToSetCommand.d.ts +7 -16
  40. package/dist-types/ts3.4/commands/AddCommunicationToCaseCommand.d.ts +7 -16
  41. package/dist-types/ts3.4/commands/CreateCaseCommand.d.ts +7 -16
  42. package/dist-types/ts3.4/commands/DescribeAttachmentCommand.d.ts +7 -16
  43. package/dist-types/ts3.4/commands/DescribeCasesCommand.d.ts +7 -16
  44. package/dist-types/ts3.4/commands/DescribeCommunicationsCommand.d.ts +7 -16
  45. package/dist-types/ts3.4/commands/DescribeCreateCaseOptionsCommand.d.ts +7 -16
  46. package/dist-types/ts3.4/commands/DescribeServicesCommand.d.ts +7 -16
  47. package/dist-types/ts3.4/commands/DescribeSeverityLevelsCommand.d.ts +7 -16
  48. package/dist-types/ts3.4/commands/DescribeSupportedLanguagesCommand.d.ts +7 -16
  49. package/dist-types/ts3.4/commands/DescribeTrustedAdvisorCheckRefreshStatusesCommand.d.ts +7 -16
  50. package/dist-types/ts3.4/commands/DescribeTrustedAdvisorCheckResultCommand.d.ts +7 -16
  51. package/dist-types/ts3.4/commands/DescribeTrustedAdvisorCheckSummariesCommand.d.ts +7 -16
  52. package/dist-types/ts3.4/commands/DescribeTrustedAdvisorChecksCommand.d.ts +7 -16
  53. package/dist-types/ts3.4/commands/RefreshTrustedAdvisorCheckCommand.d.ts +7 -16
  54. package/dist-types/ts3.4/commands/ResolveCaseCommand.d.ts +7 -16
  55. package/dist-types/ts3.4/index.d.ts +1 -0
  56. package/package.json +8 -8
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");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1078.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -1028,196 +1029,56 @@ class SupportClient extends Client {
1028
1029
  }
1029
1030
  }
1030
1031
 
1031
- class AddAttachmentsToSetCommand extends Command
1032
- .classBuilder()
1033
- .ep(commonParams)
1034
- .m(function (Command, cs, config, o) {
1035
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1036
- })
1037
- .s("AWSSupport_20130415", "AddAttachmentsToSet", {})
1038
- .n("SupportClient", "AddAttachmentsToSetCommand")
1039
- .sc(AddAttachmentsToSet$)
1040
- .build() {
1032
+ const command = makeBuilder(commonParams, "AWSSupport_20130415", "SupportClient", getEndpointPlugin);
1033
+ const _ep0 = {};
1034
+ const _mw0 = (Command, cs, config, o) => [];
1035
+
1036
+ class AddAttachmentsToSetCommand extends command(_ep0, _mw0, "AddAttachmentsToSet", AddAttachmentsToSet$) {
1041
1037
  }
1042
1038
 
1043
- class AddCommunicationToCaseCommand extends Command
1044
- .classBuilder()
1045
- .ep(commonParams)
1046
- .m(function (Command, cs, config, o) {
1047
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1048
- })
1049
- .s("AWSSupport_20130415", "AddCommunicationToCase", {})
1050
- .n("SupportClient", "AddCommunicationToCaseCommand")
1051
- .sc(AddCommunicationToCase$)
1052
- .build() {
1039
+ class AddCommunicationToCaseCommand extends command(_ep0, _mw0, "AddCommunicationToCase", AddCommunicationToCase$) {
1053
1040
  }
1054
1041
 
1055
- class CreateCaseCommand extends Command
1056
- .classBuilder()
1057
- .ep(commonParams)
1058
- .m(function (Command, cs, config, o) {
1059
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1060
- })
1061
- .s("AWSSupport_20130415", "CreateCase", {})
1062
- .n("SupportClient", "CreateCaseCommand")
1063
- .sc(CreateCase$)
1064
- .build() {
1042
+ class CreateCaseCommand extends command(_ep0, _mw0, "CreateCase", CreateCase$) {
1065
1043
  }
1066
1044
 
1067
- class DescribeAttachmentCommand extends Command
1068
- .classBuilder()
1069
- .ep(commonParams)
1070
- .m(function (Command, cs, config, o) {
1071
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1072
- })
1073
- .s("AWSSupport_20130415", "DescribeAttachment", {})
1074
- .n("SupportClient", "DescribeAttachmentCommand")
1075
- .sc(DescribeAttachment$)
1076
- .build() {
1045
+ class DescribeAttachmentCommand extends command(_ep0, _mw0, "DescribeAttachment", DescribeAttachment$) {
1077
1046
  }
1078
1047
 
1079
- class DescribeCasesCommand extends Command
1080
- .classBuilder()
1081
- .ep(commonParams)
1082
- .m(function (Command, cs, config, o) {
1083
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1084
- })
1085
- .s("AWSSupport_20130415", "DescribeCases", {})
1086
- .n("SupportClient", "DescribeCasesCommand")
1087
- .sc(DescribeCases$)
1088
- .build() {
1048
+ class DescribeCasesCommand extends command(_ep0, _mw0, "DescribeCases", DescribeCases$) {
1089
1049
  }
1090
1050
 
1091
- class DescribeCommunicationsCommand extends Command
1092
- .classBuilder()
1093
- .ep(commonParams)
1094
- .m(function (Command, cs, config, o) {
1095
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1096
- })
1097
- .s("AWSSupport_20130415", "DescribeCommunications", {})
1098
- .n("SupportClient", "DescribeCommunicationsCommand")
1099
- .sc(DescribeCommunications$)
1100
- .build() {
1051
+ class DescribeCommunicationsCommand extends command(_ep0, _mw0, "DescribeCommunications", DescribeCommunications$) {
1101
1052
  }
1102
1053
 
1103
- class DescribeCreateCaseOptionsCommand extends Command
1104
- .classBuilder()
1105
- .ep(commonParams)
1106
- .m(function (Command, cs, config, o) {
1107
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1108
- })
1109
- .s("AWSSupport_20130415", "DescribeCreateCaseOptions", {})
1110
- .n("SupportClient", "DescribeCreateCaseOptionsCommand")
1111
- .sc(DescribeCreateCaseOptions$)
1112
- .build() {
1054
+ class DescribeCreateCaseOptionsCommand extends command(_ep0, _mw0, "DescribeCreateCaseOptions", DescribeCreateCaseOptions$) {
1113
1055
  }
1114
1056
 
1115
- class DescribeServicesCommand extends Command
1116
- .classBuilder()
1117
- .ep(commonParams)
1118
- .m(function (Command, cs, config, o) {
1119
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1120
- })
1121
- .s("AWSSupport_20130415", "DescribeServices", {})
1122
- .n("SupportClient", "DescribeServicesCommand")
1123
- .sc(DescribeServices$)
1124
- .build() {
1057
+ class DescribeServicesCommand extends command(_ep0, _mw0, "DescribeServices", DescribeServices$) {
1125
1058
  }
1126
1059
 
1127
- class DescribeSeverityLevelsCommand extends Command
1128
- .classBuilder()
1129
- .ep(commonParams)
1130
- .m(function (Command, cs, config, o) {
1131
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1132
- })
1133
- .s("AWSSupport_20130415", "DescribeSeverityLevels", {})
1134
- .n("SupportClient", "DescribeSeverityLevelsCommand")
1135
- .sc(DescribeSeverityLevels$)
1136
- .build() {
1060
+ class DescribeSeverityLevelsCommand extends command(_ep0, _mw0, "DescribeSeverityLevels", DescribeSeverityLevels$) {
1137
1061
  }
1138
1062
 
1139
- class DescribeSupportedLanguagesCommand extends Command
1140
- .classBuilder()
1141
- .ep(commonParams)
1142
- .m(function (Command, cs, config, o) {
1143
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1144
- })
1145
- .s("AWSSupport_20130415", "DescribeSupportedLanguages", {})
1146
- .n("SupportClient", "DescribeSupportedLanguagesCommand")
1147
- .sc(DescribeSupportedLanguages$)
1148
- .build() {
1063
+ class DescribeSupportedLanguagesCommand extends command(_ep0, _mw0, "DescribeSupportedLanguages", DescribeSupportedLanguages$) {
1149
1064
  }
1150
1065
 
1151
- class DescribeTrustedAdvisorCheckRefreshStatusesCommand extends Command
1152
- .classBuilder()
1153
- .ep(commonParams)
1154
- .m(function (Command, cs, config, o) {
1155
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1156
- })
1157
- .s("AWSSupport_20130415", "DescribeTrustedAdvisorCheckRefreshStatuses", {})
1158
- .n("SupportClient", "DescribeTrustedAdvisorCheckRefreshStatusesCommand")
1159
- .sc(DescribeTrustedAdvisorCheckRefreshStatuses$)
1160
- .build() {
1066
+ class DescribeTrustedAdvisorCheckRefreshStatusesCommand extends command(_ep0, _mw0, "DescribeTrustedAdvisorCheckRefreshStatuses", DescribeTrustedAdvisorCheckRefreshStatuses$) {
1161
1067
  }
1162
1068
 
1163
- class DescribeTrustedAdvisorCheckResultCommand extends Command
1164
- .classBuilder()
1165
- .ep(commonParams)
1166
- .m(function (Command, cs, config, o) {
1167
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1168
- })
1169
- .s("AWSSupport_20130415", "DescribeTrustedAdvisorCheckResult", {})
1170
- .n("SupportClient", "DescribeTrustedAdvisorCheckResultCommand")
1171
- .sc(DescribeTrustedAdvisorCheckResult$)
1172
- .build() {
1069
+ class DescribeTrustedAdvisorCheckResultCommand extends command(_ep0, _mw0, "DescribeTrustedAdvisorCheckResult", DescribeTrustedAdvisorCheckResult$) {
1173
1070
  }
1174
1071
 
1175
- class DescribeTrustedAdvisorChecksCommand extends Command
1176
- .classBuilder()
1177
- .ep(commonParams)
1178
- .m(function (Command, cs, config, o) {
1179
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1180
- })
1181
- .s("AWSSupport_20130415", "DescribeTrustedAdvisorChecks", {})
1182
- .n("SupportClient", "DescribeTrustedAdvisorChecksCommand")
1183
- .sc(DescribeTrustedAdvisorChecks$)
1184
- .build() {
1072
+ class DescribeTrustedAdvisorChecksCommand extends command(_ep0, _mw0, "DescribeTrustedAdvisorChecks", DescribeTrustedAdvisorChecks$) {
1185
1073
  }
1186
1074
 
1187
- class DescribeTrustedAdvisorCheckSummariesCommand extends Command
1188
- .classBuilder()
1189
- .ep(commonParams)
1190
- .m(function (Command, cs, config, o) {
1191
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1192
- })
1193
- .s("AWSSupport_20130415", "DescribeTrustedAdvisorCheckSummaries", {})
1194
- .n("SupportClient", "DescribeTrustedAdvisorCheckSummariesCommand")
1195
- .sc(DescribeTrustedAdvisorCheckSummaries$)
1196
- .build() {
1075
+ class DescribeTrustedAdvisorCheckSummariesCommand extends command(_ep0, _mw0, "DescribeTrustedAdvisorCheckSummaries", DescribeTrustedAdvisorCheckSummaries$) {
1197
1076
  }
1198
1077
 
1199
- class RefreshTrustedAdvisorCheckCommand extends Command
1200
- .classBuilder()
1201
- .ep(commonParams)
1202
- .m(function (Command, cs, config, o) {
1203
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1204
- })
1205
- .s("AWSSupport_20130415", "RefreshTrustedAdvisorCheck", {})
1206
- .n("SupportClient", "RefreshTrustedAdvisorCheckCommand")
1207
- .sc(RefreshTrustedAdvisorCheck$)
1208
- .build() {
1078
+ class RefreshTrustedAdvisorCheckCommand extends command(_ep0, _mw0, "RefreshTrustedAdvisorCheck", RefreshTrustedAdvisorCheck$) {
1209
1079
  }
1210
1080
 
1211
- class ResolveCaseCommand extends Command
1212
- .classBuilder()
1213
- .ep(commonParams)
1214
- .m(function (Command, cs, config, o) {
1215
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1216
- })
1217
- .s("AWSSupport_20130415", "ResolveCase", {})
1218
- .n("SupportClient", "ResolveCaseCommand")
1219
- .sc(ResolveCase$)
1220
- .build() {
1081
+ class ResolveCaseCommand extends command(_ep0, _mw0, "ResolveCase", ResolveCase$) {
1221
1082
  }
1222
1083
 
1223
1084
  const paginateDescribeCases = createPaginator(SupportClient, DescribeCasesCommand, "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, "AWSSupport_20130415", "SupportClient", 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 { AddAttachmentsToSet$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AddAttachmentsToSetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSSupport_20130415", "AddAttachmentsToSet", {})
13
- .n("SupportClient", "AddAttachmentsToSetCommand")
14
- .sc(AddAttachmentsToSet$)
15
- .build() {
3
+ export class AddAttachmentsToSetCommand extends command(_ep0, _mw0, "AddAttachmentsToSet", AddAttachmentsToSet$) {
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 { AddCommunicationToCase$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AddCommunicationToCaseCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSSupport_20130415", "AddCommunicationToCase", {})
13
- .n("SupportClient", "AddCommunicationToCaseCommand")
14
- .sc(AddCommunicationToCase$)
15
- .build() {
3
+ export class AddCommunicationToCaseCommand extends command(_ep0, _mw0, "AddCommunicationToCase", AddCommunicationToCase$) {
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 { CreateCase$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateCaseCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSSupport_20130415", "CreateCase", {})
13
- .n("SupportClient", "CreateCaseCommand")
14
- .sc(CreateCase$)
15
- .build() {
3
+ export class CreateCaseCommand extends command(_ep0, _mw0, "CreateCase", CreateCase$) {
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 { DescribeAttachment$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeAttachmentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSSupport_20130415", "DescribeAttachment", {})
13
- .n("SupportClient", "DescribeAttachmentCommand")
14
- .sc(DescribeAttachment$)
15
- .build() {
3
+ export class DescribeAttachmentCommand extends command(_ep0, _mw0, "DescribeAttachment", DescribeAttachment$) {
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 { DescribeCases$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeCasesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSSupport_20130415", "DescribeCases", {})
13
- .n("SupportClient", "DescribeCasesCommand")
14
- .sc(DescribeCases$)
15
- .build() {
3
+ export class DescribeCasesCommand extends command(_ep0, _mw0, "DescribeCases", DescribeCases$) {
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 { DescribeCommunications$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeCommunicationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSSupport_20130415", "DescribeCommunications", {})
13
- .n("SupportClient", "DescribeCommunicationsCommand")
14
- .sc(DescribeCommunications$)
15
- .build() {
3
+ export class DescribeCommunicationsCommand extends command(_ep0, _mw0, "DescribeCommunications", DescribeCommunications$) {
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 { DescribeCreateCaseOptions$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeCreateCaseOptionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSSupport_20130415", "DescribeCreateCaseOptions", {})
13
- .n("SupportClient", "DescribeCreateCaseOptionsCommand")
14
- .sc(DescribeCreateCaseOptions$)
15
- .build() {
3
+ export class DescribeCreateCaseOptionsCommand extends command(_ep0, _mw0, "DescribeCreateCaseOptions", DescribeCreateCaseOptions$) {
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 { DescribeServices$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeServicesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSSupport_20130415", "DescribeServices", {})
13
- .n("SupportClient", "DescribeServicesCommand")
14
- .sc(DescribeServices$)
15
- .build() {
3
+ export class DescribeServicesCommand extends command(_ep0, _mw0, "DescribeServices", DescribeServices$) {
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 { DescribeSeverityLevels$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeSeverityLevelsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSSupport_20130415", "DescribeSeverityLevels", {})
13
- .n("SupportClient", "DescribeSeverityLevelsCommand")
14
- .sc(DescribeSeverityLevels$)
15
- .build() {
3
+ export class DescribeSeverityLevelsCommand extends command(_ep0, _mw0, "DescribeSeverityLevels", DescribeSeverityLevels$) {
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 { DescribeSupportedLanguages$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeSupportedLanguagesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSSupport_20130415", "DescribeSupportedLanguages", {})
13
- .n("SupportClient", "DescribeSupportedLanguagesCommand")
14
- .sc(DescribeSupportedLanguages$)
15
- .build() {
3
+ export class DescribeSupportedLanguagesCommand extends command(_ep0, _mw0, "DescribeSupportedLanguages", DescribeSupportedLanguages$) {
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 { DescribeTrustedAdvisorCheckRefreshStatuses$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeTrustedAdvisorCheckRefreshStatusesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSSupport_20130415", "DescribeTrustedAdvisorCheckRefreshStatuses", {})
13
- .n("SupportClient", "DescribeTrustedAdvisorCheckRefreshStatusesCommand")
14
- .sc(DescribeTrustedAdvisorCheckRefreshStatuses$)
15
- .build() {
3
+ export class DescribeTrustedAdvisorCheckRefreshStatusesCommand extends command(_ep0, _mw0, "DescribeTrustedAdvisorCheckRefreshStatuses", DescribeTrustedAdvisorCheckRefreshStatuses$) {
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 { DescribeTrustedAdvisorCheckResult$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeTrustedAdvisorCheckResultCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSSupport_20130415", "DescribeTrustedAdvisorCheckResult", {})
13
- .n("SupportClient", "DescribeTrustedAdvisorCheckResultCommand")
14
- .sc(DescribeTrustedAdvisorCheckResult$)
15
- .build() {
3
+ export class DescribeTrustedAdvisorCheckResultCommand extends command(_ep0, _mw0, "DescribeTrustedAdvisorCheckResult", DescribeTrustedAdvisorCheckResult$) {
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 { DescribeTrustedAdvisorCheckSummaries$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeTrustedAdvisorCheckSummariesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSSupport_20130415", "DescribeTrustedAdvisorCheckSummaries", {})
13
- .n("SupportClient", "DescribeTrustedAdvisorCheckSummariesCommand")
14
- .sc(DescribeTrustedAdvisorCheckSummaries$)
15
- .build() {
3
+ export class DescribeTrustedAdvisorCheckSummariesCommand extends command(_ep0, _mw0, "DescribeTrustedAdvisorCheckSummaries", DescribeTrustedAdvisorCheckSummaries$) {
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 { DescribeTrustedAdvisorChecks$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeTrustedAdvisorChecksCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSSupport_20130415", "DescribeTrustedAdvisorChecks", {})
13
- .n("SupportClient", "DescribeTrustedAdvisorChecksCommand")
14
- .sc(DescribeTrustedAdvisorChecks$)
15
- .build() {
3
+ export class DescribeTrustedAdvisorChecksCommand extends command(_ep0, _mw0, "DescribeTrustedAdvisorChecks", DescribeTrustedAdvisorChecks$) {
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 { RefreshTrustedAdvisorCheck$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RefreshTrustedAdvisorCheckCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSSupport_20130415", "RefreshTrustedAdvisorCheck", {})
13
- .n("SupportClient", "RefreshTrustedAdvisorCheckCommand")
14
- .sc(RefreshTrustedAdvisorCheck$)
15
- .build() {
3
+ export class RefreshTrustedAdvisorCheckCommand extends command(_ep0, _mw0, "RefreshTrustedAdvisorCheck", RefreshTrustedAdvisorCheck$) {
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 { ResolveCase$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ResolveCaseCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSSupport_20130415", "ResolveCase", {})
13
- .n("SupportClient", "ResolveCaseCommand")
14
- .sc(ResolveCase$)
15
- .build() {
3
+ export class ResolveCaseCommand extends command(_ep0, _mw0, "ResolveCase", ResolveCase$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./SupportClient";
2
2
  export * from "./Support";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/errors";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { ServiceInputTypes, ServiceOutputTypes, SupportClientResolvedConfig } from "./SupportClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, SupportClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, SupportClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { AddAttachmentsToSetRequest, AddAttachmentsToSetResponse } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, SupportClientResolvedConfig } from "../SupportClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface AddAttachmentsToSetCommandInput extends AddAttachmentsToSetRequ
22
19
  export interface AddAttachmentsToSetCommandOutput extends AddAttachmentsToSetResponse, __MetadataBearer {
23
20
  }
24
21
  declare const AddAttachmentsToSetCommand_base: {
25
- new (input: AddAttachmentsToSetCommandInput): import("@smithy/core/client").CommandImpl<AddAttachmentsToSetCommandInput, AddAttachmentsToSetCommandOutput, SupportClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: AddAttachmentsToSetCommandInput): import("@smithy/core/client").CommandImpl<AddAttachmentsToSetCommandInput, AddAttachmentsToSetCommandOutput, SupportClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: AddAttachmentsToSetCommandInput): import("@smithy/core/client").CommandImpl<AddAttachmentsToSetCommandInput, AddAttachmentsToSetCommandOutput, import("..").SupportClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: AddAttachmentsToSetCommandInput): import("@smithy/core/client").CommandImpl<AddAttachmentsToSetCommandInput, AddAttachmentsToSetCommandOutput, import("..").SupportClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Adds one or more attachments to an attachment set. </p>