@aws-sdk/client-health 3.1076.0 → 3.1078.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +25 -145
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/DescribeAffectedAccountsForOrganizationCommand.js +2 -14
- package/dist-es/commands/DescribeAffectedEntitiesCommand.js +2 -14
- package/dist-es/commands/DescribeAffectedEntitiesForOrganizationCommand.js +2 -14
- package/dist-es/commands/DescribeEntityAggregatesCommand.js +2 -14
- package/dist-es/commands/DescribeEntityAggregatesForOrganizationCommand.js +2 -14
- package/dist-es/commands/DescribeEventAggregatesCommand.js +2 -14
- package/dist-es/commands/DescribeEventDetailsCommand.js +2 -14
- package/dist-es/commands/DescribeEventDetailsForOrganizationCommand.js +2 -14
- package/dist-es/commands/DescribeEventTypesCommand.js +2 -14
- package/dist-es/commands/DescribeEventsCommand.js +2 -14
- package/dist-es/commands/DescribeEventsForOrganizationCommand.js +2 -14
- package/dist-es/commands/DescribeHealthServiceStatusForOrganizationCommand.js +2 -14
- package/dist-es/commands/DisableHealthServiceAccessForOrganizationCommand.js +2 -14
- package/dist-es/commands/EnableHealthServiceAccessForOrganizationCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/DescribeAffectedAccountsForOrganizationCommand.d.ts +3 -8
- package/dist-types/commands/DescribeAffectedEntitiesCommand.d.ts +3 -8
- package/dist-types/commands/DescribeAffectedEntitiesForOrganizationCommand.d.ts +3 -8
- package/dist-types/commands/DescribeEntityAggregatesCommand.d.ts +3 -8
- package/dist-types/commands/DescribeEntityAggregatesForOrganizationCommand.d.ts +3 -8
- package/dist-types/commands/DescribeEventAggregatesCommand.d.ts +3 -8
- package/dist-types/commands/DescribeEventDetailsCommand.d.ts +3 -8
- package/dist-types/commands/DescribeEventDetailsForOrganizationCommand.d.ts +3 -8
- package/dist-types/commands/DescribeEventTypesCommand.d.ts +3 -8
- package/dist-types/commands/DescribeEventsCommand.d.ts +3 -8
- package/dist-types/commands/DescribeEventsForOrganizationCommand.d.ts +3 -8
- package/dist-types/commands/DescribeHealthServiceStatusForOrganizationCommand.d.ts +3 -8
- package/dist-types/commands/DisableHealthServiceAccessForOrganizationCommand.d.ts +3 -8
- package/dist-types/commands/EnableHealthServiceAccessForOrganizationCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/DescribeAffectedAccountsForOrganizationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeAffectedEntitiesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeAffectedEntitiesForOrganizationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeEntityAggregatesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeEntityAggregatesForOrganizationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeEventAggregatesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeEventDetailsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeEventDetailsForOrganizationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeEventTypesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeEventsForOrganizationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeHealthServiceStatusForOrganizationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DisableHealthServiceAccessForOrganizationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/EnableHealthServiceAccessForOrganizationCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
3
|
-
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client,
|
|
4
|
-
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
|
|
4
|
+
const { Command: $Command } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = $Command;
|
|
5
6
|
exports.__Client = Client;
|
|
6
7
|
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
8
|
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
|
|
|
10
11
|
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
12
|
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
13
|
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
-
const { toUtf8, fromUtf8, toBase64, fromBase64,
|
|
14
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
15
|
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
16
|
const { AwsJson1_1Protocol } = require("@aws-sdk/core/protocols");
|
|
17
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
16
18
|
|
|
17
19
|
const defaultHealthHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
20
|
return {
|
|
@@ -67,7 +69,7 @@ const commonParams = {
|
|
|
67
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
68
70
|
};
|
|
69
71
|
|
|
70
|
-
var version = "3.
|
|
72
|
+
var version = "3.1077.0";
|
|
71
73
|
var packageInfo = {
|
|
72
74
|
version: version};
|
|
73
75
|
|
|
@@ -713,6 +715,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
713
715
|
serviceTarget: "AWSHealth_20160804",
|
|
714
716
|
},
|
|
715
717
|
serviceId: config?.serviceId ?? "Health",
|
|
718
|
+
sha256: config?.sha256 ?? Sha256,
|
|
716
719
|
urlParser: config?.urlParser ?? parseUrl,
|
|
717
720
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
718
721
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -746,7 +749,6 @@ const getRuntimeConfig = (config) => {
|
|
|
746
749
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
747
750
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
748
751
|
}, config),
|
|
749
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
750
752
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
751
753
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
752
754
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -834,172 +836,50 @@ class HealthClient extends Client {
|
|
|
834
836
|
}
|
|
835
837
|
}
|
|
836
838
|
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
})
|
|
843
|
-
.s("AWSHealth_20160804", "DescribeAffectedAccountsForOrganization", {})
|
|
844
|
-
.n("HealthClient", "DescribeAffectedAccountsForOrganizationCommand")
|
|
845
|
-
.sc(DescribeAffectedAccountsForOrganization$)
|
|
846
|
-
.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$) {
|
|
847
844
|
}
|
|
848
845
|
|
|
849
|
-
class DescribeAffectedEntitiesCommand extends
|
|
850
|
-
.classBuilder()
|
|
851
|
-
.ep(commonParams)
|
|
852
|
-
.m(function (Command, cs, config, o) {
|
|
853
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
854
|
-
})
|
|
855
|
-
.s("AWSHealth_20160804", "DescribeAffectedEntities", {})
|
|
856
|
-
.n("HealthClient", "DescribeAffectedEntitiesCommand")
|
|
857
|
-
.sc(DescribeAffectedEntities$)
|
|
858
|
-
.build() {
|
|
846
|
+
class DescribeAffectedEntitiesCommand extends command(_ep0, _mw0, "DescribeAffectedEntities", DescribeAffectedEntities$) {
|
|
859
847
|
}
|
|
860
848
|
|
|
861
|
-
class DescribeAffectedEntitiesForOrganizationCommand extends
|
|
862
|
-
.classBuilder()
|
|
863
|
-
.ep(commonParams)
|
|
864
|
-
.m(function (Command, cs, config, o) {
|
|
865
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
866
|
-
})
|
|
867
|
-
.s("AWSHealth_20160804", "DescribeAffectedEntitiesForOrganization", {})
|
|
868
|
-
.n("HealthClient", "DescribeAffectedEntitiesForOrganizationCommand")
|
|
869
|
-
.sc(DescribeAffectedEntitiesForOrganization$)
|
|
870
|
-
.build() {
|
|
849
|
+
class DescribeAffectedEntitiesForOrganizationCommand extends command(_ep0, _mw0, "DescribeAffectedEntitiesForOrganization", DescribeAffectedEntitiesForOrganization$) {
|
|
871
850
|
}
|
|
872
851
|
|
|
873
|
-
class DescribeEntityAggregatesCommand extends
|
|
874
|
-
.classBuilder()
|
|
875
|
-
.ep(commonParams)
|
|
876
|
-
.m(function (Command, cs, config, o) {
|
|
877
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
878
|
-
})
|
|
879
|
-
.s("AWSHealth_20160804", "DescribeEntityAggregates", {})
|
|
880
|
-
.n("HealthClient", "DescribeEntityAggregatesCommand")
|
|
881
|
-
.sc(DescribeEntityAggregates$)
|
|
882
|
-
.build() {
|
|
852
|
+
class DescribeEntityAggregatesCommand extends command(_ep0, _mw0, "DescribeEntityAggregates", DescribeEntityAggregates$) {
|
|
883
853
|
}
|
|
884
854
|
|
|
885
|
-
class DescribeEntityAggregatesForOrganizationCommand extends
|
|
886
|
-
.classBuilder()
|
|
887
|
-
.ep(commonParams)
|
|
888
|
-
.m(function (Command, cs, config, o) {
|
|
889
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
890
|
-
})
|
|
891
|
-
.s("AWSHealth_20160804", "DescribeEntityAggregatesForOrganization", {})
|
|
892
|
-
.n("HealthClient", "DescribeEntityAggregatesForOrganizationCommand")
|
|
893
|
-
.sc(DescribeEntityAggregatesForOrganization$)
|
|
894
|
-
.build() {
|
|
855
|
+
class DescribeEntityAggregatesForOrganizationCommand extends command(_ep0, _mw0, "DescribeEntityAggregatesForOrganization", DescribeEntityAggregatesForOrganization$) {
|
|
895
856
|
}
|
|
896
857
|
|
|
897
|
-
class DescribeEventAggregatesCommand extends
|
|
898
|
-
.classBuilder()
|
|
899
|
-
.ep(commonParams)
|
|
900
|
-
.m(function (Command, cs, config, o) {
|
|
901
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
902
|
-
})
|
|
903
|
-
.s("AWSHealth_20160804", "DescribeEventAggregates", {})
|
|
904
|
-
.n("HealthClient", "DescribeEventAggregatesCommand")
|
|
905
|
-
.sc(DescribeEventAggregates$)
|
|
906
|
-
.build() {
|
|
858
|
+
class DescribeEventAggregatesCommand extends command(_ep0, _mw0, "DescribeEventAggregates", DescribeEventAggregates$) {
|
|
907
859
|
}
|
|
908
860
|
|
|
909
|
-
class DescribeEventDetailsCommand extends
|
|
910
|
-
.classBuilder()
|
|
911
|
-
.ep(commonParams)
|
|
912
|
-
.m(function (Command, cs, config, o) {
|
|
913
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
914
|
-
})
|
|
915
|
-
.s("AWSHealth_20160804", "DescribeEventDetails", {})
|
|
916
|
-
.n("HealthClient", "DescribeEventDetailsCommand")
|
|
917
|
-
.sc(DescribeEventDetails$)
|
|
918
|
-
.build() {
|
|
861
|
+
class DescribeEventDetailsCommand extends command(_ep0, _mw0, "DescribeEventDetails", DescribeEventDetails$) {
|
|
919
862
|
}
|
|
920
863
|
|
|
921
|
-
class DescribeEventDetailsForOrganizationCommand extends
|
|
922
|
-
.classBuilder()
|
|
923
|
-
.ep(commonParams)
|
|
924
|
-
.m(function (Command, cs, config, o) {
|
|
925
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
926
|
-
})
|
|
927
|
-
.s("AWSHealth_20160804", "DescribeEventDetailsForOrganization", {})
|
|
928
|
-
.n("HealthClient", "DescribeEventDetailsForOrganizationCommand")
|
|
929
|
-
.sc(DescribeEventDetailsForOrganization$)
|
|
930
|
-
.build() {
|
|
864
|
+
class DescribeEventDetailsForOrganizationCommand extends command(_ep0, _mw0, "DescribeEventDetailsForOrganization", DescribeEventDetailsForOrganization$) {
|
|
931
865
|
}
|
|
932
866
|
|
|
933
|
-
class DescribeEventsCommand extends
|
|
934
|
-
.classBuilder()
|
|
935
|
-
.ep(commonParams)
|
|
936
|
-
.m(function (Command, cs, config, o) {
|
|
937
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
938
|
-
})
|
|
939
|
-
.s("AWSHealth_20160804", "DescribeEvents", {})
|
|
940
|
-
.n("HealthClient", "DescribeEventsCommand")
|
|
941
|
-
.sc(DescribeEvents$)
|
|
942
|
-
.build() {
|
|
867
|
+
class DescribeEventsCommand extends command(_ep0, _mw0, "DescribeEvents", DescribeEvents$) {
|
|
943
868
|
}
|
|
944
869
|
|
|
945
|
-
class DescribeEventsForOrganizationCommand extends
|
|
946
|
-
.classBuilder()
|
|
947
|
-
.ep(commonParams)
|
|
948
|
-
.m(function (Command, cs, config, o) {
|
|
949
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
950
|
-
})
|
|
951
|
-
.s("AWSHealth_20160804", "DescribeEventsForOrganization", {})
|
|
952
|
-
.n("HealthClient", "DescribeEventsForOrganizationCommand")
|
|
953
|
-
.sc(DescribeEventsForOrganization$)
|
|
954
|
-
.build() {
|
|
870
|
+
class DescribeEventsForOrganizationCommand extends command(_ep0, _mw0, "DescribeEventsForOrganization", DescribeEventsForOrganization$) {
|
|
955
871
|
}
|
|
956
872
|
|
|
957
|
-
class DescribeEventTypesCommand extends
|
|
958
|
-
.classBuilder()
|
|
959
|
-
.ep(commonParams)
|
|
960
|
-
.m(function (Command, cs, config, o) {
|
|
961
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
962
|
-
})
|
|
963
|
-
.s("AWSHealth_20160804", "DescribeEventTypes", {})
|
|
964
|
-
.n("HealthClient", "DescribeEventTypesCommand")
|
|
965
|
-
.sc(DescribeEventTypes$)
|
|
966
|
-
.build() {
|
|
873
|
+
class DescribeEventTypesCommand extends command(_ep0, _mw0, "DescribeEventTypes", DescribeEventTypes$) {
|
|
967
874
|
}
|
|
968
875
|
|
|
969
|
-
class DescribeHealthServiceStatusForOrganizationCommand extends
|
|
970
|
-
.classBuilder()
|
|
971
|
-
.ep(commonParams)
|
|
972
|
-
.m(function (Command, cs, config, o) {
|
|
973
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
974
|
-
})
|
|
975
|
-
.s("AWSHealth_20160804", "DescribeHealthServiceStatusForOrganization", {})
|
|
976
|
-
.n("HealthClient", "DescribeHealthServiceStatusForOrganizationCommand")
|
|
977
|
-
.sc(DescribeHealthServiceStatusForOrganization$)
|
|
978
|
-
.build() {
|
|
876
|
+
class DescribeHealthServiceStatusForOrganizationCommand extends command(_ep0, _mw0, "DescribeHealthServiceStatusForOrganization", DescribeHealthServiceStatusForOrganization$) {
|
|
979
877
|
}
|
|
980
878
|
|
|
981
|
-
class DisableHealthServiceAccessForOrganizationCommand extends
|
|
982
|
-
.classBuilder()
|
|
983
|
-
.ep(commonParams)
|
|
984
|
-
.m(function (Command, cs, config, o) {
|
|
985
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
986
|
-
})
|
|
987
|
-
.s("AWSHealth_20160804", "DisableHealthServiceAccessForOrganization", {})
|
|
988
|
-
.n("HealthClient", "DisableHealthServiceAccessForOrganizationCommand")
|
|
989
|
-
.sc(DisableHealthServiceAccessForOrganization$)
|
|
990
|
-
.build() {
|
|
879
|
+
class DisableHealthServiceAccessForOrganizationCommand extends command(_ep0, _mw0, "DisableHealthServiceAccessForOrganization", DisableHealthServiceAccessForOrganization$) {
|
|
991
880
|
}
|
|
992
881
|
|
|
993
|
-
class EnableHealthServiceAccessForOrganizationCommand extends
|
|
994
|
-
.classBuilder()
|
|
995
|
-
.ep(commonParams)
|
|
996
|
-
.m(function (Command, cs, config, o) {
|
|
997
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
998
|
-
})
|
|
999
|
-
.s("AWSHealth_20160804", "EnableHealthServiceAccessForOrganization", {})
|
|
1000
|
-
.n("HealthClient", "EnableHealthServiceAccessForOrganizationCommand")
|
|
1001
|
-
.sc(EnableHealthServiceAccessForOrganization$)
|
|
1002
|
-
.build() {
|
|
882
|
+
class EnableHealthServiceAccessForOrganizationCommand extends command(_ep0, _mw0, "EnableHealthServiceAccessForOrganization", EnableHealthServiceAccessForOrganization$) {
|
|
1003
883
|
}
|
|
1004
884
|
|
|
1005
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
3
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
22
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
23
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
24
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
-
sha256: config?.sha256 ?? Sha256,
|
|
27
25
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
26
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
27
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
|
|
|
5
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
6
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
7
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
8
|
-
import { calculateBodyLength
|
|
8
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
11
|
export const getRuntimeConfig = (config) => {
|
|
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
35
35
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
36
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
37
37
|
}, config),
|
|
38
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
38
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
39
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
41
40
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
1
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
2
|
export const getRuntimeConfig = (config) => {
|
|
4
3
|
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
6
5
|
...browserDefaults,
|
|
7
6
|
...config,
|
|
8
7
|
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
8
|
};
|
|
11
9
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { Sha256 } from "@smithy/core/checksum";
|
|
3
4
|
import { NoOpLogger } from "@smithy/core/client";
|
|
4
5
|
import { parseUrl } from "@smithy/core/protocols";
|
|
5
6
|
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
31
32
|
serviceTarget: "AWSHealth_20160804",
|
|
32
33
|
},
|
|
33
34
|
serviceId: config?.serviceId ?? "Health",
|
|
35
|
+
sha256: config?.sha256 ?? Sha256,
|
|
34
36
|
urlParser: config?.urlParser ?? parseUrl,
|
|
35
37
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
36
38
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -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[];
|