@aws-sdk/client-health 3.1077.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 (50) hide show
  1. package/dist-cjs/index.js +22 -143
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/DescribeAffectedAccountsForOrganizationCommand.js +2 -14
  4. package/dist-es/commands/DescribeAffectedEntitiesCommand.js +2 -14
  5. package/dist-es/commands/DescribeAffectedEntitiesForOrganizationCommand.js +2 -14
  6. package/dist-es/commands/DescribeEntityAggregatesCommand.js +2 -14
  7. package/dist-es/commands/DescribeEntityAggregatesForOrganizationCommand.js +2 -14
  8. package/dist-es/commands/DescribeEventAggregatesCommand.js +2 -14
  9. package/dist-es/commands/DescribeEventDetailsCommand.js +2 -14
  10. package/dist-es/commands/DescribeEventDetailsForOrganizationCommand.js +2 -14
  11. package/dist-es/commands/DescribeEventTypesCommand.js +2 -14
  12. package/dist-es/commands/DescribeEventsCommand.js +2 -14
  13. package/dist-es/commands/DescribeEventsForOrganizationCommand.js +2 -14
  14. package/dist-es/commands/DescribeHealthServiceStatusForOrganizationCommand.js +2 -14
  15. package/dist-es/commands/DisableHealthServiceAccessForOrganizationCommand.js +2 -14
  16. package/dist-es/commands/EnableHealthServiceAccessForOrganizationCommand.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/DescribeAffectedAccountsForOrganizationCommand.d.ts +3 -8
  20. package/dist-types/commands/DescribeAffectedEntitiesCommand.d.ts +3 -8
  21. package/dist-types/commands/DescribeAffectedEntitiesForOrganizationCommand.d.ts +3 -8
  22. package/dist-types/commands/DescribeEntityAggregatesCommand.d.ts +3 -8
  23. package/dist-types/commands/DescribeEntityAggregatesForOrganizationCommand.d.ts +3 -8
  24. package/dist-types/commands/DescribeEventAggregatesCommand.d.ts +3 -8
  25. package/dist-types/commands/DescribeEventDetailsCommand.d.ts +3 -8
  26. package/dist-types/commands/DescribeEventDetailsForOrganizationCommand.d.ts +3 -8
  27. package/dist-types/commands/DescribeEventTypesCommand.d.ts +3 -8
  28. package/dist-types/commands/DescribeEventsCommand.d.ts +3 -8
  29. package/dist-types/commands/DescribeEventsForOrganizationCommand.d.ts +3 -8
  30. package/dist-types/commands/DescribeHealthServiceStatusForOrganizationCommand.d.ts +3 -8
  31. package/dist-types/commands/DisableHealthServiceAccessForOrganizationCommand.d.ts +3 -8
  32. package/dist-types/commands/EnableHealthServiceAccessForOrganizationCommand.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/DescribeAffectedAccountsForOrganizationCommand.d.ts +7 -16
  36. package/dist-types/ts3.4/commands/DescribeAffectedEntitiesCommand.d.ts +7 -16
  37. package/dist-types/ts3.4/commands/DescribeAffectedEntitiesForOrganizationCommand.d.ts +7 -16
  38. package/dist-types/ts3.4/commands/DescribeEntityAggregatesCommand.d.ts +7 -16
  39. package/dist-types/ts3.4/commands/DescribeEntityAggregatesForOrganizationCommand.d.ts +7 -16
  40. package/dist-types/ts3.4/commands/DescribeEventAggregatesCommand.d.ts +7 -16
  41. package/dist-types/ts3.4/commands/DescribeEventDetailsCommand.d.ts +7 -16
  42. package/dist-types/ts3.4/commands/DescribeEventDetailsForOrganizationCommand.d.ts +7 -16
  43. package/dist-types/ts3.4/commands/DescribeEventTypesCommand.d.ts +7 -16
  44. package/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +7 -16
  45. package/dist-types/ts3.4/commands/DescribeEventsForOrganizationCommand.d.ts +7 -16
  46. package/dist-types/ts3.4/commands/DescribeHealthServiceStatusForOrganizationCommand.d.ts +7 -16
  47. package/dist-types/ts3.4/commands/DisableHealthServiceAccessForOrganizationCommand.d.ts +7 -16
  48. package/dist-types/ts3.4/commands/EnableHealthServiceAccessForOrganizationCommand.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.1077.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -835,172 +836,50 @@ class HealthClient extends Client {
835
836
  }
