@aws-sdk/client-serverlessapplicationrepository 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 (50) hide show
  1. package/dist-cjs/index.js +22 -143
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateApplicationCommand.js +2 -14
  4. package/dist-es/commands/CreateApplicationVersionCommand.js +2 -14
  5. package/dist-es/commands/CreateCloudFormationChangeSetCommand.js +2 -14
  6. package/dist-es/commands/CreateCloudFormationTemplateCommand.js +2 -14
  7. package/dist-es/commands/DeleteApplicationCommand.js +2 -14
  8. package/dist-es/commands/GetApplicationCommand.js +2 -14
  9. package/dist-es/commands/GetApplicationPolicyCommand.js +2 -14
  10. package/dist-es/commands/GetCloudFormationTemplateCommand.js +2 -14
  11. package/dist-es/commands/ListApplicationDependenciesCommand.js +2 -14
  12. package/dist-es/commands/ListApplicationVersionsCommand.js +2 -14
  13. package/dist-es/commands/ListApplicationsCommand.js +2 -14
  14. package/dist-es/commands/PutApplicationPolicyCommand.js +2 -14
  15. package/dist-es/commands/UnshareApplicationCommand.js +2 -14
  16. package/dist-es/commands/UpdateApplicationCommand.js +2 -14
  17. package/dist-es/index.js +1 -0
  18. package/dist-types/commandBuilder.d.ts +18 -0
  19. package/dist-types/commands/CreateApplicationCommand.d.ts +3 -8
  20. package/dist-types/commands/CreateApplicationVersionCommand.d.ts +3 -8
  21. package/dist-types/commands/CreateCloudFormationChangeSetCommand.d.ts +3 -8
  22. package/dist-types/commands/CreateCloudFormationTemplateCommand.d.ts +3 -8
  23. package/dist-types/commands/DeleteApplicationCommand.d.ts +3 -8
  24. package/dist-types/commands/GetApplicationCommand.d.ts +3 -8
  25. package/dist-types/commands/GetApplicationPolicyCommand.d.ts +3 -8
  26. package/dist-types/commands/GetCloudFormationTemplateCommand.d.ts +3 -8
  27. package/dist-types/commands/ListApplicationDependenciesCommand.d.ts +3 -8
  28. package/dist-types/commands/ListApplicationVersionsCommand.d.ts +3 -8
  29. package/dist-types/commands/ListApplicationsCommand.d.ts +3 -8
  30. package/dist-types/commands/PutApplicationPolicyCommand.d.ts +3 -8
  31. package/dist-types/commands/UnshareApplicationCommand.d.ts +3 -8
  32. package/dist-types/commands/UpdateApplicationCommand.d.ts +3 -8
  33. package/dist-types/index.d.ts +1 -0
  34. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  35. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +7 -16
  36. package/dist-types/ts3.4/commands/CreateApplicationVersionCommand.d.ts +7 -16
  37. package/dist-types/ts3.4/commands/CreateCloudFormationChangeSetCommand.d.ts +7 -16
  38. package/dist-types/ts3.4/commands/CreateCloudFormationTemplateCommand.d.ts +7 -16
  39. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +7 -16
  40. package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +7 -16
  41. package/dist-types/ts3.4/commands/GetApplicationPolicyCommand.d.ts +7 -16
  42. package/dist-types/ts3.4/commands/GetCloudFormationTemplateCommand.d.ts +7 -16
  43. package/dist-types/ts3.4/commands/ListApplicationDependenciesCommand.d.ts +7 -16
  44. package/dist-types/ts3.4/commands/ListApplicationVersionsCommand.d.ts +7 -16
  45. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +7 -16
  46. package/dist-types/ts3.4/commands/PutApplicationPolicyCommand.d.ts +7 -16
  47. package/dist-types/ts3.4/commands/UnshareApplicationCommand.d.ts +7 -16
  48. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +7 -16
  49. package/dist-types/ts3.4/index.d.ts +1 -0
  50. 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
 
@@ -886,172 +887,50 @@ class ServerlessApplicationRepositoryClient extends Client {
886
887
  }
887
888
  }
888
889
 