836
837
  }
837
838
 
838
- class DescribeAffectedAccountsForOrganizationCommand extends Command
839
- .classBuilder()
840
- .ep(commonParams)
841
- .m(function (Command, cs, config, o) {
842
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
843
- })
844
- .s("AWSHealth_20160804", "DescribeAffectedAccountsForOrganization", {})
845
- .n("HealthClient", "DescribeAffectedAccountsForOrganizationCommand")
846
- .sc(DescribeAffectedAccountsForOrganization$)
847
- .build() {
839
+ const command = makeBuilder(commonParams, "AWSHealth_20160804", "HealthClient", getEndpointPlugin);
840
+ const _ep0 = {};
841
+ const _mw0 = (Command, cs, config, o) => [];
842
+
843
+ class DescribeAffectedAccountsForOrganizationCommand extends command(_ep0, _mw0, "DescribeAffectedAccountsForOrganization", DescribeAffectedAccountsForOrganization$) {
848
844
  }
849
845
 
850
- class DescribeAffectedEntitiesCommand extends Command
851
- .classBuilder()
852
- .ep(commonParams)
853
- .m(function (Command, cs, config, o) {
854
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
855
- })
856
- .s("AWSHealth_20160804", "DescribeAffectedEntities", {})
857
- .n("HealthClient", "DescribeAffectedEntitiesCommand")
858
- .sc(DescribeAffectedEntities$)
859
- .build() {
846
+ class DescribeAffectedEntitiesCommand extends command(_ep0, _mw0, "DescribeAffectedEntities", DescribeAffectedEntities$) {
860
847
  }
861
848
 
862
- class DescribeAffectedEntitiesForOrganizationCommand extends Command
863
- .classBuilder()
864
- .ep(commonParams)
865
- .m(function (Command, cs, config, o) {
866
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
867
- })
868
- .s("AWSHealth_20160804", "DescribeAffectedEntitiesForOrganization", {})
869
- .n("HealthClient", "DescribeAffectedEntitiesForOrganizationCommand")
870
- .sc(DescribeAffectedEntitiesForOrganization$)
871
- .build() {
849
+ class DescribeAffectedEntitiesForOrganizationCommand extends command(_ep0, _mw0, "DescribeAffectedEntitiesForOrganization", DescribeAffectedEntitiesForOrganization$) {
872
850
  }
873
851
 
874
- class DescribeEntityAggregatesCommand extends Command
875
- .classBuilder()
876
- .ep(commonParams)
877
- .m(function (Command, cs, config, o) {
878
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
879
- })
880
- .s("AWSHealth_20160804", "DescribeEntityAggregates", {})
881
- .n("HealthClient", "DescribeEntityAggregatesCommand")
882
- .sc(DescribeEntityAggregates$)
883
- .build() {
852
+ class DescribeEntityAggregatesCommand extends command(_ep0, _mw0, "DescribeEntityAggregates", DescribeEntityAggregates$) {
884
853
  }
885
854
 
886
- class DescribeEntityAggregatesForOrganizationCommand extends Command
887
- .classBuilder()
888
- .ep(commonParams)
889
- .m(function (Command, cs, config, o) {
890
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
891
- })
892
- .s("AWSHealth_20160804", "DescribeEntityAggregatesForOrganization", {})
893
- .n("HealthClient", "DescribeEntityAggregatesForOrganizationCommand")
894
- .sc(DescribeEntityAggregatesForOrganization$)
895
- .build() {
855
+ class DescribeEntityAggregatesForOrganizationCommand extends command(_ep0, _mw0, "DescribeEntityAggregatesForOrganization", DescribeEntityAggregatesForOrganization$) {
896
856
  }
897
857
 
898
- class DescribeEventAggregatesCommand extends Command
899
- .classBuilder()
900
- .ep(commonParams)
901
- .m(function (Command, cs, config, o) {
902
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
903
- })
904
- .s("AWSHealth_20160804", "DescribeEventAggregates", {})
905
- .n("HealthClient", "DescribeEventAggregatesCommand")
906
- .sc(DescribeEventAggregates$)
907
- .build() {
858
+ class DescribeEventAggregatesCommand extends command(_ep0, _mw0, "DescribeEventAggregates", DescribeEventAggregates$) {
908
859
  }
909
860
 
910
- class DescribeEventDetailsCommand extends Command
911
- .classBuilder()
912
- .ep(commonParams)
913
- .m(function (Command, cs, config, o) {
914
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
915
- })
916
- .s("AWSHealth_20160804", "DescribeEventDetails", {})
917
- .n("HealthClient", "DescribeEventDetailsCommand")
918
- .sc(DescribeEventDetails$)
919
- .build() {
861
+ class DescribeEventDetailsCommand extends command(_ep0, _mw0, "DescribeEventDetails", DescribeEventDetails$) {
920
862
  }
921
863
 
922
- class DescribeEventDetailsForOrganizationCommand extends Command
923
- .classBuilder()
924
- .ep(commonParams)
925
- .m(function (Command, cs, config, o) {
926
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
927
- })
928
- .s("AWSHealth_20160804", "DescribeEventDetailsForOrganization", {})
929
- .n("HealthClient", "DescribeEventDetailsForOrganizationCommand")
930
- .sc(DescribeEventDetailsForOrganization$)
931
- .build() {
864
+ class DescribeEventDetailsForOrganizationCommand extends command(_ep0, _mw0, "DescribeEventDetailsForOrganization", DescribeEventDetailsForOrganization$) {
932
865
  }
933
866
 
934
- class DescribeEventsCommand extends Command
935
- .classBuilder()
936
- .ep(commonParams)
937
- .m(function (Command, cs, config, o) {
938
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
939
- })
940
- .s("AWSHealth_20160804", "DescribeEvents", {})
941
- .n("HealthClient", "DescribeEventsCommand")
942
- .sc(DescribeEvents$)
943
- .build() {
867
+ class DescribeEventsCommand extends command(_ep0, _mw0, "DescribeEvents", DescribeEvents$) {
944
868
  }
945
869
 
946
- class DescribeEventsForOrganizationCommand extends Command
947
- .classBuilder()
948
- .ep(commonParams)
949
- .m(function (Command, cs, config, o) {
950
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
951
- })
952
- .s("AWSHealth_20160804", "DescribeEventsForOrganization", {})
953
- .n("HealthClient", "DescribeEventsForOrganizationCommand")
954
- .sc(DescribeEventsForOrganization$)
955
- .build() {
870
+ class DescribeEventsForOrganizationCommand extends command(_ep0, _mw0, "DescribeEventsForOrganization", DescribeEventsForOrganization$) {
956
871
  }
957
872
 
958
- class DescribeEventTypesCommand extends Command
959
- .classBuilder()
960
- .ep(commonParams)
961
- .m(function (Command, cs, config, o) {
962
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
963
- })
964
- .s("AWSHealth_20160804", "DescribeEventTypes", {})
965
- .n("HealthClient", "DescribeEventTypesCommand")
966
- .sc(DescribeEventTypes$)
967
- .build() {
873
+ class DescribeEventTypesCommand extends command(_ep0, _mw0, "DescribeEventTypes", DescribeEventTypes$) {
968
874
  }
969
875
 
970
- class DescribeHealthServiceStatusForOrganizationCommand extends Command
971
- .classBuilder()
972
- .ep(commonParams)
973
- .m(function (Command, cs, config, o) {
974
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
975
- })
976
- .s("AWSHealth_20160804", "DescribeHealthServiceStatusForOrganization", {})
977
- .n("HealthClient", "DescribeHealthServiceStatusForOrganizationCommand")
978
- .sc(DescribeHealthServiceStatusForOrganization$)
979
- .build() {
876
+ class DescribeHealthServiceStatusForOrganizationCommand extends command(_ep0, _mw0, "DescribeHealthServiceStatusForOrganization", DescribeHealthServiceStatusForOrganization$) {
980
877
  }
981
878
 
982
- class DisableHealthServiceAccessForOrganizationCommand extends Command
983
- .classBuilder()
984
- .ep(commonParams)
985
- .m(function (Command, cs, config, o) {
986
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
987
- })
988
- .s("AWSHealth_20160804", "DisableHealthServiceAccessForOrganization", {})
989
- .n("HealthClient", "DisableHealthServiceAccessForOrganizationCommand")
990
- .sc(DisableHealthServiceAccessForOrganization$)
991
- .build() {
879
+ class DisableHealthServiceAccessForOrganizationCommand extends command(_ep0, _mw0, "DisableHealthServiceAccessForOrganization", DisableHealthServiceAccessForOrganization$) {
992
880
  }
993
881
 
994
- class EnableHealthServiceAccessForOrganizationCommand extends Command
995
- .classBuilder()
996
- .ep(commonParams)
997
- .m(function (Command, cs, config, o) {
998
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
999
- })
1000
- .s("AWSHealth_20160804", "EnableHealthServiceAccessForOrganization", {})
1001
- .n("HealthClient", "EnableHealthServiceAccessForOrganizationCommand")
1002
- .sc(EnableHealthServiceAccessForOrganization$)
1003
- .build() {
882
+ class EnableHealthServiceAccessForOrganizationCommand extends command(_ep0, _mw0, "EnableHealthServiceAccessForOrganization", EnableHealthServiceAccessForOrganization$) {
1004
883
  }
1005
884
 
1006
885
  const paginateDescribeAffectedAccountsForOrganization = createPaginator(HealthClient, DescribeAffectedAccountsForOrganizationCommand, "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, "AWSHealth_20160804", "HealthClient", 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 { DescribeAffectedAccountsForOrganization$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeAffectedAccountsForOrganizationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSHealth_20160804", "DescribeAffectedAccountsForOrganization", {})
13
- .n("HealthClient", "DescribeAffectedAccountsForOrganizationCommand")
14
- .sc(DescribeAffectedAccountsForOrganization$)
15
- .build() {
3
+ export class DescribeAffectedAccountsForOrganizationCommand extends command(_ep0, _mw0, "DescribeAffectedAccountsForOrganization", DescribeAffectedAccountsForOrganization$) {
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 { DescribeAffectedEntities$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeAffectedEntitiesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSHealth_20160804", "DescribeAffectedEntities", {})
13
- .n("HealthClient", "DescribeAffectedEntitiesCommand")
14
- .sc(DescribeAffectedEntities$)
15
- .build() {
3
+ export class DescribeAffectedEntitiesCommand extends command(_ep0, _mw0, "DescribeAffectedEntities", DescribeAffectedEntities$) {
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 { DescribeAffectedEntitiesForOrganization$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeAffectedEntitiesForOrganizationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSHealth_20160804", "DescribeAffectedEntitiesForOrganization", {})
13
- .n("HealthClient", "DescribeAffectedEntitiesForOrganizationCommand")
14
- .sc(DescribeAffectedEntitiesForOrganization$)
15
- .build() {
3
+ export class DescribeAffectedEntitiesForOrganizationCommand extends command(_ep0, _mw0, "DescribeAffectedEntitiesForOrganization", DescribeAffectedEntitiesForOrganization$) {
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 { DescribeEntityAggregates$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeEntityAggregatesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSHealth_20160804", "DescribeEntityAggregates", {})
13
- .n("HealthClient", "DescribeEntityAggregatesCommand")
14
- .sc(DescribeEntityAggregates$)
15
- .build() {
3
+ export class DescribeEntityAggregatesCommand extends command(_ep0, _mw0, "DescribeEntityAggregates", DescribeEntityAggregates$) {
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 { DescribeEntityAggregatesForOrganization$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeEntityAggregatesForOrganizationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSHealth_20160804", "DescribeEntityAggregatesForOrganization", {})
13
- .n("HealthClient", "DescribeEntityAggregatesForOrganizationCommand")
14
- .sc(DescribeEntityAggregatesForOrganization$)
15
- .build() {
3
+ export class DescribeEntityAggregatesForOrganizationCommand extends command(_ep0, _mw0, "DescribeEntityAggregatesForOrganization", DescribeEntityAggregatesForOrganization$) {
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 { DescribeEventAggregates$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeEventAggregatesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSHealth_20160804", "DescribeEventAggregates", {})
13
- .n("HealthClient", "DescribeEventAggregatesCommand")
14
- .sc(DescribeEventAggregates$)
15
- .build() {
3
+ export class DescribeEventAggregatesCommand extends command(_ep0, _mw0, "DescribeEventAggregates", DescribeEventAggregates$) {
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 { DescribeEventDetails$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeEventDetailsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSHealth_20160804", "DescribeEventDetails", {})
13
- .n("HealthClient", "DescribeEventDetailsCommand")
14
- .sc(DescribeEventDetails$)
15
- .build() {
3
+ export class DescribeEventDetailsCommand extends command(_ep0, _mw0, "DescribeEventDetails", DescribeEventDetails$) {
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 { DescribeEventDetailsForOrganization$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeEventDetailsForOrganizationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSHealth_20160804", "DescribeEventDetailsForOrganization", {})
13
- .n("HealthClient", "DescribeEventDetailsForOrganizationCommand")
14
- .sc(DescribeEventDetailsForOrganization$)
15
- .build() {
3
+ export class DescribeEventDetailsForOrganizationCommand extends command(_ep0, _mw0, "DescribeEventDetailsForOrganization", DescribeEventDetailsForOrganization$) {
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 { DescribeEventTypes$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeEventTypesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSHealth_20160804", "DescribeEventTypes", {})
13
- .n("HealthClient", "DescribeEventTypesCommand")
14
- .sc(DescribeEventTypes$)
15
- .build() {
3
+ export class DescribeEventTypesCommand extends command(_ep0, _mw0, "DescribeEventTypes", DescribeEventTypes$) {
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 { DescribeEvents$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeEventsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSHealth_20160804", "DescribeEvents", {})
13
- .n("HealthClient", "DescribeEventsCommand")
14
- .sc(DescribeEvents$)
15
- .build() {
3
+ export class DescribeEventsCommand extends command(_ep0, _mw0, "DescribeEvents", DescribeEvents$) {
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 { DescribeEventsForOrganization$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeEventsForOrganizationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSHealth_20160804", "DescribeEventsForOrganization", {})
13
- .n("HealthClient", "DescribeEventsForOrganizationCommand")
14
- .sc(DescribeEventsForOrganization$)
15
- .build() {
3
+ export class DescribeEventsForOrganizationCommand extends command(_ep0, _mw0, "DescribeEventsForOrganization", DescribeEventsForOrganization$) {
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 { DescribeHealthServiceStatusForOrganization$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeHealthServiceStatusForOrganizationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSHealth_20160804", "DescribeHealthServiceStatusForOrganization", {})
13
- .n("HealthClient", "DescribeHealthServiceStatusForOrganizationCommand")
14
- .sc(DescribeHealthServiceStatusForOrganization$)
15
- .build() {
3
+ export class DescribeHealthServiceStatusForOrganizationCommand extends command(_ep0, _mw0, "DescribeHealthServiceStatusForOrganization", DescribeHealthServiceStatusForOrganization$) {
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 { DisableHealthServiceAccessForOrganization$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisableHealthServiceAccessForOrganizationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSHealth_20160804", "DisableHealthServiceAccessForOrganization", {})
13
- .n("HealthClient", "DisableHealthServiceAccessForOrganizationCommand")
14
- .sc(DisableHealthServiceAccessForOrganization$)
15
- .build() {
3
+ export class DisableHealthServiceAccessForOrganizationCommand extends command(_ep0, _mw0, "DisableHealthServiceAccessForOrganization", DisableHealthServiceAccessForOrganization$) {
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 { EnableHealthServiceAccessForOrganization$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class EnableHealthServiceAccessForOrganizationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSHealth_20160804", "EnableHealthServiceAccessForOrganization", {})
13
- .n("HealthClient", "EnableHealthServiceAccessForOrganizationCommand")
14
- .sc(EnableHealthServiceAccessForOrganization$)
15
- .build() {
3
+ export class EnableHealthServiceAccessForOrganizationCommand extends command(_ep0, _mw0, "EnableHealthServiceAccessForOrganization", EnableHealthServiceAccessForOrganization$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./HealthClient";
2
2
  export * from "./Health";
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 { HealthClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./HealthClient";
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, HealthClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, HealthClientResolvedConfig, 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
- import type { HealthClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../HealthClient";
4
2
  import type { DescribeAffectedAccountsForOrganizationRequest, DescribeAffectedAccountsForOrganizationResponse } from "../models/models_0";
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 DescribeAffectedAccountsForOrganizationCommandInput extends Des
22
19
  export interface DescribeAffectedAccountsForOrganizationCommandOutput extends DescribeAffectedAccountsForOrganizationResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DescribeAffectedAccountsForOrganizationCommand_base: {
25
- new (input: DescribeAffectedAccountsForOrganizationCommandInput): import("@smithy/core/client").CommandImpl<DescribeAffectedAccountsForOrganizationCommandInput, DescribeAffectedAccountsForOrganizationCommandOutput, HealthClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DescribeAffectedAccountsForOrganizationCommandInput): import("@smithy/core/client").CommandImpl<DescribeAffectedAccountsForOrganizationCommandInput, DescribeAffectedAccountsForOrganizationCommandOutput, HealthClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DescribeAffectedAccountsForOrganizationCommandInput): import("@smithy/core/client").CommandImpl<DescribeAffectedAccountsForOrganizationCommandInput, DescribeAffectedAccountsForOrganizationCommandOutput, import("..").HealthClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DescribeAffectedAccountsForOrganizationCommandInput): import("@smithy/core/client").CommandImpl<DescribeAffectedAccountsForOrganizationCommandInput, DescribeAffectedAccountsForOrganizationCommandOutput, import("..").HealthClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Returns a list of accounts in the organization from Organizations that are affected by the
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { HealthClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../HealthClient";
4
2
  import type { DescribeAffectedEntitiesRequest, DescribeAffectedEntitiesResponse } from "../models/models_0";
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 DescribeAffectedEntitiesCommandInput extends DescribeAffectedEn
22
19
  export interface DescribeAffectedEntitiesCommandOutput extends DescribeAffectedEntitiesResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DescribeAffectedEntitiesCommand_base: {
25
- new (input: DescribeAffectedEntitiesCommandInput): import("@smithy/core/client").CommandImpl<DescribeAffectedEntitiesCommandInput, DescribeAffectedEntitiesCommandOutput, HealthClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DescribeAffectedEntitiesCommandInput): import("@smithy/core/client").CommandImpl<DescribeAffectedEntitiesCommandInput, DescribeAffectedEntitiesCommandOutput, HealthClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DescribeAffectedEntitiesCommandInput): import("@smithy/core/client").CommandImpl<DescribeAffectedEntitiesCommandInput, DescribeAffectedEntitiesCommandOutput, import("..").HealthClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DescribeAffectedEntitiesCommandInput): import("@smithy/core/client").CommandImpl<DescribeAffectedEntitiesCommandInput, DescribeAffectedEntitiesCommandOutput, import("..").HealthClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Returns a list of entities that have been affected by the specified events, based on the
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { HealthClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../HealthClient";
4
2
  import type { DescribeAffectedEntitiesForOrganizationRequest, DescribeAffectedEntitiesForOrganizationResponse } from "../models/models_0";
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 DescribeAffectedEntitiesForOrganizationCommandInput extends Des
22
19
  export interface DescribeAffectedEntitiesForOrganizationCommandOutput extends DescribeAffectedEntitiesForOrganizationResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DescribeAffectedEntitiesForOrganizationCommand_base: {
25
- new (input: DescribeAffectedEntitiesForOrganizationCommandInput): import("@smithy/core/client").CommandImpl<DescribeAffectedEntitiesForOrganizationCommandInput, DescribeAffectedEntitiesForOrganizationCommandOutput, HealthClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [DescribeAffectedEntitiesForOrganizationCommandInput]): import("@smithy/core/client").CommandImpl<DescribeAffectedEntitiesForOrganizationCommandInput, DescribeAffectedEntitiesForOrganizationCommandOutput, HealthClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DescribeAffectedEntitiesForOrganizationCommandInput): import("@smithy/core/client").CommandImpl<DescribeAffectedEntitiesForOrganizationCommandInput, DescribeAffectedEntitiesForOrganizationCommandOutput, import("..").HealthClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [DescribeAffectedEntitiesForOrganizationCommandInput]): import("@smithy/core/client").CommandImpl<DescribeAffectedEntitiesForOrganizationCommandInput, DescribeAffectedEntitiesForOrganizationCommandOutput, import("..").HealthClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Returns a list of entities that have been affected by one or more events for one or more