889
- class CreateApplicationCommand extends Command
890
- .classBuilder()
891
- .ep(commonParams)
892
- .m(function (Command, cs, config, o) {
893
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
894
- })
895
- .s("ServerlessApplicationRepository", "CreateApplication", {})
896
- .n("ServerlessApplicationRepositoryClient", "CreateApplicationCommand")
897
- .sc(CreateApplication$)
898
- .build() {
890
+ const command = makeBuilder(commonParams, "ServerlessApplicationRepository", "ServerlessApplicationRepositoryClient", getEndpointPlugin);
891
+ const _ep0 = {};
892
+ const _mw0 = (Command, cs, config, o) => [];
893
+
894
+ class CreateApplicationCommand extends command(_ep0, _mw0, "CreateApplication", CreateApplication$) {
899
895
  }
900
896
 
901
- class CreateApplicationVersionCommand extends Command
902
- .classBuilder()
903
- .ep(commonParams)
904
- .m(function (Command, cs, config, o) {
905
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
906
- })
907
- .s("ServerlessApplicationRepository", "CreateApplicationVersion", {})
908
- .n("ServerlessApplicationRepositoryClient", "CreateApplicationVersionCommand")
909
- .sc(CreateApplicationVersion$)
910
- .build() {
897
+ class CreateApplicationVersionCommand extends command(_ep0, _mw0, "CreateApplicationVersion", CreateApplicationVersion$) {
911
898
  }
912
899
 
913
- class CreateCloudFormationChangeSetCommand extends Command
914
- .classBuilder()
915
- .ep(commonParams)
916
- .m(function (Command, cs, config, o) {
917
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
918
- })
919
- .s("ServerlessApplicationRepository", "CreateCloudFormationChangeSet", {})
920
- .n("ServerlessApplicationRepositoryClient", "CreateCloudFormationChangeSetCommand")
921
- .sc(CreateCloudFormationChangeSet$)
922
- .build() {
900
+ class CreateCloudFormationChangeSetCommand extends command(_ep0, _mw0, "CreateCloudFormationChangeSet", CreateCloudFormationChangeSet$) {
923
901
  }
924
902
 
925
- class CreateCloudFormationTemplateCommand extends Command
926
- .classBuilder()
927
- .ep(commonParams)
928
- .m(function (Command, cs, config, o) {
929
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
930
- })
931
- .s("ServerlessApplicationRepository", "CreateCloudFormationTemplate", {})
932
- .n("ServerlessApplicationRepositoryClient", "CreateCloudFormationTemplateCommand")
933
- .sc(CreateCloudFormationTemplate$)
934
- .build() {
903
+ class CreateCloudFormationTemplateCommand extends command(_ep0, _mw0, "CreateCloudFormationTemplate", CreateCloudFormationTemplate$) {
935
904
  }
936
905
 
937
- class DeleteApplicationCommand extends Command
938
- .classBuilder()
939
- .ep(commonParams)
940
- .m(function (Command, cs, config, o) {
941
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
942
- })
943
- .s("ServerlessApplicationRepository", "DeleteApplication", {})
944
- .n("ServerlessApplicationRepositoryClient", "DeleteApplicationCommand")
945
- .sc(DeleteApplication$)
946
- .build() {
906
+ class DeleteApplicationCommand extends command(_ep0, _mw0, "DeleteApplication", DeleteApplication$) {
947
907
  }
948
908
 
949
- class GetApplicationCommand extends Command
950
- .classBuilder()
951
- .ep(commonParams)
952
- .m(function (Command, cs, config, o) {
953
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
954
- })
955
- .s("ServerlessApplicationRepository", "GetApplication", {})
956
- .n("ServerlessApplicationRepositoryClient", "GetApplicationCommand")
957
- .sc(GetApplication$)
958
- .build() {
909
+ class GetApplicationCommand extends command(_ep0, _mw0, "GetApplication", GetApplication$) {
959
910
  }
960
911
 
961
- class GetApplicationPolicyCommand extends Command
962
- .classBuilder()
963
- .ep(commonParams)
964
- .m(function (Command, cs, config, o) {
965
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
966
- })
967
- .s("ServerlessApplicationRepository", "GetApplicationPolicy", {})
968
- .n("ServerlessApplicationRepositoryClient", "GetApplicationPolicyCommand")
969
- .sc(GetApplicationPolicy$)
970
- .build() {
912
+ class GetApplicationPolicyCommand extends command(_ep0, _mw0, "GetApplicationPolicy", GetApplicationPolicy$) {
971
913
  }
972
914
 
973
- class GetCloudFormationTemplateCommand extends Command
974
- .classBuilder()
975
- .ep(commonParams)
976
- .m(function (Command, cs, config, o) {
977
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
978
- })
979
- .s("ServerlessApplicationRepository", "GetCloudFormationTemplate", {})
980
- .n("ServerlessApplicationRepositoryClient", "GetCloudFormationTemplateCommand")
981
- .sc(GetCloudFormationTemplate$)
982
- .build() {
915
+ class GetCloudFormationTemplateCommand extends command(_ep0, _mw0, "GetCloudFormationTemplate", GetCloudFormationTemplate$) {
983
916
  }
984
917
 
985
- class ListApplicationDependenciesCommand extends Command
986
- .classBuilder()
987
- .ep(commonParams)
988
- .m(function (Command, cs, config, o) {
989
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
990
- })
991
- .s("ServerlessApplicationRepository", "ListApplicationDependencies", {})
992
- .n("ServerlessApplicationRepositoryClient", "ListApplicationDependenciesCommand")
993
- .sc(ListApplicationDependencies$)
994
- .build() {
918
+ class ListApplicationDependenciesCommand extends command(_ep0, _mw0, "ListApplicationDependencies", ListApplicationDependencies$) {
995
919
  }
996
920
 
997
- class ListApplicationsCommand extends Command
998
- .classBuilder()
999
- .ep(commonParams)
1000
- .m(function (Command, cs, config, o) {
1001
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1002
- })
1003
- .s("ServerlessApplicationRepository", "ListApplications", {})
1004
- .n("ServerlessApplicationRepositoryClient", "ListApplicationsCommand")
1005
- .sc(ListApplications$)
1006
- .build() {
921
+ class ListApplicationsCommand extends command(_ep0, _mw0, "ListApplications", ListApplications$) {
1007
922
  }
1008
923
 
1009
- class ListApplicationVersionsCommand extends Command
1010
- .classBuilder()
1011
- .ep(commonParams)
1012
- .m(function (Command, cs, config, o) {
1013
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1014
- })
1015
- .s("ServerlessApplicationRepository", "ListApplicationVersions", {})
1016
- .n("ServerlessApplicationRepositoryClient", "ListApplicationVersionsCommand")
1017
- .sc(ListApplicationVersions$)
1018
- .build() {
924
+ class ListApplicationVersionsCommand extends command(_ep0, _mw0, "ListApplicationVersions", ListApplicationVersions$) {
1019
925
  }
1020
926
 
1021
- class PutApplicationPolicyCommand extends Command
1022
- .classBuilder()
1023
- .ep(commonParams)
1024
- .m(function (Command, cs, config, o) {
1025
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1026
- })
1027
- .s("ServerlessApplicationRepository", "PutApplicationPolicy", {})
1028
- .n("ServerlessApplicationRepositoryClient", "PutApplicationPolicyCommand")
1029
- .sc(PutApplicationPolicy$)
1030
- .build() {
927
+ class PutApplicationPolicyCommand extends command(_ep0, _mw0, "PutApplicationPolicy", PutApplicationPolicy$) {
1031
928
  }
1032
929
 
1033
- class UnshareApplicationCommand extends Command
1034
- .classBuilder()
1035
- .ep(commonParams)
1036
- .m(function (Command, cs, config, o) {
1037
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1038
- })
1039
- .s("ServerlessApplicationRepository", "UnshareApplication", {})
1040
- .n("ServerlessApplicationRepositoryClient", "UnshareApplicationCommand")
1041
- .sc(UnshareApplication$)
1042
- .build() {
930
+ class UnshareApplicationCommand extends command(_ep0, _mw0, "UnshareApplication", UnshareApplication$) {
1043
931
  }
1044
932
 
1045
- class UpdateApplicationCommand extends Command
1046
- .classBuilder()
1047
- .ep(commonParams)
1048
- .m(function (Command, cs, config, o) {
1049
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1050
- })
1051
- .s("ServerlessApplicationRepository", "UpdateApplication", {})
1052
- .n("ServerlessApplicationRepositoryClient", "UpdateApplicationCommand")
1053
- .sc(UpdateApplication$)
1054
- .build() {
933
+ class UpdateApplicationCommand extends command(_ep0, _mw0, "UpdateApplication", UpdateApplication$) {
1055
934
  }
1056
935
 
1057
936
  const paginateListApplicationDependencies = createPaginator(ServerlessApplicationRepositoryClient, ListApplicationDependenciesCommand, "NextToken", "NextToken", "MaxItems");
@@ -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, "ServerlessApplicationRepository", "ServerlessApplicationRepositoryClient", 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 { CreateApplication$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateApplicationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ServerlessApplicationRepository", "CreateApplication", {})
13
- .n("ServerlessApplicationRepositoryClient", "CreateApplicationCommand")
14
- .sc(CreateApplication$)
15
- .build() {
3
+ export class CreateApplicationCommand extends command(_ep0, _mw0, "CreateApplication", CreateApplication$) {
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 { CreateApplicationVersion$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateApplicationVersionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ServerlessApplicationRepository", "CreateApplicationVersion", {})
13
- .n("ServerlessApplicationRepositoryClient", "CreateApplicationVersionCommand")
14
- .sc(CreateApplicationVersion$)
15
- .build() {
3
+ export class CreateApplicationVersionCommand extends command(_ep0, _mw0, "CreateApplicationVersion", CreateApplicationVersion$) {
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 { CreateCloudFormationChangeSet$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateCloudFormationChangeSetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ServerlessApplicationRepository", "CreateCloudFormationChangeSet", {})
13
- .n("ServerlessApplicationRepositoryClient", "CreateCloudFormationChangeSetCommand")
14
- .sc(CreateCloudFormationChangeSet$)
15
- .build() {
3
+ export class CreateCloudFormationChangeSetCommand extends command(_ep0, _mw0, "CreateCloudFormationChangeSet", CreateCloudFormationChangeSet$) {
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 { CreateCloudFormationTemplate$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateCloudFormationTemplateCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ServerlessApplicationRepository", "CreateCloudFormationTemplate", {})
13
- .n("ServerlessApplicationRepositoryClient", "CreateCloudFormationTemplateCommand")
14
- .sc(CreateCloudFormationTemplate$)
15
- .build() {
3
+ export class CreateCloudFormationTemplateCommand extends command(_ep0, _mw0, "CreateCloudFormationTemplate", CreateCloudFormationTemplate$) {
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 { DeleteApplication$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteApplicationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ServerlessApplicationRepository", "DeleteApplication", {})
13
- .n("ServerlessApplicationRepositoryClient", "DeleteApplicationCommand")
14
- .sc(DeleteApplication$)
15
- .build() {
3
+ export class DeleteApplicationCommand extends command(_ep0, _mw0, "DeleteApplication", DeleteApplication$) {
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 { GetApplication$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetApplicationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ServerlessApplicationRepository", "GetApplication", {})
13
- .n("ServerlessApplicationRepositoryClient", "GetApplicationCommand")
14
- .sc(GetApplication$)
15
- .build() {
3
+ export class GetApplicationCommand extends command(_ep0, _mw0, "GetApplication", GetApplication$) {
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 { GetApplicationPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetApplicationPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ServerlessApplicationRepository", "GetApplicationPolicy", {})
13
- .n("ServerlessApplicationRepositoryClient", "GetApplicationPolicyCommand")
14
- .sc(GetApplicationPolicy$)
15
- .build() {
3
+ export class GetApplicationPolicyCommand extends command(_ep0, _mw0, "GetApplicationPolicy", GetApplicationPolicy$) {
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 { GetCloudFormationTemplate$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetCloudFormationTemplateCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ServerlessApplicationRepository", "GetCloudFormationTemplate", {})
13
- .n("ServerlessApplicationRepositoryClient", "GetCloudFormationTemplateCommand")
14
- .sc(GetCloudFormationTemplate$)
15
- .build() {
3
+ export class GetCloudFormationTemplateCommand extends command(_ep0, _mw0, "GetCloudFormationTemplate", GetCloudFormationTemplate$) {
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 { ListApplicationDependencies$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListApplicationDependenciesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ServerlessApplicationRepository", "ListApplicationDependencies", {})
13
- .n("ServerlessApplicationRepositoryClient", "ListApplicationDependenciesCommand")
14
- .sc(ListApplicationDependencies$)
15
- .build() {
3
+ export class ListApplicationDependenciesCommand extends command(_ep0, _mw0, "ListApplicationDependencies", ListApplicationDependencies$) {
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 { ListApplicationVersions$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListApplicationVersionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ServerlessApplicationRepository", "ListApplicationVersions", {})
13
- .n("ServerlessApplicationRepositoryClient", "ListApplicationVersionsCommand")
14
- .sc(ListApplicationVersions$)
15
- .build() {
3
+ export class ListApplicationVersionsCommand extends command(_ep0, _mw0, "ListApplicationVersions", ListApplicationVersions$) {
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 { ListApplications$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListApplicationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ServerlessApplicationRepository", "ListApplications", {})
13
- .n("ServerlessApplicationRepositoryClient", "ListApplicationsCommand")
14
- .sc(ListApplications$)
15
- .build() {
3
+ export class ListApplicationsCommand extends command(_ep0, _mw0, "ListApplications", ListApplications$) {
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 { PutApplicationPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutApplicationPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ServerlessApplicationRepository", "PutApplicationPolicy", {})
13
- .n("ServerlessApplicationRepositoryClient", "PutApplicationPolicyCommand")
14
- .sc(PutApplicationPolicy$)
15
- .build() {
3
+ export class PutApplicationPolicyCommand extends command(_ep0, _mw0, "PutApplicationPolicy", PutApplicationPolicy$) {
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 { UnshareApplication$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UnshareApplicationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ServerlessApplicationRepository", "UnshareApplication", {})
13
- .n("ServerlessApplicationRepositoryClient", "UnshareApplicationCommand")
14
- .sc(UnshareApplication$)
15
- .build() {
3
+ export class UnshareApplicationCommand extends command(_ep0, _mw0, "UnshareApplication", UnshareApplication$) {
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 { UpdateApplication$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateApplicationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ServerlessApplicationRepository", "UpdateApplication", {})
13
- .n("ServerlessApplicationRepositoryClient", "UpdateApplicationCommand")
14
- .sc(UpdateApplication$)
15
- .build() {
3
+ export class UpdateApplicationCommand extends command(_ep0, _mw0, "UpdateApplication", UpdateApplication$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./ServerlessApplicationRepositoryClient";
2
2
  export * from "./ServerlessApplicationRepository";
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/enums";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./ServerlessApplicationRepositoryClient";
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, ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, ServerlessApplicationRepositoryClientResolvedConfig, 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 { CreateApplicationRequest, CreateApplicationResponse } from "../models/models_0";
4
- import type { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
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 CreateApplicationCommandInput extends CreateApplicationRequest
22
19
  export interface CreateApplicationCommandOutput extends CreateApplicationResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateApplicationCommand_base: {
25
- new (input: CreateApplicationCommandInput): import("@smithy/core/client").CommandImpl<CreateApplicationCommandInput, CreateApplicationCommandOutput, ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateApplicationCommandInput): import("@smithy/core/client").CommandImpl<CreateApplicationCommandInput, CreateApplicationCommandOutput, ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateApplicationCommandInput): import("@smithy/core/client").CommandImpl<CreateApplicationCommandInput, CreateApplicationCommandOutput, import("..").ServerlessApplicationRepositoryClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateApplicationCommandInput): import("@smithy/core/client").CommandImpl<CreateApplicationCommandInput, CreateApplicationCommandOutput, import("..").ServerlessApplicationRepositoryClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates an application, optionally including an AWS SAM file to create the first application version in the same call.</p>
@@ -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 { CreateApplicationVersionRequest, CreateApplicationVersionResponse } from "../models/models_0";
4
- import type { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
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 CreateApplicationVersionCommandInput extends CreateApplicationV
22
19
  export interface CreateApplicationVersionCommandOutput extends CreateApplicationVersionResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateApplicationVersionCommand_base: {
25
- new (input: CreateApplicationVersionCommandInput): import("@smithy/core/client").CommandImpl<CreateApplicationVersionCommandInput, CreateApplicationVersionCommandOutput, ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateApplicationVersionCommandInput): import("@smithy/core/client").CommandImpl<CreateApplicationVersionCommandInput, CreateApplicationVersionCommandOutput, ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateApplicationVersionCommandInput): import("@smithy/core/client").CommandImpl<CreateApplicationVersionCommandInput, CreateApplicationVersionCommandOutput, import("..").ServerlessApplicationRepositoryClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateApplicationVersionCommandInput): import("@smithy/core/client").CommandImpl<CreateApplicationVersionCommandInput, CreateApplicationVersionCommandOutput, import("..").ServerlessApplicationRepositoryClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates an application version.</p>
@@ -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 { CreateCloudFormationChangeSetRequest, CreateCloudFormationChangeSetResponse } from "../models/models_0";
4
- import type { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
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 CreateCloudFormationChangeSetCommandInput extends CreateCloudFo
22
19
  export interface CreateCloudFormationChangeSetCommandOutput extends CreateCloudFormationChangeSetResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateCloudFormationChangeSetCommand_base: {
25
- new (input: CreateCloudFormationChangeSetCommandInput): import("@smithy/core/client").CommandImpl<CreateCloudFormationChangeSetCommandInput, CreateCloudFormationChangeSetCommandOutput, ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateCloudFormationChangeSetCommandInput): import("@smithy/core/client").CommandImpl<CreateCloudFormationChangeSetCommandInput, CreateCloudFormationChangeSetCommandOutput, ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateCloudFormationChangeSetCommandInput): import("@smithy/core/client").CommandImpl<CreateCloudFormationChangeSetCommandInput, CreateCloudFormationChangeSetCommandOutput, import("..").ServerlessApplicationRepositoryClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateCloudFormationChangeSetCommandInput): import("@smithy/core/client").CommandImpl<CreateCloudFormationChangeSetCommandInput, CreateCloudFormationChangeSetCommandOutput, import("..").ServerlessApplicationRepositoryClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates an AWS CloudFormation change set for the given application.</p>